From 3774baca440362a68a7e0e613ef01911e0bcd0a0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 20 Sep 2024 18:34:31 +0000 Subject: [PATCH] CodeGen from PR 30651 in Azure/azure-rest-api-specs Merge 56d60aa9a00a334240b51f68753b3168ee3e59fc into a093926c85f2b7cc64ff2f1d9cd96b211aef84e2 --- common/config/rush/pnpm-lock.yaml | 45 +- .../arm-machinelearning/CHANGELOG.md | 382 + .../arm-machinelearning/README.md | 26 +- .../arm-machinelearning/_meta.json | 8 +- .../arm-machinelearning/package.json | 24 +- .../review/arm-machinelearning.api.md | 1636 +- ...azureMachineLearningServicesMgmtClient.ts} | 123 +- .../arm-machinelearning/src/index.ts | 2 +- .../arm-machinelearning/src/models/index.ts | 20041 +++++++++------- .../arm-machinelearning/src/models/mappers.ts | 18346 ++++++++------ .../src/models/parameters.ts | 608 +- .../src/operations/batchDeployments.ts | 12 +- .../src/operations/batchEndpoints.ts | 12 +- .../src/operations/codeContainers.ts | 10 +- .../src/operations/codeVersions.ts | 14 +- .../src/operations/componentContainers.ts | 10 +- .../src/operations/componentVersions.ts | 12 +- .../src/operations/computeOperations.ts | 339 +- .../src/operations/connection.ts | 788 + .../src/operations/connectionRaiBlocklist.ts | 378 + .../operations/connectionRaiBlocklistItem.ts | 737 + .../operations/connectionRaiBlocklistItems.ts | 248 + .../src/operations/connectionRaiBlocklists.ts | 216 + .../src/operations/connectionRaiPolicies.ts | 216 + .../src/operations/connectionRaiPolicy.ts | 378 + .../src/operations/dataContainers.ts | 10 +- .../src/operations/dataVersions.ts | 12 +- .../src/operations/datastores.ts | 14 +- .../src/operations/endpointDeployment.ts | 740 + .../src/operations/endpointOperations.ts | 660 + .../src/operations/environmentContainers.ts | 10 +- .../src/operations/environmentVersions.ts | 12 +- .../src/operations/features.ts | 8 +- .../src/operations/featuresetContainers.ts | 10 +- .../src/operations/featuresetVersions.ts | 12 +- .../featurestoreEntityContainers.ts | 10 +- .../operations/featurestoreEntityVersions.ts | 10 +- .../src/operations/index.ts | 25 +- .../src/operations/jobs.ts | 12 +- .../operations/managedNetworkProvisions.ts | 12 +- .../operations/managedNetworkSettingsRule.ts | 27 +- .../operations/marketplaceSubscriptions.ts | 10 +- .../src/operations/modelContainers.ts | 10 +- .../src/operations/modelVersions.ts | 14 +- .../src/operations/onlineDeployments.ts | 16 +- .../src/operations/onlineEndpoints.ts | 16 +- .../src/operations/operations.ts | 10 +- .../operations/privateEndpointConnections.ts | 98 +- .../src/operations/privateLinkResources.ts | 83 +- .../src/operations/quotas.ts | 10 +- .../src/operations/raiPolicies.ts | 216 + .../src/operations/raiPolicy.ts | 378 + .../src/operations/registries.ts | 14 +- .../src/operations/registryCodeContainers.ts | 10 +- .../src/operations/registryCodeVersions.ts | 12 +- .../operations/registryComponentContainers.ts | 10 +- .../operations/registryComponentVersions.ts | 10 +- .../src/operations/registryDataContainers.ts | 10 +- .../src/operations/registryDataReferences.ts | 8 +- .../src/operations/registryDataVersions.ts | 12 +- .../registryEnvironmentContainers.ts | 10 +- .../operations/registryEnvironmentVersions.ts | 10 +- .../src/operations/registryModelContainers.ts | 10 +- .../src/operations/registryModelVersions.ts | 14 +- .../src/operations/schedules.ts | 10 +- .../src/operations/serverlessEndpoints.ts | 14 +- .../src/operations/usages.ts | 8 +- .../src/operations/virtualMachineSizes.ts | 6 +- .../src/operations/workspaceConnections.ts | 291 +- .../src/operations/workspaceFeatures.ts | 8 +- .../src/operations/workspaces.ts | 783 +- .../operationsInterfaces/computeOperations.ts | 104 + .../src/operationsInterfaces/connection.ts | 155 + .../connectionRaiBlocklist.ts | 111 + .../connectionRaiBlocklistItem.ts | 206 + .../connectionRaiBlocklistItems.ts | 33 + .../connectionRaiBlocklists.ts | 31 + .../connectionRaiPolicies.ts | 31 + .../connectionRaiPolicy.ts | 111 + .../endpointDeployment.ts | 139 + .../endpointOperations.ts | 130 + .../src/operationsInterfaces/index.ts | 25 +- .../managedNetworkProvisions.ts | 4 +- .../managedNetworkSettingsRule.ts | 12 +- .../src/operationsInterfaces/operations.ts | 2 +- .../privateEndpointConnections.ts | 50 +- .../privateLinkResources.ts | 15 +- .../src/operationsInterfaces/raiPolicies.ts | 31 + .../src/operationsInterfaces/raiPolicy.ts | 111 + .../workspaceConnections.ts | 83 +- .../src/operationsInterfaces/workspaces.ts | 220 +- .../arm-machinelearning/test/sampleTest.ts | 43 + .../arm-machinelearning/tsconfig.json | 10 +- 93 files changed, 31533 insertions(+), 18430 deletions(-) rename sdk/machinelearning/arm-machinelearning/src/{azureMachineLearningServicesManagementClient.ts => azureMachineLearningServicesMgmtClient.ts} (83%) create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connection.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts create mode 100644 sdk/machinelearning/arm-machinelearning/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index c67a7a58822f..f23cdf18ad8a 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10505,6 +10505,37 @@ packages: yn: 3.1.1 dev: false + /ts-node@10.9.2(@types/node@18.19.50)(typescript@5.5.4): + resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 18.19.50 + acorn: 8.12.1 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.5.4 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: false + /ts-node@10.9.2(@types/node@18.19.50)(typescript@5.6.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -10744,6 +10775,12 @@ packages: hasBin: true dev: false + /typescript@5.5.4: + resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + engines: {node: '>=14.17'} + hasBin: true + dev: false + /typescript@5.6.2: resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} engines: {node: '>=14.17'} @@ -16083,7 +16120,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-4ouvVQUeU++VLv++AIepntQvXHoNspilDl3+v5hTFvHefl8PZCGRiL+NJhQTFGhkYnYQ48zwixOcXA2aWfCv3w==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-1wU9aOybLqge0HiNB1q1/5qGsqedCf8Hn+GU2Y4bxGzAsDNZE9zpMdDQ1QlchpTTm6BXRJVy23I6ziqkCc6NYQ==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -16102,10 +16139,10 @@ packages: mkdirp: 3.0.1 mocha: 10.7.3 rimraf: 5.0.10 - ts-node: 10.9.2(@types/node@18.19.50)(typescript@5.6.2) + ts-node: 10.9.2(@types/node@18.19.50)(typescript@5.5.4) tslib: 2.7.0 tsx: 4.19.1 - typescript: 5.6.2 + typescript: 5.5.4 uglify-js: 3.19.3 transitivePeerDependencies: - '@swc/core' @@ -23025,7 +23062,7 @@ packages: dev: false file:projects/opentelemetry-instrumentation-azure-sdk.tgz: - resolution: {integrity: sha512-19duHrRPklF2g69bZB8aB+cW4ep3l3ASN3tRipL2zrHUt0+e3+G6KULOxj5YQNyR0DDKwRmqaoGSTr0ArJy3kw==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} + resolution: {integrity: sha512-micYqYdS28ldR3rNvKUud3F9dYcl1yW+GlumpMlyBCMTJR8ZK/Vjev6aUcPJehWHWMSAz5Wu4w2nnuYkXv39AA==, tarball: file:projects/opentelemetry-instrumentation-azure-sdk.tgz} name: '@rush-temp/opentelemetry-instrumentation-azure-sdk' version: 0.0.0 dependencies: diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 96e82c8c169c..1f30af369b1b 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,387 @@ # Release History +## 4.0.0-beta.1 (2024-09-20) +Compared with version 3.0.0 + +### Features Added + + - Added operation group Connection + - Added operation group ConnectionRaiBlocklist + - Added operation group ConnectionRaiBlocklistItem + - Added operation group ConnectionRaiBlocklistItems + - Added operation group ConnectionRaiBlocklists + - Added operation group ConnectionRaiPolicies + - Added operation group ConnectionRaiPolicy + - Added operation group EndpointDeployment + - Added operation group EndpointOperations + - Added operation group RaiPolicies + - Added operation group RaiPolicy + - Added operation ComputeOperations.beginResize + - Added operation ComputeOperations.beginResizeAndWait + - Added operation ComputeOperations.getAllowedResizeSizes + - Added operation ComputeOperations.updateCustomServices + - Added operation ComputeOperations.updateDataMounts + - Added operation ComputeOperations.updateIdleShutdownSetting + - Added operation WorkspaceConnections.beginTestConnection + - Added operation WorkspaceConnections.beginTestConnectionAndWait + - Added operation WorkspaceConnections.update + - Added Interface AccountApiKeys + - Added Interface AzureMachineLearningServicesMgmtClientOptionalParams + - Added Interface AzureOpenAiFineTuning + - Added Interface AzureOpenAiHyperParameters + - Added Interface CapacityConfig + - Added Interface CognitiveServiceEndpointDeploymentResourceProperties + - Added Interface CognitiveServicesSku + - Added Interface ComputeGetAllowedResizeSizesOptionalParams + - Added Interface ComputeInstanceAutologgerSettings + - Added Interface ComputeResizeHeaders + - Added Interface ComputeResizeOptionalParams + - Added Interface ComputeUpdateCustomServicesOptionalParams + - Added Interface ComputeUpdateDataMountsOptionalParams + - Added Interface ComputeUpdateIdleShutdownSettingOptionalParams + - Added Interface ConnectionCreateOrUpdateDeploymentOptionalParams + - Added Interface ConnectionDeleteDeploymentHeaders + - Added Interface ConnectionDeleteDeploymentOptionalParams + - Added Interface ConnectionGetAllModelsOptionalParams + - Added Interface ConnectionGetDeploymentOptionalParams + - Added Interface ConnectionGetModelsNextOptionalParams + - Added Interface ConnectionGetModelsOptionalParams + - Added Interface ConnectionListDeploymentsNextOptionalParams + - Added Interface ConnectionListDeploymentsOptionalParams + - Added Interface ConnectionRaiBlocklistCreateOptionalParams + - Added Interface ConnectionRaiBlocklistDeleteHeaders + - Added Interface ConnectionRaiBlocklistDeleteOptionalParams + - Added Interface ConnectionRaiBlocklistGetOptionalParams + - Added Interface ConnectionRaiBlocklistItemAddBulkHeaders + - Added Interface ConnectionRaiBlocklistItemAddBulkOptionalParams + - Added Interface ConnectionRaiBlocklistItemCreateOptionalParams + - Added Interface ConnectionRaiBlocklistItemDeleteBulkHeaders + - Added Interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams + - Added Interface ConnectionRaiBlocklistItemDeleteHeaders + - Added Interface ConnectionRaiBlocklistItemDeleteOptionalParams + - Added Interface ConnectionRaiBlocklistItemGetOptionalParams + - Added Interface ConnectionRaiBlocklistItemsListNextOptionalParams + - Added Interface ConnectionRaiBlocklistItemsListOptionalParams + - Added Interface ConnectionRaiBlocklistsListNextOptionalParams + - Added Interface ConnectionRaiBlocklistsListOptionalParams + - Added Interface ConnectionRaiPoliciesListNextOptionalParams + - Added Interface ConnectionRaiPoliciesListOptionalParams + - Added Interface ConnectionRaiPolicyCreateOptionalParams + - Added Interface ConnectionRaiPolicyDeleteHeaders + - Added Interface ConnectionRaiPolicyDeleteOptionalParams + - Added Interface ConnectionRaiPolicyGetOptionalParams + - Added Interface ContentSafetyEndpointDeploymentResourceProperties + - Added Interface ContentSafetyEndpointResourceProperties + - Added Interface CustomModelFineTuning + - Added Interface EndpointCreateOrUpdateHeaders + - Added Interface EndpointCreateOrUpdateOptionalParams + - Added Interface EndpointDeploymentCreateOrUpdateHeaders + - Added Interface EndpointDeploymentCreateOrUpdateOptionalParams + - Added Interface EndpointDeploymentDeleteHeaders + - Added Interface EndpointDeploymentDeleteOptionalParams + - Added Interface EndpointDeploymentGetInWorkspaceNextOptionalParams + - Added Interface EndpointDeploymentGetInWorkspaceOptionalParams + - Added Interface EndpointDeploymentGetOptionalParams + - Added Interface EndpointDeploymentListNextOptionalParams + - Added Interface EndpointDeploymentListOptionalParams + - Added Interface EndpointDeploymentModel + - Added Interface EndpointDeploymentResourceProperties + - Added Interface EndpointDeploymentResourcePropertiesBasicResource + - Added Interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult + - Added Interface EndpointGetModelsNextOptionalParams + - Added Interface EndpointGetModelsOptionalParams + - Added Interface EndpointGetOptionalParams + - Added Interface EndpointKeys + - Added Interface EndpointListKeysOptionalParams + - Added Interface EndpointListNextOptionalParams + - Added Interface EndpointListOptionalParams + - Added Interface EndpointModelDeprecationProperties + - Added Interface EndpointModelProperties + - Added Interface EndpointModels + - Added Interface EndpointModelSkuCapacityProperties + - Added Interface EndpointModelSkuProperties + - Added Interface EndpointModelSkuRateLimitProperties + - Added Interface EndpointModelSkuRateLimitRulePatternProperties + - Added Interface EndpointModelSkuRateLimitRuleProperties + - Added Interface EndpointRegenerateKeysOptionalParams + - Added Interface EndpointResourceProperties + - Added Interface EndpointResourcePropertiesBasicResource + - Added Interface EndpointResourcePropertiesBasicResourceArmPaginatedResult + - Added Interface FineTuningJob + - Added Interface FineTuningVertical + - Added Interface FqdnEndpointsPropertyBag + - Added Interface IPRule + - Added Interface JobResources + - Added Interface JupyterKernelConfig + - Added Interface KeyVaultProperties + - Added Interface ManagedOnlineEndpointDeploymentResourceProperties + - Added Interface ManagedOnlineEndpointResourceProperties + - Added Interface ManagedResourceGroupAssignedIdentities + - Added Interface ManagedResourceGroupSettings + - Added Interface NetworkAcls + - Added Interface OpenAIEndpointDeploymentResourceProperties + - Added Interface OpenAIEndpointResourceProperties + - Added Interface OsPatchingStatus + - Added Interface RaiBlocklistConfig + - Added Interface RaiBlocklistItemBulkRequest + - Added Interface RaiBlocklistItemProperties + - Added Interface RaiBlocklistItemPropertiesBasicResource + - Added Interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult + - Added Interface RaiBlocklistProperties + - Added Interface RaiBlocklistPropertiesBasicResource + - Added Interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult + - Added Interface RaiPoliciesListNextOptionalParams + - Added Interface RaiPoliciesListOptionalParams + - Added Interface RaiPolicyContentFilter + - Added Interface RaiPolicyCreateOptionalParams + - Added Interface RaiPolicyDeleteHeaders + - Added Interface RaiPolicyDeleteOptionalParams + - Added Interface RaiPolicyGetOptionalParams + - Added Interface RaiPolicyProperties + - Added Interface RaiPolicyPropertiesBasicResource + - Added Interface RaiPolicyPropertiesBasicResourceArmPaginatedResult + - Added Interface RegenerateServiceAccountKeyContent + - Added Interface ResizeSchema + - Added Interface SecretExpiry + - Added Interface ServerlessEndpointCapacityReservation + - Added Interface ServerlessEndpointContentSafety + - Added Interface ServerlessEndpointInferenceEndpoint + - Added Interface ServerlessEndpointModelSettings + - Added Interface ServerlessEndpointResourceProperties + - Added Interface ServerlessOffer + - Added Interface SpeechEndpointDeploymentResourceProperties + - Added Interface SpeechEndpointResourceProperties + - Added Interface WorkspaceConnectionsTestConnectionHeaders + - Added Interface WorkspaceConnectionsTestConnectionOptionalParams + - Added Interface WorkspaceConnectionsUpdateOptionalParams + - Added Interface WorkspaceConnectionUpdateParameter + - Added Interface WorkspacePrivateEndpointResource + - Added Interface WorkspacesDeleteHeaders + - Added Class AzureMachineLearningServicesMgmtClient + - Added Type Alias AllowedContentLevel + - Added Type Alias ComputeGetAllowedResizeSizesResponse + - Added Type Alias ComputeResizeResponse + - Added Type Alias ConnectionCreateOrUpdateDeploymentResponse + - Added Type Alias ConnectionDeleteDeploymentResponse + - Added Type Alias ConnectionGetAllModelsResponse + - Added Type Alias ConnectionGetDeploymentResponse + - Added Type Alias ConnectionGetModelsNextResponse + - Added Type Alias ConnectionGetModelsResponse + - Added Type Alias ConnectionListDeploymentsNextResponse + - Added Type Alias ConnectionListDeploymentsResponse + - Added Type Alias ConnectionRaiBlocklistCreateResponse + - Added Type Alias ConnectionRaiBlocklistDeleteResponse + - Added Type Alias ConnectionRaiBlocklistGetResponse + - Added Type Alias ConnectionRaiBlocklistItemAddBulkResponse + - Added Type Alias ConnectionRaiBlocklistItemCreateResponse + - Added Type Alias ConnectionRaiBlocklistItemDeleteBulkResponse + - Added Type Alias ConnectionRaiBlocklistItemDeleteResponse + - Added Type Alias ConnectionRaiBlocklistItemGetResponse + - Added Type Alias ConnectionRaiBlocklistItemsListNextResponse + - Added Type Alias ConnectionRaiBlocklistItemsListResponse + - Added Type Alias ConnectionRaiBlocklistsListNextResponse + - Added Type Alias ConnectionRaiBlocklistsListResponse + - Added Type Alias ConnectionRaiPoliciesListNextResponse + - Added Type Alias ConnectionRaiPoliciesListResponse + - Added Type Alias ConnectionRaiPolicyCreateResponse + - Added Type Alias ConnectionRaiPolicyDeleteResponse + - Added Type Alias ConnectionRaiPolicyGetResponse + - Added Type Alias DefaultActionType + - Added Type Alias DefaultResourceProvisioningState + - Added Type Alias DeploymentModelVersionUpgradeOption + - Added Type Alias EndpointCreateOrUpdateResponse + - Added Type Alias EndpointDeploymentCreateOrUpdateResponse + - Added Type Alias EndpointDeploymentDeleteResponse + - Added Type Alias EndpointDeploymentGetInWorkspaceNextResponse + - Added Type Alias EndpointDeploymentGetInWorkspaceResponse + - Added Type Alias EndpointDeploymentGetResponse + - Added Type Alias EndpointDeploymentListNextResponse + - Added Type Alias EndpointDeploymentListResponse + - Added Type Alias EndpointDeploymentResourcePropertiesUnion + - Added Type Alias EndpointGetModelsNextResponse + - Added Type Alias EndpointGetModelsResponse + - Added Type Alias EndpointGetResponse + - Added Type Alias EndpointListKeysResponse + - Added Type Alias EndpointListNextResponse + - Added Type Alias EndpointListResponse + - Added Type Alias EndpointRegenerateKeysResponse + - Added Type Alias EndpointResourcePropertiesUnion + - Added Type Alias EndpointType + - Added Type Alias FineTuningTaskType + - Added Type Alias FineTuningVerticalUnion + - Added Type Alias FirewallSku + - Added Type Alias ManagedPERequirement + - Added Type Alias ManagedPEStatus + - Added Type Alias MlflowAutologger + - Added Type Alias ModelLifecycleStatus + - Added Type Alias ModelProvider + - Added Type Alias MountMode + - Added Type Alias PatchStatus + - Added Type Alias RaiPoliciesListNextResponse + - Added Type Alias RaiPoliciesListResponse + - Added Type Alias RaiPolicyContentSource + - Added Type Alias RaiPolicyCreateResponse + - Added Type Alias RaiPolicyDeleteResponse + - Added Type Alias RaiPolicyGetResponse + - Added Type Alias RaiPolicyMode + - Added Type Alias RaiPolicyType + - Added Type Alias ServiceAccountKeyName + - Added Type Alias SystemDatastoresAuthMode + - Added Type Alias WorkspaceConnectionsTestConnectionResponse + - Added Type Alias WorkspaceConnectionsUpdateResponse + - Interface ComputeInstanceDataMount has a new optional parameter mountMode + - Interface ComputeInstanceProperties has a new optional parameter autologgerSettings + - Interface ComputeInstanceProperties has a new optional parameter enableOSPatching + - Interface ComputeInstanceProperties has a new optional parameter enableRootAccess + - Interface ComputeInstanceProperties has a new optional parameter enableSSO + - Interface ComputeInstanceProperties has a new optional parameter idleTimeBeforeShutdown + - Interface ComputeInstanceProperties has a new optional parameter releaseQuotaOnStop + - Interface CustomService has a new optional parameter kernel + - Interface DatastoresListSecretsOptionalParams has a new optional parameter body + - Interface DiagnoseRequestProperties has a new optional parameter requiredResourceProviders + - Interface EncryptionProperty has a new optional parameter cosmosDbResourceId + - Interface EncryptionProperty has a new optional parameter searchAccountResourceId + - Interface EncryptionProperty has a new optional parameter storageAccountResourceId + - Interface FqdnEndpoints has a new optional parameter category + - Interface FqdnEndpoints has a new optional parameter endpoints + - Interface Image_2 has a new optional parameter version + - Interface ImageMetadata has a new optional parameter osPatchingStatus + - Interface ListWorkspaceKeysResult has a new optional parameter userStorageArmId + - Interface ManagedNetworkSettings has a new optional parameter changeableIsolationModes + - Interface ManagedNetworkSettings has a new optional parameter firewallSku + - Interface ManagedNetworkSettingsRuleDeleteHeaders has a new optional parameter retryAfter + - Interface NotebookResourceInfo has a new optional parameter isPrivateLinkEnabled + - Interface OutboundRule has a new optional parameter parentRuleNames + - Interface PrivateEndpointOutboundRule has a new optional parameter fqdns + - Interface Registry has a new optional parameter managedResourceGroupSettings + - Interface Workspace has a new optional parameter agentsEndpointUri + - Interface Workspace has a new optional parameter allowRoleAssignmentOnRG + - Interface Workspace has a new optional parameter containerRegistries + - Interface Workspace has a new optional parameter enableServiceSideCMKEncryption + - Interface Workspace has a new optional parameter enableSimplifiedCmk + - Interface Workspace has a new optional parameter enableSoftwareBillOfMaterials + - Interface Workspace has a new optional parameter existingWorkspaces + - Interface Workspace has a new optional parameter ipAllowlist + - Interface Workspace has a new optional parameter keyVaults + - Interface Workspace has a new optional parameter lazyInitSystemDatastores + - Interface Workspace has a new optional parameter networkAcls + - Interface Workspace has a new optional parameter softDeleteRetentionInDays + - Interface Workspace has a new optional parameter storageAccounts + - Interface Workspace has a new optional parameter systemDatastoresAuthMode + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter error + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter peRequirement + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter peStatus + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter useWorkspaceManagedIdentity + - Interface WorkspaceConnectionsCreateOptionalParams has a new optional parameter body + - Interface WorkspaceConnectionsListOptionalParams has a new optional parameter includeAll + - Interface WorkspacesDiagnoseOptionalParams has a new optional parameter body + - Interface WorkspacesListByResourceGroupOptionalParams has a new optional parameter aiCapabilities + - Interface WorkspacesListByResourceGroupOptionalParams has a new optional parameter kind + - Interface WorkspacesListBySubscriptionOptionalParams has a new optional parameter aiCapabilities + - Interface WorkspacesListBySubscriptionOptionalParams has a new optional parameter kind + - Interface WorkspaceUpdateParameters has a new optional parameter allowRoleAssignmentOnRG + - Interface WorkspaceUpdateParameters has a new optional parameter enableSoftwareBillOfMaterials + - Interface WorkspaceUpdateParameters has a new optional parameter ipAllowlist + - Interface WorkspaceUpdateParameters has a new optional parameter networkAcls + - Interface WorkspaceUpdateParameters has a new optional parameter softDeleteRetentionInDays + - Interface WorkspaceUpdateParameters has a new optional parameter systemDatastoresAuthMode + - Type of parameter jobInputType of interface JobInput is changed from "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder" to "mltable" | "mlflow_model" | "custom_model" | "literal" | "triton_model" | "uri_file" | "uri_folder" + - Type of parameter type of interface OutboundRule is changed from "PrivateEndpoint" | "ServiceTag" | "FQDN" to "FQDN" | "PrivateEndpoint" | "ServiceTag" + - Type of parameter authType of interface WorkspaceConnectionPropertiesV2 is changed from "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity" | "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "OAuth2" | "ServicePrincipal" to "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "ManagedIdentity" | "None" | "OAuth2" | "PAT" | "SAS" | "ServicePrincipal" | "UsernamePassword" + - Added Enum KnownAllowedContentLevel + - Added Enum KnownDefaultActionType + - Added Enum KnownDefaultResourceProvisioningState + - Added Enum KnownDeploymentModelVersionUpgradeOption + - Added Enum KnownEndpointType + - Added Enum KnownFineTuningTaskType + - Added Enum KnownFirewallSku + - Added Enum KnownManagedPERequirement + - Added Enum KnownManagedPEStatus + - Added Enum KnownMlflowAutologger + - Added Enum KnownModelLifecycleStatus + - Added Enum KnownModelProvider + - Added Enum KnownMountMode + - Added Enum KnownPatchStatus + - Added Enum KnownRaiPolicyContentSource + - Added Enum KnownRaiPolicyMode + - Added Enum KnownRaiPolicyType + - Added Enum KnownServiceAccountKeyName + - Added Enum KnownSystemDatastoresAuthMode + - Enum KnownComputeInstanceState has a new value Resizing + - Enum KnownConnectionCategory has a new value Elasticsearch + - Enum KnownConnectionCategory has a new value ManagedOnlineEndpoint + - Enum KnownConnectionCategory has a new value Pinecone + - Enum KnownEndpointServiceConnectionStatus has a new value Timeout + - Enum KnownJobType has a new value FineTuning + - Enum KnownOperationName has a new value Resize + - Enum KnownOperationStatus has a new value ResizeFailed + +### Breaking Changes + + - Operation WorkspaceConnections.create has a new signature + - Deleted Class AzureMachineLearningServicesManagementClient + - Interface FqdnEndpoints no longer has parameter properties + - Interface ListWorkspaceKeysResult no longer has parameter userStorageResourceId + - Interface WorkspaceConnectionPropertiesV2 no longer has parameter value + - Interface WorkspaceConnectionPropertiesV2 no longer has parameter valueFormat + - Interface WorkspacesDiagnoseOptionalParams no longer has parameter parameters + - Type of parameter applicationInsights of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter containerRegistry of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter dnsResolution of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter keyVault of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter nsg of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter others of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter resourceLock of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter storageAccount of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter udr of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter keyVaultProperties of interface EncryptionProperty is changed from EncryptionKeyVaultProperties to KeyVaultProperties + - Type of parameter value of interface ExternalFqdnResponse is changed from FqdnEndpoints[] to FqdnEndpointsPropertyBag[] + - Type of parameter privateEndpoint of interface PrivateEndpointConnection is changed from PrivateEndpoint to WorkspacePrivateEndpointResource + - Type of parameter status of interface PrivateLinkServiceConnectionState is changed from PrivateEndpointServiceConnectionStatus to EndpointServiceConnectionStatus + - Type of parameter status of interface SharedPrivateLinkResource is changed from PrivateEndpointServiceConnectionStatus to EndpointServiceConnectionStatus + - Type of parameter publicNetworkAccess of interface Workspace is changed from PublicNetworkAccess to PublicNetworkAccessType + - Type of parameter publicNetworkAccess of interface WorkspaceUpdateParameters is changed from PublicNetworkAccess to PublicNetworkAccessType + - Removed Enum KnownPrivateEndpointServiceConnectionStatus + - Removed Enum KnownPublicNetworkAccess + - Removed Enum KnownValueFormat + + ## 3.0.0 (2024-08-15) ### Features Added diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index 0042b67f7c55..c60a0909c803 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -1,12 +1,12 @@ -# AzureMachineLearningServicesManagement client library for JavaScript +# AzureMachineLearningServicesMgmt client library for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningServicesManagement client. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningServicesMgmt 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 AzureMachineLearningServicesManagement client library for JavaScript with `npm`: +Install the AzureMachineLearningServicesMgmt client library for JavaScript with `npm`: ```bash npm install @azure/arm-machinelearning ``` -### Create and authenticate a `AzureMachineLearningServicesManagementClient` +### Create and authenticate a `AzureMachineLearningServicesMgmtClient` -To create a client object to access the AzureMachineLearningServicesManagement API, you will need the `endpoint` of your AzureMachineLearningServicesManagement resource and a `credential`. The AzureMachineLearningServicesManagement client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your AzureMachineLearningServicesManagement resource in the [Azure Portal][azure_portal]. +To create a client object to access the AzureMachineLearningServicesMgmt API, you will need the `endpoint` of your AzureMachineLearningServicesMgmt resource and a `credential`. The AzureMachineLearningServicesMgmt client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your AzureMachineLearningServicesMgmt 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 AzureMachineLearningServicesManagement** 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 AzureMachineLearningServicesMgmt** 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 { AzureMachineLearningServicesManagementClient } = require("@azure/arm-machinelearning"); +const { AzureMachineLearningServicesMgmtClient } = 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 AzureMachineLearningServicesManagementClient(new DefaultAzureCredential(), subscriptionId); +const client = new AzureMachineLearningServicesMgmtClient(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new AzureMachineLearningServicesManagementClient(credential, subscriptionId); +// const client = new AzureMachineLearningServicesMgmtClient(credential, subscriptionId); ``` @@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### AzureMachineLearningServicesManagementClient +### AzureMachineLearningServicesMgmtClient -`AzureMachineLearningServicesManagementClient` is the primary interface for developers using the AzureMachineLearningServicesManagement client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningServicesManagement service that you can access. +`AzureMachineLearningServicesMgmtClient` is the primary interface for developers using the AzureMachineLearningServicesMgmt client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningServicesMgmt service that you can access. ## Troubleshooting diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 857e6795e82d..9e6b69ea8f4e 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "a5ec6c4d8ece7813ba5d60bce485aa0359668d8f", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --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.23 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --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.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.11", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.14", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 544878aa2b34..fdfe9651eea5 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -2,14 +2,14 @@ "name": "@azure/arm-machinelearning", "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "description": "A generated SDK for AzureMachineLearningServicesMgmtClient.", + "version": "4.0.0-beta.1", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.6.0", @@ -30,12 +30,12 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "mkdirp": "^3.0.1", - "typescript": "~5.6.2", + "typescript": "~5.5.3", "uglify-js": "^3.4.9", "rimraf": "^5.0.0", "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", + "@azure/identity": "^4.2.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", @@ -100,19 +100,11 @@ "//metadata": { "constantPaths": [ { - "path": "src/azureMachineLearningServicesManagementClient.ts", + "path": "src/azureMachineLearningServicesMgmtClient.ts", "prefix": "packageDetails" } ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning" +} \ 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 6e7caefe28c0..664b9ccee50a 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -22,10 +22,17 @@ export interface AccessKeyAuthTypeWorkspaceConnectionProperties extends Workspac credentials?: WorkspaceConnectionAccessKey; } +// @public (undocumented) +export interface AccountApiKeys { + // (undocumented) + key1?: string; + // (undocumented) + key2?: string; +} + // @public export interface AccountKeyAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { authType: "AccountKey"; - // (undocumented) credentials?: WorkspaceConnectionAccountKey; } @@ -106,6 +113,9 @@ export interface AllNodes extends Nodes { // @public export type AllocationState = string; +// @public +export type AllowedContentLevel = string; + // @public export interface AmlCompute extends Compute, AmlComputeSchema { computeType: "AmlCompute"; @@ -355,10 +365,10 @@ export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties } // @public (undocumented) -export class AzureMachineLearningServicesManagementClient extends coreClient.ServiceClient { +export class AzureMachineLearningServicesMgmtClient extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesManagementClientOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesMgmtClientOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -376,12 +386,30 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) computeOperations: ComputeOperations; // (undocumented) + connection: Connection; + // (undocumented) + connectionRaiBlocklist: ConnectionRaiBlocklist; + // (undocumented) + connectionRaiBlocklistItem: ConnectionRaiBlocklistItem; + // (undocumented) + connectionRaiBlocklistItems: ConnectionRaiBlocklistItems; + // (undocumented) + connectionRaiBlocklists: ConnectionRaiBlocklists; + // (undocumented) + connectionRaiPolicies: ConnectionRaiPolicies; + // (undocumented) + connectionRaiPolicy: ConnectionRaiPolicy; + // (undocumented) dataContainers: DataContainers; // (undocumented) datastores: Datastores; // (undocumented) dataVersions: DataVersions; // (undocumented) + endpointDeployment: EndpointDeployment; + // (undocumented) + endpointOperations: EndpointOperations; + // (undocumented) environmentContainers: EnvironmentContainers; // (undocumented) environmentVersions: EnvironmentVersions; @@ -420,6 +448,10 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) quotas: Quotas; // (undocumented) + raiPolicies: RaiPolicies; + // (undocumented) + raiPolicy: RaiPolicy; + // (undocumented) registries: Registries; // (undocumented) registryCodeContainers: RegistryCodeContainers; @@ -462,12 +494,25 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser } // @public -export interface AzureMachineLearningServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions { +export interface AzureMachineLearningServicesMgmtClientOptionalParams extends coreClient.ServiceClientOptions { $host?: string; apiVersion?: string; endpoint?: string; } +// @public (undocumented) +export interface AzureOpenAiFineTuning extends FineTuningVertical { + hyperParameters?: AzureOpenAiHyperParameters; + modelProvider: "AzureOpenAI"; +} + +// @public +export interface AzureOpenAiHyperParameters { + batchSize?: number; + learningRateMultiplier?: number; + nEpochs?: number; +} + // @public export interface BanditPolicy extends EarlyTerminationPolicy { policyType: "Bandit"; @@ -741,7 +786,7 @@ export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { // @public export type BillingCurrency = string; -// @public +// @public (undocumented) export interface BindOptions { createHostPath?: boolean; propagation?: string; @@ -767,6 +812,15 @@ export interface BuildContext { // @public export type Caching = string; +// @public +export interface CapacityConfig { + allowedValues?: number[]; + default?: number; + maximum?: number; + minimum?: number; + step?: number; +} + // @public export type CategoricalDataDriftMetric = string; @@ -989,6 +1043,29 @@ export interface CodeVersionsPublishOptionalParams extends coreClient.OperationO updateIntervalInMs?: number; } +// @public (undocumented) +export interface CognitiveServiceEndpointDeploymentResourceProperties { + model: EndpointDeploymentModel; + raiPolicyName?: string; + // (undocumented) + sku?: CognitiveServicesSku; + versionUpgradeOption?: DeploymentModelVersionUpgradeOption; +} + +// @public (undocumented) +export interface CognitiveServicesSku { + // (undocumented) + capacity?: number; + // (undocumented) + family?: string; + // (undocumented) + name?: string; + // (undocumented) + size?: string; + // (undocumented) + tier?: string; +} + // @public (undocumented) export interface Collection { clientId?: string; @@ -1203,6 +1280,13 @@ export interface ComputeDeleteOptionalParams extends coreClient.OperationOptions updateIntervalInMs?: number; } +// @public +export interface ComputeGetAllowedResizeSizesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ComputeGetAllowedResizeSizesResponse = VirtualMachineSizeListResult; + // @public export interface ComputeGetOptionalParams extends coreClient.OperationOptions { } @@ -1224,6 +1308,11 @@ export interface ComputeInstanceApplication { // @public export type ComputeInstanceAuthorizationType = string; +// @public +export interface ComputeInstanceAutologgerSettings { + mlflowAutologger?: MlflowAutologger; +} + // @public export interface ComputeInstanceConnectivityEndpoints { readonly privateIpAddress?: string; @@ -1261,6 +1350,7 @@ export interface ComputeInstanceDataMount { error?: string; mountAction?: MountAction; mountedOn?: Date; + mountMode?: MountMode; mountName?: string; mountPath?: string; mountState?: MountState; @@ -1286,6 +1376,7 @@ export interface ComputeInstanceLastOperation { export interface ComputeInstanceProperties { readonly applications?: ComputeInstanceApplication[]; applicationSharingPolicy?: ApplicationSharingPolicy; + autologgerSettings?: ComputeInstanceAutologgerSettings; computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; readonly containers?: ComputeInstanceContainer[]; @@ -1294,10 +1385,15 @@ export interface ComputeInstanceProperties { readonly dataDisks?: ComputeInstanceDataDisk[]; readonly dataMounts?: ComputeInstanceDataMount[]; enableNodePublicIp?: boolean; + enableOSPatching?: boolean; + enableRootAccess?: boolean; + enableSSO?: boolean; readonly errors?: ErrorResponse[]; + idleTimeBeforeShutdown?: string; readonly lastOperation?: ComputeInstanceLastOperation; readonly osImageMetadata?: ImageMetadata; personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + releaseQuotaOnStop?: boolean; schedules?: ComputeSchedules; setupScripts?: SetupScripts; sshSettings?: ComputeInstanceSshSettings; @@ -1370,6 +1466,8 @@ export interface ComputeOperations { beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise; + beginResize(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ResizeSchema, options?: ComputeResizeOptionalParams): Promise, ComputeResizeResponse>>; + beginResizeAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ResizeSchema, options?: ComputeResizeOptionalParams): Promise; beginRestart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise, void>>; beginRestartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise; beginStart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise, void>>; @@ -1379,9 +1477,13 @@ export interface ComputeOperations { beginUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise, ComputeUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeGetOptionalParams): Promise; + getAllowedResizeSizes(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeGetAllowedResizeSizesOptionalParams): Promise; 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; + updateDataMounts(resourceGroupName: string, workspaceName: string, computeName: string, dataMounts: ComputeInstanceDataMount[], options?: ComputeUpdateDataMountsOptionalParams): Promise; + updateIdleShutdownSetting(resourceGroupName: string, workspaceName: string, computeName: string, parameters: IdleShutdownSetting, options?: ComputeUpdateIdleShutdownSettingOptionalParams): Promise; } // @public @@ -1398,6 +1500,21 @@ export interface ComputeRecurrenceSchedule { weekDays?: ComputeWeekDay[]; } +// @public +export interface ComputeResizeHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface ComputeResizeOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ComputeResizeResponse = ComputeResizeHeaders; + // @public export interface ComputeResource extends Resource, ComputeResourceSchema { identity?: ManagedServiceIdentity; @@ -1419,7 +1536,7 @@ export interface ComputeRestartOptionalParams extends coreClient.OperationOption updateIntervalInMs?: number; } -// @public +// @public (undocumented) export interface ComputeRuntimeDto { // (undocumented) sparkRuntimeVersion?: string; @@ -1471,6 +1588,18 @@ 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 ComputeUpdateDataMountsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ComputeUpdateIdleShutdownSettingOptionalParams extends coreClient.OperationOptions { +} + // @public export interface ComputeUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1483,15 +1612,323 @@ export type ComputeUpdateResponse = ComputeResource; // @public export type ComputeWeekDay = string; +// @public +export interface Connection { + beginCreateOrUpdateDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams): Promise, ConnectionCreateOrUpdateDeploymentResponse>>; + beginCreateOrUpdateDeploymentAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams): Promise; + beginDeleteDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams): Promise, ConnectionDeleteDeploymentResponse>>; + beginDeleteDeploymentAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams): Promise; + getAllModels(resourceGroupName: string, workspaceName: string, options?: ConnectionGetAllModelsOptionalParams): Promise; + getDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionGetDeploymentOptionalParams): Promise; + listDeployments(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionListDeploymentsOptionalParams): PagedAsyncIterableIterator; + listModels(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionGetModelsOptionalParams): PagedAsyncIterableIterator; +} + // @public export type ConnectionAuthType = string; // @public export type ConnectionCategory = string; +// @public +export interface ConnectionCreateOrUpdateDeploymentOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionCreateOrUpdateDeploymentResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface ConnectionDeleteDeploymentHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionDeleteDeploymentOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionDeleteDeploymentResponse = ConnectionDeleteDeploymentHeaders; + +// @public +export interface ConnectionGetAllModelsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionGetAllModelsResponse = EndpointModels; + +// @public +export interface ConnectionGetDeploymentOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionGetDeploymentResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface ConnectionGetModelsNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionGetModelsNextResponse = EndpointModels; + +// @public +export interface ConnectionGetModelsOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionGetModelsResponse = EndpointModels; + // @public export type ConnectionGroup = string; +// @public +export interface ConnectionListDeploymentsNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionListDeploymentsNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionListDeploymentsOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionListDeploymentsResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklist { + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams): Promise, ConnectionRaiBlocklistCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams): Promise, ConnectionRaiBlocklistDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistGetOptionalParams): Promise; +} + +// @public +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistCreateResponse = RaiBlocklistPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistDeleteResponse = ConnectionRaiBlocklistDeleteHeaders; + +// @public +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistGetResponse = RaiBlocklistPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItem { + beginAddBulk(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistItemBulkRequest[], options?: ConnectionRaiBlocklistItemAddBulkOptionalParams): Promise, ConnectionRaiBlocklistItemAddBulkResponse>>; + beginAddBulkAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistItemBulkRequest[], options?: ConnectionRaiBlocklistItemAddBulkOptionalParams): Promise; + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, body: RaiBlocklistItemPropertiesBasicResource, options?: ConnectionRaiBlocklistItemCreateOptionalParams): Promise, ConnectionRaiBlocklistItemCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, body: RaiBlocklistItemPropertiesBasicResource, options?: ConnectionRaiBlocklistItemCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemDeleteOptionalParams): Promise, ConnectionRaiBlocklistItemDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemDeleteOptionalParams): Promise; + beginDeleteBulk(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: Record, options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams): Promise, ConnectionRaiBlocklistItemDeleteBulkResponse>>; + beginDeleteBulkAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: Record, options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemGetOptionalParams): Promise; +} + +// @public +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemAddBulkResponse = RaiBlocklistItemPropertiesBasicResource[]; + +// @public +export interface ConnectionRaiBlocklistItemCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemCreateResponse = RaiBlocklistItemPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItemDeleteBulkHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemDeleteBulkResponse = ConnectionRaiBlocklistItemDeleteBulkHeaders; + +// @public +export interface ConnectionRaiBlocklistItemDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemDeleteResponse = ConnectionRaiBlocklistItemDeleteHeaders; + +// @public +export interface ConnectionRaiBlocklistItemGetOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistItemGetResponse = RaiBlocklistItemPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItems { + list(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistItemsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiBlocklistItemsListNextResponse = RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistItemsListResponse = RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklists { + list(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionRaiBlocklistsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiBlocklistsListNextResponse = RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklistsListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistsListResponse = RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPolicies { + list(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionRaiPoliciesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiPoliciesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiPoliciesListNextResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPoliciesListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPolicy { + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: ConnectionRaiPolicyCreateOptionalParams): Promise, ConnectionRaiPolicyCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: ConnectionRaiPolicyCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyDeleteOptionalParams): Promise, ConnectionRaiPolicyDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyGetOptionalParams): Promise; +} + +// @public +export interface ConnectionRaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +// @public +export interface ConnectionRaiPolicyDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiPolicyDeleteResponse = ConnectionRaiPolicyDeleteHeaders; + +// @public +export interface ConnectionRaiPolicyGetOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; + // @public export interface ContainerResourceRequirements { containerResourceLimits?: ContainerResourceSettings; @@ -1513,11 +1950,22 @@ export interface ContentSafety { contentSafetyStatus: ContentSafetyStatus; } +// @public (undocumented) +export interface ContentSafetyEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.ContentSafety"; +} + +// @public (undocumented) +export interface ContentSafetyEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.ContentSafety"; +} + // @public export type ContentSafetyStatus = string; // @public (undocumented) export interface CosmosDbSettings { + // (undocumented) collectionsThroughput?: number; } @@ -1571,6 +2019,14 @@ export interface CustomMetricThreshold { threshold?: MonitoringThreshold; } +// @public (undocumented) +export interface CustomModelFineTuning extends FineTuningVertical { + hyperParameters?: { + [propertyName: string]: string | null; + }; + modelProvider: "Custom"; +} + // @public (undocumented) export interface CustomModelJobInput extends AssetJobInput, JobInput { jobInputType: "custom_model"; @@ -1615,6 +2071,7 @@ export interface CustomService { [propertyName: string]: EnvironmentVariable; }; image?: Image_2; + kernel?: JupyterKernelConfig; name?: string; volumes?: VolumeDefinition[]; } @@ -1901,6 +2358,7 @@ export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; // @public export interface DatastoresListSecretsOptionalParams extends coreClient.OperationOptions { + body?: SecretExpiry; } // @public @@ -1991,6 +2449,12 @@ export interface DataVersionsPublishOptionalParams extends coreClient.OperationO updateIntervalInMs?: number; } +// @public +export type DefaultActionType = string; + +// @public +export type DefaultResourceProvisioningState = string; + // @public (undocumented) export interface DefaultScaleSettings extends OnlineScaleSettings { scaleType: "Default"; @@ -2007,6 +2471,9 @@ export interface DeploymentLogsRequest { tail?: number; } +// @public +export type DeploymentModelVersionUpgradeOption = string; + // @public export type DeploymentProvisioningState = string; @@ -2024,31 +2491,34 @@ export interface DestinationAsset { // @public (undocumented) export interface DiagnoseRequestProperties { applicationInsights?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; containerRegistry?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; dnsResolution?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; keyVault?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; nsg?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; others?: { - [propertyName: string]: Record; + [propertyName: string]: any; + }; + requiredResourceProviders?: { + [propertyName: string]: any; }; resourceLock?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; storageAccount?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; udr?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; } @@ -2092,6 +2562,7 @@ export type DiagnoseResultLevel = string; // @public export interface DiagnoseWorkspaceParameters { + // (undocumented) value?: DiagnoseRequestProperties; } @@ -2106,7 +2577,7 @@ export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | P // @public export type DistributionType = string; -// @public +// @public (undocumented) export interface Docker { [property: string]: any; privileged?: boolean; @@ -2138,13 +2609,6 @@ export type EgressPublicNetworkAccessType = string; // @public export type EmailNotificationEnableType = string; -// @public (undocumented) -export interface EncryptionKeyVaultProperties { - identityClientId?: string; - keyIdentifier: string; - keyVaultArmId: string; -} - // @public (undocumented) export interface EncryptionKeyVaultUpdateProperties { // (undocumented) @@ -2153,9 +2617,12 @@ export interface EncryptionKeyVaultUpdateProperties { // @public (undocumented) export interface EncryptionProperty { + cosmosDbResourceId?: string; identity?: IdentityForCmk; - keyVaultProperties: EncryptionKeyVaultProperties; + keyVaultProperties: KeyVaultProperties; + searchAccountResourceId?: string; status: EncryptionStatus; + storageAccountResourceId?: string; } // @public @@ -2167,7 +2634,7 @@ export interface EncryptionUpdateProperties { keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -// @public +// @public (undocumented) export interface Endpoint { hostIp?: string; name?: string; @@ -2182,31 +2649,304 @@ export interface EndpointAuthKeys { secondaryKey?: string; } -// @public -export type EndpointAuthMode = string; +// @public +export type EndpointAuthMode = string; + +// @public +export interface EndpointAuthToken { + accessToken?: string; + expiryTimeUtc?: number; + refreshAfterTimeUtc?: number; + tokenType?: string; +} + +// @public +export type EndpointComputeType = string; + +// @public +export interface EndpointCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointCreateOrUpdateResponse = EndpointResourcePropertiesBasicResource; + +// @public +export interface EndpointDeployment { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: EndpointDeploymentCreateOrUpdateOptionalParams): Promise, EndpointDeploymentCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: EndpointDeploymentCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentDeleteOptionalParams): Promise, EndpointDeploymentDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointDeploymentListOptionalParams): PagedAsyncIterableIterator; + listInWorkspace(resourceGroupName: string, workspaceName: string, options?: EndpointDeploymentGetInWorkspaceOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface EndpointDeploymentCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointDeploymentCreateOrUpdateResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface EndpointDeploymentDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; + +// @public +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentGetInWorkspaceNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + skip?: string; +} + +// @public +export type EndpointDeploymentGetInWorkspaceResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentGetResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface EndpointDeploymentListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentListNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentListResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public (undocumented) +export interface EndpointDeploymentModel { + format?: string; + name?: string; + source?: string; + version?: string; +} + +// @public +export interface EndpointDeploymentPropertiesBase { + codeConfiguration?: CodeConfiguration; + description?: string; + environmentId?: string; + environmentVariables?: { + [propertyName: string]: string | null; + }; + properties?: { + [propertyName: string]: string | null; + }; +} + +// @public (undocumented) +export interface EndpointDeploymentResourceProperties { + failureReason?: string; + readonly provisioningState?: DefaultResourceProvisioningState; + type: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "Azure.Speech"; +} + +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointDeploymentResourcePropertiesUnion; +} + +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: EndpointDeploymentResourcePropertiesBasicResource[]; +} + +// @public (undocumented) +export type EndpointDeploymentResourcePropertiesUnion = EndpointDeploymentResourceProperties | ContentSafetyEndpointDeploymentResourceProperties | ManagedOnlineEndpointDeploymentResourceProperties | OpenAIEndpointDeploymentResourceProperties | SpeechEndpointDeploymentResourceProperties; + +// @public +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetModelsNextResponse = EndpointModels; + +// @public +export interface EndpointGetModelsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetModelsResponse = EndpointModels; + +// @public +export interface EndpointGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; + +// @public (undocumented) +export interface EndpointKeys { + keys?: AccountApiKeys; +} + +// @public +export interface EndpointListKeysOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointListKeysResponse = EndpointKeys; + +// @public +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointListNextResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointListOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + expand?: string; + // (undocumented) + includeConnections?: boolean; + // (undocumented) + includeOnlineEndpoints?: boolean; + // (undocumented) + includeServerlessEndpoints?: boolean; + skip?: string; +} + +// @public +export type EndpointListResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; + +// @public (undocumented) +export interface EndpointModelDeprecationProperties { + fineTune?: Date; + inference?: Date; +} + +// @public +export interface EndpointModelProperties { + capabilities?: { + [propertyName: string]: string; + }; + // (undocumented) + deprecation?: EndpointModelDeprecationProperties; + finetuneCapabilities?: { + [propertyName: string]: string; + }; + format?: string; + isDefaultVersion?: boolean; + lifecycleStatus?: ModelLifecycleStatus; + maxCapacity?: number; + name?: string; + skus?: EndpointModelSkuProperties[]; + readonly systemData?: SystemData; + version?: string; +} + +// @public (undocumented) +export interface EndpointModels { + nextLink?: string; + value?: EndpointModelProperties[]; +} + +// @public (undocumented) +export interface EndpointModelSkuCapacityProperties { + default?: number; + maximum?: number; +} + +// @public (undocumented) +export interface EndpointModelSkuProperties { + // (undocumented) + capacity?: EndpointModelSkuCapacityProperties; + connectionIds?: string[]; + deprecationDate?: Date; + name?: string; + // (undocumented) + rateLimits?: EndpointModelSkuRateLimitProperties[]; + usageName?: string; +} + +// @public (undocumented) +export interface EndpointModelSkuRateLimitProperties { + count?: number; + renewalPeriod?: number; + rules?: EndpointModelSkuRateLimitRuleProperties[]; +} -// @public -export interface EndpointAuthToken { - accessToken?: string; - expiryTimeUtc?: number; - refreshAfterTimeUtc?: number; - tokenType?: string; +// @public (undocumented) +export interface EndpointModelSkuRateLimitRulePatternProperties { + // (undocumented) + method?: string; + // (undocumented) + path?: string; } -// @public -export type EndpointComputeType = string; +// @public (undocumented) +export interface EndpointModelSkuRateLimitRuleProperties { + // (undocumented) + count?: number; + dynamicThrottlingEnabled?: boolean; + // (undocumented) + key?: string; + // (undocumented) + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + // (undocumented) + minCount?: number; + // (undocumented) + renewalPeriod?: number; +} // @public -export interface EndpointDeploymentPropertiesBase { - codeConfiguration?: CodeConfiguration; - description?: string; - environmentId?: string; - environmentVariables?: { - [propertyName: string]: string | null; - }; - properties?: { - [propertyName: string]: string | null; - }; +export interface EndpointOperations { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: EndpointResourcePropertiesBasicResource, options?: EndpointCreateOrUpdateOptionalParams): Promise, EndpointCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: EndpointResourcePropertiesBasicResource, options?: EndpointCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: EndpointListOptionalParams): PagedAsyncIterableIterator; + listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointListKeysOptionalParams): Promise; + listModels(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointGetModelsOptionalParams): PagedAsyncIterableIterator; + regenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateServiceAccountKeyContent, options?: EndpointRegenerateKeysOptionalParams): Promise; } // @public @@ -2224,6 +2964,43 @@ export interface EndpointPropertiesBase { // @public export type EndpointProvisioningState = string; +// @public +export interface EndpointRegenerateKeysOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointRegenerateKeysResponse = AccountApiKeys; + +// @public (undocumented) +export interface EndpointResourceProperties { + associatedResourceId?: string; + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + endpointType: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "serverlessEndpoint" | "Azure.Speech"; + endpointUri?: string; + failureReason?: string; + location?: string; + name?: string; + readonly provisioningState?: DefaultResourceProvisioningState; + shouldCreateAiServicesEndpoint?: boolean; +} + +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointResourcePropertiesUnion; +} + +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: EndpointResourcePropertiesBasicResource[]; +} + +// @public (undocumented) +export type EndpointResourcePropertiesUnion = EndpointResourceProperties | ContentSafetyEndpointResourceProperties | ManagedOnlineEndpointResourceProperties | OpenAIEndpointResourceProperties | ServerlessEndpointResourceProperties | SpeechEndpointResourceProperties; + // @public (undocumented) export interface EndpointScheduleAction extends ScheduleActionBase { actionType: "InvokeBatchEndpoint"; @@ -2233,6 +3010,9 @@ export interface EndpointScheduleAction extends ScheduleActionBase { // @public export type EndpointServiceConnectionStatus = string; +// @public +export type EndpointType = string; + // @public export interface EnvironmentContainer extends ProxyResource { properties: EnvironmentContainerProperties; @@ -2294,7 +3074,7 @@ export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmP // @public export type EnvironmentType = string; -// @public +// @public (undocumented) export interface EnvironmentVariable { [property: string]: any; type?: EnvironmentVariableType; @@ -2423,7 +3203,7 @@ export interface EstimatedVMPrices { // @public (undocumented) export interface ExternalFqdnResponse { // (undocumented) - value?: FqdnEndpoints[]; + value?: FqdnEndpointsPropertyBag[]; } // @public @@ -2896,8 +3676,9 @@ export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient // @public export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; -// @public +// @public (undocumented) export interface FeatureStoreSettings { + // (undocumented) computeRuntime?: ComputeRuntimeDto; // (undocumented) offlineStoreConnectionName?: string; @@ -2925,6 +3706,35 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +// @public +export interface FineTuningJob extends JobBaseProperties { + fineTuningDetails: FineTuningVerticalUnion; + jobType: "FineTuning"; + outputs: { + [propertyName: string]: JobOutputUnion | null; + }; + queueSettings?: QueueSettings; + resources?: JobResources; +} + +// @public +export type FineTuningTaskType = string; + +// @public (undocumented) +export interface FineTuningVertical { + model: MLFlowModelJobInput; + modelProvider: "AzureOpenAI" | "Custom"; + taskType: FineTuningTaskType; + trainingData: JobInputUnion; + validationData?: JobInputUnion; +} + +// @public (undocumented) +export type FineTuningVerticalUnion = FineTuningVertical | AzureOpenAiFineTuning | CustomModelFineTuning; + +// @public +export type FirewallSku = string; + // @public export interface FixedInputData extends MonitoringInputDataBase { inputDataType: "Fixed"; @@ -3001,18 +3811,18 @@ export interface FqdnEndpointDetail { // @public (undocumented) export interface FqdnEndpoints { - // (undocumented) - properties?: FqdnEndpointsProperties; -} - -// @public (undocumented) -export interface FqdnEndpointsProperties { // (undocumented) category?: string; // (undocumented) endpoints?: FqdnEndpoint[]; } +// @public +export interface FqdnEndpointsPropertyBag { + // (undocumented) + properties?: FqdnEndpoints; +} + // @public export interface FqdnOutboundRule extends OutboundRule { // (undocumented) @@ -3093,11 +3903,12 @@ export interface IdleShutdownSetting { idleTimeBeforeShutdown?: string; } -// @public +// @public (undocumented) interface Image_2 { [property: string]: any; reference?: string; type?: ImageType; + version?: string; } export { Image_2 as Image } @@ -3137,6 +3948,7 @@ export interface ImageMetadata { currentImageVersion?: string; isLatestOsImageVersion?: boolean; latestImageVersion?: string; + readonly osPatchingStatus?: OsPatchingStatus; } // @public @@ -3323,6 +4135,11 @@ export interface InstanceTypeSchemaResources { }; } +// @public +export interface IPRule { + value?: string; +} + // @public export type IsolationMode = string; @@ -3348,7 +4165,7 @@ export interface JobBaseProperties extends ResourceBase { } // @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; +export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | FineTuningJob | PipelineJob | SparkJob | SweepJob; // @public export interface JobBaseResourceArmPaginatedResult { @@ -3359,14 +4176,14 @@ export interface JobBaseResourceArmPaginatedResult { // @public export interface JobInput { description?: string; - jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; + jobInputType: "mltable" | "mlflow_model" | "custom_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; +export type JobInputUnion = JobInput | MLTableJobInput | MLFlowModelJobInput | CustomModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; // @public (undocumented) export interface JobLimits { @@ -3398,6 +4215,11 @@ export interface JobResourceConfiguration extends ResourceConfiguration { shmSize?: string; } +// @public (undocumented) +export interface JobResources { + instanceTypes?: string[]; +} + // @public export interface Jobs { beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; @@ -3495,10 +4317,24 @@ export type JobTier = string; // @public export type JobType = string; +// @public +export interface JupyterKernelConfig { + argv?: string[]; + displayName?: string; + language?: string; +} + // @public type KeyType_2 = string; export { KeyType_2 as KeyType } +// @public +export interface KeyVaultProperties { + identityClientId?: string; + keyIdentifier: string; + keyVaultArmId: string; +} + // @public export enum KnownActionType { Internal = "Internal" @@ -3510,6 +4346,13 @@ export enum KnownAllocationState { Steady = "Steady" } +// @public +export enum KnownAllowedContentLevel { + High = "High", + Low = "Low", + Medium = "Medium" +} + // @public export enum KnownApplicationSharingPolicy { Personal = "Personal", @@ -3659,6 +4502,7 @@ export enum KnownComputeInstanceState { Creating = "Creating", Deleting = "Deleting", JobRunning = "JobRunning", + Resizing = "Resizing", Restarting = "Restarting", Running = "Running", SettingUp = "SettingUp", @@ -3771,6 +4615,7 @@ export enum KnownConnectionCategory { Dynamics = "Dynamics", DynamicsAx = "DynamicsAx", DynamicsCrm = "DynamicsCrm", + Elasticsearch = "Elasticsearch", Eloqua = "Eloqua", FileServer = "FileServer", FtpServer = "FtpServer", @@ -3790,6 +4635,7 @@ export enum KnownConnectionCategory { Informix = "Informix", Jira = "Jira", Magento = "Magento", + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", MariaDb = "MariaDb", Marketo = "Marketo", MicrosoftAccess = "MicrosoftAccess", @@ -3806,6 +4652,7 @@ export enum KnownConnectionCategory { OracleServiceCloud = "OracleServiceCloud", PayPal = "PayPal", Phoenix = "Phoenix", + Pinecone = "Pinecone", PostgreSql = "PostgreSql", Presto = "Presto", PythonFeed = "PythonFeed", @@ -3918,6 +4765,33 @@ export enum KnownDataType { UriFolder = "uri_folder" } +// @public +export enum KnownDefaultActionType { + Allow = "Allow", + Deny = "Deny" +} + +// @public +export enum KnownDefaultResourceProvisioningState { + Accepted = "Accepted", + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Disabled = "Disabled", + Failed = "Failed", + NotStarted = "NotStarted", + Scaling = "Scaling", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownDeploymentModelVersionUpgradeOption { + NoAutoUpgrade = "NoAutoUpgrade", + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable" +} + // @public export enum KnownDeploymentProvisioningState { Canceled = "Canceled", @@ -3998,7 +4872,18 @@ export enum KnownEndpointServiceConnectionStatus { Approved = "Approved", Disconnected = "Disconnected", Pending = "Pending", - Rejected = "Rejected" + Rejected = "Rejected", + Timeout = "Timeout" +} + +// @public +export enum KnownEndpointType { + AzureContentSafety = "Azure.ContentSafety", + AzureLlama = "Azure.Llama", + AzureOpenAI = "Azure.OpenAI", + AzureSpeech = "Azure.Speech", + ManagedOnlineEndpoint = "managedOnlineEndpoint", + ServerlessEndpoint = "serverlessEndpoint" } // @public @@ -4048,6 +4933,27 @@ export enum KnownFeaturizationMode { Off = "Off" } +// @public +export enum KnownFineTuningTaskType { + ChatCompletion = "ChatCompletion", + ImageClassification = "ImageClassification", + ImageInstanceSegmentation = "ImageInstanceSegmentation", + ImageObjectDetection = "ImageObjectDetection", + QuestionAnswering = "QuestionAnswering", + TextClassification = "TextClassification", + TextCompletion = "TextCompletion", + TextSummarization = "TextSummarization", + TextTranslation = "TextTranslation", + TokenClassification = "TokenClassification", + VideoMultiObjectTracking = "VideoMultiObjectTracking" +} + +// @public +export enum KnownFirewallSku { + Basic = "Basic", + Standard = "Standard" +} + // @public export enum KnownForecastHorizonMode { Auto = "Auto", @@ -4184,6 +5090,7 @@ export enum KnownJobTier { export enum KnownJobType { AutoML = "AutoML", Command = "Command", + FineTuning = "FineTuning", Pipeline = "Pipeline", Spark = "Spark", Sweep = "Sweep" @@ -4231,6 +5138,20 @@ export enum KnownManagedNetworkStatus { Inactive = "Inactive" } +// @public +export enum KnownManagedPERequirement { + NotApplicable = "NotApplicable", + NotRequired = "NotRequired", + Required = "Required" +} + +// @public +export enum KnownManagedPEStatus { + Active = "Active", + Inactive = "Inactive", + NotApplicable = "NotApplicable" +} + // @public export enum KnownManagedServiceIdentityType { None = "None", @@ -4264,6 +5185,24 @@ export enum KnownMaterializationStoreType { OnlineAndOffline = "OnlineAndOffline" } +// @public +export enum KnownMlflowAutologger { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownModelLifecycleStatus { + GenerallyAvailable = "GenerallyAvailable", + Preview = "Preview" +} + +// @public +export enum KnownModelProvider { + AzureOpenAI = "AzureOpenAI", + Custom = "Custom" +} + // @public export enum KnownModelSize { ExtraLarge = "ExtraLarge", @@ -4330,6 +5269,12 @@ export enum KnownMountAction { Unmount = "Unmount" } +// @public +export enum KnownMountMode { + ReadOnly = "ReadOnly", + ReadWrite = "ReadWrite" +} + // @public export enum KnownMountState { Mounted = "Mounted", @@ -4411,6 +5356,7 @@ export enum KnownOperationName { Create = "Create", Delete = "Delete", Reimage = "Reimage", + Resize = "Resize", Restart = "Restart", Start = "Start", Stop = "Stop" @@ -4422,6 +5368,7 @@ export enum KnownOperationStatus { DeleteFailed = "DeleteFailed", InProgress = "InProgress", ReimageFailed = "ReimageFailed", + ResizeFailed = "ResizeFailed", RestartFailed = "RestartFailed", StartFailed = "StartFailed", StopFailed = "StopFailed", @@ -4463,6 +5410,15 @@ export enum KnownOutputDeliveryMode { Upload = "Upload" } +// @public +export enum KnownPatchStatus { + CompletedWithWarnings = "CompletedWithWarnings", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded", + Unknown = "Unknown" +} + // @public export enum KnownPendingUploadCredentialType { SAS = "SAS" @@ -4482,15 +5438,6 @@ export enum KnownPrivateEndpointConnectionProvisioningState { Succeeded = "Succeeded" } -// @public -export enum KnownPrivateEndpointServiceConnectionStatus { - Approved = "Approved", - Disconnected = "Disconnected", - Pending = "Pending", - Rejected = "Rejected", - Timeout = "Timeout" -} - // @public export enum KnownProtocol { Http = "http", @@ -4516,12 +5463,6 @@ export enum KnownProvisioningStatus { Provisioning = "Provisioning" } -// @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} - // @public export enum KnownPublicNetworkAccessType { Disabled = "Disabled", @@ -4533,6 +5474,25 @@ export enum KnownQuotaUnit { Count = "Count" } +// @public +export enum KnownRaiPolicyContentSource { + Completion = "Completion", + Prompt = "Prompt" +} + +// @public +export enum KnownRaiPolicyMode { + Blocking = "Blocking", + Default = "Default", + Deferred = "Deferred" +} + +// @public +export enum KnownRaiPolicyType { + SystemManaged = "SystemManaged", + UserManaged = "UserManaged" +} + // @public export enum KnownRandomSamplingAlgorithmRule { Random = "Random", @@ -4702,6 +5662,12 @@ export enum KnownServerlessInferenceEndpointAuthMode { Key = "Key" } +// @public +export enum KnownServiceAccountKeyName { + Key1 = "Key1", + Key2 = "Key2" +} + // @public export enum KnownServiceDataAccessAuthIdentity { None = "None", @@ -4788,6 +5754,13 @@ export enum KnownStorageAccountType { StandardLRS = "Standard_LRS" } +// @public +export enum KnownSystemDatastoresAuthMode { + AccessKey = "AccessKey", + Identity = "Identity", + UserDelegationSAS = "UserDelegationSAS" +} + // @public export enum KnownTargetAggregationFunction { Max = "Max", @@ -4860,11 +5833,6 @@ export enum KnownValidationMetricType { Voc = "Voc" } -// @public -export enum KnownValueFormat { - Json = "JSON" -} - // @public export enum KnownVMPriceOSType { Linux = "Linux", @@ -4975,10 +5943,12 @@ export type ListViewType = string; // @public (undocumented) export interface ListWorkspaceKeysResult { readonly appInsightsInstrumentationKey?: string; - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - readonly notebookAccessKeys?: ListNotebookKeysResult; + // (undocumented) + containerRegistryCredentials?: RegistryListCredentialsResult; + // (undocumented) + notebookAccessKeys?: ListNotebookKeysResult; + readonly userStorageArmId?: string; readonly userStorageKey?: string; - readonly userStorageResourceId?: string; } // @public @@ -5067,6 +6037,8 @@ export interface ManagedNetworkProvisionStatus { // @public export interface ManagedNetworkSettings { + readonly changeableIsolationModes?: IsolationMode[]; + firewallSku?: FirewallSku; isolationMode?: IsolationMode; readonly networkId?: string; outboundRules?: { @@ -5103,6 +6075,7 @@ export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasic // @public export interface ManagedNetworkSettingsRuleDeleteHeaders { location?: string; + retryAfter?: number; } // @public @@ -5140,6 +6113,48 @@ export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { endpointComputeType: "Managed"; } +// @public (undocumented) +export interface ManagedOnlineEndpointDeploymentResourceProperties extends EndpointDeploymentResourceProperties { + endpointComputeType?: EndpointComputeType; + // (undocumented) + model?: string; + type: "managedOnlineEndpoint"; +} + +// @public (undocumented) +export interface ManagedOnlineEndpointResourceProperties extends EndpointResourceProperties { + authMode?: EndpointAuthMode; + // (undocumented) + compute?: string; + // (undocumented) + description?: string; + endpointType: "managedOnlineEndpoint"; + mirrorTraffic?: { + [propertyName: string]: number; + }; + // (undocumented) + scoringUri?: string; + traffic?: { + [propertyName: string]: number; + }; +} + +// @public +export type ManagedPERequirement = string; + +// @public +export type ManagedPEStatus = string; + +// @public +export interface ManagedResourceGroupAssignedIdentities { + readonly principalId?: string; +} + +// @public +export interface ManagedResourceGroupSettings { + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + // @public export interface ManagedServiceIdentity { readonly principalId?: string; @@ -5272,6 +6287,9 @@ export interface MedianStoppingPolicy extends EarlyTerminationPolicy { policyType: "MedianStopping"; } +// @public +export type MlflowAutologger = string; + // @public (undocumented) export interface MLFlowModelJobInput extends AssetJobInput, JobInput { jobInputType: "mlflow_model"; @@ -5357,6 +6375,12 @@ export interface ModelContainersListOptionalParams extends coreClient.OperationO // @public export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; +// @public +export type ModelLifecycleStatus = string; + +// @public +export type ModelProvider = string; + // @public (undocumented) export interface ModelSettings { modelId?: string; @@ -5569,6 +6593,9 @@ export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurati // @public export type MountAction = string; +// @public +export type MountMode = string; + // @public export type MountState = string; @@ -5592,6 +6619,12 @@ export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | // @public export type Network = string; +// @public (undocumented) +export interface NetworkAcls { + defaultAction?: DefaultActionType; + ipRules?: IPRule[]; +} + // @public export interface NlpVertical { featurizationSettings?: NlpVerticalFeaturizationSettings; @@ -5668,6 +6701,8 @@ export interface NotebookPreparationError { export interface NotebookResourceInfo { // (undocumented) fqdn?: string; + // (undocumented) + isPrivateLinkEnabled?: boolean; notebookPreparationError?: NotebookPreparationError; resourceId?: string; } @@ -6038,6 +7073,16 @@ export interface OnlineScaleSettings { // @public (undocumented) export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; +// @public (undocumented) +export interface OpenAIEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.OpenAI"; +} + +// @public (undocumented) +export interface OpenAIEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.OpenAI"; +} + // @public export type OperatingSystemType = string; @@ -6091,17 +7136,27 @@ export type OrderString = string; // @public export type Origin = string; +// @public +export interface OsPatchingStatus { + latestPatchTime?: string; + osPatchingErrors?: ErrorResponse[]; + patchStatus?: PatchStatus; + rebootPending?: boolean; + scheduledRebootTime?: string; +} + // @public export type OsType = string; // @public export interface OutboundRule { category?: RuleCategory; + readonly parentRuleNames?: string[]; status?: RuleStatus; - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; } -// @public +// @public (undocumented) export interface OutboundRuleBasicResource extends Resource { properties: OutboundRuleUnion; } @@ -6113,7 +7168,7 @@ export interface OutboundRuleListResult { } // @public (undocumented) -export type OutboundRuleUnion = OutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule | FqdnOutboundRule; +export type OutboundRuleUnion = OutboundRule | FqdnOutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule; // @public export type OutputDeliveryMode = string; @@ -6206,6 +7261,9 @@ export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConne credentials?: WorkspaceConnectionPersonalAccessToken; } +// @public +export type PatchStatus = string; + // @public (undocumented) export interface PendingUploadCredentialDto { credentialType: "SAS"; @@ -6283,9 +7341,9 @@ export interface PrivateEndpoint { export interface PrivateEndpointConnection extends Resource { identity?: ManagedServiceIdentity; location?: string; - privateEndpoint?: PrivateEndpoint; + privateEndpoint?: WorkspacePrivateEndpointResource; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + provisioningState?: PrivateEndpointConnectionProvisioningState; sku?: Sku; tags?: { [propertyName: string]: string; @@ -6302,7 +7360,7 @@ export type PrivateEndpointConnectionProvisioningState = string; // @public export interface PrivateEndpointConnections { - createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, body: 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; @@ -6347,6 +7405,8 @@ export interface PrivateEndpointDestination { // @public export interface PrivateEndpointOutboundRule extends OutboundRule { destination?: PrivateEndpointDestination; + // (undocumented) + fqdns?: string[]; type: "PrivateEndpoint"; } @@ -6355,15 +7415,12 @@ export interface PrivateEndpointResource extends PrivateEndpoint { subnetArmId?: string; } -// @public -export type PrivateEndpointServiceConnectionStatus = string; - // @public export interface PrivateLinkResource extends Resource { - readonly groupId?: string; + groupId?: string; identity?: ManagedServiceIdentity; location?: string; - readonly requiredMembers?: string[]; + requiredMembers?: string[]; requiredZoneNames?: string[]; sku?: Sku; tags?: { @@ -6373,12 +7430,13 @@ export interface PrivateLinkResource extends Resource { // @public export interface PrivateLinkResourceListResult { + // (undocumented) value?: PrivateLinkResource[]; } // @public export interface PrivateLinkResources { - list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator; } // @public @@ -6392,7 +7450,7 @@ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; export interface PrivateLinkServiceConnectionState { actionsRequired?: string; description?: string; - status?: PrivateEndpointServiceConnectionStatus; + status?: EndpointServiceConnectionStatus; } // @public @@ -6417,9 +7475,6 @@ export type ProvisioningStatus = string; export interface ProxyResource extends Resource { } -// @public -export type PublicNetworkAccess = string; - // @public export type PublicNetworkAccessType = string; @@ -6478,6 +7533,163 @@ export interface QuotaUpdateParameters { value?: QuotaBaseProperties[]; } +// @public +export interface RaiBlocklistConfig { + blocking?: boolean; + blocklistName?: string; +} + +// @public +export interface RaiBlocklistItemBulkRequest { + // (undocumented) + name?: string; + properties?: RaiBlocklistItemProperties; +} + +// @public +export interface RaiBlocklistItemProperties { + isRegex?: boolean; + pattern?: string; +} + +// @public (undocumented) +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + properties: RaiBlocklistItemProperties; +} + +// @public (undocumented) +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiBlocklistItemPropertiesBasicResource[]; +} + +// @public +export interface RaiBlocklistProperties { + description?: string; +} + +// @public (undocumented) +export interface RaiBlocklistPropertiesBasicResource extends Resource { + properties: RaiBlocklistProperties; +} + +// @public (undocumented) +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiBlocklistPropertiesBasicResource[]; +} + +// @public +export interface RaiPolicies { + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: RaiPoliciesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface RaiPoliciesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type RaiPoliciesListNextResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type RaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface RaiPolicy { + beginCreate(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams): Promise, RaiPolicyCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams): Promise, RaiPolicyDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyGetOptionalParams): Promise; +} + +// @public +export interface RaiPolicyContentFilter { + allowedContentLevel?: AllowedContentLevel; + blocking?: boolean; + enabled?: boolean; + name?: string; + source?: RaiPolicyContentSource; +} + +// @public +export type RaiPolicyContentSource = string; + +// @public +export interface RaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +// @public +export interface RaiPolicyDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; + +// @public +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; + +// @public +export type RaiPolicyMode = string; + +// @public +export interface RaiPolicyProperties { + basePolicyName?: string; + // (undocumented) + completionBlocklists?: RaiBlocklistConfig[]; + // (undocumented) + contentFilters?: RaiPolicyContentFilter[]; + mode?: RaiPolicyMode; + // (undocumented) + promptBlocklists?: RaiBlocklistConfig[]; + type?: RaiPolicyType; +} + +// @public +export interface RaiPolicyPropertiesBasicResource extends Resource { + properties: RaiPolicyProperties; +} + +// @public +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiPolicyPropertiesBasicResource[]; +} + +// @public +export type RaiPolicyType = string; + // @public export interface RandomSamplingAlgorithm extends SamplingAlgorithm { rule?: RandomSamplingAlgorithmRule; @@ -6525,6 +7737,12 @@ export interface RegenerateEndpointKeysRequest { keyValue?: string; } +// @public (undocumented) +export interface RegenerateServiceAccountKeyContent { + // (undocumented) + keyName?: ServiceAccountKeyName; +} + // @public export interface Registries { beginCreateOrUpdate(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise, RegistriesCreateOrUpdateResponse>>; @@ -6626,6 +7844,7 @@ export interface Registry extends TrackedResource { intellectualPropertyPublisher?: string; kind?: string; managedResourceGroup?: ArmResourceId; + managedResourceGroupSettings?: ManagedResourceGroupSettings; mlFlowRegistryUri?: string; publicNetworkAccess?: string; regionDetails?: RegistryRegionArmDetails[]; @@ -7359,6 +8578,11 @@ export interface RequestLogging { captureHeaders?: string[]; } +// @public +export interface ResizeSchema { + targetVMSize?: string; +} + // @public export interface Resource { readonly id?: string; @@ -7630,6 +8854,12 @@ export type SeasonalityMode = string; // @public (undocumented) export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality; +// @public +export interface SecretExpiry { + expirableSecret?: boolean; + expireAfterHours?: number; +} + // @public export type SecretsType = string; @@ -7647,6 +8877,34 @@ export interface ServerlessEndpoint extends TrackedResource { sku?: Sku; } +// @public (undocumented) +export interface ServerlessEndpointCapacityReservation { + // (undocumented) + capacityReservationGroupId: string; + // (undocumented) + endpointReservedCapacity?: number; +} + +// @public (undocumented) +export interface ServerlessEndpointContentSafety { + contentSafetyStatus: ContentSafetyStatus; +} + +// @public (undocumented) +export interface ServerlessEndpointInferenceEndpoint { + readonly headers?: { + [propertyName: string]: string; + }; + // (undocumented) + uri: string; +} + +// @public (undocumented) +export interface ServerlessEndpointModelSettings { + // (undocumented) + modelId: string; +} + // @public (undocumented) export interface ServerlessEndpointProperties { authMode: ServerlessInferenceEndpointAuthMode; @@ -7658,6 +8916,27 @@ export interface ServerlessEndpointProperties { readonly provisioningState?: EndpointProvisioningState; } +// @public (undocumented) +export interface ServerlessEndpointResourceProperties extends EndpointResourceProperties { + // (undocumented) + authMode?: ServerlessInferenceEndpointAuthMode; + // (undocumented) + capacityReservation?: ServerlessEndpointCapacityReservation; + // (undocumented) + contentSafety?: ServerlessEndpointContentSafety; + endpointState?: ServerlessEndpointState; + endpointType: "serverlessEndpoint"; + // (undocumented) + inferenceEndpoint?: ServerlessEndpointInferenceEndpoint; + // (undocumented) + marketplaceSubscriptionId?: string; + metadata?: any; + // (undocumented) + modelSettings?: ServerlessEndpointModelSettings; + // (undocumented) + offer?: ServerlessOffer; +} + // @public export interface ServerlessEndpoints { beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ServerlessEndpoint, options?: ServerlessEndpointsCreateOrUpdateOptionalParams): Promise, ServerlessEndpointsCreateOrUpdateResponse>>; @@ -7784,11 +9063,23 @@ export interface ServerlessInferenceEndpoint { // @public export type ServerlessInferenceEndpointAuthMode = string; +// @public (undocumented) +export interface ServerlessOffer { + // (undocumented) + offerName: string; + // (undocumented) + publisher: string; +} + +// @public +export type ServiceAccountKeyName = string; + // @public export type ServiceDataAccessAuthIdentity = string; // @public (undocumented) export interface ServiceManagedResourcesSettings { + // (undocumented) cosmosDb?: CosmosDbSettings; } @@ -7844,7 +9135,7 @@ export interface SharedPrivateLinkResource { name?: string; privateLinkResourceId?: string; requestMessage?: string; - status?: PrivateEndpointServiceConnectionStatus; + status?: EndpointServiceConnectionStatus; } // @public @@ -7951,6 +9242,16 @@ export interface SparkResourceConfiguration { runtimeVersion?: string; } +// @public (undocumented) +export interface SpeechEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.Speech"; +} + +// @public (undocumented) +export interface SpeechEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.Speech"; +} + // @public export type SshPublicAccess = string; @@ -8073,6 +9374,9 @@ export interface SystemData { lastModifiedByType?: CreatedByType; } +// @public +export type SystemDatastoresAuthMode = string; + // @public export interface SystemService { readonly publicIpAddress?: string; @@ -8179,7 +9483,7 @@ export interface TextNer extends NlpVertical, AutoMLVertical { taskType: "TextNER"; } -// @public +// @public (undocumented) export interface TmpfsOptions { size?: number; } @@ -8382,9 +9686,6 @@ export type UseStl = string; // @public export type ValidationMetricType = string; -// @public -export type ValueFormat = string; - // @public export interface VirtualMachine extends Compute, VirtualMachineSchema { computeType: "VirtualMachine"; @@ -8470,7 +9771,7 @@ export type VmPriority = string; // @public export type VMTier = string; -// @public +// @public (undocumented) export interface VolumeDefinition { bind?: BindOptions; consistency?: string; @@ -8485,7 +9786,7 @@ export interface VolumeDefinition { // @public export type VolumeDefinitionType = string; -// @public +// @public (undocumented) export interface VolumeOptions { nocopy?: boolean; } @@ -8507,16 +9808,27 @@ export type WeekDay = string; // @public export interface Workspace extends Resource { + readonly agentsEndpointUri?: string; allowPublicAccessWhenBehindVnet?: boolean; + allowRoleAssignmentOnRG?: boolean; applicationInsights?: string; // (undocumented) associatedWorkspaces?: string[]; + // (undocumented) + containerRegistries?: string[]; containerRegistry?: string; description?: string; discoveryUrl?: string; // (undocumented) enableDataIsolation?: boolean; + // (undocumented) + enableServiceSideCMKEncryption?: boolean; + enableSimplifiedCmk?: boolean; + enableSoftwareBillOfMaterials?: boolean; + // (undocumented) encryption?: EncryptionProperty; + // (undocumented) + existingWorkspaces?: string[]; featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; hbiWorkspace?: boolean; @@ -8524,25 +9836,35 @@ export interface Workspace extends Resource { hubResourceId?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; + ipAllowlist?: string[]; keyVault?: string; // (undocumented) + keyVaults?: string[]; + // (undocumented) kind?: string; + lazyInitSystemDatastores?: boolean; + // (undocumented) location?: string; managedNetwork?: ManagedNetworkSettings; readonly mlFlowTrackingUri?: string; + networkAcls?: NetworkAcls; readonly notebookInfo?: NotebookResourceInfo; primaryUserAssignedIdentity?: string; readonly privateEndpointConnections?: PrivateEndpointConnection[]; readonly privateLinkCount?: number; readonly provisioningState?: ProvisioningState; - publicNetworkAccess?: PublicNetworkAccess; + publicNetworkAccess?: PublicNetworkAccessType; serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; readonly serviceProvisionedResourceGroup?: string; sharedPrivateLinkResources?: SharedPrivateLinkResource[]; sku?: Sku; + softDeleteRetentionInDays?: number; storageAccount?: string; + // (undocumented) + storageAccounts?: string[]; readonly storageHnsEnabled?: boolean; + systemDatastoresAuthMode?: SystemDatastoresAuthMode; tags?: { [propertyName: string]: string; }; @@ -8560,7 +9882,7 @@ export interface WorkspaceConnectionAccessKey { secretAccessKey?: string; } -// @public (undocumented) +// @public export interface WorkspaceConnectionAccountKey { // (undocumented) key?: string; @@ -8602,10 +9924,12 @@ export interface WorkspaceConnectionPersonalAccessToken { // @public (undocumented) export interface WorkspaceConnectionPropertiesV2 { - authType: "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity" | "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "OAuth2" | "ServicePrincipal"; + authType: "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "ManagedIdentity" | "None" | "OAuth2" | "PAT" | "SAS" | "ServicePrincipal" | "UsernamePassword"; category?: ConnectionCategory; readonly createdByWorkspaceArmId?: string; // (undocumented) + error?: string; + // (undocumented) expiryTime?: Date; readonly group?: ConnectionGroup; // (undocumented) @@ -8614,11 +9938,15 @@ export interface WorkspaceConnectionPropertiesV2 { [propertyName: string]: string; }; // (undocumented) + peRequirement?: ManagedPERequirement; + // (undocumented) + peStatus?: ManagedPEStatus; + // (undocumented) sharedUserList?: string[]; // (undocumented) target?: string; - value?: string; - valueFormat?: ValueFormat; + // (undocumented) + useWorkspaceManagedIdentity?: boolean; } // @public (undocumented) @@ -8629,29 +9957,30 @@ export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { // @public (undocumented) export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - readonly nextLink?: string; + // (undocumented) + nextLink?: string; // (undocumented) value?: WorkspaceConnectionPropertiesV2BasicResource[]; } // @public (undocumented) -export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties | AADAuthTypeWorkspaceConnectionProperties | AccessKeyAuthTypeWorkspaceConnectionProperties | AccountKeyAuthTypeWorkspaceConnectionProperties | ApiKeyAuthWorkspaceConnectionProperties | CustomKeysWorkspaceConnectionProperties | OAuth2AuthTypeWorkspaceConnectionProperties | ServicePrincipalAuthTypeWorkspaceConnectionProperties; +export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | AADAuthTypeWorkspaceConnectionProperties | AccessKeyAuthTypeWorkspaceConnectionProperties | AccountKeyAuthTypeWorkspaceConnectionProperties | ApiKeyAuthWorkspaceConnectionProperties | CustomKeysWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | OAuth2AuthTypeWorkspaceConnectionProperties | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | ServicePrincipalAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties; // @public export interface WorkspaceConnections { - // (undocumented) - create(resourceGroupName: string, workspaceName: string, connectionName: string, parameters: WorkspaceConnectionPropertiesV2BasicResource, options?: WorkspaceConnectionsCreateOptionalParams): Promise; - // (undocumented) + beginTestConnection(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsTestConnectionOptionalParams): Promise, WorkspaceConnectionsTestConnectionResponse>>; + beginTestConnectionAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsTestConnectionOptionalParams): Promise; + create(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsCreateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsDeleteOptionalParams): Promise; - // (undocumented) get(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsGetOptionalParams): Promise; - // (undocumented) list(resourceGroupName: string, workspaceName: string, options?: WorkspaceConnectionsListOptionalParams): PagedAsyncIterableIterator; listSecrets(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams): Promise; + update(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsUpdateOptionalParams): Promise; } // @public export interface WorkspaceConnectionsCreateOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionPropertiesV2BasicResource; } // @public @@ -8694,6 +10023,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties // @public export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { category?: string; + includeAll?: boolean; target?: string; } @@ -8707,6 +10037,35 @@ export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClien // @public export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; +// @public +export interface WorkspaceConnectionsTestConnectionHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface WorkspaceConnectionsTestConnectionOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionPropertiesV2BasicResource; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type WorkspaceConnectionsTestConnectionResponse = WorkspaceConnectionsTestConnectionHeaders; + +// @public +export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionUpdateParameter; +} + +// @public +export type WorkspaceConnectionsUpdateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +// @public +export interface WorkspaceConnectionUpdateParameter { + properties?: WorkspaceConnectionPropertiesV2Union; +} + // @public (undocumented) export interface WorkspaceConnectionUsernamePassword { // (undocumented) @@ -8749,10 +10108,16 @@ export interface WorkspaceListResult { value?: Workspace[]; } +// @public +export interface WorkspacePrivateEndpointResource { + readonly id?: string; + readonly subnetArmId?: string; +} + // @public export interface Workspaces { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, body: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, body: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise; beginDiagnose(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiagnoseOptionalParams): Promise, WorkspacesDiagnoseResponse>>; @@ -8761,8 +10126,8 @@ export interface Workspaces { beginPrepareNotebookAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams): Promise; beginResyncKeys(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise, void>>; beginResyncKeysAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; @@ -8788,6 +10153,12 @@ export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.Opera // @public export type WorkspacesCreateOrUpdateResponse = Workspace; +// @public +export interface WorkspacesDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { forceToPurge?: boolean; @@ -8803,7 +10174,7 @@ export interface WorkspacesDiagnoseHeaders { // @public export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { - parameters?: DiagnoseWorkspaceParameters; + body?: DiagnoseWorkspaceParameters; resumeFrom?: string; updateIntervalInMs?: number; } @@ -8827,6 +10198,9 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; // @public export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8842,6 +10216,9 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; // @public export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8910,12 +10287,6 @@ export interface WorkspacesResyncKeysOptionalParams extends coreClient.Operation updateIntervalInMs?: number; } -// @public -export interface WorkspacesUpdateHeaders { - location?: string; - retryAfter?: number; -} - // @public export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -8927,23 +10298,30 @@ export type WorkspacesUpdateResponse = Workspace; // @public export interface WorkspaceUpdateParameters { + // (undocumented) + allowRoleAssignmentOnRG?: boolean; applicationInsights?: string; containerRegistry?: string; description?: string; // (undocumented) enableDataIsolation?: boolean; + enableSoftwareBillOfMaterials?: boolean; // (undocumented) encryption?: EncryptionUpdateProperties; featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; + ipAllowlist?: string[]; managedNetwork?: ManagedNetworkSettings; + networkAcls?: NetworkAcls; primaryUserAssignedIdentity?: string; - publicNetworkAccess?: PublicNetworkAccess; + publicNetworkAccess?: PublicNetworkAccessType; serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; sku?: Sku; + softDeleteRetentionInDays?: number; + systemDatastoresAuthMode?: SystemDatastoresAuthMode; tags?: { [propertyName: string]: string; }; diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts similarity index 83% rename from sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts rename to sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts index c23752c7fa1d..bb3c6bf4616d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts @@ -15,17 +15,10 @@ import { } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - OperationsImpl, - WorkspacesImpl, UsagesImpl, VirtualMachineSizesImpl, QuotasImpl, ComputeOperationsImpl, - PrivateEndpointConnectionsImpl, - PrivateLinkResourcesImpl, - WorkspaceConnectionsImpl, - ManagedNetworkSettingsRuleImpl, - ManagedNetworkProvisionsImpl, RegistryCodeContainersImpl, RegistryCodeVersionsImpl, RegistryComponentContainersImpl, @@ -63,19 +56,30 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + WorkspaceConnectionsImpl, + ConnectionImpl, + ConnectionRaiBlocklistsImpl, + ConnectionRaiBlocklistImpl, + ConnectionRaiBlocklistItemImpl, + ConnectionRaiBlocklistItemsImpl, + ConnectionRaiPoliciesImpl, + ConnectionRaiPolicyImpl, + EndpointDeploymentImpl, + EndpointOperationsImpl, + RaiPoliciesImpl, + RaiPolicyImpl, + ManagedNetworkSettingsRuleImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + ManagedNetworkProvisionsImpl, } from "./operations"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -113,16 +117,34 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + WorkspaceConnections, + Connection, + ConnectionRaiBlocklists, + ConnectionRaiBlocklist, + ConnectionRaiBlocklistItem, + ConnectionRaiBlocklistItems, + ConnectionRaiPolicies, + ConnectionRaiPolicy, + EndpointDeployment, + EndpointOperations, + RaiPolicies, + RaiPolicy, + ManagedNetworkSettingsRule, + PrivateEndpointConnections, + PrivateLinkResources, + ManagedNetworkProvisions, } from "./operationsInterfaces"; -import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models"; +import { AzureMachineLearningServicesMgmtClientOptionalParams } from "./models"; -export class AzureMachineLearningServicesManagementClient extends coreClient.ServiceClient { +export class AzureMachineLearningServicesMgmtClient extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; /** - * Initializes a new instance of the AzureMachineLearningServicesManagementClient class. + * Initializes a new instance of the AzureMachineLearningServicesMgmtClient class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The ID of the target subscription. * @param options The parameter options @@ -130,7 +152,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: AzureMachineLearningServicesManagementClientOptionalParams, + options?: AzureMachineLearningServicesMgmtClientOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -143,13 +165,12 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser if (!options) { options = {}; } - const defaults: AzureMachineLearningServicesManagementClientOptionalParams = - { - requestContentType: "application/json; charset=utf-8", - credential: credentials, - }; + const defaults: AzureMachineLearningServicesMgmtClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials, + }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/4.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -203,18 +224,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-04-01"; - this.operations = new OperationsImpl(this); - this.workspaces = new WorkspacesImpl(this); + this.apiVersion = options.apiVersion || "2024-10-01-preview"; this.usages = new UsagesImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); this.quotas = new QuotasImpl(this); this.computeOperations = new ComputeOperationsImpl(this); - this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); - this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.workspaceConnections = new WorkspaceConnectionsImpl(this); - this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); - this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.registryCodeContainers = new RegistryCodeContainersImpl(this); this.registryCodeVersions = new RegistryCodeVersionsImpl(this); this.registryComponentContainers = new RegistryComponentContainersImpl( @@ -260,6 +274,26 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.serverlessEndpoints = new ServerlessEndpointsImpl(this); this.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); + this.operations = new OperationsImpl(this); + this.workspaces = new WorkspacesImpl(this); + this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.connection = new ConnectionImpl(this); + this.connectionRaiBlocklists = new ConnectionRaiBlocklistsImpl(this); + this.connectionRaiBlocklist = new ConnectionRaiBlocklistImpl(this); + this.connectionRaiBlocklistItem = new ConnectionRaiBlocklistItemImpl(this); + this.connectionRaiBlocklistItems = new ConnectionRaiBlocklistItemsImpl( + this, + ); + this.connectionRaiPolicies = new ConnectionRaiPoliciesImpl(this); + this.connectionRaiPolicy = new ConnectionRaiPolicyImpl(this); + this.endpointDeployment = new EndpointDeploymentImpl(this); + this.endpointOperations = new EndpointOperationsImpl(this); + this.raiPolicies = new RaiPoliciesImpl(this); + this.raiPolicy = new RaiPolicyImpl(this); + this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); + this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -291,17 +325,10 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.pipeline.addPolicy(apiVersionPolicy); } - operations: Operations; - workspaces: Workspaces; usages: Usages; virtualMachineSizes: VirtualMachineSizes; quotas: Quotas; computeOperations: ComputeOperations; - privateEndpointConnections: PrivateEndpointConnections; - privateLinkResources: PrivateLinkResources; - workspaceConnections: WorkspaceConnections; - managedNetworkSettingsRule: ManagedNetworkSettingsRule; - managedNetworkProvisions: ManagedNetworkProvisions; registryCodeContainers: RegistryCodeContainers; registryCodeVersions: RegistryCodeVersions; registryComponentContainers: RegistryComponentContainers; @@ -339,4 +366,22 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser serverlessEndpoints: ServerlessEndpoints; registries: Registries; workspaceFeatures: WorkspaceFeatures; + operations: Operations; + workspaces: Workspaces; + workspaceConnections: WorkspaceConnections; + connection: Connection; + connectionRaiBlocklists: ConnectionRaiBlocklists; + connectionRaiBlocklist: ConnectionRaiBlocklist; + connectionRaiBlocklistItem: ConnectionRaiBlocklistItem; + connectionRaiBlocklistItems: ConnectionRaiBlocklistItems; + connectionRaiPolicies: ConnectionRaiPolicies; + connectionRaiPolicy: ConnectionRaiPolicy; + endpointDeployment: EndpointDeployment; + endpointOperations: EndpointOperations; + raiPolicies: RaiPolicies; + raiPolicy: RaiPolicy; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; + managedNetworkProvisions: ManagedNetworkProvisions; } diff --git a/sdk/machinelearning/arm-machinelearning/src/index.ts b/sdk/machinelearning/arm-machinelearning/src/index.ts index 1289db1ee27d..9506930456fc 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 { AzureMachineLearningServicesManagementClient } from "./azureMachineLearningServicesManagementClient"; +export { AzureMachineLearningServicesMgmtClient } from "./azureMachineLearningServicesMgmtClient"; export * from "./operationsInterfaces"; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..b7ee947f88bb 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -8,11 +8,6 @@ import * as coreClient from "@azure/core-client"; -export type OutboundRuleUnion = - | OutboundRule - | PrivateEndpointOutboundRule - | ServiceTagOutboundRule - | FqdnOutboundRule; export type ComputeUnion = | Compute | Aks @@ -30,20 +25,6 @@ export type ComputeSecretsUnion = | AksComputeSecrets | VirtualMachineSecrets | DatabricksComputeSecrets; -export type WorkspaceConnectionPropertiesV2Union = - | WorkspaceConnectionPropertiesV2 - | PATAuthTypeWorkspaceConnectionProperties - | SASAuthTypeWorkspaceConnectionProperties - | UsernamePasswordAuthTypeWorkspaceConnectionProperties - | NoneAuthTypeWorkspaceConnectionProperties - | ManagedIdentityAuthTypeWorkspaceConnectionProperties - | AADAuthTypeWorkspaceConnectionProperties - | AccessKeyAuthTypeWorkspaceConnectionProperties - | AccountKeyAuthTypeWorkspaceConnectionProperties - | ApiKeyAuthWorkspaceConnectionProperties - | CustomKeysWorkspaceConnectionProperties - | OAuth2AuthTypeWorkspaceConnectionProperties - | ServicePrincipalAuthTypeWorkspaceConnectionProperties; export type PendingUploadCredentialDtoUnion = | PendingUploadCredentialDto | SASCredentialDto; @@ -74,14 +55,14 @@ export type DatastoreSecretsUnion = | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type WebhookUnion = Webhook | AzureDevOpsWebhook; -export type NodesUnion = Nodes | AllNodes; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings @@ -91,6 +72,38 @@ export type ScheduleActionBaseUnion = | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; +export type OutboundRuleUnion = + | OutboundRule + | FqdnOutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule; +export type WorkspaceConnectionPropertiesV2Union = + | WorkspaceConnectionPropertiesV2 + | AADAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | AccountKeyAuthTypeWorkspaceConnectionProperties + | ApiKeyAuthWorkspaceConnectionProperties + | CustomKeysWorkspaceConnectionProperties + | ManagedIdentityAuthTypeWorkspaceConnectionProperties + | NoneAuthTypeWorkspaceConnectionProperties + | OAuth2AuthTypeWorkspaceConnectionProperties + | PATAuthTypeWorkspaceConnectionProperties + | SASAuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties + | UsernamePasswordAuthTypeWorkspaceConnectionProperties; +export type EndpointDeploymentResourcePropertiesUnion = + | EndpointDeploymentResourceProperties + | ContentSafetyEndpointDeploymentResourceProperties + | ManagedOnlineEndpointDeploymentResourceProperties + | OpenAIEndpointDeploymentResourceProperties + | SpeechEndpointDeploymentResourceProperties; +export type EndpointResourcePropertiesUnion = + | EndpointResourceProperties + | ContentSafetyEndpointResourceProperties + | ManagedOnlineEndpointResourceProperties + | OpenAIEndpointResourceProperties + | ServerlessEndpointResourceProperties + | SpeechEndpointResourceProperties; export type MonitoringFeatureFilterBaseUnion = | MonitoringFeatureFilterBase | AllFeatures @@ -104,6 +117,14 @@ export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -119,20 +140,12 @@ export type AutoMLVerticalUnion = export type JobInputUnion = | JobInput | MLTableJobInput - | CustomModelJobInput | MLFlowModelJobInput + | CustomModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations @@ -146,6 +159,10 @@ export type TargetRollingWindowSizeUnion = | TargetRollingWindowSize | AutoTargetRollingWindowSize | CustomTargetRollingWindowSize; +export type FineTuningVerticalUnion = + | FineTuningVertical + | AzureOpenAiFineTuning + | CustomModelFineTuning; export type EarlyTerminationPolicyUnion = | EarlyTerminationPolicy | BanditPolicy @@ -174,6 +191,9 @@ export type DistributionConfigurationUnion = | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,9 +201,6 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData @@ -205,6 +222,7 @@ export type JobBasePropertiesUnion = | JobBaseProperties | AutoMLJob | CommandJob + | FineTuningJob | PipelineJob | SparkJob | SweepJob; @@ -218,68 +236,71 @@ export type DataVersionBasePropertiesUnion = | UriFileDataVersion | UriFolderDataVersion; -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export interface OperationListResult { +/** The List Usages operation response. */ +export interface ListUsagesResult { /** - * List of operations supported by the resource provider + * The list of AML resource usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Operation[]; + readonly value?: Usage[]; /** - * URL to get the next set of operation list results (if there are any). + * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface Operation { +/** Describes AML Resource Usage. */ +export interface Usage { /** - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly id?: string; /** - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * Region of the AML workspace in the id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - display?: OperationDisplay; + readonly amlWorkspaceLocation?: string; /** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly origin?: Origin; + readonly type?: string; /** - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * An enum describing the unit of usage measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly actionType?: ActionType; -} - -/** Localized display information for this particular operation. */ -export interface OperationDisplay { + readonly unit?: UsageUnit; /** - * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * The current usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provider?: string; + readonly currentValue?: number; /** - * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * The maximum permitted usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resource?: string; + readonly limit?: number; /** - * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * The name of the type of usage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operation?: string; + readonly name?: UsageName; +} + +/** The Usage Names. */ +export interface UsageName { /** - * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly description?: string; + readonly value?: string; + /** + * The localized name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ @@ -331,391 +352,158 @@ export interface ErrorAdditionalInfo { readonly info?: Record; } -export interface EncryptionProperty { - /** Indicates whether or not the encryption is enabled for the workspace. */ - status: EncryptionStatus; - /** The identity that will be used to access the key vault for encryption at rest. */ - identity?: IdentityForCmk; - /** Customer Key vault properties. */ - keyVaultProperties: EncryptionKeyVaultProperties; -} - -/** Identity that will be used to access key vault for encryption at rest */ -export interface IdentityForCmk { - /** The ArmId of the user assigned identity that will be used to access the customer managed key vault */ - userAssignedIdentity?: string; -} - -export interface EncryptionKeyVaultProperties { - /** The ArmId of the keyVault where the customer owned encryption key is present. */ - keyVaultArmId: string; - /** Key vault uri to access the encryption key. */ - keyIdentifier: string; - /** For future use - The client id of the identity which will be used to access key vault. */ - identityClientId?: string; +/** The List Virtual Machine size operation response. */ +export interface VirtualMachineSizeListResult { + /** The list of virtual machine sizes supported by AmlCompute. */ + value?: VirtualMachineSize[]; } -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { +/** Describes the properties of a VM size. */ +export interface VirtualMachineSize { /** - * The ARM identifier for Private Endpoint + * The name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface ManagedServiceIdentity { + readonly name?: string; /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The family name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly family?: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The number of vCPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - type: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; -} - -/** User assigned identity properties */ -export interface UserAssignedIdentity { + readonly vCPUs?: number; /** - * The principal ID of the assigned identity. + * The number of gPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly gpus?: number; /** - * The client ID of the assigned identity. + * The OS VHD disk size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; -} - -/** The resource model definition representing SKU */ -export interface Sku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource { + readonly osVhdSizeMB?: number; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The resource volume size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly maxResourceVolumeMB?: number; /** - * The name of the resource + * The amount of memory, in GB, supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly memoryGB?: number; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Specifies if the virtual machine size supports low priority VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly lowPriorityCapable?: boolean; /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Specifies if the virtual machine size supports premium IO. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; + readonly premiumIO?: boolean; + /** The estimated price information for using a VM. */ + estimatedVMPrices?: EstimatedVMPrices; + /** Specifies the compute types supported by the virtual machine size. */ + supportedComputeTypes?: string[]; } -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; +/** The estimated price info for using a VM. */ +export interface EstimatedVMPrices { + /** Three lettered code specifying the currency of the VM price. Example: USD */ + billingCurrency: BillingCurrency; + /** The unit of time measurement for the specified VM price. Example: OneHour */ + unitOfMeasure: UnitOfMeasure; + /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ + values: EstimatedVMPrice[]; } -export interface ServerlessComputeSettings { - /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ - serverlessComputeCustomSubnet?: string; - /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ - serverlessComputeNoPublicIP?: boolean; +/** The estimated price info for using a VM of a particular OS type, tier, etc. */ +export interface EstimatedVMPrice { + /** The price charged for using the VM. */ + retailPrice: number; + /** Operating system type used by the VM. */ + osType: VMPriceOSType; + /** The type of the VM. */ + vmTier: VMTier; } -export interface SharedPrivateLinkResource { - /** Unique name of the private link. */ - name?: string; - /** The resource id that private link links to. */ - privateLinkResourceId?: string; - /** The private link resource group id. */ - groupId?: string; - /** Request message. */ - requestMessage?: string; - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; -} - -export interface NotebookResourceInfo { - fqdn?: string; - /** the data plane resourceId that used to initialize notebook component */ - resourceId?: string; - /** The error that occurs when preparing notebook. */ - notebookPreparationError?: NotebookPreparationError; -} - -export interface NotebookPreparationError { - errorMessage?: string; - statusCode?: number; -} - -export interface ServiceManagedResourcesSettings { - /** The settings for the service managed cosmosdb account. */ - cosmosDb?: CosmosDbSettings; -} - -export interface CosmosDbSettings { - /** The throughput of the collections in cosmosdb database */ - collectionsThroughput?: number; -} - -/** Managed Network settings for a machine learning workspace. */ -export interface ManagedNetworkSettings { - /** Isolation mode for the managed network of a machine learning workspace. */ - isolationMode?: IsolationMode; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkId?: string; - /** Dictionary of */ - outboundRules?: { [propertyName: string]: OutboundRuleUnion }; - /** Status of the Provisioning for the managed network of a machine learning workspace. */ - status?: ManagedNetworkProvisionStatus; -} - -/** Outbound Rule for the managed network of a machine learning workspace. */ -export interface OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; - /** Category of a managed network Outbound Rule of a machine learning workspace. */ - category?: RuleCategory; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - status?: RuleStatus; -} - -/** Status of the Provisioning for the managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionStatus { - sparkReady?: boolean; - /** Status for the managed network of a machine learning workspace. */ - status?: ManagedNetworkStatus; -} - -/** Settings for feature store type workspace. */ -export interface FeatureStoreSettings { - /** Compute runtime config for feature store type workspace. */ - computeRuntime?: ComputeRuntimeDto; - offlineStoreConnectionName?: string; - onlineStoreConnectionName?: string; -} - -/** Compute runtime config for feature store type workspace. */ -export interface ComputeRuntimeDto { - sparkRuntimeVersion?: string; -} - -/** WorkspaceHub's configuration object. */ -export interface WorkspaceHubConfig { - additionalWorkspaceStorageAccounts?: string[]; - defaultWorkspaceResourceGroup?: string; -} - -/** The parameters for updating a machine learning workspace. */ -export interface WorkspaceUpdateParameters { - /** The resource tags for the machine learning workspace. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. */ - friendlyName?: string; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - enableDataIsolation?: boolean; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - encryption?: EncryptionUpdateProperties; -} - -export interface EncryptionUpdateProperties { - keyVaultProperties: EncryptionKeyVaultUpdateProperties; -} - -export interface EncryptionKeyVaultUpdateProperties { - keyIdentifier: string; -} - -/** The result of a request to list machine learning workspaces. */ -export interface WorkspaceListResult { - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: Workspace[]; - /** The URI that can be used to request the next list of machine learning workspaces. */ - nextLink?: string; -} - -/** Parameters to diagnose a workspace */ -export interface DiagnoseWorkspaceParameters { - /** Value of Parameters */ - value?: DiagnoseRequestProperties; -} - -export interface DiagnoseRequestProperties { - /** Setting for diagnosing user defined routing */ - udr?: { [propertyName: string]: Record }; - /** Setting for diagnosing network security group */ - nsg?: { [propertyName: string]: Record }; - /** Setting for diagnosing resource lock */ - resourceLock?: { [propertyName: string]: Record }; - /** Setting for diagnosing dns resolution */ - dnsResolution?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent storage account */ - storageAccount?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent key vault */ - keyVault?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent container registry */ - containerRegistry?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent application insights */ - applicationInsights?: { [propertyName: string]: Record }; - /** Setting for diagnosing unclassified category of problems */ - others?: { [propertyName: string]: Record }; +/** Quota update parameters. */ +export interface QuotaUpdateParameters { + /** The list for update quota. */ + value?: QuotaBaseProperties[]; + /** Region of workspace quota to be updated. */ + location?: string; } -export interface DiagnoseResponseResult { - value?: DiagnoseResponseResultValue; +/** The properties for Quota update or retrieval. */ +export interface QuotaBaseProperties { + /** Specifies the resource ID. */ + id?: string; + /** Specifies the resource type. */ + type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; + /** An enum describing the unit of quota measurement. */ + unit?: QuotaUnit; } -export interface DiagnoseResponseResultValue { - userDefinedRouteResults?: DiagnoseResult[]; - networkSecurityRuleResults?: DiagnoseResult[]; - resourceLockResults?: DiagnoseResult[]; - dnsResolutionResults?: DiagnoseResult[]; - storageAccountResults?: DiagnoseResult[]; - keyVaultResults?: DiagnoseResult[]; - containerRegistryResults?: DiagnoseResult[]; - applicationInsightsResults?: DiagnoseResult[]; - otherResults?: DiagnoseResult[]; +/** The result of update workspace quota. */ +export interface UpdateWorkspaceQuotasResult { + /** + * The list of workspace quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: UpdateWorkspaceQuotas[]; + /** + * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Result of Diagnose */ -export interface DiagnoseResult { +/** The properties for update Quota response. */ +export interface UpdateWorkspaceQuotas { /** - * Code for workspace setup error + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly code?: string; + readonly id?: string; /** - * Level of workspace setup error + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly level?: DiagnoseResultLevel; + readonly type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; /** - * Message of workspace setup error + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; -} - -export interface ListWorkspaceKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly appInsightsInstrumentationKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookAccessKeys?: ListNotebookKeysResult; -} - -export interface RegistryListCredentialsResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly username?: string; - passwords?: Password[]; -} - -export interface Password { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; -} - -export interface ListNotebookKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly primaryAccessKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly secondaryAccessKey?: string; + readonly unit?: QuotaUnit; + /** Status of update workspace quota. */ + status?: Status; } -/** The List Usages operation response. */ -export interface ListUsagesResult { +/** The List WorkspaceQuotasByVMFamily operation response. */ +export interface ListWorkspaceQuotas { /** - * The list of AML resource usages. + * The list of Workspace Quotas by VM Family * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Usage[]; + readonly value?: ResourceQuota[]; /** - * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. + * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Describes AML Resource Usage. */ -export interface Usage { +/** The quota assigned to a resource. */ +export interface ResourceQuota { /** * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -732,29 +520,24 @@ export interface Usage { */ readonly type?: string; /** - * An enum describing the unit of usage measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: UsageUnit; - /** - * The current usage of the resource. + * Name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly name?: ResourceName; /** - * The maximum permitted usage of the resource. + * The maximum permitted quota of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly limit?: number; /** - * The name of the type of usage. + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: UsageName; + readonly unit?: QuotaUnit; } -/** The Usage Names. */ -export interface UsageName { +/** The Resource Name. */ +export interface ResourceName { /** * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -767,210 +550,98 @@ export interface UsageName { readonly localizedValue?: string; } -/** The List Virtual Machine size operation response. */ -export interface VirtualMachineSizeListResult { - /** The list of virtual machine sizes supported by AmlCompute. */ - value?: VirtualMachineSize[]; -} - -/** Describes the properties of a VM size. */ -export interface VirtualMachineSize { - /** - * The name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The family name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly family?: string; - /** - * The number of vCPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly vCPUs?: number; - /** - * The number of gPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly gpus?: number; - /** - * The OS VHD disk size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osVhdSizeMB?: number; - /** - * The resource volume size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maxResourceVolumeMB?: number; - /** - * The amount of memory, in GB, supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly memoryGB?: number; - /** - * Specifies if the virtual machine size supports low priority VMs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lowPriorityCapable?: boolean; - /** - * Specifies if the virtual machine size supports premium IO. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly premiumIO?: boolean; - /** The estimated price information for using a VM. */ - estimatedVMPrices?: EstimatedVMPrices; - /** Specifies the compute types supported by the virtual machine size. */ - supportedComputeTypes?: string[]; -} - -/** The estimated price info for using a VM. */ -export interface EstimatedVMPrices { - /** Three lettered code specifying the currency of the VM price. Example: USD */ - billingCurrency: BillingCurrency; - /** The unit of time measurement for the specified VM price. Example: OneHour */ - unitOfMeasure: UnitOfMeasure; - /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ - values: EstimatedVMPrice[]; -} - -/** The estimated price info for using a VM of a particular OS type, tier, etc. */ -export interface EstimatedVMPrice { - /** The price charged for using the VM. */ - retailPrice: number; - /** Operating system type used by the VM. */ - osType: VMPriceOSType; - /** The type of the VM. */ - vmTier: VMTier; -} - -/** Quota update parameters. */ -export interface QuotaUpdateParameters { - /** The list for update quota. */ - value?: QuotaBaseProperties[]; - /** Region of workspace quota to be updated. */ - location?: string; -} - -/** The properties for Quota update or retrieval. */ -export interface QuotaBaseProperties { - /** Specifies the resource ID. */ - id?: string; - /** Specifies the resource type. */ - type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; - /** An enum describing the unit of quota measurement. */ - unit?: QuotaUnit; +/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ +export interface PaginatedComputeResourcesList { + /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ + value?: ComputeResource[]; + /** A continuation link (absolute URI) to the next page of results in the list. */ + nextLink?: string; } -/** The result of update workspace quota. */ -export interface UpdateWorkspaceQuotasResult { +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { /** - * The list of workspace quota update result. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: UpdateWorkspaceQuotas[]; + readonly principalId?: string; /** - * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; + readonly tenantId?: string; + /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ + type: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; } -/** The properties for update Quota response. */ -export interface UpdateWorkspaceQuotas { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; +/** User assigned identity properties */ +export interface UserAssignedIdentity { /** - * Specifies the resource type. + * The principal ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; + readonly principalId?: string; /** - * An enum describing the unit of quota measurement. + * The client ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: QuotaUnit; - /** Status of update workspace quota. */ - status?: Status; + readonly clientId?: string; } -/** The List WorkspaceQuotasByVMFamily operation response. */ -export interface ListWorkspaceQuotas { - /** - * The list of Workspace Quotas by VM Family - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: ResourceQuota[]; - /** - * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** The resource model definition representing SKU */ +export interface Sku { + /** The name of the SKU. Ex - P3. It is typically a letter+number code */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: string; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; } -/** The quota assigned to a resource. */ -export interface ResourceQuota { +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { /** - * Specifies the resource ID. + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** - * Region of the AML workspace in the id. + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly amlWorkspaceLocation?: string; + readonly name?: string; /** - * Specifies the resource type. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** - * Name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: ResourceName; - /** - * The maximum permitted quota of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly limit?: number; - /** - * An enum describing the unit of quota measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: QuotaUnit; -} - -/** The Resource Name. */ -export interface ResourceName { - /** - * The name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: string; - /** - * The localized name of the resource. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly localizedValue?: string; + readonly systemData?: SystemData; } -/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ -export interface PaginatedComputeResourcesList { - /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ - value?: ComputeResource[]; - /** A continuation link (absolute URI) to the next page of results in the list. */ - nextLink?: string; +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; } export interface ComputeResourceSchema { @@ -1049,24 +720,132 @@ export interface ScaleSettings { nodeIdleTimeBeforeScaleDown?: string; } -/** Result of AmlCompute Nodes */ -export interface AmlComputeNodesInformation { - /** - * The collection of returned AmlCompute nodes details. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nodes?: AmlComputeNodeInformation[]; - /** - * The continuation token. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: 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[]; + /** Describes the jupyter kernel settings for the image if its a custom environment */ + kernel?: JupyterKernelConfig; } -/** Compute node information related to a AmlCompute. */ -export interface AmlComputeNodeInformation { - /** - * ID of the compute node. +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 Environment images (custom and curated) */ + type?: ImageType; + /** Image reference URL if type is docker. Environment name if type is azureml */ + reference?: string; + /** Version of image being used. If latest then skip this field */ + version?: 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; +} + +/** Jupyter kernel configuration. */ +export interface JupyterKernelConfig { + /** Argument to the the runtime */ + argv?: string[]; + /** Display name of the kernel */ + displayName?: string; + /** Language of the kernel [Example value: python] */ + language?: string; +} + +/** Result of AmlCompute Nodes */ +export interface AmlComputeNodesInformation { + /** + * The collection of returned AmlCompute nodes details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nodes?: AmlComputeNodeInformation[]; + /** + * The continuation token. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Compute node information related to a AmlCompute. */ +export interface AmlComputeNodeInformation { + /** + * ID of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nodeId?: string; @@ -1097,148 +876,71 @@ export interface AmlComputeNodeInformation { readonly runId?: string; } -export interface NotebookAccessTokenResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hostName?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicDns?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly accessToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tokenType?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly expiresIn?: number; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly refreshToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scope?: string; -} - /** Secrets related to a Machine Learning compute. Might differ for every type of compute. */ export interface ComputeSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "AKS" | "VirtualMachine" | "Databricks"; } -/** List of private endpoint connection associated with the specified workspace */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; -} - -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; -} - -export interface ListStorageAccountKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; -} - -export interface WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: - | "PAT" - | "SAS" - | "UsernamePassword" - | "None" - | "ManagedIdentity" - | "AAD" - | "AccessKey" - | "AccountKey" - | "ApiKey" - | "CustomKeys" - | "OAuth2" - | "ServicePrincipal"; - /** Category of the connection */ - category?: ConnectionCategory; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdByWorkspaceArmId?: string; - expiryTime?: Date; - /** - * Group based on connection category - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly group?: ConnectionGroup; - isSharedToAll?: boolean; - target?: string; - /** Store user metadata for this connection */ - metadata?: { [propertyName: string]: string }; - sharedUserList?: string[]; - /** Value details of the workspace connection. */ - value?: string; - /** format for the workspace connection value */ - valueFormat?: ValueFormat; -} - -export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - value?: WorkspaceConnectionPropertiesV2BasicResource[]; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; -} - -export interface ExternalFqdnResponse { - value?: FqdnEndpoints[]; -} - -export interface FqdnEndpoints { - properties?: FqdnEndpointsProperties; -} - -export interface FqdnEndpointsProperties { - category?: string; - endpoints?: FqdnEndpoint[]; -} - -export interface FqdnEndpoint { - domainName?: string; - endpointDetails?: FqdnEndpointDetail[]; -} - -export interface FqdnEndpointDetail { - port?: number; +/** Defines an Aml Instance DataMount. */ +export interface ComputeInstanceDataMount { + /** Source of the ComputeInstance data mount. */ + source?: string; + /** Data source type. */ + sourceType?: SourceType; + /** name of the ComputeInstance data mount. */ + mountName?: string; + /** Mount Action. */ + mountAction?: MountAction; + /** Mount Mode. */ + mountMode?: MountMode; + /** who this data mount created by. */ + createdBy?: string; + /** Path of this data mount. */ + mountPath?: string; + /** Mount state. */ + mountState?: MountState; + /** The time when the disk mounted. */ + mountedOn?: Date; + /** Error of this data mount. */ + error?: string; } -/** List of outbound rules for the managed network of a machine learning workspace. */ -export interface OutboundRuleListResult { - /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ - nextLink?: string; - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: OutboundRuleBasicResource[]; +/** 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; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +/** Schema for Compute Instance resize. */ +export interface ResizeSchema { + /** The name of the virtual machine size. */ + targetVMSize?: string; } /** A paginated list of CodeContainer entities. */ export interface CodeContainerResourceArmPaginatedResult { - /** An array of objects of type CodeContainer. */ - value?: CodeContainer[]; /** 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; - /** Tag dictionary. Tags can be added, removed, and updated. */ - tags?: { [propertyName: string]: string | null }; /** 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 { - /** An array of objects of type CodeVersion. */ - value?: CodeVersion[]; /** 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[]; } export interface PendingUploadRequestDto { @@ -1263,10 +965,10 @@ export interface BlobReferenceForConsumptionDto { * Example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** Arm ID of the storage account to use */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; } export interface PendingUploadCredentialDto { @@ -1276,34 +978,34 @@ export interface PendingUploadCredentialDto { /** A paginated list of ComponentContainer entities. */ export interface ComponentContainerResourceArmPaginatedResult { - /** An array of objects of type ComponentContainer. */ - value?: ComponentContainer[]; /** 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 { - /** An array of objects of type ComponentVersion. */ - value?: ComponentVersion[]; /** 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 { - /** An array of objects of type DataContainer. */ - value?: DataContainer[]; /** 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 { - /** An array of objects of type DataVersionBase. */ - value?: DataVersionBase[]; /** 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[]; } /** BlobReferenceSASRequest for getBlobReferenceSAS API */ @@ -1323,10 +1025,10 @@ export interface GetBlobReferenceSASResponseDto { export interface GetBlobReferenceForConsumptionDto { /** Blob uri, example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** The ARM id of the storage account */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: DataReferenceCredentialUnion; + /** The ARM id of the storage account */ + storageAccountArmId?: string; } /** DataReferenceCredential base class */ @@ -1341,18 +1043,18 @@ export interface DataReferenceCredential { /** A paginated list of EnvironmentContainer entities. */ export interface EnvironmentContainerResourceArmPaginatedResult { - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; /** 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 { - /** An array of objects of type EnvironmentVersion. */ - value?: EnvironmentVersion[]; /** 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 */ @@ -1387,18 +1089,18 @@ export interface Route { /** A paginated list of ModelContainer entities. */ export interface ModelContainerResourceArmPaginatedResult { - /** An array of objects of type ModelContainer. */ - value?: ModelContainer[]; /** 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 { - /** An array of objects of type ModelVersion. */ - value?: ModelVersion[]; /** 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 { @@ -1408,10 +1110,10 @@ export interface FlavorData { /** A paginated list of BatchEndpoint entities. */ export interface BatchEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchEndpoint. */ - value?: BatchEndpoint[]; /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchEndpoint. */ + value?: BatchEndpoint[]; } /** Batch endpoint default values */ @@ -1425,8 +1127,15 @@ export interface BatchEndpointDefaults { /** Inference Endpoint base definition */ export interface EndpointPropertiesBase { + /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ + authMode: EndpointAuthMode; /** Description of the inference endpoint. */ description?: string; + /** + * EndpointAuthKeys to set initially on an Endpoint. + * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + */ + keys?: EndpointAuthKeys; /** Property dictionary. Properties can be added, but not removed or altered. */ properties?: { [propertyName: string]: string | null }; /** @@ -1439,13 +1148,6 @@ export interface EndpointPropertiesBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly swaggerUri?: string; - /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ - authMode: EndpointAuthMode; - /** - * EndpointAuthKeys to set initially on an Endpoint. - * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. - */ - keys?: EndpointAuthKeys; } /** Keys for endpoint authentication. */ @@ -1472,10 +1174,10 @@ export interface PartialMinimalTrackedResource { /** A paginated list of BatchDeployment entities. */ export interface BatchDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchDeployment. */ - value?: BatchDeployment[]; /** The link to the next page of BatchDeployment objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchDeployment. */ + value?: BatchDeployment[]; } /** Properties relevant to different deployment types. */ @@ -1484,14 +1186,6 @@ export interface BatchDeploymentConfiguration { deploymentConfigurationType: "PipelineComponent"; } -/** Retry settings for a batch inference operation. */ -export interface BatchRetrySettings { - /** Maximum retry count for a mini-batch */ - maxRetries?: number; - /** Invocation timeout for a mini-batch, in ISO 8601 format. */ - timeout?: string; -} - /** Base definition for asset references. */ export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1507,18 +1201,26 @@ export interface ResourceConfiguration { properties?: { [propertyName: string]: Record }; } +/** Retry settings for a batch inference operation. */ +export interface BatchRetrySettings { + /** Maximum retry count for a mini-batch */ + maxRetries?: number; + /** Invocation timeout for a mini-batch, in ISO 8601 format. */ + timeout?: string; +} + /** Base definition for endpoint deployment. */ export interface EndpointDeploymentPropertiesBase { - /** Description of the endpoint deployment. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; /** Code configuration for the endpoint deployment. */ codeConfiguration?: CodeConfiguration; + /** Description of the endpoint deployment. */ + description?: string; /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ environmentId?: string; /** Environment variables configuration for the deployment. */ environmentVariables?: { [propertyName: string]: string | null }; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } /** Configuration for a scoring code asset. */ @@ -1545,20 +1247,20 @@ export interface PartialBatchDeployment { /** Publishing destination registry asset information */ export interface DestinationAsset { - /** Destination registry name */ - registryName?: string; /** Destination asset name */ destinationName?: string; /** Destination asset version */ destinationVersion?: string; + /** Destination registry name */ + registryName?: string; } /** A paginated list of Datastore entities. */ export interface DatastoreResourceArmPaginatedResult { - /** An array of objects of type Datastore. */ - value?: Datastore[]; /** The link to the next page of Datastore objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } /** Base definition for datastore credentials. */ @@ -1572,6 +1274,14 @@ export interface DatastoreCredentials { | "ServicePrincipal"; } +/** Secret expiration configuration. */ +export interface SecretExpiry { + /** Indicates if the secret is expirable. */ + expirableSecret?: boolean; + /** Number of hours after which the secret will expire. */ + expireAfterHours?: number; +} + /** Base definition for datastore secrets. */ export interface DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1580,45 +1290,63 @@ export interface DatastoreSecrets { /** A paginated list of FeaturesetContainer entities. */ export interface FeaturesetContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturesetContainer. */ - value?: FeaturesetContainer[]; /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } /** A paginated list of Feature entities. */ export interface FeatureResourceArmPaginatedResult { - /** An array of objects of type Feature. */ - value?: Feature[]; /** 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 FeaturesetVersion entities. */ export interface FeaturesetVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturesetVersion. */ - value?: FeaturesetVersion[]; /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; -} - -/** DTO object representing specification */ -export interface FeaturesetSpecification { - /** Specifies the spec path */ - path?: string; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; } export interface MaterializationSettings { - /** Specifies the stores to which materialization should happen */ - storeType?: MaterializationStoreType; - /** Specifies the schedule details */ - schedule?: RecurrenceTrigger; /** Specifies the notification details */ notification?: NotificationSetting; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; + /** 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[]; + /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ + webhooks?: { [propertyName: string]: WebhookUnion | null }; +} + +/** Webhook base */ +export interface Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; + /** Send callback on a specified notification event */ + eventType?: string; +} + +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } export interface RecurrenceSchedule { @@ -1626,10 +1354,10 @@ export interface RecurrenceSchedule { hours: number[]; /** [Required] List of minutes for the schedule. */ minutes: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; /** List of month days for the schedule */ monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } export interface TriggerBase { @@ -1650,58 +1378,40 @@ export interface TriggerBase { timeZone?: string; } -/** Configuration for notification. */ -export interface NotificationSetting { - /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ - emails?: string[]; - /** Send email notification to user on specified notification type */ - emailOn?: EmailNotificationEnableType[]; - /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ - webhooks?: { [propertyName: string]: WebhookUnion | null }; -} - -/** Webhook base */ -export interface Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; - /** Send callback on a specified notification event */ - eventType?: string; -} - -/** DTO object representing compute resource */ -export interface MaterializationComputeResource { - /** Specifies the instance type */ - instanceType?: string; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } /** Request payload for creating a backfill request for a given feature set version */ export interface FeaturesetVersionBackfillRequest { - /** Specifies description */ - displayName?: string; + /** Specified the data availability status that you want to backfill */ + dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specifies description */ description?: string; + /** Specifies description */ + displayName?: string; /** Specifies the backfill feature window to be materialized */ featureWindow?: FeatureWindow; - /** Specified the data availability status that you want to backfill */ - dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specify the jobId to retry the failed materialization */ jobId?: string; - /** Specifies the tags */ - tags?: { [propertyName: string]: string | null }; + /** Specifies the properties */ + properties?: { [propertyName: string]: string | null }; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; /** Specifies the spark compute settings */ sparkConfiguration?: { [propertyName: string]: string | null }; - /** Specifies the properties */ - properties?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; } /** Specifies the feature window */ export interface FeatureWindow { - /** Specifies the feature window start time */ - featureWindowStart?: Date; /** 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 */ @@ -1712,61 +1422,67 @@ export interface FeaturesetVersionBackfillResponse { /** A paginated list of FeaturestoreEntityContainer entities. */ export interface FeaturestoreEntityContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityContainer. */ - value?: FeaturestoreEntityContainer[]; /** 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 { - /** An array of objects of type FeaturestoreEntityVersion. */ - value?: FeaturestoreEntityVersion[]; /** 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 data type */ - dataType?: FeatureDataType; /** Specifies the column name */ columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } /** A paginated list of JobBase entities. */ export interface JobBaseResourceArmPaginatedResult { - /** An array of objects of type JobBase. */ - value?: JobBase[]; /** The link to the next page of JobBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type JobBase. */ + value?: JobBase[]; +} + +/** Base definition for identity configuration. */ +export interface IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken" | "Managed" | "UserIdentity"; } /** Job endpoint definition */ export interface JobService { - /** Endpoint type. */ - jobServiceType?: string; - /** Port for endpoint. */ - port?: number; /** Url for endpoint. */ endpoint?: string; - /** - * Status of endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: string; /** * Any error in the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errorMessage?: string; - /** Additional properties to set on the endpoint. */ - properties?: { [propertyName: string]: string | null }; + /** Endpoint type. */ + jobServiceType?: string; /** * 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. */ + port?: number; + /** Additional properties to set on the endpoint. */ + properties?: { [propertyName: string]: string | null }; + /** + * Status of endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: string; } /** Abstract Nodes definition */ @@ -1775,23 +1491,15 @@ export interface Nodes { nodesValueType: "All"; } -/** Base definition for identity configuration. */ -export interface IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken" | "Managed" | "UserIdentity"; -} - /** A paginated list of MarketplaceSubscription entities. */ export interface MarketplaceSubscriptionResourceArmPaginatedResult { - /** An array of objects of type MarketplaceSubscription. */ - value?: MarketplaceSubscription[]; /** The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type MarketplaceSubscription. */ + value?: MarketplaceSubscription[]; } export interface MarketplaceSubscriptionProperties { - /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ - modelId: string; /** * Marketplace Plan associated with the Marketplace Subscription. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1802,6 +1510,8 @@ export interface MarketplaceSubscriptionProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; + /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ + modelId: string; /** * Provisioning State of the Marketplace Subscription. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1810,11 +1520,6 @@ export interface MarketplaceSubscriptionProperties { } export interface MarketplacePlan { - /** - * The identifying name of the Publisher of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publisherId?: string; /** * The identifying name of the Offer of the Marketplace Plan. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1825,67 +1530,37 @@ export interface MarketplacePlan { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly planId?: string; + /** + * The identifying name of the Publisher of the Marketplace Plan. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherId?: string; } /** A paginated list of OnlineEndpoint entities. */ export interface OnlineEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineEndpoint. */ - value?: OnlineEndpoint[]; /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type OnlineEndpoint. */ + value?: OnlineEndpoint[]; } /** A paginated list of OnlineDeployment entities. */ export interface OnlineDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineDeployment. */ - value?: OnlineDeployment[]; /** The link to the next page of OnlineDeployment objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type OnlineDeployment. */ + value?: OnlineDeployment[]; } -/** Online deployment scaling configuration. */ -export interface OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default" | "TargetUtilization"; -} - -/** Online deployment scoring requests configuration. */ -export interface OnlineRequestSettings { - /** - * (Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. - * Defaults to 500ms. - * (Now increase `request_timeout_ms` to account for any networking/queue delays) - */ - maxQueueWait?: string; - /** - * The scoring timeout in ISO 8601 format. - * Defaults to 5000ms. - */ - requestTimeout?: string; - /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ - maxConcurrentRequestsPerInstance?: number; -} - -/** Deployment container liveness/readiness probe configuration. */ -export interface ProbeSettings { - /** The number of failures to allow before returning an unhealthy status. */ - failureThreshold?: number; - /** The number of successful probes before returning a healthy status. */ - successThreshold?: number; - /** The probe timeout in ISO 8601 format. */ - timeout?: string; - /** The length of time between probes in ISO 8601 format. */ - period?: string; - /** The delay before the first probe in ISO 8601 format. */ - initialDelay?: string; -} - -export interface DataCollector { +export interface DataCollector { /** * [Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string. * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. */ collections: { [propertyName: string]: Collection | null }; + /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ + requestLogging?: RequestLogging; /** * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. @@ -1893,19 +1568,17 @@ export interface DataCollector { * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. */ rollingRate?: RollingRateType; - /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ - requestLogging?: RequestLogging; } export interface Collection { - /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ - samplingRate?: number; + /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ + clientId?: string; /** Enable or disable data collection. */ dataCollectionMode?: DataCollectionMode; /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ dataId?: string; - /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ - clientId?: string; + /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; } export interface RequestLogging { @@ -1913,18 +1586,55 @@ export interface RequestLogging { captureHeaders?: string[]; } +/** Deployment container liveness/readiness probe configuration. */ +export interface ProbeSettings { + /** The number of failures to allow before returning an unhealthy status. */ + failureThreshold?: number; + /** The delay before the first probe in ISO 8601 format. */ + initialDelay?: string; + /** The length of time between probes in ISO 8601 format. */ + period?: string; + /** The number of successful probes before returning a healthy status. */ + successThreshold?: number; + /** The probe timeout in ISO 8601 format. */ + timeout?: string; +} + +/** Online deployment scoring requests configuration. */ +export interface OnlineRequestSettings { + /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ + maxConcurrentRequestsPerInstance?: number; + /** + * (Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. + * Defaults to 500ms. + * (Now increase `request_timeout_ms` to account for any networking/queue delays) + */ + maxQueueWait?: string; + /** + * The scoring timeout in ISO 8601 format. + * Defaults to 5000ms. + */ + requestTimeout?: string; +} + +/** Online deployment scaling configuration. */ +export interface OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default" | "TargetUtilization"; +} + /** Common SKU definition. */ export interface PartialSku { + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; /** The name of the SKU. Ex - P3. It is typically a letter+number code. */ name?: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; } export interface DeploymentLogsRequest { @@ -1941,14 +1651,16 @@ export interface DeploymentLogs { /** A paginated list of SkuResource entities. */ export interface SkuResourceArmPaginatedResult { - /** An array of objects of type SkuResource. */ - value?: SkuResource[]; /** The link to the next page of SkuResource objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type SkuResource. */ + value?: SkuResource[]; } /** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ export interface SkuResource { + /** Gets or sets the Sku Capacity. */ + capacity?: SkuCapacity; /** * The resource type name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1956,30 +1668,28 @@ export interface SkuResource { readonly resourceType?: string; /** Gets or sets the Sku. */ sku?: SkuSetting; - /** Gets or sets the Sku Capacity. */ - capacity?: SkuCapacity; -} - -/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ -export interface SkuSetting { - /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; } /** SKU capacity information */ export interface SkuCapacity { - /** Gets or sets the minimum. */ - minimum?: number; - /** Gets or sets the maximum. */ - maximum?: number; /** Gets or sets the default capacity. */ default?: number; + /** Gets or sets the maximum. */ + maximum?: number; + /** Gets or sets the minimum. */ + minimum?: number; /** Gets or sets the type of the scale. */ scaleType?: SkuScaleType; } +/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ +export interface SkuSetting { + /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; +} + export interface RegenerateEndpointKeysRequest { /** [Required] Specification for which type of key to generate. Primary or Secondary. */ keyType: KeyType; @@ -1991,20 +1701,20 @@ export interface RegenerateEndpointKeysRequest { export interface EndpointAuthToken { /** Access token for endpoint authentication. */ accessToken?: string; - /** Access token type. */ - tokenType?: string; /** Access token expiry time (UTC). */ expiryTimeUtc?: number; /** Refresh access token after time (UTC). */ refreshAfterTimeUtc?: number; + /** Access token type. */ + tokenType?: string; } /** A paginated list of Schedule entities. */ export interface ScheduleResourceArmPaginatedResult { - /** An array of objects of type Schedule. */ - value?: Schedule[]; /** The link to the next page of Schedule objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; } export interface ScheduleActionBase { @@ -2014,59 +1724,59 @@ export interface ScheduleActionBase { /** A paginated list of ServerlessEndpoint entities. */ export interface ServerlessEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type ServerlessEndpoint. */ - value?: ServerlessEndpoint[]; /** The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ServerlessEndpoint. */ + value?: ServerlessEndpoint[]; } export interface ServerlessEndpointProperties { - /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ - modelSettings?: ModelSettings; /** [Required] Specifies the authentication mode for the Serverless endpoint. */ authMode: ServerlessInferenceEndpointAuthMode; + /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ + contentSafety?: ContentSafety; /** - * The inference uri to target when making requests against the serverless endpoint + * The current state of the ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly inferenceEndpoint?: ServerlessInferenceEndpoint; + readonly endpointState?: ServerlessEndpointState; /** - * Provisioning state for the endpoint. + * The inference uri to target when making requests against the serverless endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: EndpointProvisioningState; + readonly inferenceEndpoint?: ServerlessInferenceEndpoint; /** - * The current state of the ServerlessEndpoint. + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly endpointState?: ServerlessEndpointState; + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * Provisioning state for the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly marketplaceSubscriptionId?: string; - /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ - contentSafety?: ContentSafety; + readonly provisioningState?: EndpointProvisioningState; } -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; +export interface ContentSafety { + /** [Required] Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; /** * Specifies any required headers to target this serverless endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly headers?: { [propertyName: string]: string | null }; + /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ + uri: string; } -export interface ContentSafety { - /** [Required] Specifies the status of content safety. */ - contentSafetyStatus: ContentSafetyStatus; +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; } /** A paginated list of Registry entities. */ @@ -2086,6 +1796,21 @@ export interface ArmResourceId { resourceId?: string; } +/** Managed resource group settings */ +export interface ManagedResourceGroupSettings { + /** List of assigned identities for the managed resource group */ + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + +/** Details for managed resource group assigned identities. */ +export interface ManagedResourceGroupAssignedIdentities { + /** + * Identity principal Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; +} + /** Private endpoint connection definition. */ export interface RegistryPrivateEndpointConnection { /** @@ -2105,6 +1830,15 @@ export interface RegistryPrivateEndpointConnection { provisioningState?: string; } +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; +} + /** The connection state. */ export interface RegistryPrivateLinkServiceConnectionState { /** Some RP chose "None". Other RPs use this for region expansion. */ @@ -2217,6764 +1951,8408 @@ export interface AmlUserFeature { description?: string; } -/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ -export interface ResourceId { - /** The ID of the resource */ - id: string; -} - -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; -} - -/** AKS properties */ -export interface AKSSchemaProperties { - /** Cluster full qualified domain name */ - clusterFqdn?: string; +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { /** - * System services + * List of operations supported by the resource provider * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemServices?: SystemService[]; - /** Number of agents */ - agentCount?: number; - /** Agent virtual machine size */ - agentVmSize?: string; - /** Intended usage of the cluster */ - clusterPurpose?: ClusterPurpose; - /** SSL configuration */ - sslConfiguration?: SslConfiguration; - /** AKS networking configuration for vnet */ - aksNetworkingConfiguration?: AksNetworkingConfiguration; - /** Load Balancer Type */ - loadBalancerType?: LoadBalancerType; - /** Load Balancer Subnet */ - loadBalancerSubnet?: string; + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** A system service running on a compute. */ -export interface SystemService { +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * The type of this system service. + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemServiceType?: string; + readonly name?: string; /** - * Public IP address + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicIpAddress?: string; + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; /** - * The version for this type. + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly version?: string; + readonly origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; } -/** The ssl configuration for scoring */ -export interface SslConfiguration { - /** Enable or disable ssl for scoring */ - status?: SslConfigStatus; - /** Cert data */ - cert?: string; - /** Key data */ - key?: string; - /** CNAME of the cert */ - cname?: string; - /** Leaf domain label of public endpoint */ - leafDomainLabel?: string; - /** Indicates whether to overwrite existing domain label. */ - overwriteExistingDomain?: boolean; -} - -/** Advance configuration for AKS networking */ -export interface AksNetworkingConfiguration { - /** Virtual network subnet resource ID the compute nodes belong to */ - subnetId?: string; - /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ - serviceCidr?: string; - /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ - dnsServiceIP?: string; - /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ - dockerBridgeCidr?: string; -} - -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; -} - -/** Kubernetes properties */ -export interface KubernetesProperties { - /** Relay connection string. */ - relayConnectionString?: string; - /** ServiceBus connection string. */ - serviceBusConnectionString?: string; - /** Extension principal-id. */ - extensionPrincipalId?: string; - /** Extension instance release train. */ - extensionInstanceReleaseTrain?: string; - /** VC name. */ - vcName?: string; - /** Compute namespace */ - namespace?: string; - /** Default instance type */ - defaultInstanceType?: string; - /** Instance Type Schema */ - instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; -} - -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; -} - -/** Resource requests/limits for this instance type */ -export interface InstanceTypeSchemaResources { - /** Resource requests for this instance type */ - requests?: { [propertyName: string]: string }; - /** Resource limits for this instance type */ - limits?: { [propertyName: string]: string }; -} - -/** AML Compute properties */ -export interface AmlComputeProperties { - /** Compute OS Type */ - osType?: OsType; - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual Machine priority */ - vmPriority?: VmPriority; - /** Virtual Machine image for AML Compute - windows only */ - virtualMachineImage?: VirtualMachineImage; - /** Network is isolated or not */ - isolatedNetwork?: boolean; - /** Scale settings for AML Compute */ - scaleSettings?: ScaleSettings; - /** Credentials for an administrator user account that will be created on each compute node. */ - userAccountCredentials?: UserAccountCredentials; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ - remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; - /** - * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly allocationState?: AllocationState; - /** - * The time at which the compute entered its current allocation state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly allocationStateTransitionTime?: Date; +/** Localized display information for this particular operation. */ +export interface OperationDisplay { /** - * Collection of errors encountered by various compute nodes during node setup. + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errors?: ErrorResponse[]; + readonly provider?: string; /** - * The number of compute nodes currently assigned to the compute. + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly resource?: string; /** - * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly operation?: string; /** - * Counts of various node states on the compute. + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeStateCounts?: NodeStateCounts; - /** 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; - /** A property bag containing additional properties. */ - propertyBag?: Record; -} - -/** Virtual Machine image for Windows AML Compute */ -export interface VirtualMachineImage { - /** Virtual Machine image path */ - id: string; + readonly description?: string; } -/** Settings for user account that gets created on each on the nodes of a compute. */ -export interface UserAccountCredentials { - /** Name of the administrator user account which can be used to SSH to nodes. */ - adminUserName: string; - /** SSH public key of the administrator user account. */ - adminUserSshPublicKey?: string; - /** Password of the administrator user account. */ - adminUserPassword?: string; +/** The result of a request to list machine learning workspaces. */ +export interface WorkspaceListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: Workspace[]; } -/** Counts of various compute node states on the amlCompute. */ -export interface NodeStateCounts { - /** - * Number of compute nodes in idle state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly idleNodeCount?: number; - /** - * Number of compute nodes which are running jobs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly runningNodeCount?: number; +export interface EncryptionProperty { /** - * Number of compute nodes which are being prepared. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok cosmosdb account that customer brings to store customer's data + * with encryption */ - readonly preparingNodeCount?: number; + cosmosDbResourceId?: string; + /** Identity to be used with the keyVault */ + identity?: IdentityForCmk; + /** KeyVault details to do the encryption */ + keyVaultProperties: KeyVaultProperties; /** - * Number of compute nodes which are in unusable state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok search account that customer brings to store customer's data + * with encryption */ - readonly unusableNodeCount?: number; + searchAccountResourceId?: string; + /** Indicates whether or not the encryption is enabled for the workspace. */ + status: EncryptionStatus; /** - * Number of compute nodes which are leaving the amlCompute. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok storage account that customer brings to store customer's data + * with encryption */ - readonly leavingNodeCount?: number; + storageAccountResourceId?: string; +} + +/** Identity object used for encryption. */ +export interface IdentityForCmk { + /** UserAssignedIdentity to be used to fetch the encryption key from keyVault */ + userAssignedIdentity?: string; +} + +/** Customer Key vault properties. */ +export interface KeyVaultProperties { /** - * Number of compute nodes which are in preempted state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Currently, we support only SystemAssigned MSI. + * We need this when we support UserAssignedIdentities */ - readonly preemptedNodeCount?: number; + identityClientId?: string; + /** KeyVault key identifier to encrypt the data */ + keyIdentifier: string; + /** KeyVault Arm Id that contains the data encryption key */ + keyVaultArmId: string; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +export interface FeatureStoreSettings { + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; } -/** Compute Instance properties */ -export interface ComputeInstanceProperties { - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual network subnet resource ID the compute nodes belong to. */ - 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 policy and settings for SSH access. */ - sshSettings?: ComputeInstanceSshSettings; - /** List of Custom Services added to the compute. */ - customServices?: CustomService[]; +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; +} + +/** Managed Network settings for a machine learning workspace. */ +export interface ManagedNetworkSettings { + /** Firewall Sku used for FQDN Rules */ + firewallSku?: FirewallSku; + /** Isolation mode for the managed network of a machine learning workspace. */ + isolationMode?: IsolationMode; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly networkId?: string; + /** Dictionary of */ + outboundRules?: { [propertyName: string]: OutboundRuleUnion }; + /** Status of the Provisioning for the managed network of a machine learning workspace. */ + status?: ManagedNetworkProvisionStatus; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly changeableIsolationModes?: IsolationMode[]; +} + +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly parentRuleNames?: string[]; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; +} + +/** Status of the Provisioning for the managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionStatus { + sparkReady?: boolean; + /** Status for the managed network of a machine learning workspace. */ + status?: ManagedNetworkStatus; +} + +export interface NetworkAcls { + /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */ + defaultAction?: DefaultActionType; + /** Rules governing the accessibility of a resource from a specific ip address or ip range. */ + ipRules?: IPRule[]; +} + +/** Contains an IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). Value could be 'Allow' or 'Deny'. */ +export interface IPRule { + /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). Value could be 'Allow' or 'Deny'. */ + value?: string; +} + +export interface NotebookResourceInfo { + fqdn?: string; + isPrivateLinkEnabled?: boolean; + /** The error that occurs when preparing notebook. */ + notebookPreparationError?: NotebookPreparationError; + /** the data plane resourceId that used to initialize notebook component */ + resourceId?: string; +} + +export interface NotebookPreparationError { + errorMessage?: string; + statusCode?: number; +} + +/** The Private Endpoint resource. */ +export interface WorkspacePrivateEndpointResource { /** - * Returns metadata about the operating system image for this compute instance. + * e.g. /subscriptions/{networkSubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName} * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly osImageMetadata?: ImageMetadata; + readonly id?: string; /** - * Describes all connectivity endpoints available for this ComputeInstance. + * The subnetId that the private endpoint is connected to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; - /** - * Describes available applications and their endpoints on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly applications?: ComputeInstanceApplication[]; - /** - * Describes information on user who created this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: ComputeInstanceCreatedBy; - /** - * Collection of errors encountered on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: ErrorResponse[]; - /** - * The current state of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly state?: ComputeInstanceState; - /** The Compute Instance Authorization type. Available values are personal (default). */ - computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; - /** Settings for a personal compute instance. */ - personalComputeInstanceSettings?: PersonalComputeInstanceSettings; - /** Details of customized scripts to execute for setting up the cluster. */ - setupScripts?: SetupScripts; - /** - * The last operation on ComputeInstance. - * 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. */ - schedules?: ComputeSchedules; - /** 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; - /** - * Describes informations of containers on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly containers?: ComputeInstanceContainer[]; - /** - * Describes informations of dataDisks on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataDisks?: ComputeInstanceDataDisk[]; - /** - * Describes informations of dataMounts on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataMounts?: ComputeInstanceDataMount[]; - /** - * ComputeInstance version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly versions?: ComputeInstanceVersion; -} - -/** 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. */ - sshPublicAccess?: SshPublicAccess; - /** - * Describes the admin user name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly adminUserName?: string; - /** - * Describes the port for connecting through SSH. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sshPort?: number; - /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ - adminPublicKey?: string; + readonly subnetArmId?: 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[]; +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** Describes the Image Specifications */ -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 */ - reference?: string; +export interface ServerlessComputeSettings { + /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ + serverlessComputeCustomSubnet?: string; + /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ + serverlessComputeNoPublicIP?: boolean; } -/** Environment Variables for the container */ -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 ServiceManagedResourcesSettings { + cosmosDb?: CosmosDbSettings; } -/** Docker container configuration */ -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 CosmosDbSettings { + collectionsThroughput?: number; } -/** Describes the endpoint configuration for the container */ -export interface Endpoint { - /** Protocol over which communication will happen over this endpoint */ - protocol?: Protocol; - /** Name of the Endpoint */ +export interface SharedPrivateLinkResource { + /** Unique name of the private link */ 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; + /** group id of the private link */ + groupId?: string; + /** the resource id that private link links to */ + privateLinkResourceId?: string; + /** Request message */ + requestMessage?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** Describes the volume configuration for the container */ -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; +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: string; } -/** Describes the bind options for the container */ -export interface BindOptions { - /** Type of Bind Option */ - propagation?: string; - /** Indicate whether to create host path. */ - createHostPath?: boolean; - /** Mention the selinux options. */ - selinux?: string; +/** The parameters for updating a machine learning workspace. */ +export interface WorkspaceUpdateParameters { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** The resource tags for the machine learning workspace. */ + tags?: { [propertyName: string]: string }; + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + enableDataIsolation?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionUpdateProperties; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +export interface EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: 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; +export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { + nextLink?: string; + value?: WorkspaceConnectionPropertiesV2BasicResource[]; } -/** Defines all connectivity endpoints and properties for an ComputeInstance. */ -export interface ComputeInstanceConnectivityEndpoints { - /** - * Public IP Address of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publicIpAddress?: string; +export interface WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: + | "AAD" + | "AccessKey" + | "AccountKey" + | "ApiKey" + | "CustomKeys" + | "ManagedIdentity" + | "None" + | "OAuth2" + | "PAT" + | "SAS" + | "ServicePrincipal" + | "UsernamePassword"; + /** Category of the connection */ + category?: ConnectionCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly createdByWorkspaceArmId?: string; + error?: string; + expiryTime?: Date; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * Group based on connection category * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; + readonly group?: ConnectionGroup; + isSharedToAll?: boolean; + /** Store user metadata for this connection */ + metadata?: { [propertyName: string]: string }; + peRequirement?: ManagedPERequirement; + peStatus?: ManagedPEStatus; + sharedUserList?: string[]; + target?: string; + useWorkspaceManagedIdentity?: boolean; } -/** Defines an Aml Instance application and its connectivity endpoint URI. */ -export interface ComputeInstanceApplication { - /** Name of the ComputeInstance application. */ - displayName?: string; - /** Application' endpoint URI. */ - endpointUri?: string; +/** The properties that the machine learning workspace connection will be updated with. */ +export interface WorkspaceConnectionUpdateParameter { + /** The properties that the machine learning workspace connection will be updated with. */ + properties?: WorkspaceConnectionPropertiesV2Union; } -/** Describes information on user who created this ComputeInstance. */ -export interface ComputeInstanceCreatedBy { - /** - * Name of the user. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly userName?: string; +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointDeploymentResourcePropertiesBasicResource[]; +} + +export interface EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "Azure.Speech"; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * Uniquely identifies user' Azure Active Directory organization. + * Read-only provision state status property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userOrgId?: string; + readonly provisioningState?: DefaultResourceProvisioningState; +} + +export interface EndpointModels { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** List of models. */ + value?: EndpointModelProperties[]; +} + +/** Endpoint Model properties. */ +export interface EndpointModelProperties { + /** The capabilities. */ + capabilities?: { [propertyName: string]: string }; + deprecation?: EndpointModelDeprecationProperties; + /** The capabilities for finetune models. */ + finetuneCapabilities?: { [propertyName: string]: string }; + /** Deployment model format. */ + format?: string; + /** If the model is default version. */ + isDefaultVersion?: boolean; + /** Model lifecycle status. */ + lifecycleStatus?: ModelLifecycleStatus; + /** The max capacity. */ + maxCapacity?: number; + /** Deployment model name. */ + name?: string; + /** The list of Model Sku. */ + skus?: EndpointModelSkuProperties[]; /** - * Uniquely identifies the user within his/her organization. + * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userId?: string; + readonly systemData?: SystemData; + /** Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. */ + version?: string; } -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; +export interface EndpointModelDeprecationProperties { + /** The datetime of deprecation of the fineTune Model. */ + fineTune?: Date; + /** The datetime of deprecation of the inference Model. */ + inference?: Date; } -/** A user that can be assigned to a compute instance. */ -export interface AssignedUser { - /** User’s AAD Object Id. */ - objectId: string; - /** User’s AAD Tenant Id. */ - tenantId: string; +export interface EndpointModelSkuProperties { + capacity?: EndpointModelSkuCapacityProperties; + /** The list of ARM id for the connection support this SKU. */ + connectionIds?: string[]; + /** The datetime of deprecation of the model SKU. */ + deprecationDate?: Date; + /** The name of the model SKU. */ + name?: string; + rateLimits?: EndpointModelSkuRateLimitProperties[]; + /** The usage name of the model SKU. */ + usageName?: string; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +export interface EndpointModelSkuCapacityProperties { + /** The default capacity. */ + default?: number; + /** The maximum capacity. */ + maximum?: number; } -/** Customized setup scripts */ -export interface ScriptsToExecute { - /** Script that's run every time the machine starts. */ - startupScript?: ScriptReference; - /** Script that's run only once during provision of the compute. */ - creationScript?: ScriptReference; +export interface EndpointModelSkuRateLimitProperties { + /** The count value of Call Rate Limit. */ + count?: number; + /** The renewal period in seconds of Call Rate Limit. */ + renewalPeriod?: number; + /** The call rate limit for the model. */ + rules?: EndpointModelSkuRateLimitRuleProperties[]; } -/** Script reference */ -export interface ScriptReference { - /** The storage source of the script: workspace. */ - scriptSource?: string; - /** The location of scripts in the mounted volume. */ - scriptData?: string; - /** Optional command line arguments passed to the script to run. */ - scriptArguments?: string; - /** Optional time period passed to timeout command. */ - timeout?: string; +export interface EndpointModelSkuRateLimitRuleProperties { + count?: number; + /** If the dynamic throttling is enabled. */ + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + minCount?: number; + renewalPeriod?: number; } -/** The last operation on ComputeInstance. */ -export interface ComputeInstanceLastOperation { - /** Name of the last operation. */ - operationName?: OperationName; - /** Time of the last operation. */ - operationTime?: Date; - /** Operation status. */ - operationStatus?: OperationStatus; - /** Trigger of operation. */ - operationTrigger?: OperationTrigger; +export interface EndpointModelSkuRateLimitRulePatternProperties { + method?: string; + path?: string; } -/** The list of schedules to be applied on the computes */ -export interface ComputeSchedules { - /** The list of compute start stop schedules to be applied. */ - computeStartStop?: ComputeStartStopSchedule[]; +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistPropertiesBasicResource[]; } -/** Compute start stop schedule properties */ -export interface ComputeStartStopSchedule { +/** RAI Custom Blocklist properties. */ +export interface RaiBlocklistProperties { + /** Description of the block list. */ + description?: string; +} + +/** The Cognitive Services RaiBlocklist Item request body. */ +export interface RaiBlocklistItemBulkRequest { + name?: string; + /** Properties of Cognitive Services RaiBlocklist Item. */ + properties?: RaiBlocklistItemProperties; +} + +/** RAI Custom Blocklist Item properties. */ +export interface RaiBlocklistItemProperties { + /** If the pattern is a regex pattern. */ + isRegex?: boolean; + /** Pattern to match against. */ + pattern?: string; +} + +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistItemPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters resource list. */ +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiPolicyPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters properties. */ +export interface RaiPolicyProperties { + /** Name of the base Content Filters. */ + basePolicyName?: string; + completionBlocklists?: RaiBlocklistConfig[]; + contentFilters?: RaiPolicyContentFilter[]; + /** Content Filters mode. */ + mode?: RaiPolicyMode; + promptBlocklists?: RaiBlocklistConfig[]; + /** Content Filters policy type. */ + type?: RaiPolicyType; +} + +/** Azure OpenAI blocklist config. */ +export interface RaiBlocklistConfig { + /** If blocking would occur. */ + blocking?: boolean; + /** Name of ContentFilter. */ + blocklistName?: string; +} + +/** Azure OpenAI Content Filter. */ +export interface RaiPolicyContentFilter { + /** Level at which content is filtered. */ + allowedContentLevel?: AllowedContentLevel; + /** If blocking would occur. */ + blocking?: boolean; + /** If the ContentFilter is enabled. */ + enabled?: boolean; + /** Name of ContentFilter. */ + name?: string; + /** Content source to apply the Content Filters. */ + source?: RaiPolicyContentSource; +} + +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + value?: DiagnoseRequestProperties; +} + +export interface DiagnoseRequestProperties { + /** Setting for diagnosing dependent application insights */ + applicationInsights?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent container registry */ + containerRegistry?: { [propertyName: string]: any }; + /** Setting for diagnosing dns resolution */ + dnsResolution?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent key vault */ + keyVault?: { [propertyName: string]: any }; + /** Setting for diagnosing network security group */ + nsg?: { [propertyName: string]: any }; + /** Setting for diagnosing unclassified category of problems */ + others?: { [propertyName: string]: any }; + /** Setting for diagnosing the presence of required resource providers in the workspace. */ + requiredResourceProviders?: { [propertyName: string]: any }; + /** Setting for diagnosing resource lock */ + resourceLock?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent storage account */ + storageAccount?: { [propertyName: string]: any }; + /** Setting for diagnosing user defined routing */ + udr?: { [propertyName: string]: any }; +} + +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; +} + +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; +} + +/** Result of Diagnose */ +export interface DiagnoseResult { /** - * A system assigned id for the schedule. + * Code for workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly code?: string; /** - * The current deployment state of schedule. + * Level of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningStatus?: ProvisioningStatus; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; - /** [Required] The compute power action. */ - action?: ComputePowerAction; - /** [Required] The schedule trigger type. */ - triggerType?: ComputeTriggerType; - /** Required if triggerType is Recurrence. */ - recurrence?: Recurrence; - /** Required if triggerType is Cron. */ - cron?: Cron; - /** [Deprecated] Not used any more. */ - schedule?: ScheduleBase; + readonly level?: DiagnoseResultLevel; + /** + * Message of workspace setup error + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; } -/** The workflow trigger recurrence for ComputeStartStop schedule type. */ -export interface Recurrence { - /** [Required] The frequency to trigger schedule. */ - frequency?: ComputeRecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval?: number; - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointResourcePropertiesBasicResource[]; +} + +export interface EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "serverlessEndpoint" + | "Azure.Speech"; + /** Byo resource id for creating the built-in model service endpoints. */ + associatedResourceId?: string; + /** Deployments info. */ + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + /** Uri of the endpoint. */ + endpointUri?: string; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * Location of the endpoint. + * Since input dto and when parse endpoint resource share the same contract + * this Location field is just for parse the endpoint resource info + * we won't let customer specify the endpoint resource location since we will create it the same location as workspace */ - timeZone?: string; - /** [Required] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; + location?: string; + /** Name of the endpoint. */ + name?: string; + /** + * Read-only provision state status property. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DefaultResourceProvisioningState; + /** Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. */ + shouldCreateAiServicesEndpoint?: boolean; } -export interface ComputeRecurrenceSchedule { - /** [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?: ComputeWeekDay[]; +export interface EndpointKeys { + /** Dictionary of Keys for the endpoint. */ + keys?: AccountApiKeys; } -/** The workflow trigger cron for ComputeStartStop schedule type. */ -export interface Cron { - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; +export interface AccountApiKeys { + key1?: string; + key2?: string; +} + +export interface RegenerateServiceAccountKeyContent { + keyName?: ServiceAccountKeyName; +} + +export interface ListWorkspaceKeysResult { /** - * 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 + * The access key of the workspace app insights + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; + readonly appInsightsInstrumentationKey?: string; + containerRegistryCredentials?: RegistryListCredentialsResult; + notebookAccessKeys?: ListNotebookKeysResult; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * The arm Id key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. */ - expression?: string; -} - -export interface ScheduleBase { - /** A system assigned id for the schedule. */ - id?: string; - /** The current deployment state of schedule. */ - provisioningStatus?: ScheduleProvisioningState; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; + readonly userStorageArmId?: string; + /** + * The access key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -/** Defines an Aml Instance container. */ -export interface ComputeInstanceContainer { - /** Name of the ComputeInstance container. */ - name?: string; - /** Auto save settings. */ - autosave?: Autosave; - /** Information of GPU. */ - gpu?: string; - /** network of this container. */ - network?: Network; - /** Environment information of this container. */ - environment?: ComputeInstanceEnvironmentInfo; +export interface RegistryListCredentialsResult { /** - * services of this containers. + * The location of the workspace ACR * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly services?: Record[]; + readonly location?: string; + passwords?: Password[]; + /** + * The username of the workspace ACR + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly username?: string; } -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ - name?: string; - /** version of environment. */ - version?: string; +export interface Password { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly name?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly value?: string; } -/** Defines an Aml Instance DataDisk. */ -export interface ComputeInstanceDataDisk { - /** Caching type of Data Disk. */ - caching?: Caching; - /** The initial disk size in gigabytes. */ - diskSizeGB?: number; - /** The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. */ - lun?: number; - /** type of this storage account. */ - storageAccountType?: StorageAccountType; -} - -/** Defines an Aml Instance DataMount. */ -export interface ComputeInstanceDataMount { - /** Source of the ComputeInstance data mount. */ - source?: string; - /** Data source type. */ - sourceType?: SourceType; - /** name of the ComputeInstance data mount. */ - mountName?: string; - /** Mount Action. */ - mountAction?: MountAction; - /** who this data mount created by. */ - createdBy?: string; - /** Path of this data mount. */ - mountPath?: string; - /** Mount state. */ - mountState?: MountState; - /** The time when the disk mounted. */ - mountedOn?: Date; - /** Error of this data mount. */ - error?: string; +export interface ListNotebookKeysResult { + /** + * The primary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryAccessKey?: string; + /** + * The secondary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly secondaryAccessKey?: string; } -/** Version of computeInstance. */ -export interface ComputeInstanceVersion { - /** Runtime of compute instance. */ - runtime?: string; +export interface NotebookAccessTokenResult { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly accessToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly expiresIn?: number; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly hostName?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly notebookResourceId?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly publicDns?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly refreshToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly scope?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly tokenType?: string; } -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +export interface ListStorageAccountKeysResult { + /** + * The access key of the storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -export interface VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +export interface ExternalFqdnResponse { + value?: FqdnEndpointsPropertyBag[]; } -export interface VirtualMachineSchemaProperties { - /** Virtual Machine size */ - virtualMachineSize?: string; - /** Port open for ssh connections. */ - sshPort?: number; - /** Notebook server port open for ssh connections. */ - notebookServerPort?: number; - /** Public IP address of the virtual machine. */ - address?: string; - /** Admin credentials for virtual machine */ - administratorAccount?: VirtualMachineSshCredentials; - /** Indicates whether this compute will be used for running notebooks. */ - isNotebookInstanceCompute?: boolean; +/** Property bag for FQDN endpoints result */ +export interface FqdnEndpointsPropertyBag { + properties?: FqdnEndpoints; } -/** Admin credentials for virtual machine */ -export interface VirtualMachineSshCredentials { - /** Username of admin account */ - username?: string; - /** Password of admin account */ - password?: string; - /** Public key data */ - publicKeyData?: string; - /** Private key data */ - privateKeyData?: string; +export interface FqdnEndpoints { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** HDInsight compute properties */ -export interface HDInsightProperties { - /** Port open for ssh connections on the master node of the cluster. */ - sshPort?: number; - /** Public IP address of the master node of the cluster. */ - address?: string; - /** Admin credentials for master node of the cluster */ - administratorAccount?: VirtualMachineSshCredentials; +export interface FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +export interface FqdnEndpointDetail { + port?: number; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: string; +/** List of outbound rules for the managed network of a machine learning workspace. */ +export interface OutboundRuleListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: OutboundRuleBasicResource[]; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** List of private endpoint connection associated with the specified workspace */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; } -export interface DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: string; +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; } -export interface SynapseSparkProperties { - /** Auto scale properties. */ - autoScaleProperties?: AutoScaleProperties; - /** Auto pause properties. */ - autoPauseProperties?: AutoPauseProperties; - /** Spark version. */ - sparkVersion?: string; - /** The number of compute nodes currently assigned to the compute. */ - nodeCount?: number; - /** Node size. */ - nodeSize?: string; - /** Node size family. */ - nodeSizeFamily?: string; - /** Azure subscription identifier. */ - subscriptionId?: string; - /** Name of the resource group in which workspace is located. */ - resourceGroup?: string; - /** Name of Azure Machine Learning workspace. */ - workspaceName?: string; - /** Pool name. */ - poolName?: string; +/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ +export interface ResourceId { + /** The ID of the resource */ + id: string; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +export interface AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; + /** + * System services + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemServices?: SystemService[]; + /** Number of agents */ + agentCount?: number; + /** Agent virtual machine size */ + agentVmSize?: string; + /** Intended usage of the cluster */ + clusterPurpose?: ClusterPurpose; + /** SSL configuration */ + sslConfiguration?: SslConfiguration; + /** AKS networking configuration for vnet */ + aksNetworkingConfiguration?: AksNetworkingConfiguration; + /** Load Balancer Type */ + loadBalancerType?: LoadBalancerType; + /** Load Balancer Subnet */ + loadBalancerSubnet?: string; } -/** Properties of AksComputeSecrets */ -export interface AksComputeSecretsProperties { - /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ - userKubeConfig?: string; - /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ - adminKubeConfig?: string; - /** Image registry pull secret. */ - imagePullSecretName?: string; +/** A system service running on a compute. */ +export interface SystemService { + /** + * The type of this system service. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemServiceType?: string; + /** + * Public IP address + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicIpAddress?: string; + /** + * The version for this type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: string; } -export interface VirtualMachineSecretsSchema { - /** Admin credentials for virtual machine. */ - administratorAccount?: VirtualMachineSshCredentials; +/** The ssl configuration for scoring */ +export interface SslConfiguration { + /** Enable or disable ssl for scoring */ + status?: SslConfigStatus; + /** Cert data */ + cert?: string; + /** Key data */ + key?: string; + /** CNAME of the cert */ + cname?: string; + /** Leaf domain label of public endpoint */ + leafDomainLabel?: string; + /** Indicates whether to overwrite existing domain label. */ + overwriteExistingDomain?: boolean; } -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: string; +/** Advance configuration for AKS networking */ +export interface AksNetworkingConfiguration { + /** Virtual network subnet resource ID the compute nodes belong to */ + subnetId?: string; + /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ + serviceCidr?: string; + /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ + dnsServiceIP?: string; + /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ + dockerBridgeCidr?: string; } -/** 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; -} - -/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointDestination { - serviceResourceId?: string; - sparkEnabled?: boolean; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - sparkStatus?: RuleStatus; - subresourceTarget?: string; -} - -/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ -export interface ServiceTagDestination { - /** The action enum for networking rule. */ - action?: RuleAction; - /** - * Optional, if provided, the ServiceTag property will be ignored. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly addressPrefixes?: string[]; - portRanges?: string; - protocol?: string; - serviceTag?: string; -} - -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; -} - -export interface WorkspaceConnectionPersonalAccessToken { - pat?: string; -} - -export interface WorkspaceConnectionSharedAccessSignature { - sas?: string; -} - -export interface WorkspaceConnectionAccountKey { - key?: string; -} - -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: string; +/** Kubernetes properties */ +export interface KubernetesProperties { + /** Relay connection string. */ + relayConnectionString?: string; + /** ServiceBus connection string. */ + serviceBusConnectionString?: string; + /** Extension principal-id. */ + extensionPrincipalId?: string; + /** Extension instance release train. */ + extensionInstanceReleaseTrain?: string; + /** VC name. */ + vcName?: string; + /** Compute namespace */ + namespace?: string; + /** Default instance type */ + defaultInstanceType?: string; + /** Instance Type Schema */ + instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: string; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +/** Resource requests/limits for this instance type */ +export interface InstanceTypeSchemaResources { + /** Resource requests for this instance type */ + requests?: { [propertyName: string]: string }; + /** Resource limits for this instance type */ + limits?: { [propertyName: string]: string }; } -/** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ -export interface WorkspaceConnectionOAuth2 { - /** Required by Concur connection category */ - authUrl?: string; - /** Client id in the format of UUID */ - clientId?: string; - clientSecret?: string; - /** Required by GoogleAdWords connection category */ - developerToken?: string; - password?: string; +/** AML Compute properties */ +export interface AmlComputeProperties { + /** Compute OS Type */ + osType?: OsType; + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual Machine priority */ + vmPriority?: VmPriority; + /** Virtual Machine image for AML Compute - windows only */ + virtualMachineImage?: VirtualMachineImage; + /** Network is isolated or not */ + isolatedNetwork?: boolean; + /** Scale settings for AML Compute */ + scaleSettings?: ScaleSettings; + /** Credentials for an administrator user account that will be created on each compute node. */ + userAccountCredentials?: UserAccountCredentials; + /** Virtual network subnet resource ID the compute nodes belong to. */ + subnet?: ResourceId; + /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ + remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; /** - * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho - * where user needs to get RefreshToken offline + * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - refreshToken?: string; - /** Required by QuickBooks and Xero connection categories */ - tenantId?: string; + readonly allocationState?: AllocationState; /** - * Concur, ServiceNow auth server AccessToken grant type is 'Password' - * which requires UsernamePassword + * The time at which the compute entered its current allocation state. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - username?: string; -} - -export interface WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; -} - -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; + readonly allocationStateTransitionTime?: Date; + /** + * Collection of errors encountered by various compute nodes during node setup. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The number of compute nodes currently assigned to the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly currentNodeCount?: number; + /** + * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly targetNodeCount?: number; + /** + * Counts of various node states on the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nodeStateCounts?: NodeStateCounts; + /** 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; + /** A property bag containing additional properties. */ + propertyBag?: Record; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken" | "ManagedIdentity"; +/** Virtual Machine image for Windows AML Compute */ +export interface VirtualMachineImage { + /** Virtual Machine image path */ + id: string; } -/** Asset input type. */ -export interface AssetJobInput { - /** [Required] Input Asset URI. */ - uri: string; - /** Input Asset Delivery Mode. */ - mode?: InputDeliveryMode; +/** Settings for user account that gets created on each on the nodes of a compute. */ +export interface UserAccountCredentials { + /** Name of the administrator user account which can be used to SSH to nodes. */ + adminUserName: string; + /** SSH public key of the administrator user account. */ + adminUserSshPublicKey?: string; + /** Password of the administrator user account. */ + adminUserPassword?: string; } -/** Asset output type. */ -export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; - /** Output Asset Delivery Mode. */ - mode?: OutputDeliveryMode; +/** Counts of various compute node states on the amlCompute. */ +export interface NodeStateCounts { + /** + * Number of compute nodes in idle state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly idleNodeCount?: number; + /** + * Number of compute nodes which are running jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly runningNodeCount?: number; + /** + * Number of compute nodes which are being prepared. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preparingNodeCount?: number; + /** + * Number of compute nodes which are in unusable state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly unusableNodeCount?: number; + /** + * Number of compute nodes which are leaving the amlCompute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly leavingNodeCount?: number; + /** + * Number of compute nodes which are in preempted state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preemptedNodeCount?: number; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Properties(top level) of AmlCompute */ +export interface AmlComputeSchema { + /** Properties of AmlCompute */ + properties?: AmlComputeProperties; } -/** - * AutoML vertical class. - * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical - */ -export interface AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: - | "Classification" - | "Forecasting" - | "ImageClassification" - | "ImageClassificationMultilabel" - | "ImageInstanceSegmentation" - | "ImageObjectDetection" - | "Regression" - | "TextClassification" - | "TextClassificationMultilabel" - | "TextNER"; - /** Log verbosity for the job. */ - logVerbosity?: LogVerbosity; - /** [Required] Training data input. */ - trainingData: MLTableJobInput; +/** Compute Instance properties */ +export interface ComputeInstanceProperties { + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual network subnet resource ID the compute nodes belong to. */ + 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[]; /** - * Target column name: This is prediction values column. - * Also known as label column name in context of classification tasks. + * 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. */ - targetColumnName?: string; + 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. + */ + readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; + /** + * Describes available applications and their endpoints on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly applications?: ComputeInstanceApplication[]; + /** + * Describes information on user who created this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ComputeInstanceCreatedBy; + /** + * Collection of errors encountered on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The current state of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: ComputeInstanceState; + /** The Compute Instance Authorization type. Available values are personal (default). */ + computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; + /** Enable Auto OS Patching. Possible values are: true, false. */ + enableOSPatching?: boolean; + /** Enable root access. Possible values are: true, false. */ + enableRootAccess?: boolean; + /** Enable SSO (single sign on). Possible values are: true, false. */ + enableSSO?: boolean; + /** Release quota if compute instance stopped. Possible values are: true - release quota if compute instance stopped. false - don't release quota when compute instance stopped. */ + releaseQuotaOnStop?: boolean; + /** Settings for a personal compute instance. */ + personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + /** Details of customized scripts to execute for setting up the cluster. */ + setupScripts?: SetupScripts; + /** + * The last operation on ComputeInstance. + * 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. */ + 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; + /** + * Describes informations of containers on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containers?: ComputeInstanceContainer[]; + /** + * Describes informations of dataDisks on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataDisks?: ComputeInstanceDataDisk[]; + /** + * Describes informations of dataMounts on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataMounts?: ComputeInstanceDataMount[]; + /** + * ComputeInstance version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly versions?: ComputeInstanceVersion; } -/** Command job definition. */ -export interface JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: - | "mltable" - | "custom_model" - | "mlflow_model" - | "literal" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the input. */ - description?: string; +/** Specifies settings for autologger. */ +export interface ComputeInstanceAutologgerSettings { + /** Indicates whether mlflow autologger is enabled for notebooks. */ + mlflowAutologger?: MlflowAutologger; } -/** Job output definition container information on where to find job output/logs. */ -export interface JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: - | "custom_model" - | "mlflow_model" - | "mltable" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the output. */ - description?: string; +/** 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. */ + sshPublicAccess?: SshPublicAccess; + /** + * Describes the admin user name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly adminUserName?: string; + /** + * Describes the port for connecting through SSH. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sshPort?: number; + /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ + adminPublicKey?: string; } -export interface QueueSettings { - /** Controls the compute job tier */ - jobTier?: JobTier; +/** 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; + /** + * Metadata about the os patching. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osPatchingStatus?: OsPatchingStatus; } -/** N-Cross validations value. */ -export interface NCrossValidations { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Returns metadata about the os patching. */ +export interface OsPatchingStatus { + /** The os patching status. */ + patchStatus?: PatchStatus; + /** Time of the latest os patching. */ + latestPatchTime?: string; + /** Specifies whether this compute instance is pending for reboot to finish os patching. */ + rebootPending?: boolean; + /** Time of scheduled reboot. */ + scheduledRebootTime?: string; + /** Collection of errors encountered when doing os patching. */ + osPatchingErrors?: ErrorResponse[]; } -/** Forecasting seasonality. */ -export interface Seasonality { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Defines all connectivity endpoints and properties for an ComputeInstance. */ +export interface ComputeInstanceConnectivityEndpoints { + /** + * Public IP Address of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicIpAddress?: string; + /** + * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateIpAddress?: string; } -/** The number of past periods to lag from the target column. */ -export interface TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Defines an Aml Instance application and its connectivity endpoint URI. */ +export interface ComputeInstanceApplication { + /** Name of the ComputeInstance application. */ + displayName?: string; + /** Application' endpoint URI. */ + endpointUri?: string; } -/** Forecasting target rolling window size. */ -export interface TargetRollingWindowSize { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Describes information on user who created this ComputeInstance. */ +export interface ComputeInstanceCreatedBy { + /** + * Name of the user. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userName?: string; + /** + * Uniquely identifies user' Azure Active Directory organization. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userOrgId?: string; + /** + * Uniquely identifies the user within his/her organization. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userId?: string; } -/** Base definition for Azure datastore contents configuration. */ -export interface AzureDatastore { - /** Azure Subscription Id */ - subscriptionId?: string; - /** Azure Resource Group name */ - resourceGroup?: string; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; } -/** 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 */ - policyType: "Bandit" | "MedianStopping" | "TruncationSelection"; - /** Interval (number of runs) between policy evaluations. */ - evaluationInterval?: number; - /** Number of intervals by which to delay the first evaluation. */ - delayEvaluation?: number; +/** A user that can be assigned to a compute instance. */ +export interface AssignedUser { + /** User’s AAD Object Id. */ + objectId: string; + /** User’s AAD Tenant Id. */ + tenantId: string; } -/** - * The Sampling Algorithm used to generate hyperparameter values, along with properties to - * configure the algorithm - */ -export interface SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; } -export interface DataDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** Customized setup scripts */ +export interface ScriptsToExecute { + /** Script that's run every time the machine starts. */ + startupScript?: ScriptReference; + /** Script that's run only once during provision of the compute. */ + creationScript?: ScriptReference; } -export interface MonitoringThreshold { - /** The threshold value. If null, the set default is dependent on the metric type. */ - value?: number; +/** Script reference */ +export interface ScriptReference { + /** The storage source of the script: inline, workspace. */ + scriptSource?: string; + /** The location of scripts in the mounted volume. */ + scriptData?: string; + /** Optional command line arguments passed to the script to run. */ + scriptArguments?: string; + /** Optional time period passed to timeout command. */ + timeout?: string; } -export interface DataQualityMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** The last operation on ComputeInstance. */ +export interface ComputeInstanceLastOperation { + /** Name of the last operation. */ + operationName?: OperationName; + /** Time of the last operation. */ + operationTime?: Date; + /** Operation status. */ + operationStatus?: OperationStatus; + /** Trigger of operation. */ + operationTrigger?: OperationTrigger; } -export interface PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** The list of schedules to be applied on the computes */ +export interface ComputeSchedules { + /** The list of compute start stop schedules to be applied. */ + computeStartStop?: ComputeStartStopSchedule[]; } -/** Training related configuration. */ -export interface TrainingSettings { - /** Flag for enabling onnx compatible models. */ - enableOnnxCompatibleModels?: boolean; - /** Stack ensemble settings for stack ensemble run. */ - stackEnsembleSettings?: StackEnsembleSettings; - /** Enable stack ensemble run. */ - enableStackEnsemble?: boolean; - /** Enable voting ensemble run. */ - enableVoteEnsemble?: boolean; +/** Compute start stop schedule properties */ +export interface ComputeStartStopSchedule { /** - * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. - * Configure this parameter with a higher value than 300 secs, if more time is needed. + * A system assigned id for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - ensembleModelDownloadTimeout?: string; - /** Flag to turn on explainability on best model. */ - enableModelExplainability?: boolean; - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; -} - -/** Advances setting to customize StackEnsemble run. */ -export interface StackEnsembleSettings { - /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ - stackMetaLearnerType?: StackMetaLearnerType; - /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ - stackMetaLearnerTrainPercentage?: number; - /** Optional parameters to pass to the initializer of the meta-learner. */ - stackMetaLearnerKWargs?: Record; + readonly id?: string; + /** + * The current deployment state of schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningStatus?: ProvisioningStatus; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; + /** [Required] The compute power action. */ + action?: ComputePowerAction; + /** [Required] The schedule trigger type. */ + triggerType?: ComputeTriggerType; + /** Required if triggerType is Recurrence. */ + recurrence?: Recurrence; + /** Required if triggerType is Cron. */ + cron?: Cron; + /** [Deprecated] Not used any more. */ + schedule?: ScheduleBase; } -/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ -export interface TableVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: TableVerticalLimitSettings; +/** The workflow trigger recurrence for ComputeStartStop schedule type. */ +export interface Recurrence { + /** [Required] The frequency to trigger schedule. */ + frequency?: ComputeRecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval?: number; + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; /** - * Number of cross validation folds to be applied on training dataset - * when validation dataset is not provided. + * 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 */ - nCrossValidations?: NCrossValidationsUnion; - /** Columns to use for CVSplit data. */ - cvSplitColumnNames?: string[]; - /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ - weightColumnName?: string; - /** Validation data inputs. */ - validationData?: MLTableJobInput; - /** Test data input. */ - testData?: MLTableJobInput; + timeZone?: string; + /** [Required] The recurrence schedule. */ + schedule?: ComputeRecurrenceSchedule; +} + +export interface ComputeRecurrenceSchedule { + /** [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?: ComputeWeekDay[]; +} + +/** The workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; /** - * The fraction of training dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. + * 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 */ - validationDataSize?: number; + timeZone?: string; /** - * The fraction of test dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. */ - testDataSize?: number; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: TableVerticalFeaturizationSettings; + expression?: string; } -/** Job execution constraints. */ -export interface TableVerticalLimitSettings { - /** Number of iterations. */ - maxTrials?: number; - /** Iteration timeout. */ - trialTimeout?: string; - /** AutoML job timeout. */ - timeout?: string; - /** Maximum Concurrent iterations. */ - maxConcurrentTrials?: number; - /** Max cores per iteration. */ - maxCoresPerTrial?: number; - /** Exit score for the AutoML job. */ - exitScore?: number; - /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ - enableEarlyTermination?: boolean; +export interface ScheduleBase { + /** A system assigned id for the schedule. */ + id?: string; + /** The current deployment state of schedule. */ + provisioningStatus?: ScheduleProvisioningState; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; } -/** Column transformer parameters. */ -export interface ColumnTransformer { - /** Fields to apply transformer logic on. */ - fields?: string[]; +/** Defines an Aml Instance container. */ +export interface ComputeInstanceContainer { + /** Name of the ComputeInstance container. */ + name?: string; + /** Auto save settings. */ + autosave?: Autosave; + /** Information of GPU. */ + gpu?: string; + /** network of this container. */ + network?: Network; + /** Environment information of this container. */ + environment?: ComputeInstanceEnvironmentInfo; /** - * Different properties to be passed to transformer. - * Input expected is dictionary of key,value pairs in JSON format. + * services of this containers. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parameters?: Record; -} - -/** Featurization Configuration. */ -export interface FeaturizationSettings { - /** Dataset language, useful for the text data. */ - datasetLanguage?: string; + readonly services?: Record[]; } -/** Base definition for job distribution configuration. */ -export interface DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi" | "PyTorch" | "TensorFlow"; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -export interface JobLimits { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Command" | "Sweep"; - /** The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds. */ - timeout?: string; +/** Defines an Aml Instance DataDisk. */ +export interface ComputeInstanceDataDisk { + /** Caching type of Data Disk. */ + caching?: Caching; + /** The initial disk size in gigabytes. */ + diskSizeGB?: number; + /** The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. */ + lun?: number; + /** type of this storage account. */ + storageAccountType?: StorageAccountType; } -/** Resource requirements for each container instance within an online deployment. */ -export interface ContainerResourceRequirements { - /** Container resource request info: */ - containerResourceRequests?: ContainerResourceSettings; - /** Container resource limit info: */ - containerResourceLimits?: ContainerResourceSettings; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: string; } -export interface ContainerResourceSettings { - /** - * Number of vCPUs request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - cpu?: string; - /** - * Memory size request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - memory?: string; - /** - * Number of Nvidia GPU cards request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - gpu?: string; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -export interface MonitorDefinition { - /** The entities targeted by the monitor. */ - monitoringTarget?: MonitoringTarget; - /** [Required] The signals to monitor. */ - signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; - /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ - computeConfiguration: MonitorComputeConfigurationBaseUnion; - /** The monitor's notification settings. */ - alertNotificationSettings?: MonitorNotificationSettings; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -/** Monitoring target definition. */ -export interface MonitoringTarget { - /** Reference to the model asset targeted by this monitor. */ - modelId?: string; - /** Reference to the deployment asset targeted by this monitor. */ - deploymentId?: string; - /** [Required] The machine learning task type of the monitored model. */ - taskType: ModelTaskType; -} +export interface VirtualMachineSchemaProperties { + /** Virtual Machine size */ + virtualMachineSize?: string; + /** Port open for ssh connections. */ + sshPort?: number; + /** Notebook server port open for ssh connections. */ + notebookServerPort?: number; + /** Public IP address of the virtual machine. */ + address?: string; + /** Admin credentials for virtual machine */ + administratorAccount?: VirtualMachineSshCredentials; + /** Indicates whether this compute will be used for running notebooks. */ + isNotebookInstanceCompute?: boolean; +} -export interface MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: - | "Custom" - | "DataDrift" - | "DataQuality" - | "FeatureAttributionDrift" - | "PredictionDrift"; - /** The current notification mode for this signal. */ - notificationTypes?: MonitoringNotificationType[]; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; +/** Admin credentials for virtual machine */ +export interface VirtualMachineSshCredentials { + /** Username of admin account */ + username?: string; + /** Password of admin account */ + password?: string; + /** Public key data */ + publicKeyData?: string; + /** Private key data */ + privateKeyData?: string; } -/** Monitor compute configuration base definition. */ -export interface MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; +/** HDInsight compute properties */ +export interface HDInsightProperties { + /** Port open for ssh connections on the master node of the cluster. */ + sshPort?: number; + /** Public IP address of the master node of the cluster. */ + address?: string; + /** Admin credentials for master node of the cluster */ + administratorAccount?: VirtualMachineSshCredentials; } -export interface MonitorNotificationSettings { - /** The AML notification email settings. */ - emailNotificationSettings?: MonitorEmailNotificationSettings; +export interface HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; } -export interface MonitorEmailNotificationSettings { - /** The email recipient list which has a limitation of 499 characters in total. */ - emails?: string[]; +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; } -export interface CustomMetricThreshold { - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; - /** [Required] The user-defined metric to calculate. */ - metric: string; +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; } -/** Monitoring input data base definition. */ -export interface MonitoringInputDataBase { +export interface DataLakeAnalyticsSchema { + properties?: DataLakeAnalyticsSchemaProperties; +} + +export interface DataLakeAnalyticsSchemaProperties { + /** DataLake Store Account Name */ + dataLakeStoreAccountName?: string; +} + +export interface SynapseSparkProperties { + /** Auto scale properties. */ + autoScaleProperties?: AutoScaleProperties; + /** Auto pause properties. */ + autoPauseProperties?: AutoPauseProperties; + /** Spark version. */ + sparkVersion?: string; + /** The number of compute nodes currently assigned to the compute. */ + nodeCount?: number; + /** Node size. */ + nodeSize?: string; + /** Node size family. */ + nodeSizeFamily?: string; + /** Azure subscription identifier. */ + subscriptionId?: string; + /** Name of the resource group in which workspace is located. */ + resourceGroup?: string; + /** Name of Azure Machine Learning workspace. */ + workspaceName?: string; + /** Pool name. */ + poolName?: string; +} + +/** Auto scale properties */ +export interface AutoScaleProperties { + minNodeCount?: number; + enabled?: boolean; + maxNodeCount?: number; +} + +/** Auto pause properties */ +export interface AutoPauseProperties { + delayInMinutes?: number; + enabled?: boolean; +} + +/** Properties of AksComputeSecrets */ +export interface AksComputeSecretsProperties { + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + userKubeConfig?: string; + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + adminKubeConfig?: string; + /** Image registry pull secret. */ + imagePullSecretName?: string; +} + +export interface VirtualMachineSecretsSchema { + /** Admin credentials for virtual machine. */ + administratorAccount?: VirtualMachineSshCredentials; +} + +/** Properties of Databricks Compute Secrets */ +export interface DatabricksComputeSecretsProperties { + /** access token for databricks account. */ + databricksAccessToken?: string; +} + +export interface MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed" | "Rolling" | "Static"; - /** The context metadata of the data source. */ - dataContext?: string; - /** [Required] Specifies the type of job. */ - jobInputType: JobInputType; + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +} + +/** Monitor compute identity base definition. */ +export interface MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken" | "ManagedIdentity"; +} + +/** Asset input type. */ +export interface AssetJobInput { + /** Input Asset Delivery Mode. */ + mode?: InputDeliveryMode; /** [Required] Input Asset URI. */ uri: string; - /** Mapping of column names to special uses. */ - columns?: { [propertyName: string]: string | null }; } -export interface FeatureImportanceSettings { - /** The mode of operation for computing feature importance. */ - mode?: FeatureImportanceMode; - /** The name of the target column within the input data asset. */ - targetColumn?: string; +/** Asset output type. */ +export interface AssetJobOutput { + /** Output Asset Delivery Mode. */ + mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; } -export interface FeatureAttributionMetricThreshold { - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; - /** [Required] The feature attribution metric to calculate. */ - metric: FeatureAttributionMetric; +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; } -/** Forecasting specific parameters. */ -export interface ForecastingSettings { - /** - * Country or region for holidays for forecasting tasks. - * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. - */ - countryOrRegionForHolidays?: string; - /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ - timeColumnName?: string; - /** The number of past periods to lag from the target column. */ - targetLags?: TargetLagsUnion; - /** The number of past periods used to create a rolling window average of the target column. */ - targetRollingWindowSize?: TargetRollingWindowSizeUnion; - /** The desired maximum forecast horizon in units of time-series frequency. */ - forecastHorizon?: ForecastHorizonUnion; - /** - * The names of columns used to group a timeseries. It can be used to create multiple series. - * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. - */ - timeSeriesIdColumnNames?: string[]; - /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ - frequency?: string; - /** Flag for generating lags for the numeric features with 'auto' or null. */ - featureLags?: FeatureLags; - /** - * Set time series seasonality as an integer multiple of the series frequency. - * If seasonality is set to 'auto', it will be inferred. - */ - seasonality?: SeasonalityUnion; - /** The parameter defining how if AutoML should handle short time series. */ - shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; - /** Configure STL Decomposition of the time-series target column. */ - useStl?: UseStl; - /** - * The function to be used to aggregate the time series target column to conform to a user specified frequency. - * If the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: "sum", "max", "min" and "mean". - */ - targetAggregateFunction?: TargetAggregationFunction; - /** - * Number of periods between the origin time of one CV fold and the next fold. For - * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be - * three days apart. - */ - cvStepSize?: number; +/** Job output definition container information on where to find job output/logs. */ +export interface JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: + | "custom_model" + | "mlflow_model" + | "mltable" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the output. */ + description?: string; +} + +export interface QueueSettings { + /** Controls the compute job tier */ + jobTier?: JobTier; } /** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * AutoML vertical class. + * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical */ -export interface ImageModelSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: boolean; - /** Settings for advanced scenarios. */ - advancedSettings?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: number; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: number; - /** Frequency to store model checkpoints. Must be a positive integer. */ - checkpointFrequency?: number; - /** The id of a previous run that has a pretrained checkpoint for incremental training. */ - checkpointRunId?: string; - /** The pretrained checkpoint model for incremental training. */ - checkpointModel?: MLFlowModelJobInput; - /** Whether to use distributed training. */ - distributed?: boolean; - /** Enable early stopping logic during training. */ - earlyStopping?: boolean; - /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. - */ - earlyStoppingDelay?: number; - /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. - */ - earlyStoppingPatience?: number; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: number; - /** Enable normalization when exporting ONNX model. */ - enableOnnxNormalization?: boolean; - /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. - */ - gradientAccumulationStep?: number; - /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - layersToFreeze?: number; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: number; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: LearningRateScheduler; +export interface AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: + | "Classification" + | "Forecasting" + | "ImageClassification" + | "ImageClassificationMultilabel" + | "ImageInstanceSegmentation" + | "ImageObjectDetection" + | "Regression" + | "TextClassification" + | "TextClassificationMultilabel" + | "TextNER"; + /** Log verbosity for the job. */ + logVerbosity?: LogVerbosity; /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * Target column name: This is prediction values column. + * Also known as label column name in context of classification tasks. */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: number; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: boolean; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: number; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: number; - /** Type of optimizer. */ - optimizer?: StochasticOptimizer; - /** Random seed to be used when using deterministic training. */ - randomSeed?: number; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: number; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: number; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: number; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: number; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: number; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: number; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: number; + targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) - * where distribution name can be: uniform, quniform, loguniform, etc - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: string; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: string; - /** Whether to use distributer training. */ - distributed?: string; - /** Enable early stopping logic during training. */ - earlyStopping?: string; - /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. - */ - earlyStoppingDelay?: string; - /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. - */ - earlyStoppingPatience?: string; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: string; - /** Enable normalization when exporting ONNX model. */ - enableOnnxNormalization?: string; - /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. - */ - gradientAccumulationStep?: string; - /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - layersToFreeze?: string; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: string; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: string; - /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: string; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: string; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: string; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: string; - /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ - optimizer?: string; - /** Random seed to be used when using deterministic training. */ - randomSeed?: string; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: string; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: string; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: string; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: string; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: string; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: string; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: string; +/** Command job definition. */ +export interface JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: + | "mltable" + | "mlflow_model" + | "custom_model" + | "literal" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the input. */ + description?: string; } -/** - * Abstract class for AutoML tasks that train image (computer vision) models - - * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. - */ -export interface ImageVertical { - /** [Required] Limit settings for the AutoML job. */ - limitSettings: ImageLimitSettings; - /** Model sweeping and hyperparameter sweeping related settings. */ - sweepSettings?: ImageSweepSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; - /** - * The fraction of training dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. - */ - validationDataSize?: number; +/** N-Cross validations value. */ +export interface NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; } -/** Limit settings for the AutoML job. */ -export interface ImageLimitSettings { - /** Maximum number of AutoML iterations. */ - maxTrials?: number; - /** AutoML job timeout. */ - timeout?: string; - /** Maximum number of concurrent AutoML iterations. */ - maxConcurrentTrials?: number; +/** Forecasting seasonality. */ +export interface Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; } -/** Model sweeping and hyperparameter sweeping related settings. */ -export interface ImageSweepSettings { - /** [Required] Type of the hyperparameter sampling algorithms. */ - samplingAlgorithm: SamplingAlgorithmType; - /** Type of early termination policy. */ - earlyTermination?: EarlyTerminationPolicyUnion; +/** The number of past periods to lag from the target column. */ +export interface TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; } -/** OneLake artifact (data source) configuration. */ -export interface OneLakeArtifact { +/** Forecasting target rolling window size. */ +export interface TargetRollingWindowSize { /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; - /** [Required] OneLake artifact name */ - artifactName: string; + mode: "Auto" | "Custom"; } -/** - * Abstract class for NLP related AutoML tasks. - * NLP - Natural Language Processing. - */ -export interface NlpVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: NlpVerticalLimitSettings; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: NlpVerticalFeaturizationSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; +/** Base definition for Azure datastore contents configuration. */ +export interface AzureDatastore { + /** Azure Resource Group name */ + resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; } -/** Job execution constraints. */ -export interface NlpVerticalLimitSettings { - /** AutoML job timeout. */ - timeout?: string; - /** Number of AutoML iterations. */ - maxTrials?: number; - /** Maximum Concurrent AutoML iterations. */ - maxConcurrentTrials?: number; +/** Azure Open AI hyperparameters for fine tuning. */ +export interface AzureOpenAiHyperParameters { + /** Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. */ + batchSize?: number; + /** Scaling factor for the learning rate. A smaller learning rate may be useful to avoid over fitting. */ + learningRateMultiplier?: number; + /** The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. */ + nEpochs?: number; } -/** Optimization objective. */ -export interface Objective { - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; - /** [Required] Defines supported metric goals for hyperparameter tuning */ - goal: Goal; +export interface FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI" | "Custom"; + /** [Required] Input model for fine tuning. */ + model: MLFlowModelJobInput; + /** [Required] Fine tuning task type. */ + taskType: FineTuningTaskType; + /** [Required] Training data for fine tuning. */ + trainingData: JobInputUnion; + /** Validation data for fine tuning. */ + validationData?: JobInputUnion; } -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; +/** 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 */ + policyType: "Bandit" | "MedianStopping" | "TruncationSelection"; + /** Number of intervals by which to delay the first evaluation. */ + delayEvaluation?: number; + /** Interval (number of runs) between policy evaluations. */ + evaluationInterval?: number; } -/** Spark job entry point definition. */ -export interface SparkJobEntry { +/** + * The Sampling Algorithm used to generate hyperparameter values, along with properties to + * configure the algorithm + */ +export interface SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; + samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; } -/** Trial component definition. */ -export interface TrialComponent { - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [Required] The ARM resource ID of the Environment specification for the job. */ - environmentId: string; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; +export interface DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -/** The PE network resource that is linked to this PE connection. */ -export interface PrivateEndpointResource extends PrivateEndpoint { - /** The subnetId that the private endpoint is connected to. */ - subnetArmId?: string; +export interface MonitoringThreshold { + /** The threshold value. If null, the set default is dependent on the metric type. */ + value?: number; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface RegistryPartialManagedServiceIdentity - extends ManagedServiceIdentity {} +export interface DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} -/** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - /** - * The provisioning state of the private endpoint connection resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +export interface PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -/** An object that represents a machine learning workspace. */ -export interface Workspace extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - kind?: string; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The immutable id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly workspaceId?: string; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. This name in mutable */ - friendlyName?: string; - /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ - keyVault?: string; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ - storageAccount?: string; - /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ - discoveryUrl?: string; - /** - * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** The encryption settings of Azure ML workspace. */ - encryption?: EncryptionProperty; - /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ - hbiWorkspace?: boolean; - /** - * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serviceProvisionedResourceGroup?: string; - /** - * Count of private connections in the workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateLinkCount?: number; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The flag to indicate whether to allow public access when behind VNet. */ - allowPublicAccessWhenBehindVnet?: boolean; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; +/** Training related configuration. */ +export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ + enableModelExplainability?: boolean; + /** Flag for enabling onnx compatible models. */ + enableOnnxCompatibleModels?: boolean; + /** Enable stack ensemble run. */ + enableStackEnsemble?: boolean; + /** Enable voting ensemble run. */ + enableVoteEnsemble?: boolean; /** - * The list of private endpoint connections in the workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. + * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. + * Configure this parameter with a higher value than 300 secs, if more time is needed. */ - readonly privateEndpointConnections?: PrivateEndpointConnection[]; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** The list of shared private link resources in this workspace. */ - sharedPrivateLinkResources?: SharedPrivateLinkResource[]; + ensembleModelDownloadTimeout?: string; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; +} + +/** Advances setting to customize StackEnsemble run. */ +export interface StackEnsembleSettings { + /** Optional parameters to pass to the initializer of the meta-learner. */ + stackMetaLearnerKWargs?: Record; + /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ + stackMetaLearnerTrainPercentage?: number; + /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ + stackMetaLearnerType?: StackMetaLearnerType; +} + +/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ +export interface TableVertical { + /** Columns to use for CVSplit data. */ + cvSplitColumnNames?: string[]; + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: TableVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: TableVerticalLimitSettings; /** - * The notebook info of Azure ML workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of cross validation folds to be applied on training dataset + * when validation dataset is not provided. */ - readonly notebookInfo?: NotebookResourceInfo; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; + nCrossValidations?: NCrossValidationsUnion; + /** Test data input. */ + testData?: MLTableJobInput; /** - * The tenant id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The fraction of test dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. */ - readonly tenantId?: string; + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; /** - * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. */ - readonly storageHnsEnabled?: boolean; + validationDataSize?: number; + /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ + weightColumnName?: string; +} + +/** Column transformer parameters. */ +export interface ColumnTransformer { + /** Fields to apply transformer logic on. */ + fields?: string[]; /** - * The URI associated with this workspace that machine learning flow must point at to set up tracking. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Different properties to be passed to transformer. + * Input expected is dictionary of key,value pairs in JSON format. */ - readonly mlFlowTrackingUri?: string; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - associatedWorkspaces?: string[]; - enableDataIsolation?: boolean; - hubResourceId?: string; - /** WorkspaceHub's configuration object. */ - workspaceHubConfig?: WorkspaceHubConfig; + parameters?: Record; } -/** Machine Learning compute object wrapped into ARM resource envelope. */ -export interface ComputeResource extends Resource, ComputeResourceSchema { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; -} - -/** A private link resource */ -export interface PrivateLinkResource extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The private link resource group id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly groupId?: string; - /** - * The private link resource required member names. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly requiredMembers?: string[]; - /** The private link resource Private link DNS zone name. */ - requiredZoneNames?: string[]; -} - -export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { - properties: WorkspaceConnectionPropertiesV2Union; -} - -/** Outbound Rule Basic Resource for the managed network of a machine learning workspace. */ -export interface OutboundRuleBasicResource extends Resource { - /** Outbound Rule for the managed network of a machine learning workspace. */ - properties: OutboundRuleUnion; -} - -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} - -/** 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; -} - -/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint"; - /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ - destination?: PrivateEndpointDestination; -} - -/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ -export interface ServiceTagOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "ServiceTag"; - /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ - destination?: ServiceTagDestination; -} - -/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ -export interface FqdnOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FQDN"; - destination?: string; -} - -/** A Machine Learning compute based on AKS. */ -export interface Aks extends Compute, AKSSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; +/** Featurization Configuration. */ +export interface FeaturizationSettings { + /** Dataset language, useful for the text data. */ + datasetLanguage?: string; } -/** A Machine Learning compute based on Kubernetes Compute. */ -export interface Kubernetes extends Compute, KubernetesSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Kubernetes"; +/** Job execution constraints. */ +export interface TableVerticalLimitSettings { + /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ + enableEarlyTermination?: boolean; + /** Exit score for the AutoML job. */ + exitScore?: number; + /** Maximum Concurrent iterations. */ + maxConcurrentTrials?: number; + /** Max cores per iteration. */ + maxCoresPerTrial?: number; + /** Number of iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; + /** Iteration timeout. */ + trialTimeout?: string; } -/** An Azure Machine Learning compute. */ -export interface AmlCompute extends Compute, AmlComputeSchema { +/** Base definition for job distribution configuration. */ +export interface DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AmlCompute"; + distributionType: "Mpi" | "PyTorch" | "TensorFlow"; } -/** An Azure Machine Learning compute instance. */ -export interface ComputeInstance extends Compute, ComputeInstanceSchema { +export interface JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ComputeInstance"; + jobLimitsType: "Command" | "Sweep"; + /** The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds. */ + timeout?: string; } -/** A Machine Learning compute based on Azure Virtual Machines. */ -export interface VirtualMachine extends Compute, VirtualMachineSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; +/** Resource requirements for each container instance within an online deployment. */ +export interface ContainerResourceRequirements { + /** Container resource limit info: */ + containerResourceLimits?: ContainerResourceSettings; + /** Container resource request info: */ + containerResourceRequests?: ContainerResourceSettings; } -/** A HDInsight compute. */ -export interface HDInsight extends Compute, HDInsightSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "HDInsight"; +export interface ContainerResourceSettings { + /** + * Number of vCPUs request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + cpu?: string; + /** + * Number of Nvidia GPU cards request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + gpu?: string; + /** + * Memory size request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + memory?: string; } -/** A DataFactory compute. */ -export interface DataFactory extends Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataFactory"; +export interface MonitorDefinition { + /** The monitor's notification settings. */ + alertNotificationSettings?: MonitorNotificationSettings; + /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ + computeConfiguration: MonitorComputeConfigurationBaseUnion; + /** The entities targeted by the monitor. */ + monitoringTarget?: MonitoringTarget; + /** [Required] The signals to monitor. */ + signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; } -/** A DataFactory compute. */ -export interface Databricks extends Compute, DatabricksSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; +export interface MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; } -/** A DataLakeAnalytics compute. */ -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataLakeAnalytics"; +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; } -/** A SynapseSpark compute. */ -export interface SynapseSpark extends Compute { +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "SynapseSpark"; - properties?: SynapseSparkProperties; + computeType: "ServerlessSpark"; } -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface AksComputeSecrets - extends ComputeSecrets, - AksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; +/** Monitoring target definition. */ +export interface MonitoringTarget { + /** Reference to the deployment asset targeted by this monitor. */ + deploymentId?: string; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; + /** [Required] The machine learning task type of the monitored model. */ + taskType: ModelTaskType; } -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface VirtualMachineSecrets - extends ComputeSecrets, - VirtualMachineSecretsSchema { +export interface MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; + signalType: + | "Custom" + | "DataDrift" + | "DataQuality" + | "FeatureAttributionDrift" + | "PredictionDrift"; + /** The current notification mode for this signal. */ + notificationTypes?: MonitoringNotificationType[]; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } -/** Secrets related to a Machine Learning compute based on Databricks. */ -export interface DatabricksComputeSecrets - extends ComputeSecrets, - DatabricksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; +export interface CustomMetricThreshold { + /** [Required] The user-defined metric to calculate. */ + metric: string; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +/** Monitoring input data base definition. */ +export interface MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; + inputDataType: "Fixed" | "Rolling" | "Static"; + /** Mapping of column names to special uses. */ + columns?: { [propertyName: string]: string | null }; + /** The context metadata of the data source. */ + dataContext?: string; + /** [Required] Specifies the type of job. */ + jobInputType: JobInputType; + /** [Required] Input Asset URI. */ + uri: string; } -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; +export interface FeatureImportanceSettings { + /** The mode of operation for computing feature importance. */ + mode?: FeatureImportanceMode; + /** The name of the target column within the input data asset. */ + targetColumn?: string; } -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; +export interface FeatureAttributionMetricThreshold { + /** [Required] The feature attribution metric to calculate. */ + metric: FeatureAttributionMetric; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; +export interface JobResources { + /** List of instance types to choose from. */ + instanceTypes?: string[]; } -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ManagedIdentity"; - credentials?: WorkspaceConnectionManagedIdentity; -} - -/** This connection type covers the AAD auth for any applicable Azure service */ -export interface AADAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AAD"; -} - -export interface AccessKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccessKey"; - credentials?: WorkspaceConnectionAccessKey; -} - -/** This connection type covers the account key connection for Azure storage */ -export interface AccountKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccountKey"; - credentials?: WorkspaceConnectionAccountKey; -} - -/** - * This connection type covers the generic ApiKey auth connection categories, for examples: - * AzureOpenAI: - * Category:= AzureOpenAI - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {ApiBase} - * - * CognitiveService: - * Category:= CognitiveService - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= ServiceRegion={serviceRegion} - * - * CognitiveSearch: - * Category:= CognitiveSearch - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {Endpoint} - * - * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields - */ -export interface ApiKeyAuthWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ApiKey"; - /** Api key object for workspace connection credential. */ - credentials?: WorkspaceConnectionApiKey; -} - -/** - * Category:= CustomKeys - * AuthType:= CustomKeys (as type discriminator) - * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys - * Target:= {any value} - * Use Metadata property bag for ApiVersion and other metadata fields - */ -export interface CustomKeysWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "CustomKeys"; - /** Custom Keys credential object */ - credentials?: CustomKeys; -} - -export interface OAuth2AuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "OAuth2"; +/** Forecasting specific parameters. */ +export interface ForecastingSettings { /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. + * Country or region for holidays for forecasting tasks. + * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. */ - credentials?: WorkspaceConnectionOAuth2; -} - -export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ServicePrincipal"; - credentials?: WorkspaceConnectionServicePrincipal; -} - -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; + countryOrRegionForHolidays?: string; /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of periods between the origin time of one CV fold and the next fold. For + * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be + * three days apart. */ - readonly latestVersion?: string; + cvStepSize?: number; + /** Flag for generating lags for the numeric features with 'auto' or null. */ + featureLags?: FeatureLags; + /** The desired maximum forecast horizon in units of time-series frequency. */ + forecastHorizon?: ForecastHorizonUnion; + /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ + frequency?: string; /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. + * Set time series seasonality as an integer multiple of the series frequency. + * If seasonality is set to 'auto', it will be inferred. */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; -} - -/** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { - /** [Required] Storage type backing the datastore. */ - datastoreType: DatastoreType; + seasonality?: SeasonalityUnion; + /** The parameter defining how if AutoML should handle short time series. */ + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; /** - * 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. + * The function to be used to aggregate the time series target column to conform to a user specified frequency. + * If the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: "sum", "max", "min" and "mean". */ - readonly isDefault?: boolean; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; -} - -/** DTO object representing feature */ -export interface FeatureProperties extends ResourceBase { - /** Specifies name */ - featureName?: string; - /** Specifies type */ - dataType?: FeatureDataType; + targetAggregateFunction?: TargetAggregationFunction; + /** The number of past periods to lag from the target column. */ + targetLags?: TargetLagsUnion; + /** The number of past periods used to create a rolling window average of the target column. */ + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ + timeColumnName?: string; + /** + * The names of columns used to group a timeseries. It can be used to create multiple series. + * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. + */ + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; } -/** Base definition for a job. */ -export interface JobBaseProperties extends ResourceBase { - /** [Required] Specifies the type of job. */ - jobType: JobType; - /** Display name of job. */ - displayName?: string; +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelSettings { + /** Settings for advanced scenarios. */ + advancedSettings?: string; + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: boolean; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: number; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: number; + /** Frequency to store model checkpoints. Must be a positive integer. */ + checkpointFrequency?: number; + /** The pretrained checkpoint model for incremental training. */ + checkpointModel?: MLFlowModelJobInput; + /** The id of a previous run that has a pretrained checkpoint for incremental training. */ + checkpointRunId?: string; + /** Whether to use distributed training. */ + distributed?: boolean; + /** Enable early stopping logic during training. */ + earlyStopping?: boolean; /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. */ - readonly status?: JobStatus; - /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ - experimentName?: string; + earlyStoppingDelay?: number; /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. */ - services?: { [propertyName: string]: JobService | null }; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Is the asset archived? */ - isArchived?: boolean; + earlyStoppingPatience?: number; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: boolean; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; /** - * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - * Defaults to AmlToken if null. + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. */ - identity?: IdentityConfigurationUnion; - /** ARM resource ID of the component resource. */ - componentId?: string; - /** Notification setting for the job */ - notificationSetting?: NotificationSetting; -} - -/** Base definition of a schedule */ -export interface ScheduleProperties extends ResourceBase { - /** Display name of schedule. */ - displayName?: string; - /** Is the schedule enabled? */ - isEnabled?: boolean; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; + gradientAccumulationStep?: number; /** - * Provisioning state for the schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ - readonly provisioningState?: ScheduleProvisioningStatus; -} - -export interface SASCredentialDto extends PendingUploadCredentialDto { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; -} - -/** Access credential with no credentials */ -export interface AnonymousAccessCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "NoCredentials"; -} - -/** Credential for docker with username and password */ -export interface DockerCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "DockerCredentials"; - /** DockerCredential user name */ - userName?: string; - /** DockerCredential user password */ - password?: string; -} - -/** Credential for user managed identity */ -export interface ManagedIdentityCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "ManagedIdentity"; - /** ManagedIdentityCredential identity type */ - managedIdentityType?: string; - /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityResourceId?: string; - /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityClientId?: string; - /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityPrincipalId?: string; - /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityTenantId?: string; -} - -/** Access with full SAS uri */ -export interface SASCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; -} - -/** Batch endpoint configuration. */ -export interface BatchEndpointProperties extends EndpointPropertiesBase { - /** Default values for Batch Endpoint */ - defaults?: BatchEndpointDefaults; + layersToFreeze?: number; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: number; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: LearningRateScheduler; /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ - readonly provisioningState?: EndpointProvisioningState; + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: number; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: boolean; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: number; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: number; + /** Type of optimizer. */ + optimizer?: StochasticOptimizer; + /** Random seed to be used when using deterministic training. */ + randomSeed?: number; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: number; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: number; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: number; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: number; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: number; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: number; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: number; } -/** Online endpoint configuration */ -export interface OnlineEndpointProperties extends EndpointPropertiesBase { +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) + * where distribution name can be: uniform, quniform, loguniform, etc + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelDistributionSettings { + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: string; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: string; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: string; + /** Whether to use distributer training. */ + distributed?: string; + /** Enable early stopping logic during training. */ + earlyStopping?: string; /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. */ - readonly provisioningState?: EndpointProvisioningState; + earlyStoppingDelay?: string; /** - * ARM resource ID of the compute if it exists. - * optional + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. */ - compute?: string; - /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ - publicNetworkAccess?: PublicNetworkAccessType; - /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ - traffic?: { [propertyName: string]: number }; - /** 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 }; -} - -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithIdentity - extends PartialMinimalTrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; + earlyStoppingPatience?: string; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: string; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: string; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: string; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: string; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: string; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: string; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: string; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: string; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: string; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: string; + /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ + optimizer?: string; + /** Random seed to be used when using deterministic training. */ + randomSeed?: string; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: string; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: string; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: string; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: string; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: string; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: string; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: string; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku - extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; +/** + * Abstract class for AutoML tasks that train image (computer vision) models - + * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. + */ +export interface ImageVertical { + /** [Required] Limit settings for the AutoML job. */ + limitSettings: ImageLimitSettings; + /** Model sweeping and hyperparameter sweeping related settings. */ + sweepSettings?: ImageSweepSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSkuAndIdentity - extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; +/** Limit settings for the AutoML job. */ +export interface ImageLimitSettings { + /** Maximum number of concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Maximum number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; } -/** Properties for a Batch Pipeline Component Deployment. */ -export interface BatchPipelineComponentDeploymentConfiguration - extends BatchDeploymentConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - deploymentConfigurationType: "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 }; +/** Model sweeping and hyperparameter sweeping related settings. */ +export interface ImageSweepSettings { + /** Type of early termination policy. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; } -/** Reference to an asset via its ARM resource ID. */ -export interface IdAssetReference extends AssetReferenceBase { +/** OneLake artifact (data source) configuration. */ +export interface OneLakeArtifact { /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "Id"; - /** [Required] ARM resource ID of the asset. */ - assetId: string; + artifactType: "LakeHouse"; + /** [Required] OneLake artifact name */ + artifactName: 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"; - /** The path of the file/directory in the datastore. */ - path?: string; - /** ARM resource ID of the datastore where the asset is located. */ - datastoreId?: string; +/** + * Abstract class for NLP related AutoML tasks. + * NLP - Natural Language Processing. + */ +export interface NlpVertical { + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; } -/** 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 */ - referenceType: "OutputPath"; - /** The path of the file/directory in the job output. */ - path?: string; - /** ARM resource ID of the job. */ - jobId?: string; +/** Job execution constraints. */ +export interface NlpVerticalLimitSettings { + /** Maximum Concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; } -export interface DeploymentResourceConfiguration - extends ResourceConfiguration {} - -export interface JobResourceConfiguration extends ResourceConfiguration { - /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ - shmSize?: string; - /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ - dockerArgs?: string; +/** Optimization objective. */ +export interface Objective { + /** [Required] Defines supported metric goals for hyperparameter tuning */ + goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; } -/** Batch inference settings per deployment. */ -export interface BatchDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** Compute target for batch inference operation. */ - compute?: string; - /** Properties relevant to different deployment types. */ - deploymentConfiguration?: BatchDeploymentConfigurationUnion; - /** - * 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]. - * For FileDataset, this value is the count of file failures. - * For TabularDataset, this value is the count of record failures. - * If set to -1 (the lower bound), all failures during batch inference will be ignored. - */ - errorThreshold?: number; - /** - * Retry Settings for the batch inference operation. - * If not provided, will default to the defaults defined in BatchRetrySettings. - */ - retrySettings?: BatchRetrySettings; - /** - * Size of the mini-batch passed to each batch invocation. - * For FileDataset, this is the number of files per mini-batch. - * For TabularDataset, this is the size of the records in bytes, per mini-batch. - */ - miniBatchSize?: number; - /** Logging level for batch inference operation. */ - loggingLevel?: BatchLoggingLevel; - /** Reference to the model asset for the endpoint deployment. */ - model?: AssetReferenceBaseUnion; - /** Indicates maximum number of parallelism per instance. */ - maxConcurrencyPerInstance?: number; - /** Indicates how the output will be organized. */ - outputAction?: BatchOutputAction; - /** Customized output file name for append_row output action. */ - outputFileName?: string; - /** - * Indicates compute configuration for the job. - * If not provided, will default to the defaults defined in ResourceConfiguration. - */ - resources?: DeploymentResourceConfiguration; - /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: DeploymentProvisioningState; +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; } -export interface OnlineDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** [Required] The compute type of the endpoint. */ - endpointComputeType: EndpointComputeType; - /** - * Scale settings for the deployment. - * If it is null or not provided, - * it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment - * and to DefaultScaleSettings for ManagedOnlineDeployment. - */ - scaleSettings?: OnlineScaleSettingsUnion; - /** Request settings for the deployment. */ - requestSettings?: OnlineRequestSettings; - /** The path to mount the model in custom container. */ - modelMountPath?: string; - /** If true, enables Application Insights logging. */ - appInsightsEnabled?: boolean; - /** Liveness probe monitors the health of the container regularly. */ - livenessProbe?: ProbeSettings; - /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ - readinessProbe?: ProbeSettings; - /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: DeploymentProvisioningState; - /** Compute instance type. */ +export interface SparkResourceConfiguration { + /** Optional type of VM used as supported by the compute target. */ instanceType?: string; - /** The URI path to the model. */ - model?: string; - /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ - egressPublicNetworkAccess?: EgressPublicNetworkAccessType; - /** The mdc configuration, we disable mdc when it's null. */ - dataCollector?: DataCollector; + /** Version of spark runtime used for the job. */ + runtimeVersion?: 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; +/** Trial component definition. */ +export interface TrialComponent { + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; } -/** 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; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Thumbprint of the certificate used for authentication. */ - thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; } -/** Empty/none datastore credentials. */ -export interface NoneDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "None"; +/** Account key object for workspace connection credential. */ +export interface WorkspaceConnectionAccountKey { + key?: string; } -/** SAS datastore credentials configuration. */ -export interface SasDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Sas"; - /** [Required] Storage container secrets. */ - secrets: SasDatastoreSecrets; +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; } -/** Service Principal datastore credentials configuration. */ -export interface ServicePrincipalDatastoreCredentials - extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "ServicePrincipal"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Service principal secrets. */ - secrets: ServicePrincipalDatastoreSecrets; +/** The capacity configuration. */ +export interface CapacityConfig { + /** The minimum capacity. */ + minimum?: number; + /** The maximum capacity. */ + maximum?: number; + /** The minimal incremental between allowed values for capacity. */ + step?: number; + /** The default capacity. */ + default?: number; + /** The array of allowed values for capacity. */ + allowedValues?: number[]; } -/** Datastore account key secrets. */ -export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey"; - /** Storage account key. */ - key?: string; +export interface CognitiveServiceEndpointDeploymentResourceProperties { + /** Model used for the endpoint deployment. */ + model: EndpointDeploymentModel; + /** The name of RAI policy. */ + raiPolicyName?: string; + sku?: CognitiveServicesSku; + /** Deployment model version upgrade option. */ + versionUpgradeOption?: DeploymentModelVersionUpgradeOption; } -/** Datastore certificate secrets. */ -export interface CertificateDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Certificate"; - /** Service principal certificate. */ - certificate?: string; +export interface EndpointDeploymentModel { + /** Model format */ + format?: string; + /** Model name. */ + name?: string; + /** Optional. Deployment model source ARM resource ID. */ + source?: string; + /** Model version. */ + version?: string; } -/** Datastore SAS secrets. */ -export interface SasDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Sas"; - /** Storage container SAS token. */ - sasToken?: string; +export interface CognitiveServicesSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: string; } -/** Datastore Service Principal secrets. */ -export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "ServicePrincipal"; - /** Service principal secret. */ - clientSecret?: string; +export interface ServerlessEndpointContentSafety { + /** Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } -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; +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [propertyName: string]: string }; } -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; -} - -/** Webhook details specific for Azure DevOps */ -export interface AzureDevOpsWebhook extends Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; -} - -/** 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"; -} - -/** AML Token identity configuration. */ -export interface AmlToken extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken"; -} - -/** Managed identity configuration. */ -export interface ManagedIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "Managed"; - /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ +export interface WorkspaceConnectionManagedIdentity { clientId?: string; - /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ - objectId?: string; - /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ resourceId?: string; } -/** User identity configuration. */ -export interface UserIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "UserIdentity"; -} - -export interface DefaultScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default"; -} - -export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "TargetUtilization"; - /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ - pollingInterval?: string; - /** Target CPU usage for the autoscaler. */ - targetUtilizationPercentage?: number; - /** The minimum number of instances to always be present. */ - minInstances?: number; - /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ - maxInstances?: number; -} - -export interface CreateMonitorAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor"; - /** [Required] Defines the monitor. */ - monitorDefinition: MonitorDefinition; +export interface ServerlessEndpointModelSettings { + modelId: string; } -export interface EndpointScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "InvokeBatchEndpoint"; +/** + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. + */ +export interface WorkspaceConnectionOAuth2 { + /** Required by Concur connection category */ + authUrl?: string; + /** Client id in the format of UUID */ + clientId?: string; + clientSecret?: string; + /** Required by GoogleAdWords connection category */ + developerToken?: string; + password?: string; /** - * [Required] Defines Schedule action definition details. - * + * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho + * where user needs to get RefreshToken offline */ - endpointInvocationDefinition: Record; -} - -export interface JobScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateJob"; - /** [Required] Defines Schedule action definition details. */ - jobDefinition: JobBasePropertiesUnion; -} - -export interface AllFeatures extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures"; -} - -export interface FeatureSubset extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "FeatureSubset"; - /** [Required] The list of features to include. */ - features: string[]; -} - -export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "TopNByAttribution"; - /** The number of top features to include. */ - top?: number; -} - -/** AML token compute identity definition. */ -export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken"; -} - -/** Managed compute identity definition. */ -export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "ManagedIdentity"; - /** The identity which will be leveraged by the monitoring jobs. */ - identity?: ManagedServiceIdentity; + refreshToken?: string; + /** Required by QuickBooks and Xero connection categories */ + tenantId?: string; + /** + * Concur, ServiceNow auth server AccessToken grant type is 'Password' + * which requires UsernamePassword + */ + username?: string; } -export interface MLTableJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "mltable"; +export interface WorkspaceConnectionPersonalAccessToken { + pat?: string; } -export interface CustomModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "custom_model"; +/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointDestination { + serviceResourceId?: string; + sparkEnabled?: boolean; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + sparkStatus?: RuleStatus; + subresourceTarget?: string; } -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "mlflow_model"; +export interface WorkspaceConnectionSharedAccessSignature { + sas?: string; } -export interface TritonModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "triton_model"; +export interface ServerlessEndpointCapacityReservation { + capacityReservationGroupId: string; + endpointReservedCapacity?: number; } -export interface UriFileJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_file"; +export interface ServerlessEndpointInferenceEndpoint { + /** + * Dictionary of + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly headers?: { [propertyName: string]: string }; + uri: string; } -export interface UriFolderJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_folder"; +export interface ServerlessOffer { + offerName: string; + publisher: string; } -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "custom_model"; +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; } -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mlflow_model"; +/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagDestination { + /** The action enum for networking rule. */ + action?: RuleAction; + /** + * Optional, if provided, the ServiceTag property will be ignored. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; } -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mltable"; +export interface WorkspaceConnectionUsernamePassword { + password?: string; + /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ + securityToken?: string; + username?: string; } -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "triton_model"; -} +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity + extends ManagedServiceIdentity {} -export interface UriFileJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_file"; +/** Machine Learning compute object wrapped into ARM resource envelope. */ +export interface ComputeResource extends Resource, ComputeResourceSchema { + /** The identity of the resource. */ + identity?: ManagedServiceIdentity; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; } -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_folder"; -} +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource extends Resource {} -/** Forecast horizon determined automatically by system. */ -export interface AutoForecastHorizon extends ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; +/** 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; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface CustomForecastHorizon extends ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Forecast horizon value. */ - value: number; +/** The Private Endpoint Connection resource. */ +export interface PrivateEndpointConnection extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The Private Endpoint resource. */ + privateEndpoint?: WorkspacePrivateEndpointResource; + /** The connection state. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** The current provisioning state. */ + provisioningState?: PrivateEndpointConnectionProvisioningState; } -/** Classification task in AutoML Table vertical. */ -export interface Classification extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Classification"; - /** Primary metric for the task. */ - primaryMetric?: ClassificationPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ClassificationTrainingSettings; - /** Positive label for binary metrics calculation. */ - positiveLabel?: string; +/** An object that represents a machine learning workspace. */ +export interface Workspace extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + kind?: string; + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** + * The URI of agents endpoint associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly agentsEndpointUri?: string; + /** The flag to indicate whether to allow public access when behind VNet. */ + allowPublicAccessWhenBehindVnet?: boolean; + /** The flag to indicate whether we will do role assignment for the workspace MSI on resource group level. */ + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + associatedWorkspaces?: string[]; + containerRegistries?: string[]; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ + discoveryUrl?: string; + enableDataIsolation?: boolean; + enableServiceSideCMKEncryption?: boolean; + /** Flag to tell if simplified CMK should be enabled for this workspace. */ + enableSimplifiedCmk?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace. */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionProperty; + existingWorkspaces?: string[]; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ + hbiWorkspace?: boolean; + hubResourceId?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ + keyVault?: string; + keyVaults?: string[]; + /** + * Lazily initialize system datastores until the moment they are first needed. + * When set, delays the moment that containers and file shares are created on the workspace-associated Azure storage account. + */ + lazyInitSystemDatastores?: boolean; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** + * The URI associated with this workspace that machine learning flow must point at to set up tracking. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mlFlowTrackingUri?: string; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; + /** + * The notebook info of Azure ML workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly notebookInfo?: NotebookResourceInfo; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** + * The list of private endpoint connections in the workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * Count of private connections in the workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateLinkCount?: number; + /** + * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** + * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serviceProvisionedResourceGroup?: string; + /** The list of shared private link resources in this workspace. */ + sharedPrivateLinkResources?: SharedPrivateLinkResource[]; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ + storageAccount?: string; + storageAccounts?: string[]; + /** + * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly storageHnsEnabled?: boolean; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; + /** + * The tenant id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; + /** WorkspaceHub's configuration object. */ + workspaceHubConfig?: WorkspaceHubConfig; + /** + * The immutable id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly workspaceId?: string; } -/** Forecasting task in AutoML Table vertical. */ -export interface Forecasting extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Forecasting"; - /** Primary metric for forecasting task. */ - primaryMetric?: ForecastingPrimaryMetrics; - /** Forecasting task specific inputs. */ - forecastingSettings?: ForecastingSettings; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ForecastingTrainingSettings; +export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { + properties: WorkspaceConnectionPropertiesV2Union; } -/** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. - */ -export interface ImageClassification - extends ImageClassificationBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassification"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationPrimaryMetrics; +export interface EndpointDeploymentResourcePropertiesBasicResource + extends Resource { + properties: EndpointDeploymentResourcePropertiesUnion; } -/** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. - */ -export interface ImageClassificationMultilabel - extends ImageClassificationBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassificationMultilabel"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationMultilabelPrimaryMetrics; +export interface RaiBlocklistPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist properties. */ + properties: RaiBlocklistProperties; } -/** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. - */ -export interface ImageInstanceSegmentation - extends ImageObjectDetectionBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageInstanceSegmentation"; - /** Primary metric to optimize for this task. */ - primaryMetric?: InstanceSegmentationPrimaryMetrics; +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist Item properties. */ + properties: RaiBlocklistItemProperties; } -/** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. - */ -export interface ImageObjectDetection - extends ImageObjectDetectionBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageObjectDetection"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ObjectDetectionPrimaryMetrics; +/** Azure OpenAI Content Filters resource. */ +export interface RaiPolicyPropertiesBasicResource extends Resource { + /** Azure OpenAI Content Filters properties. */ + properties: RaiPolicyProperties; } -/** Regression task in AutoML Table vertical. */ -export interface Regression extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Regression"; - /** Primary metric for regression task. */ - primaryMetric?: RegressionPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: RegressionTrainingSettings; +export interface EndpointResourcePropertiesBasicResource extends Resource { + properties: EndpointResourcePropertiesUnion; } -/** - * Text Classification task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassification extends NlpVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassification"; - /** Primary metric for Text-Classification task. */ - primaryMetric?: ClassificationPrimaryMetrics; +export interface OutboundRuleBasicResource extends Resource { + /** Outbound Rule for the managed network of a machine learning workspace. */ + properties: OutboundRuleUnion; } -/** - * Text Classification Multilabel task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassificationMultilabel - extends NlpVertical, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassificationMultilabel"; - /** - * Primary metric for Text-Classification-Multilabel task. - * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; +/** A private link resource */ +export interface PrivateLinkResource extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The private link resource group id. */ + groupId?: string; + /** The private link resource required member names. */ + requiredMembers?: string[]; + /** The private link resource Private link DNS zone name. */ + requiredZoneNames?: string[]; } -/** - * Text-NER task in AutoML NLP vertical. - * NER - Named Entity Recognition. - * NLP - Natural Language Processing. - */ -export interface TextNer extends NlpVertical, AutoMLVertical { +/** A Machine Learning compute based on AKS. */ +export interface Aks extends Compute, AKSSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextNER"; - /** - * Primary metric for Text-NER task. - * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationPrimaryMetrics; + computeType: "AKS"; } -/** Literal input type. */ -export interface LiteralJobInput extends JobInput { +/** A Machine Learning compute based on Kubernetes Compute. */ +export interface Kubernetes extends Compute, KubernetesSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "literal"; - /** [Required] Literal value for the input. */ - value: string; + computeType: "Kubernetes"; } -/** N-Cross validations determined automatically. */ -export interface AutoNCrossValidations extends NCrossValidations { +/** An Azure Machine Learning compute. */ +export interface AmlCompute extends Compute, AmlComputeSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "AmlCompute"; } -/** N-Cross validations are specified by user. */ -export interface CustomNCrossValidations extends NCrossValidations { +/** An Azure Machine Learning compute instance. */ +export interface ComputeInstance extends Compute, ComputeInstanceSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] N-Cross validations value. */ - value: number; + computeType: "ComputeInstance"; } -export interface AutoSeasonality extends Seasonality { +/** A Machine Learning compute based on Azure Virtual Machines. */ +export interface VirtualMachine extends Compute, VirtualMachineSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "VirtualMachine"; } -export interface CustomSeasonality extends Seasonality { +/** A HDInsight compute. */ +export interface HDInsight extends Compute, HDInsightSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Seasonality value. */ - value: number; + computeType: "HDInsight"; } -export interface AutoTargetLags extends TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; +/** A DataFactory compute. */ +export interface DataFactory extends Compute { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "DataFactory"; } -export interface CustomTargetLags extends TargetLags { +/** A DataFactory compute. */ +export interface Databricks extends Compute, DatabricksSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Set target lags values. */ - values: number[]; + computeType: "Databricks"; } -/** Target lags rolling window determined automatically. */ -export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { +/** A DataLakeAnalytics compute. */ +export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "DataLakeAnalytics"; } -export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { +/** A SynapseSpark compute. */ +export interface SynapseSpark extends Compute { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] TargetRollingWindowSize value. */ - value: number; + computeType: "SynapseSpark"; + properties?: SynapseSparkProperties; } -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface AksComputeSecrets + extends ComputeSecrets, + AksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - 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; + computeType: "AKS"; } -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface VirtualMachineSecrets + extends ComputeSecrets, + VirtualMachineSecretsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen1"; - /** [Required] Azure Data Lake store name. */ - storeName: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + computeType: "VirtualMachine"; } -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on Databricks. */ +export interface DatabricksComputeSecrets + extends ComputeSecrets, + DatabricksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen2"; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; - /** [Required] Storage account name. */ - accountName: 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; + computeType: "Databricks"; } -/** Azure File datastore configuration. */ -export interface AzureFileDatastore - extends AzureDatastore, - DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureFile"; - /** [Required] Storage account name. */ - accountName: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: 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; +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; } -/** 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 */ - policyType: "Bandit"; - /** Ratio of the allowed distance from the best performing run. */ - slackFactor?: number; - /** Absolute distance allowed from the best performing run. */ - slackAmount?: number; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } -/** Defines an early termination policy based on running averages of the primary metric of all runs */ -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { - /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "MedianStopping"; +/** 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; } -/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ -export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { - /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "TruncationSelection"; - /** The percentage of runs to cancel at each evaluation interval. */ - truncationPercentage?: number; +/** DTO object representing feature */ +export interface FeatureProperties extends ResourceBase { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; } -/** Defines a Sampling Algorithm that generates values based on previous values */ -export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian"; +/** 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; } -/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Grid"; +/** 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; } -/** Defines a Sampling Algorithm that generates values randomly */ -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { +export interface SASCredentialDto extends PendingUploadCredentialDto { /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Random"; - /** An optional integer to use as the seed for random number generation */ - seed?: number; - /** The specific type of random algorithm */ - rule?: RandomSamplingAlgorithmRule; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -export interface CategoricalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +/** Access credential with no credentials */ +export interface AnonymousAccessCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data drift metric to calculate. */ - metric: CategoricalDataDriftMetric; + credentialType: "NoCredentials"; } -export interface NumericalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +/** Credential for docker with username and password */ +export interface DockerCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data drift metric to calculate. */ - metric: NumericalDataDriftMetric; + credentialType: "DockerCredentials"; + /** DockerCredential user password */ + password?: string; + /** DockerCredential user name */ + userName?: string; } -export interface CategoricalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Credential for user managed identity */ +export interface ManagedIdentityCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data quality metric to calculate. */ - metric: CategoricalDataQualityMetric; + credentialType: "ManagedIdentity"; + /** ManagedIdentityCredential identity type */ + managedIdentityType?: string; + /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityClientId?: string; + /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; + /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityTenantId?: string; } -export interface NumericalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Access with full SAS uri */ +export interface SASCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data quality metric to calculate. */ - metric: NumericalDataQualityMetric; -} - -export interface CategoricalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical prediction drift metric to calculate. */ - metric: CategoricalPredictionDriftMetric; -} - -export interface NumericalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical prediction drift metric to calculate. */ - metric: NumericalPredictionDriftMetric; -} - -/** Classification Training related configuration. */ -export interface ClassificationTrainingSettings extends TrainingSettings { - /** Allowed models for classification task. */ - allowedTrainingAlgorithms?: ClassificationModels[]; - /** Blocked models for classification task. */ - blockedTrainingAlgorithms?: ClassificationModels[]; -} - -/** Forecasting Training related configuration. */ -export interface ForecastingTrainingSettings extends TrainingSettings { - /** Allowed models for forecasting task. */ - allowedTrainingAlgorithms?: ForecastingModels[]; - /** Blocked models for forecasting task. */ - blockedTrainingAlgorithms?: ForecastingModels[]; -} - -/** Regression Training related configuration. */ -export interface RegressionTrainingSettings extends TrainingSettings { - /** Allowed models for regression task. */ - allowedTrainingAlgorithms?: RegressionModels[]; - /** Blocked models for regression task. */ - blockedTrainingAlgorithms?: RegressionModels[]; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -/** Featurization Configuration. */ -export interface TableVerticalFeaturizationSettings - extends FeaturizationSettings { +/** Batch endpoint configuration. */ +export interface BatchEndpointProperties extends EndpointPropertiesBase { + /** Default values for Batch Endpoint */ + defaults?: BatchEndpointDefaults; /** - * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. - * If 'Off' is selected then no featurization is done. - * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - mode?: FeaturizationMode; - /** These transformers shall not be used in featurization. */ - blockedTransformers?: BlockedTransformers[]; - /** Dictionary of column name and its type (int, float, string, datetime etc). */ - columnNameAndTypes?: { [propertyName: string]: string | null }; - /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ - transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; - /** Determines whether to use Dnn based featurizers for data featurization. */ - enableDnnFeaturization?: boolean; + readonly provisioningState?: EndpointProvisioningState; } -export interface NlpVerticalFeaturizationSettings - extends FeaturizationSettings {} - -/** MPI distribution configuration. */ -export interface Mpi extends DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi"; - /** Number of processes per MPI node. */ - processCountPerInstance?: number; +/** Online endpoint configuration */ +export interface OnlineEndpointProperties extends EndpointPropertiesBase { + /** + * ARM resource ID of the compute if it exists. + * optional + */ + compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; + /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ + traffic?: { [propertyName: string]: number }; } -/** PyTorch distribution configuration. */ -export interface PyTorch extends DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "PyTorch"; - /** Number of processes per node. */ - processCountPerInstance?: number; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithIdentity + extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; } -/** TensorFlow distribution configuration. */ -export interface TensorFlow extends DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "TensorFlow"; - /** Number of workers. If not specified, will default to the instance count. */ - workerCount?: number; - /** Number of parameter server tasks. */ - parameterServerCount?: number; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSku + extends PartialMinimalTrackedResource { + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -/** Command Job limit class. */ -export interface CommandJobLimits extends JobLimits { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Command"; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSkuAndIdentity + extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -/** Sweep Job limit class. */ -export interface SweepJobLimits extends JobLimits { +/** Properties for a Batch Pipeline Component Deployment. */ +export interface BatchPipelineComponentDeploymentConfiguration + extends BatchDeploymentConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Sweep"; - /** Sweep Job max total trials. */ - maxTotalTrials?: number; - /** Sweep Job max concurrent trials. */ - maxConcurrentTrials?: number; - /** Sweep Job Trial timeout value. */ - trialTimeout?: string; + deploymentConfigurationType: "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 }; } -export interface CustomMonitoringSignal extends MonitoringSignalBase { +/** Reference to an asset via its ARM resource ID. */ +export interface IdAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "Custom"; - /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ - inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; - /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** [Required] Reference to the component asset used to calculate the custom metrics. */ - componentId: string; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: CustomMetricThreshold[]; + referenceType: "Id"; + /** [Required] ARM resource ID of the asset. */ + assetId: string; } -export interface DataDriftMonitoringSignal extends MonitoringSignalBase { +/** 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 */ - signalType: "DataDrift"; - /** The feature filter which identifies which feature to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + 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; } -export interface DataQualityMonitoringSignal extends MonitoringSignalBase { +/** 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 */ - signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataQualityMetricThresholdBaseUnion[]; - /** [Required] The data produced by the production service which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + referenceType: "OutputPath"; + /** ARM resource ID of the job. */ + jobId?: string; + /** The path of the file/directory in the job output. */ + path?: string; } -export interface FeatureAttributionDriftMonitoringSignal - extends MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "FeatureAttributionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThreshold: FeatureAttributionMetricThreshold; - /** [Required] The settings for computing feature importance. */ - featureImportanceSettings: FeatureImportanceSettings; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion[]; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; -} +export interface DeploymentResourceConfiguration + extends ResourceConfiguration {} -export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "PredictionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; +export interface JobResourceConfiguration extends ResourceConfiguration { + /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ + dockerArgs?: string; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; } -/** Monitor serverless spark compute definition. */ -export interface MonitorServerlessSparkCompute - extends MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; - /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ - computeIdentity: MonitorComputeIdentityBaseUnion; - /** [Required] The instance type running the Spark job. */ - instanceType: string; - /** [Required] The Spark runtime version. */ - runtimeVersion: string; -} - -/** Fixed input data definition. */ -export interface FixedInputData extends MonitoringInputDataBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed"; -} - -/** Rolling input data definition. */ -export interface RollingInputData extends MonitoringInputDataBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Rolling"; - /** [Required] The time offset between the end of the data window and the monitor's current run time. */ - windowOffset: string; - /** [Required] The size of the rolling data window. */ - windowSize: string; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; -} - -/** Static input data definition. */ -export interface StaticInputData extends MonitoringInputDataBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Static"; - /** [Required] The start date of the data window. */ - windowStart: Date; - /** [Required] The end date of the data window. */ - windowEnd: Date; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; -} - -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsClassification extends ImageModelSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: number; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: number; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: number; - /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. - */ - weightedLoss?: number; -} - -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsObjectDetection extends ImageModelSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: number; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: number; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: number; +/** Batch inference settings per deployment. */ +export interface BatchDeploymentProperties + extends EndpointDeploymentPropertiesBase { + /** Compute target for batch inference operation. */ + compute?: string; + /** Properties relevant to different deployment types. */ + deploymentConfiguration?: BatchDeploymentConfigurationUnion; /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. + * 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]. + * For FileDataset, this value is the count of file failures. + * For TabularDataset, this value is the count of record failures. + * If set to -1 (the lower bound), all failures during batch inference will be ignored. */ - maxSize?: number; + errorThreshold?: number; + /** Logging level for batch inference operation. */ + loggingLevel?: BatchLoggingLevel; + /** Indicates maximum number of parallelism per instance. */ + maxConcurrencyPerInstance?: number; /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. + * Size of the mini-batch passed to each batch invocation. + * For FileDataset, this is the number of files per mini-batch. + * For TabularDataset, this is the size of the records in bytes, per mini-batch. */ - minSize?: number; + miniBatchSize?: number; + /** Reference to the model asset for the endpoint deployment. */ + model?: AssetReferenceBaseUnion; + /** Indicates how the output will be organized. */ + outputAction?: BatchOutputAction; + /** Customized output file name for append_row output action. */ + outputFileName?: string; /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - modelSize?: ModelSize; + readonly provisioningState?: DeploymentProvisioningState; /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. + * Indicates compute configuration for the job. + * If not provided, will default to the defaults defined in ResourceConfiguration. */ - multiScale?: boolean; - /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ - nmsIouThreshold?: number; + resources?: DeploymentResourceConfiguration; /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. + * Retry Settings for the batch inference operation. + * If not provided, will default to the defaults defined in BatchRetrySettings. */ - tileGridSize?: string; + retrySettings?: BatchRetrySettings; +} + +export interface OnlineDeploymentProperties + extends EndpointDeploymentPropertiesBase { + /** If true, enables Application Insights logging. */ + appInsightsEnabled?: boolean; + /** The mdc configuration, we disable mdc when it's null. */ + dataCollector?: DataCollector; + /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; + /** [Required] The compute type of the endpoint. */ + endpointComputeType: EndpointComputeType; + /** Compute instance type. */ + instanceType?: string; + /** Liveness probe monitors the health of the container regularly. */ + livenessProbe?: ProbeSettings; + /** The URI path to the model. */ + model?: string; + /** The path to mount the model in custom container. */ + modelMountPath?: string; /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - tileOverlapRatio?: number; + readonly provisioningState?: DeploymentProvisioningState; + /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ + readinessProbe?: ProbeSettings; + /** Request settings for the deployment. */ + requestSettings?: OnlineRequestSettings; /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. + * Scale settings for the deployment. + * If it is null or not provided, + * it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment + * and to DefaultScaleSettings for ManagedOnlineDeployment. */ - tilePredictionsNmsThreshold?: number; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: number; - /** Metric computation method to use for validation metrics. */ - validationMetricType?: ValidationMetricType; + scaleSettings?: OnlineScaleSettingsUnion; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsClassification - extends ImageModelDistributionSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: string; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: string; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: string; - /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. - */ - weightedLoss?: string; +/** 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; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsObjectDetection - extends ImageModelDistributionSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: string; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: string; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: string; - /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - maxSize?: string; - /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - minSize?: string; - /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - modelSize?: string; - /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - multiScale?: string; - /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ - nmsIouThreshold?: string; - /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileGridSize?: string; - /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileOverlapRatio?: string; - /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. - * NMS: Non-maximum suppression - */ - tilePredictionsNmsThreshold?: string; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: string; - /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ - validationMetricType?: string; +/** 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 ImageClassificationBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsClassification; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsClassification[]; +/** Empty/none datastore credentials. */ +export interface NoneDatastoreCredentials extends DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: "None"; } -export interface ImageObjectDetectionBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsObjectDetection; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +/** SAS datastore credentials configuration. */ +export interface SasDatastoreCredentials extends DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: "Sas"; + /** [Required] Storage container secrets. */ + secrets: SasDatastoreSecrets; } -export interface LakeHouseArtifact extends OneLakeArtifact { +/** Service Principal datastore credentials configuration. */ +export interface ServicePrincipalDatastoreCredentials + extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; + credentialsType: "ServicePrincipal"; + /** 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: ServicePrincipalDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; } -export interface SparkJobPythonEntry extends SparkJobEntry { +/** Datastore account key secrets. */ +export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry"; - /** [Required] Relative python file path for job entry point. */ - file: string; + secretsType: "AccountKey"; + /** Storage account key. */ + key?: string; } -export interface SparkJobScalaEntry extends SparkJobEntry { +/** Datastore certificate secrets. */ +export interface CertificateDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobScalaEntry"; - /** [Required] Scala class name used as entry point. */ - className: string; + secretsType: "Certificate"; + /** Service principal certificate. */ + certificate?: string; } -/** Azure Resource Manager resource envelope. */ -export interface CodeContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeContainerProperties; +/** Datastore SAS secrets. */ +export interface SasDatastoreSecrets extends DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "Sas"; + /** Storage container SAS token. */ + sasToken?: string; } -/** Azure Resource Manager resource envelope. */ -export interface CodeVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeVersionProperties; +/** Datastore Service Principal secrets. */ +export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "ServicePrincipal"; + /** Service principal secret. */ + clientSecret?: string; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentContainerProperties; +/** Webhook details specific for Azure DevOps */ +export interface AzureDevOpsWebhook extends Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentVersionProperties; +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; } -/** Azure Resource Manager resource envelope. */ -export interface DataContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataContainerProperties; +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; } -/** Azure Resource Manager resource envelope. */ -export interface DataVersionBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataVersionBasePropertiesUnion; +/** AML Token identity configuration. */ +export interface AmlToken extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken"; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentContainerProperties; +/** Managed identity configuration. */ +export interface ManagedIdentity extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "Managed"; + /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ + clientId?: string; + /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ + objectId?: string; + /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ + resourceId?: string; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentVersionProperties; +/** User identity configuration. */ +export interface UserIdentity extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "UserIdentity"; } -/** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelContainerProperties; +/** 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"; } -/** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelVersionProperties; +export interface DefaultScaleSettings extends OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default"; } -/** Azure Resource Manager resource envelope. */ -export interface Datastore extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DatastorePropertiesUnion; +export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "TargetUtilization"; + /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ + maxInstances?: number; + /** The minimum number of instances to always be present. */ + minInstances?: number; + /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ + pollingInterval?: string; + /** Target CPU usage for the autoscaler. */ + targetUtilizationPercentage?: number; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetContainerProperties; +export interface CreateMonitorAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor"; + /** [Required] Defines the monitor. */ + monitorDefinition: MonitorDefinition; } -/** Azure Resource Manager resource envelope. */ -export interface Feature extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeatureProperties; +export interface EndpointScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "InvokeBatchEndpoint"; + /** + * [Required] Defines Schedule action definition details. + * + */ + endpointInvocationDefinition: Record; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetVersionProperties; +export interface JobScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateJob"; + /** [Required] Defines Schedule action definition details. */ + jobDefinition: JobBasePropertiesUnion; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityContainerProperties; +/** The PE network resource that is linked to this PE connection. */ +export interface PrivateEndpointResource extends PrivateEndpoint { + /** The subnetId that the private endpoint is connected to. */ + subnetArmId?: string; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityVersionProperties; +/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ +export interface FqdnOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN"; + destination?: string; } -/** Azure Resource Manager resource envelope. */ -export interface JobBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: JobBasePropertiesUnion; +/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; + fqdns?: string[]; } -/** Azure Resource Manager resource envelope. */ -export interface MarketplaceSubscription extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: MarketplaceSubscriptionProperties; +/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; } -/** Azure Resource Manager resource envelope. */ -export interface Schedule extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ScheduleProperties; +/** This connection type covers the AAD auth for any applicable Azure service */ +export interface AADAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AAD"; } -export interface BatchEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; } -export interface BatchDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchDeploymentProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +/** This connection type covers the account key connection for Azure storage */ +export interface AccountKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccountKey"; + /** Account key object for workspace connection credential. */ + credentials?: WorkspaceConnectionAccountKey; } -export interface OnlineEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +/** + * This connection type covers the generic ApiKey auth connection categories, for examples: + * AzureOpenAI: + * Category:= AzureOpenAI + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {ApiBase} + * + * CognitiveService: + * Category:= CognitiveService + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= ServiceRegion={serviceRegion} + * + * CognitiveSearch: + * Category:= CognitiveSearch + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {Endpoint} + * + * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields + */ +export interface ApiKeyAuthWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ApiKey"; + /** Api key object for workspace connection credential. */ + credentials?: WorkspaceConnectionApiKey; } -export interface OnlineDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineDeploymentPropertiesUnion; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +/** + * Category:= CustomKeys + * AuthType:= CustomKeys (as type discriminator) + * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys + * Target:= {any value} + * Use Metadata property bag for ApiVersion and other metadata fields + */ +export interface CustomKeysWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "CustomKeys"; + /** Custom Keys credential object */ + credentials?: CustomKeys; } -export interface ServerlessEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: ServerlessEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ManagedIdentity"; + credentials?: WorkspaceConnectionManagedIdentity; } -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; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; - /** Discovery URL for the Registry */ - discoveryUrl?: string; - /** IntellectualPropertyPublisher for the registry */ - intellectualPropertyPublisher?: string; - /** ResourceId of the managed RG if the registry has system created resources */ - managedResourceGroup?: ArmResourceId; - /** MLFlow Registry URI for the Registry */ - mlFlowRegistryUri?: string; - /** Private endpoint connections info used for pending connections in private link portal */ - registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; - /** - * Is the Registry accessible from the internet? - * Possible values: "Enabled" or "Disabled" - */ - publicNetworkAccess?: string; - /** Details of each region the registry is in */ - regionDetails?: RegistryRegionArmDetails[]; +export interface NoneAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "None"; } -/** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer { +export interface OAuth2AuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "OAuth2"; /** - * Provisioning state for the code container. - * NOTE: This property will not be serialized. It can only be populated by the server. + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. */ - readonly provisioningState?: AssetProvisioningState; + credentials?: WorkspaceConnectionOAuth2; } -/** - * Component container definition. - * - */ -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; +export interface PATAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; } -/** Container for data asset versions. */ -export interface DataContainerProperties extends AssetContainer { - /** [Required] Specifies the type of data. */ - dataType: DataType; +export interface SASAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; } -/** Container for environment specification versions. */ -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 ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; } -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; +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; } -/** 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 ContentSafetyEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.ContentSafety"; } -/** 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; +export interface ManagedOnlineEndpointDeploymentResourceProperties + extends EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "managedOnlineEndpoint"; + /** Enum to determine endpoint compute type. */ + endpointComputeType?: EndpointComputeType; + model?: string; } -/** 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; +export interface OpenAIEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.OpenAI"; } -/** Definition of a component version: defines resources that span component types. */ -export interface ComponentVersionProperties extends AssetBase { - /** - * Defines Component definition details. - * - */ - 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; +export interface SpeechEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.Speech"; } -/** Data version base definition */ -export interface DataVersionBaseProperties extends AssetBase { - /** [Required] Specifies the type of data. */ - dataType: DataType; - /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ - dataUri: string; +export interface ContentSafetyEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.ContentSafety"; } -/** Environment version details. */ -export interface EnvironmentVersionProperties extends AssetBase { - /** - * Environment type is either user managed or curated by the Azure ML service - * - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly environmentType?: EnvironmentType; - /** - * Name of the image that will be used for the environment. - * - */ - image?: string; - /** - * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. - * - */ - condaFile?: string; - /** Configuration settings for Docker build context. */ - build?: BuildContext; - /** The OS type of the environment. */ - osType?: OperatingSystemType; - /** Defines configuration specific to inference. */ - inferenceConfig?: InferenceContainerProperties; - /** Defines if image needs to be rebuilt based on base image changes. */ - autoRebuild?: AutoRebuildSetting; - /** - * Provisioning state for the environment version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; - /** Stage in the environment lifecycle assigned to this environment */ - stage?: string; +export interface ManagedOnlineEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "managedOnlineEndpoint"; + /** Enum to determine endpoint authentication mode. */ + authMode?: EndpointAuthMode; + compute?: string; + description?: string; + /** Dictionary of */ + mirrorTraffic?: { [propertyName: string]: number }; + scoringUri?: string; + /** Dictionary of */ + traffic?: { [propertyName: string]: number }; } -/** Model asset version details. */ -export interface ModelVersionProperties extends AssetBase { - /** Mapping of model flavors to their properties. */ - flavors?: { [propertyName: string]: FlavorData | null }; - /** The storage format for this entity. Used for NCD. */ - modelType?: string; - /** The URI path to the model contents. */ - modelUri?: string; - /** Name of the training job which produced this model */ - jobName?: 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; - /** Stage in the model lifecycle assigned to this model */ - stage?: string; +export interface OpenAIEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.OpenAI"; } -/** DTO object representing feature set version */ -export interface FeaturesetVersionProperties extends AssetBase { - /** Specifies the feature spec details */ - specification?: FeaturesetSpecification; - /** Specifies the materialization settings */ - materializationSettings?: MaterializationSettings; - /** Specifies the asset stage */ - stage?: string; - /** Specifies list of entities */ - entities?: string[]; - /** - * 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; +export interface ServerlessEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "serverlessEndpoint"; + authMode?: ServerlessInferenceEndpointAuthMode; + capacityReservation?: ServerlessEndpointCapacityReservation; + contentSafety?: ServerlessEndpointContentSafety; + /** State of the Serverless Endpoint. */ + endpointState?: ServerlessEndpointState; + inferenceEndpoint?: ServerlessEndpointInferenceEndpoint; + marketplaceSubscriptionId?: string; + /** Anything */ + metadata?: any; + modelSettings?: ServerlessEndpointModelSettings; + offer?: ServerlessOffer; } -/** DTO object representing feature entity version */ -export interface FeaturestoreEntityVersionProperties extends AssetBase { - /** Specifies index columns */ - indexColumns?: IndexColumn[]; - /** Specifies the asset stage */ - stage?: string; - /** - * 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; +export interface SpeechEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.Speech"; } -/** OneLake (Trident) datastore configuration. */ -export interface OneLakeDatastore extends DatastoreProperties { +export interface AllFeatures extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "OneLake"; - /** [Required] OneLake artifact backing the datastore. */ - artifact: OneLakeArtifactUnion; - /** [Required] OneLake workspace name. */ - oneLakeWorkspaceName: string; - /** OneLake endpoint to use for the datastore. */ - endpoint?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + filterType: "AllFeatures"; } -/** - * AutoMLJob class. - * Use this class for executing AutoML tasks like Classification/Regression etc. - * See TaskType enum for all the tasks supported. - */ -export interface AutoMLJob extends JobBaseProperties { +export interface FeatureSubset extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "AutoML"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** - * The ARM resource ID of the Environment specification for the job. - * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. - */ - environmentId?: string; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** [Required] This represents scenario which can be one of Tables/NLP/Image */ - taskDetails: AutoMLVerticalUnion; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + filterType: "FeatureSubset"; + /** [Required] The list of features to include. */ + features: string[]; } -/** Command job definition. */ -export interface CommandJob extends JobBaseProperties { +export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Command"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [Required] The ARM resource ID of the Environment specification for the job. */ - environmentId: string; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; - /** Command Job limit. */ - limits?: CommandJobLimits; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** - * Input parameters. - * 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; + filterType: "TopNByAttribution"; + /** The number of top features to include. */ + top?: number; } -/** Pipeline Job definition: defines generic to MFE attributes. */ -export interface PipelineJob extends JobBaseProperties { +/** AML token compute identity definition. */ +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Pipeline"; - /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ - settings?: Record; - /** Jobs construct the Pipeline Job. */ - jobs?: { [propertyName: string]: Record }; - /** Inputs for the pipeline job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Outputs for the pipeline job */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** ARM resource ID of source job. */ - sourceJobId?: string; + computeIdentityType: "AmlToken"; } -/** Spark job definition. */ -export interface SparkJob extends JobBaseProperties { +/** Managed compute identity definition. */ +export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Spark"; - /** Compute Resource configuration for the job. */ - resources?: SparkResourceConfiguration; - /** Arguments for the job. */ - args?: string; - /** [Required] arm-id of the code asset. */ - codeId: string; - /** [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; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Python files used in the job. */ - pyFiles?: string[]; - /** Jar files used in the job. */ - jars?: string[]; - /** Files used in the job. */ - files?: string[]; - /** Archive files used in the job. */ - archives?: string[]; - /** Spark configured properties. */ - conf?: { [propertyName: string]: string | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; + computeIdentityType: "ManagedIdentity"; + /** The identity which will be leveraged by the monitoring jobs. */ + identity?: ManagedServiceIdentity; } -/** Sweep job definition. */ -export interface SweepJob extends JobBaseProperties { +export interface MLTableJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Sweep"; - /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ - searchSpace: Record; - /** [Required] The hyperparameter sampling algorithm */ - samplingAlgorithm: SamplingAlgorithmUnion; - /** Sweep Job limit. */ - limits?: SweepJobLimits; - /** Early termination policies enable canceling poor-performing runs before they complete */ - earlyTermination?: EarlyTerminationPolicyUnion; - /** [Required] Optimization objective. */ - objective: Objective; - /** [Required] Trial component definition. */ - trial: TrialComponent; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobInputType: "mltable"; } -/** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Kubernetes"; - /** The resource requirements for the container (cpu and memory). */ - containerResourceRequirements?: ContainerResourceRequirements; + jobInputType: "mlflow_model"; } -/** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { +export interface CustomModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Managed"; + jobInputType: "custom_model"; } -/** MLTable data definition */ -export interface MLTableData extends DataVersionBaseProperties { +export interface TritonModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "mltable"; - /** Uris referenced in the MLTable definition (required for lineage) */ - referencedUris?: string[]; + jobInputType: "triton_model"; } -/** uri-file data version entity */ -export interface UriFileDataVersion extends DataVersionBaseProperties { +export interface UriFileJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "uri_file"; + jobInputType: "uri_file"; } -/** uri-folder data version entity */ -export interface UriFolderDataVersion extends DataVersionBaseProperties { +export interface UriFolderJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "uri_folder"; + jobInputType: "uri_folder"; } -/** Defines headers for Workspaces_createOrUpdate operation. */ -export interface WorkspacesCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "custom_model"; } -/** Defines headers for Workspaces_update operation. */ -export interface WorkspacesUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "mlflow_model"; } -/** Defines headers for Workspaces_diagnose operation. */ -export interface WorkspacesDiagnoseHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "mltable"; } -/** Defines headers for Workspaces_resyncKeys operation. */ -export interface WorkspacesResyncKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "triton_model"; } -/** Defines headers for Workspaces_prepareNotebook operation. */ -export interface WorkspacesPrepareNotebookHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface UriFileJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "uri_file"; } -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "uri_folder"; } -/** Defines headers for Compute_delete operation. */ -export interface ComputeDeleteHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; +/** Forecast horizon determined automatically by system. */ +export interface AutoForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ -export interface ManagedNetworkSettingsRuleDeleteHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface CustomForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Forecast horizon value. */ + value: number; } -/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Classification task in AutoML Table vertical. */ +export interface Classification extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Classification"; + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; + /** Primary metric for the task. */ + primaryMetric?: ClassificationPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ClassificationTrainingSettings; } -/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Forecasting task in AutoML Table vertical. */ +export interface Forecasting extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Forecasting"; + /** Forecasting task specific inputs. */ + forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ForecastingTrainingSettings; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ +export interface ImageClassification + extends ImageClassificationBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassification"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** 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; +/** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ +export interface ImageClassificationMultilabel + extends ImageClassificationBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassificationMultilabel"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ +export interface ImageInstanceSegmentation + extends ImageObjectDetectionBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageInstanceSegmentation"; + /** Primary metric to optimize for this task. */ + primaryMetric?: InstanceSegmentationPrimaryMetrics; } -/** 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; +/** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ +export interface ImageObjectDetection + extends ImageObjectDetectionBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageObjectDetection"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ObjectDetectionPrimaryMetrics; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Regression task in AutoML Table vertical. */ +export interface Regression extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Regression"; + /** Primary metric for regression task. */ + primaryMetric?: RegressionPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: RegressionTrainingSettings; } -/** 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; +/** + * Text Classification task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassification extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassification"; + /** Primary metric for Text-Classification task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Text Classification Multilabel task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassificationMultilabel + extends NlpVertical, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassificationMultilabel"; + /** + * Primary metric for Text-Classification-Multilabel task. + * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** 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 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Text-NER task in AutoML NLP vertical. + * NER - Named Entity Recognition. + * NLP - Natural Language Processing. + */ +export interface TextNer extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextNER"; + /** + * Primary metric for Text-NER task. + * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationPrimaryMetrics; } -/** 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; +/** Literal input type. */ +export interface LiteralJobInput extends JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "literal"; + /** [Required] Literal value for the input. */ + value: string; } -/** 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; +/** N-Cross validations determined automatically. */ +export interface AutoNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** 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; +/** N-Cross validations are specified by user. */ +export interface CustomNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] N-Cross validations value. */ + value: number; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface AutoSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** 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; +export interface CustomSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Seasonality value. */ + value: number; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface AutoTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** 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; +export interface CustomTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Set target lags values. */ + values: number[]; } -/** 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; +/** Target lags rolling window determined automatically. */ +export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** 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; +export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] TargetRollingWindowSize value. */ + value: number; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure Blob datastore configuration. */ +export interface AzureBlobDatastore + extends AzureDatastore, + 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; } -/** 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; +/** Azure Data Lake Gen1 datastore configuration. */ +export interface AzureDataLakeGen1Datastore + extends AzureDatastore, + 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; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure Data Lake Gen2 datastore configuration. */ +export interface AzureDataLakeGen2Datastore + extends AzureDatastore, + 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. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** 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; +/** Azure File datastore configuration. */ +export interface AzureFileDatastore + extends AzureDatastore, + DatastoreProperties { + /** 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; } -/** 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; +export interface AzureOpenAiFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI"; + /** HyperParameters for fine tuning Azure Open AI model. */ + hyperParameters?: AzureOpenAiHyperParameters; } -/** 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. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomModelFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "Custom"; + /** HyperParameters for fine tuning custom model. */ + hyperParameters?: { [propertyName: string]: string | null }; } -/** 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 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 */ + policyType: "Bandit"; + /** Absolute distance allowed from the best performing run. */ + slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } -/** Defines 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; +/** Defines an early termination policy based on running averages of the primary metric of all runs */ +export interface MedianStoppingPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "MedianStopping"; } -/** Defines headers for CodeVersions_publish operation. */ -export interface CodeVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ +export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "TruncationSelection"; + /** The percentage of runs to cancel at each evaluation interval. */ + truncationPercentage?: number; } -/** Defines headers for ComponentVersions_publish operation. */ -export interface ComponentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values based on previous values */ +export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Bayesian"; } -/** Defines headers for DataVersions_publish operation. */ -export interface DataVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ +export interface GridSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Grid"; } -/** Defines headers for EnvironmentVersions_publish operation. */ -export interface EnvironmentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values randomly */ +export interface RandomSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Random"; + /** The specific type of random algorithm */ + rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } -/** 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; +export interface CategoricalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data drift metric to calculate. */ + metric: CategoricalDataDriftMetric; } -/** 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; +export interface NumericalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data drift metric to calculate. */ + metric: NumericalDataDriftMetric; } -/** 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; +export interface CategoricalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data quality metric to calculate. */ + metric: CategoricalDataQualityMetric; } -/** 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; +export interface NumericalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data quality metric to calculate. */ + metric: NumericalDataQualityMetric; } -/** 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; +export interface CategoricalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical prediction drift metric to calculate. */ + metric: CategoricalPredictionDriftMetric; } -/** 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; +export interface NumericalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical prediction drift metric to calculate. */ + metric: NumericalPredictionDriftMetric; } -/** 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; +/** Classification Training related configuration. */ +export interface ClassificationTrainingSettings extends TrainingSettings { + /** Allowed models for classification task. */ + allowedTrainingAlgorithms?: ClassificationModels[]; + /** Blocked models for classification task. */ + blockedTrainingAlgorithms?: ClassificationModels[]; } -/** 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; +/** Forecasting Training related configuration. */ +export interface ForecastingTrainingSettings extends TrainingSettings { + /** Allowed models for forecasting task. */ + allowedTrainingAlgorithms?: ForecastingModels[]; + /** Blocked models for forecasting task. */ + blockedTrainingAlgorithms?: ForecastingModels[]; } -/** 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; +/** Regression Training related configuration. */ +export interface RegressionTrainingSettings extends TrainingSettings { + /** Allowed models for regression task. */ + allowedTrainingAlgorithms?: RegressionModels[]; + /** Blocked models for regression task. */ + blockedTrainingAlgorithms?: RegressionModels[]; } -/** 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; +/** Featurization Configuration. */ +export interface TableVerticalFeaturizationSettings + extends FeaturizationSettings { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; + /** + * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. + * If 'Off' is selected then no featurization is done. + * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + */ + mode?: FeaturizationMode; + /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ + transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; } -/** 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; -} +export interface NlpVerticalFeaturizationSettings + extends FeaturizationSettings {} -/** Defines headers for MarketplaceSubscriptions_delete operation. */ -export interface MarketplaceSubscriptionsDeleteHeaders { - /** 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; +/** MPI distribution configuration. */ +export interface Mpi extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "Mpi"; + /** Number of processes per MPI node. */ + processCountPerInstance?: number; } -/** Defines headers for MarketplaceSubscriptions_createOrUpdate operation. */ -export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** PyTorch distribution configuration. */ +export interface PyTorch extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "PyTorch"; + /** Number of processes per node. */ + processCountPerInstance?: number; } -/** Defines headers for ModelVersions_publish operation. */ -export interface ModelVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** TensorFlow distribution configuration. */ +export interface TensorFlow extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "TensorFlow"; + /** Number of parameter server tasks. */ + parameterServerCount?: number; + /** Number of workers. If not specified, will default to the instance count. */ + workerCount?: number; } -/** 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; +/** Command Job limit class. */ +export interface CommandJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Command"; } -/** 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; +/** Sweep Job limit class. */ +export interface SweepJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Sweep"; + /** Sweep Job max concurrent trials. */ + maxConcurrentTrials?: number; + /** Sweep Job max total trials. */ + maxTotalTrials?: number; + /** Sweep Job Trial timeout value. */ + trialTimeout?: string; } -/** 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; +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute + extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: 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; +export interface CustomMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; + /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ + inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; + /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: CustomMetricThreshold[]; } -/** 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; +export interface DataDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_delete operation. */ -export interface ServerlessEndpointsDeleteHeaders { - /** 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; +export interface DataQualityMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataQuality"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataQualityMetricThresholdBaseUnion[]; + /** [Required] The data produced by the production service which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_update operation. */ -export interface ServerlessEndpointsUpdateHeaders { - /** 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; +export interface FeatureAttributionDriftMonitoringSignal + extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "FeatureAttributionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] The settings for computing feature importance. */ + featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion[]; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_createOrUpdate operation. */ -export interface ServerlessEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_regenerateKeys operation. */ -export interface ServerlessEndpointsRegenerateKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Fixed input data definition. */ +export interface FixedInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Fixed"; } -/** 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; +/** Rolling input data definition. */ +export interface RollingInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Rolling"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The time offset between the end of the data window and the monitor's current run time. */ + windowOffset: string; + /** [Required] The size of the rolling data window. */ + windowSize: string; } -/** Defines headers for Registries_removeRegions operation. */ -export interface RegistriesRemoveRegionsHeaders { - /** 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; +/** Static input data definition. */ +export interface StaticInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Static"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; } -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** User */ - User = "user", - /** System */ - System = "system", - /** UserSystem */ - UserSystem = "user,system", +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelSettingsClassification extends ImageModelSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: number; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: number; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: number; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: number; } /** - * Defines values for Origin. \ - * {@link KnownOrigin} can be used interchangeably with Origin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **user** \ - * **system** \ - * **user,system** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type Origin = string; - -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +export interface ImageModelSettingsObjectDetection extends ImageModelSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: number; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: number; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: number; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: number; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: number; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: ModelSize; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: boolean; + /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ + nmsIouThreshold?: number; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: number; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tilePredictionsNmsThreshold?: number; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: number; + /** Metric computation method to use for validation metrics. */ + validationMetricType?: ValidationMetricType; } /** - * Defines values for ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Internal** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ActionType = string; - -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Unknown */ - Unknown = "Unknown", - /** Updating */ - Updating = "Updating", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +export interface ImageModelDistributionSettingsClassification + extends ImageModelDistributionSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: string; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: string; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: string; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: string; } /** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ProvisioningState = string; +export interface ImageModelDistributionSettingsObjectDetection + extends ImageModelDistributionSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: string; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: string; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: string; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: string; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: string; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: string; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: string; + /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ + nmsIouThreshold?: string; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: string; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + * NMS: Non-maximum suppression + */ + tilePredictionsNmsThreshold?: string; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: string; + /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ + validationMetricType?: string; +} -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +export interface ImageClassificationBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsClassification; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsClassification[]; } -/** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type EncryptionStatus = string; +export interface ImageObjectDetectionBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsObjectDetection; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +export interface LakeHouseArtifact extends OneLakeArtifact { + /** Polymorphic discriminator, which specifies the different types this object can be */ + artifactType: "LakeHouse"; } -/** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type PublicNetworkAccess = string; +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; +} -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", - /** Timeout */ - Timeout = "Timeout", +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; } -/** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** - */ -export type PrivateEndpointServiceConnectionStatus = string; - -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed", +/** Azure Resource Manager resource envelope. */ +export interface CodeContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeContainerProperties; } -/** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** - */ -export type PrivateEndpointConnectionProvisioningState = string; +/** Azure Resource Manager resource envelope. */ +export interface CodeVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeVersionProperties; +} -/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ -export enum KnownManagedServiceIdentityType { - /** None */ - None = "None", - /** SystemAssigned */ - SystemAssigned = "SystemAssigned", - /** UserAssigned */ - UserAssigned = "UserAssigned", - /** SystemAssignedUserAssigned */ - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +/** Azure Resource Manager resource envelope. */ +export interface ComponentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentContainerProperties; } -/** - * Defines values for ManagedServiceIdentityType. \ - * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **SystemAssigned** \ - * **UserAssigned** \ - * **SystemAssigned,UserAssigned** - */ -export type ManagedServiceIdentityType = string; +/** Azure Resource Manager resource envelope. */ +export interface ComponentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentVersionProperties; +} -/** Known values of {@link CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key", +/** Azure Resource Manager resource envelope. */ +export interface DataContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataContainerProperties; } -/** - * Defines values for CreatedByType. \ - * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **User** \ - * **Application** \ - * **ManagedIdentity** \ - * **Key** - */ -export type CreatedByType = string; +/** Azure Resource Manager resource envelope. */ +export interface DataVersionBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataVersionBasePropertiesUnion; +} -/** Known values of {@link IsolationMode} that the service accepts. */ -export enum KnownIsolationMode { - /** Disabled */ - Disabled = "Disabled", - /** AllowInternetOutbound */ - AllowInternetOutbound = "AllowInternetOutbound", - /** AllowOnlyApprovedOutbound */ - AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentContainerProperties; } -/** - * Defines values for IsolationMode. \ - * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Disabled** \ - * **AllowInternetOutbound** \ - * **AllowOnlyApprovedOutbound** - */ -export type IsolationMode = string; +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentVersionProperties; +} -/** Known values of {@link RuleCategory} that the service accepts. */ -export enum KnownRuleCategory { - /** Required */ - Required = "Required", - /** Recommended */ - Recommended = "Recommended", - /** UserDefined */ - UserDefined = "UserDefined", - /** Dependency */ - Dependency = "Dependency", +/** Azure Resource Manager resource envelope. */ +export interface ModelContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelContainerProperties; } -/** - * Defines values for RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** - */ -export type RuleCategory = string; +/** Azure Resource Manager resource envelope. */ +export interface ModelVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelVersionProperties; +} -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface Datastore extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DatastorePropertiesUnion; } -/** - * Defines values for RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type RuleStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetContainerProperties; +} -/** Known values of {@link RuleType} that the service accepts. */ -export enum KnownRuleType { - /** Fqdn */ - Fqdn = "FQDN", - /** PrivateEndpoint */ - PrivateEndpoint = "PrivateEndpoint", - /** ServiceTag */ - ServiceTag = "ServiceTag", +/** Azure Resource Manager resource envelope. */ +export interface Feature extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeatureProperties; } -/** - * Defines values for RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** - */ -export type RuleType = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetVersionProperties; +} -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityContainerProperties; } -/** - * Defines values for ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type ManagedNetworkStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityVersionProperties; +} -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information", +/** Azure Resource Manager resource envelope. */ +export interface JobBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: JobBasePropertiesUnion; } -/** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** - */ -export type DiagnoseResultLevel = string; - -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Azure Resource Manager resource envelope. */ +export interface MarketplaceSubscription extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: MarketplaceSubscriptionProperties; } -/** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type UsageUnit = string; +/** Azure Resource Manager resource envelope. */ +export interface Schedule extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ScheduleProperties; +} -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +export interface BatchEndpoint 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: BatchEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **USD** - */ -export type BillingCurrency = string; +export interface BatchDeployment 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: BatchDeploymentProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +export interface OnlineEndpoint 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: OnlineEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **OneHour** - */ -export type UnitOfMeasure = string; +export interface OnlineDeployment 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: OnlineDeploymentPropertiesUnion; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +export interface ServerlessEndpoint 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: ServerlessEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Linux** \ - * **Windows** - */ -export type VMPriceOSType = string; +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; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; + /** Discovery URL for the Registry */ + discoveryUrl?: string; + /** IntellectualPropertyPublisher for the registry */ + intellectualPropertyPublisher?: string; + /** ResourceId of the managed RG if the registry has system created resources */ + managedResourceGroup?: ArmResourceId; + /** Managed resource group specific settings */ + managedResourceGroupSettings?: ManagedResourceGroupSettings; + /** MLFlow Registry URI for the Registry */ + mlFlowRegistryUri?: string; + /** Private endpoint connections info used for pending connections in private link portal */ + registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; + /** + * Is the Registry accessible from the internet? + * Possible values: "Enabled" or "Disabled" + */ + publicNetworkAccess?: string; + /** Details of each region the registry is in */ + regionDetails?: RegistryRegionArmDetails[]; +} -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot", +/** Container for code asset versions. */ +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; } /** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Standard** \ - * **LowPriority** \ - * **Spot** + * Component container definition. + * */ -export type VMTier = string; +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; +} -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +/** Container for data asset versions. */ +export interface DataContainerProperties extends AssetContainer { + /** [Required] Specifies the type of data. */ + dataType: DataType; } -/** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type QuotaUnit = string; +/** Container for environment specification versions. */ +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; +} -/** Known values of {@link Status} that the service accepts. */ -export enum KnownStatus { - /** Undefined */ - Undefined = "Undefined", - /** Success */ - Success = "Success", - /** Failure */ - Failure = "Failure", - /** InvalidQuotaBelowClusterMinimum */ - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - /** InvalidQuotaExceedsSubscriptionLimit */ - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - /** InvalidVMFamilyName */ - InvalidVMFamilyName = "InvalidVMFamilyName", - /** OperationNotSupportedForSku */ - OperationNotSupportedForSku = "OperationNotSupportedForSku", - /** OperationNotEnabledForRegion */ - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +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; } -/** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Undefined** \ - * **Success** \ - * **Failure** \ - * **InvalidQuotaBelowClusterMinimum** \ - * **InvalidQuotaExceedsSubscriptionLimit** \ - * **InvalidVMFamilyName** \ - * **OperationNotSupportedForSku** \ - * **OperationNotEnabledForRegion** - */ -export type Status = string; +/** 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; +} -/** Known values of {@link ComputeType} that the service accepts. */ -export enum KnownComputeType { - /** AKS */ - AKS = "AKS", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AmlCompute */ - AmlCompute = "AmlCompute", - /** ComputeInstance */ - ComputeInstance = "ComputeInstance", - /** DataFactory */ - DataFactory = "DataFactory", - /** VirtualMachine */ - VirtualMachine = "VirtualMachine", - /** HDInsight */ - HDInsight = "HDInsight", - /** Databricks */ - Databricks = "Databricks", - /** DataLakeAnalytics */ - DataLakeAnalytics = "DataLakeAnalytics", - /** SynapseSpark */ - SynapseSpark = "SynapseSpark", +/** 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; } -/** - * Defines values for ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** - */ -export type ComputeType = string; +/** 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; +} -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +/** Definition of a component version: defines resources that span component types. */ +export interface ComponentVersionProperties extends AssetBase { + /** + * Defines Component definition details. + * + */ + 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; } -/** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Delete** \ - * **Detach** - */ -export type UnderlyingResourceAction = string; +/** Data version base definition */ +export interface DataVersionBaseProperties extends AssetBase { + /** [Required] Specifies the type of data. */ + dataType: DataType; + /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ + dataUri: string; +} -/** Known values of {@link NodeState} that the service accepts. */ -export enum KnownNodeState { - /** Idle */ - Idle = "idle", - /** Running */ - Running = "running", - /** Preparing */ - Preparing = "preparing", - /** Unusable */ - Unusable = "unusable", - /** Leaving */ - Leaving = "leaving", - /** Preempted */ - Preempted = "preempted", +/** Environment version details. */ +export interface EnvironmentVersionProperties extends AssetBase { + /** Defines if image needs to be rebuilt based on base image changes. */ + autoRebuild?: AutoRebuildSetting; + /** Configuration settings for Docker build context. */ + build?: BuildContext; + /** + * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. + * + */ + condaFile?: string; + /** + * Environment type is either user managed or curated by the Azure ML service + * + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly environmentType?: EnvironmentType; + /** + * Name of the image that will be used for the environment. + * + */ + image?: string; + /** Defines configuration specific to inference. */ + 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; + /** Stage in the environment lifecycle assigned to this environment */ + stage?: string; } -/** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** - */ -export type NodeState = string; +/** Model asset version details. */ +export interface ModelVersionProperties extends AssetBase { + /** Mapping of model flavors to their properties. */ + flavors?: { [propertyName: string]: FlavorData | null }; + /** Name of the training job which produced this model */ + jobName?: string; + /** The storage format for this entity. Used for NCD. */ + 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; + /** Stage in the model lifecycle assigned to this model */ + stage?: string; +} -/** Known values of {@link ConnectionAuthType} that the service accepts. */ -export enum KnownConnectionAuthType { - /** PAT */ - PAT = "PAT", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** UsernamePassword */ - UsernamePassword = "UsernamePassword", - /** None */ - None = "None", - /** SAS */ - SAS = "SAS", - /** AccountKey */ - AccountKey = "AccountKey", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", - /** AccessKey */ - AccessKey = "AccessKey", - /** ApiKey */ - ApiKey = "ApiKey", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** OAuth2 */ - OAuth2 = "OAuth2", - /** AAD */ - AAD = "AAD", +/** 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; +} + +/** 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; + /** Specifies the asset stage */ + stage?: string; +} + +/** OneLake (Trident) datastore configuration. */ +export interface OneLakeDatastore extends DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "OneLake"; + /** [Required] OneLake artifact backing the datastore. */ + artifact: OneLakeArtifactUnion; + /** OneLake endpoint to use for the datastore. */ + endpoint?: string; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } /** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ - * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * AutoMLJob class. + * Use this class for executing AutoML tasks like Classification/Regression etc. + * See TaskType enum for all the tasks supported. */ -export type ConnectionAuthType = string; - -/** Known values of {@link ConnectionCategory} that the service accepts. */ -export enum KnownConnectionCategory { - /** PythonFeed */ - PythonFeed = "PythonFeed", - /** ContainerRegistry */ - ContainerRegistry = "ContainerRegistry", - /** Git */ - Git = "Git", - /** S3 */ - S3 = "S3", - /** Snowflake */ - Snowflake = "Snowflake", - /** AzureSqlDb */ - AzureSqlDb = "AzureSqlDb", - /** AzureSynapseAnalytics */ - AzureSynapseAnalytics = "AzureSynapseAnalytics", - /** AzureMySqlDb */ - AzureMySqlDb = "AzureMySqlDb", - /** AzurePostgresDb */ - AzurePostgresDb = "AzurePostgresDb", - /** AdlsGen2 */ - AdlsGen2 = "ADLSGen2", - /** Redis */ - Redis = "Redis", - /** ApiKey */ - ApiKey = "ApiKey", - /** AzureOpenAI */ - AzureOpenAI = "AzureOpenAI", - /** CognitiveSearch */ - CognitiveSearch = "CognitiveSearch", - /** CognitiveService */ - CognitiveService = "CognitiveService", - /** CustomKeys */ - CustomKeys = "CustomKeys", +export interface AutoMLJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "AutoML"; + /** + * The ARM resource ID of the Environment specification for the job. + * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. + */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** 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 */ + taskDetails: AutoMLVerticalUnion; +} + +/** Command job definition. */ +export interface CommandJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Command"; + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Command Job limit. */ + limits?: CommandJobLimits; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** + * Input parameters. + * 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; +} + +/** FineTuning Job definition. */ +export interface FineTuningJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "FineTuning"; + /** [Required] */ + fineTuningDetails: FineTuningVerticalUnion; + /** [Required] */ + outputs: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Instance types and other resources for the job */ + resources?: JobResources; +} + +/** Pipeline Job definition: defines generic to MFE attributes. */ +export interface PipelineJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Pipeline"; + /** Inputs for the pipeline job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jobs construct the Pipeline Job. */ + jobs?: { [propertyName: string]: Record }; + /** Outputs for the pipeline job */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ + settings?: Record; + /** ARM resource ID of source job. */ + sourceJobId?: string; +} + +/** Spark job definition. */ +export 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-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; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** 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 */ + jobType: "Sweep"; + /** Early termination policies enable canceling poor-performing runs before they complete */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Sweep Job limit. */ + limits?: SweepJobLimits; + /** [Required] Optimization objective. */ + 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 */ + searchSpace: Record; + /** [Required] Trial component definition. */ + 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 */ + dataType: "mltable"; + /** Uris referenced in the MLTable definition (required for lineage) */ + referencedUris?: string[]; +} + +/** uri-file data version entity */ +export interface UriFileDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_file"; +} + +/** uri-folder data version entity */ +export interface UriFolderDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_folder"; +} + +/** Defines headers for Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Compute_delete operation. */ +export interface ComputeDeleteHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for Compute_resize operation. */ +export interface ComputeResizeHeaders { + location?: string; +} + +/** 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 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 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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; +} + +/** Defines headers for CodeVersions_publish operation. */ +export interface CodeVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ComponentVersions_publish operation. */ +export interface ComponentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for DataVersions_publish operation. */ +export interface DataVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EnvironmentVersions_publish operation. */ +export interface EnvironmentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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 MarketplaceSubscriptions_delete operation. */ +export interface MarketplaceSubscriptionsDeleteHeaders { + /** 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 MarketplaceSubscriptions_createOrUpdate operation. */ +export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { + /** 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 ModelVersions_publish operation. */ +export interface ModelVersionsPublishHeaders { + /** 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 ServerlessEndpoints_delete operation. */ +export interface ServerlessEndpointsDeleteHeaders { + /** 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 ServerlessEndpoints_update operation. */ +export interface ServerlessEndpointsUpdateHeaders { + /** 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 ServerlessEndpoints_createOrUpdate operation. */ +export interface ServerlessEndpointsCreateOrUpdateHeaders { + /** 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 ServerlessEndpoints_regenerateKeys operation. */ +export interface ServerlessEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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_removeRegions operation. */ +export interface RegistriesRemoveRegionsHeaders { + /** 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 Workspaces_delete operation. */ +export interface WorkspacesDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_createOrUpdate operation. */ +export interface WorkspacesCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_diagnose operation. */ +export interface WorkspacesDiagnoseHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_prepareNotebook operation. */ +export interface WorkspacesPrepareNotebookHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_resyncKeys operation. */ +export interface WorkspacesResyncKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for WorkspaceConnections_testConnection operation. */ +export interface WorkspaceConnectionsTestConnectionHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Connection_deleteDeployment operation. */ +export interface ConnectionDeleteDeploymentHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklist_delete operation. */ +export interface ConnectionRaiBlocklistDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_addBulk operation. */ +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_deleteBulk operation. */ +export interface ConnectionRaiBlocklistItemDeleteBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_delete operation. */ +export interface ConnectionRaiBlocklistItemDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiPolicy_delete operation. */ +export interface ConnectionRaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_delete operation. */ +export interface EndpointDeploymentDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_createOrUpdate operation. */ +export interface EndpointDeploymentCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Endpoint_createOrUpdate operation. */ +export interface EndpointCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RaiPolicy_delete operation. */ +export interface RaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type UsageUnit = string; + +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", +} + +/** + * Defines values for BillingCurrency. \ + * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **USD** + */ +export type BillingCurrency = string; + +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", +} + +/** + * Defines values for UnitOfMeasure. \ + * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OneHour** + */ +export type UnitOfMeasure = string; + +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", +} + +/** + * Defines values for VMPriceOSType. \ + * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type VMPriceOSType = string; + +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", +} + +/** + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard** \ + * **LowPriority** \ + * **Spot** + */ +export type VMTier = string; + +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type QuotaUnit = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** + */ +export type Status = string; + +/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ +export enum KnownManagedServiceIdentityType { + /** None */ + None = "None", + /** SystemAssigned */ + SystemAssigned = "SystemAssigned", + /** UserAssigned */ + UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +} + +/** + * Defines values for ManagedServiceIdentityType. \ + * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **SystemAssigned** \ + * **UserAssigned** \ + * **SystemAssigned,UserAssigned** + */ +export type ManagedServiceIdentityType = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key", +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link ComputeType} that the service accepts. */ +export enum KnownComputeType { + /** AKS */ + AKS = "AKS", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AmlCompute */ + AmlCompute = "AmlCompute", + /** ComputeInstance */ + ComputeInstance = "ComputeInstance", + /** DataFactory */ + DataFactory = "DataFactory", + /** VirtualMachine */ + VirtualMachine = "VirtualMachine", + /** HDInsight */ + HDInsight = "HDInsight", + /** Databricks */ + Databricks = "Databricks", + /** DataLakeAnalytics */ + DataLakeAnalytics = "DataLakeAnalytics", + /** SynapseSpark */ + SynapseSpark = "SynapseSpark", +} + +/** + * Defines values for ComputeType. \ + * {@link KnownComputeType} can be used interchangeably with ComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** + */ +export type ComputeType = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Unknown */ + Unknown = "Unknown", + /** Updating */ + Updating = "Updating", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ProvisioningState = string; + +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", +} + +/** + * Defines values for UnderlyingResourceAction. \ + * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Delete** \ + * **Detach** + */ +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 */ + Idle = "idle", + /** Running */ + Running = "running", + /** Preparing */ + Preparing = "preparing", + /** Unusable */ + Unusable = "unusable", + /** Leaving */ + Leaving = "leaving", + /** Preempted */ + Preempted = "preempted", +} + +/** + * Defines values for NodeState. \ + * {@link KnownNodeState} can be used interchangeably with NodeState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** + */ +export type NodeState = string; + +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** Dataset */ + Dataset = "Dataset", + /** Datastore */ + Datastore = "Datastore", + /** URI */ + URI = "URI", +} + +/** + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Dataset** \ + * **Datastore** \ + * **URI** + */ +export type SourceType = string; + +/** Known values of {@link MountAction} that the service accepts. */ +export enum KnownMountAction { + /** Mount */ + Mount = "Mount", + /** Unmount */ + Unmount = "Unmount", +} + +/** + * Defines values for MountAction. \ + * {@link KnownMountAction} can be used interchangeably with MountAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Mount** \ + * **Unmount** + */ +export type MountAction = string; + +/** Known values of {@link MountMode} that the service accepts. */ +export enum KnownMountMode { + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", +} + +/** + * Defines values for MountMode. \ + * {@link KnownMountMode} can be used interchangeably with MountMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnly** \ + * **ReadWrite** + */ +export type MountMode = string; + +/** Known values of {@link MountState} that the service accepts. */ +export enum KnownMountState { + /** MountRequested */ + MountRequested = "MountRequested", + /** Mounted */ + Mounted = "Mounted", + /** MountFailed */ + MountFailed = "MountFailed", + /** UnmountRequested */ + UnmountRequested = "UnmountRequested", + /** UnmountFailed */ + UnmountFailed = "UnmountFailed", + /** Unmounted */ + Unmounted = "Unmounted", +} + +/** + * Defines values for MountState. \ + * {@link KnownMountState} can be used interchangeably with MountState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MountRequested** \ + * **Mounted** \ + * **MountFailed** \ + * **UnmountRequested** \ + * **UnmountFailed** \ + * **Unmounted** + */ +export type MountState = string; + +/** 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", + /** Deleting */ + Deleting = "Deleting", +} + +/** + * 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 PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", +} + +/** + * Defines values for PendingUploadType. \ + * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **TemporaryBlobReference** + */ +export type PendingUploadType = string; + +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", +} + +/** + * Defines values for PendingUploadCredentialType. \ + * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** + */ +export type PendingUploadCredentialType = 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 DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", +} + +/** + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** + */ +export type DataReferenceCredentialType = 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 + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** + */ +export type EndpointProvisioningState = string; + +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", +} + +/** + * Defines values for EndpointAuthMode. \ + * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AMLToken** \ + * **Key** \ + * **AADToken** + */ +export type EndpointAuthMode = string; + +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", +} + +/** + * Defines values for BatchDeploymentConfigurationType. \ + * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Model** \ + * **PipelineComponent** + */ +export type BatchDeploymentConfigurationType = string; + +/** Known values of {@link BatchLoggingLevel} that the service accepts. */ +export enum KnownBatchLoggingLevel { + /** Info */ + Info = "Info", + /** Warning */ + Warning = "Warning", + /** Debug */ + Debug = "Debug", +} + +/** + * Defines values for BatchLoggingLevel. \ + * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Info** \ + * **Warning** \ + * **Debug** + */ +export type BatchLoggingLevel = string; + +/** Known values of {@link ReferenceType} that the service accepts. */ +export enum KnownReferenceType { + /** Id */ + Id = "Id", + /** DataPath */ + DataPath = "DataPath", + /** OutputPath */ + OutputPath = "OutputPath", +} + +/** + * Defines values for ReferenceType. \ + * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Id** \ + * **DataPath** \ + * **OutputPath** + */ +export type ReferenceType = string; + +/** Known values of {@link BatchOutputAction} that the service accepts. */ +export enum KnownBatchOutputAction { + /** SummaryOnly */ + SummaryOnly = "SummaryOnly", + /** AppendRow */ + AppendRow = "AppendRow", +} + +/** + * Defines values for BatchOutputAction. \ + * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SummaryOnly** \ + * **AppendRow** + */ +export type BatchOutputAction = string; + +/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ +export enum KnownDeploymentProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Scaling */ + Scaling = "Scaling", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for DeploymentProvisioningState. \ + * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Scaling** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type DeploymentProvisioningState = string; + +/** Known values of {@link CredentialsType} that the service accepts. */ +export enum KnownCredentialsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** None */ + None = "None", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for CredentialsType. \ + * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type CredentialsType = string; + +/** Known values of {@link DatastoreType} that the service accepts. */ +export enum KnownDatastoreType { /** AzureBlob */ AzureBlob = "AzureBlob", - /** AzureOneLake */ - AzureOneLake = "AzureOneLake", - /** CosmosDb */ - CosmosDb = "CosmosDb", - /** CosmosDbMongoDbApi */ - CosmosDbMongoDbApi = "CosmosDbMongoDbApi", - /** AzureDataExplorer */ - AzureDataExplorer = "AzureDataExplorer", - /** AzureMariaDb */ - AzureMariaDb = "AzureMariaDb", - /** AzureDatabricksDeltaLake */ - AzureDatabricksDeltaLake = "AzureDatabricksDeltaLake", - /** AzureSqlMi */ - AzureSqlMi = "AzureSqlMi", - /** AzureTableStorage */ - AzureTableStorage = "AzureTableStorage", - /** AmazonRdsForOracle */ - AmazonRdsForOracle = "AmazonRdsForOracle", - /** AmazonRdsForSqlServer */ - AmazonRdsForSqlServer = "AmazonRdsForSqlServer", - /** AmazonRedshift */ - AmazonRedshift = "AmazonRedshift", - /** Db2 */ - Db2 = "Db2", - /** Drill */ - Drill = "Drill", - /** GoogleBigQuery */ - GoogleBigQuery = "GoogleBigQuery", - /** Greenplum */ - Greenplum = "Greenplum", - /** Hbase */ - Hbase = "Hbase", - /** Hive */ - Hive = "Hive", - /** Impala */ - Impala = "Impala", - /** Informix */ - Informix = "Informix", - /** MariaDb */ - MariaDb = "MariaDb", - /** MicrosoftAccess */ - MicrosoftAccess = "MicrosoftAccess", - /** MySql */ - MySql = "MySql", - /** Netezza */ - Netezza = "Netezza", - /** Oracle */ - Oracle = "Oracle", - /** Phoenix */ - Phoenix = "Phoenix", - /** PostgreSql */ - PostgreSql = "PostgreSql", - /** Presto */ - Presto = "Presto", - /** SapOpenHub */ - SapOpenHub = "SapOpenHub", - /** SapBw */ - SapBw = "SapBw", - /** SapHana */ - SapHana = "SapHana", - /** SapTable */ - SapTable = "SapTable", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", +} + +/** + * Defines values for DatastoreType. \ + * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** + */ +export type DatastoreType = string; + +/** Known values of {@link SecretsType} that the service accepts. */ +export enum KnownSecretsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for SecretsType. \ + * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type SecretsType = 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", + /** Boolean */ + Boolean = "Boolean", +} + +/** + * 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** \ + * **Boolean** + */ +export type FeatureDataType = string; + +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", +} + +/** + * 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 + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** + */ +export type EmailNotificationEnableType = string; + +/** Known values of {@link WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", +} + +/** + * Defines values for WebhookType. \ + * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureDevOps** + */ +export type WebhookType = 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 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 MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { + /** None */ + None = "None", + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline", +} + +/** + * 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 + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** + */ +export type MaterializationStoreType = string; + +/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ +export enum KnownDataAvailabilityStatus { + /** None */ + None = "None", + /** Pending */ + Pending = "Pending", + /** Incomplete */ + Incomplete = "Incomplete", + /** Complete */ + Complete = "Complete", +} + +/** + * Defines values for DataAvailabilityStatus. \ + * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Pending** \ + * **Incomplete** \ + * **Complete** + */ +export type DataAvailabilityStatus = 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", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", /** Spark */ Spark = "Spark", - /** SqlServer */ - SqlServer = "SqlServer", - /** Sybase */ - Sybase = "Sybase", - /** Teradata */ - Teradata = "Teradata", - /** Vertica */ - Vertica = "Vertica", - /** Cassandra */ - Cassandra = "Cassandra", - /** Couchbase */ - Couchbase = "Couchbase", - /** MongoDbV2 */ - MongoDbV2 = "MongoDbV2", - /** MongoDbAtlas */ - MongoDbAtlas = "MongoDbAtlas", - /** AmazonS3Compatible */ - AmazonS3Compatible = "AmazonS3Compatible", - /** FileServer */ - FileServer = "FileServer", - /** FtpServer */ - FtpServer = "FtpServer", - /** GoogleCloudStorage */ - GoogleCloudStorage = "GoogleCloudStorage", - /** Hdfs */ - Hdfs = "Hdfs", - /** OracleCloudStorage */ - OracleCloudStorage = "OracleCloudStorage", - /** Sftp */ - Sftp = "Sftp", - /** GenericHttp */ - GenericHttp = "GenericHttp", - /** ODataRest */ - ODataRest = "ODataRest", - /** Odbc */ - Odbc = "Odbc", - /** GenericRest */ - GenericRest = "GenericRest", - /** AmazonMws */ - AmazonMws = "AmazonMws", - /** Concur */ - Concur = "Concur", - /** Dynamics */ - Dynamics = "Dynamics", - /** DynamicsAx */ - DynamicsAx = "DynamicsAx", - /** DynamicsCrm */ - DynamicsCrm = "DynamicsCrm", - /** GoogleAdWords */ - GoogleAdWords = "GoogleAdWords", - /** Hubspot */ - Hubspot = "Hubspot", - /** Jira */ - Jira = "Jira", - /** Magento */ - Magento = "Magento", - /** Marketo */ - Marketo = "Marketo", - /** Office365 */ - Office365 = "Office365", - /** Eloqua */ - Eloqua = "Eloqua", - /** Responsys */ - Responsys = "Responsys", - /** OracleServiceCloud */ - OracleServiceCloud = "OracleServiceCloud", - /** PayPal */ - PayPal = "PayPal", - /** QuickBooks */ - QuickBooks = "QuickBooks", - /** Salesforce */ - Salesforce = "Salesforce", - /** SalesforceServiceCloud */ - SalesforceServiceCloud = "SalesforceServiceCloud", - /** SalesforceMarketingCloud */ - SalesforceMarketingCloud = "SalesforceMarketingCloud", - /** SapCloudForCustomer */ - SapCloudForCustomer = "SapCloudForCustomer", - /** SapEcc */ - SapEcc = "SapEcc", - /** ServiceNow */ - ServiceNow = "ServiceNow", - /** SharePointOnlineList */ - SharePointOnlineList = "SharePointOnlineList", - /** Shopify */ - Shopify = "Shopify", - /** Square */ - Square = "Square", - /** WebTable */ - WebTable = "WebTable", - /** Xero */ - Xero = "Xero", - /** Zoho */ - Zoho = "Zoho", - /** GenericContainerRegistry */ - GenericContainerRegistry = "GenericContainerRegistry", - /** OpenAI */ - OpenAI = "OpenAI", - /** Serp */ - Serp = "Serp", - /** BingLLMSearch */ - BingLLMSearch = "BingLLMSearch", - /** Serverless */ - Serverless = "Serverless", - /** AIServices */ - AIServices = "AIServices", + /** FineTuning */ + FineTuning = "FineTuning", +} + +/** + * 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** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** \ + * **FineTuning** + */ +export type JobType = string; + +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", +} + +/** + * 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** + */ +export type NodesValueType = string; + +/** Known values of {@link JobStatus} that the service accepts. */ +export enum KnownJobStatus { + /** Run hasn't started yet. */ + NotStarted = "NotStarted", + /** Run has started. The user has a run ID. */ + Starting = "Starting", + /** (Not used currently) It will be used if ES is creating the compute target. */ + Provisioning = "Provisioning", + /** The run environment is being prepared. */ + Preparing = "Preparing", + /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ + Queued = "Queued", + /** The job started to run in the compute target. */ + Running = "Running", + /** Job is completed in the target. It is in output collection state now. */ + Finalizing = "Finalizing", + /** Cancellation has been requested for the job. */ + CancelRequested = "CancelRequested", + /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ + Completed = "Completed", + /** Job failed. */ + Failed = "Failed", + /** Following cancellation request, the job is now successfully canceled. */ + Canceled = "Canceled", + /** + * 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. + */ + NotResponding = "NotResponding", + /** 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", +} + +/** + * Defines values for JobStatus. \ + * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted**: Run hasn't started yet. \ + * **Starting**: Run has started. The user has a run ID. \ + * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ + * **Preparing**: The run environment is being prepared. \ + * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ + * **Running**: The job started to run in the compute target. \ + * **Finalizing**: Job is completed in the target. It is in output collection state now. \ + * **CancelRequested**: Cancellation has been requested for the job. \ + * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ + * **Failed**: Job failed. \ + * **Canceled**: Following cancellation request, the job is now successfully canceled. \ + * **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 + */ +export type JobStatus = string; + +/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ +export enum KnownMarketplaceSubscriptionStatus { + /** + * The customer can now use the Marketplace Subscription's + * model and will be billed. + */ + Subscribed = "Subscribed", + /** + * The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. + */ + Suspended = "Suspended", + /** + * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ + Unsubscribed = "Unsubscribed", +} + +/** + * Defines values for MarketplaceSubscriptionStatus. \ + * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Subscribed**: The customer can now use the Marketplace Subscription's + * model and will be billed. \ + * **Suspended**: The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. \ + * **Unsubscribed**: Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ +export type MarketplaceSubscriptionStatus = string; + +/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ +export enum KnownMarketplaceSubscriptionProvisioningState { + /** MarketplaceSubscription is being created. */ + Creating = "Creating", + /** MarketplaceSubscription is being deleted. */ + Deleting = "Deleting", + /** MarketplaceSubscription is successfully provisioned. */ + Succeeded = "Succeeded", + /** MarketplaceSubscription provisioning failed. */ + Failed = "Failed", + /** MarketplaceSubscription is being updated. */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, + * Defines values for MarketplaceSubscriptionProvisioningState. \ + * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PythonFeed** \ - * **ContainerRegistry** \ - * **Git** \ - * **S3** \ - * **Snowflake** \ - * **AzureSqlDb** \ - * **AzureSynapseAnalytics** \ - * **AzureMySqlDb** \ - * **AzurePostgresDb** \ - * **ADLSGen2** \ - * **Redis** \ - * **ApiKey** \ - * **AzureOpenAI** \ - * **CognitiveSearch** \ - * **CognitiveService** \ - * **CustomKeys** \ - * **AzureBlob** \ - * **AzureOneLake** \ - * **CosmosDb** \ - * **CosmosDbMongoDbApi** \ - * **AzureDataExplorer** \ - * **AzureMariaDb** \ - * **AzureDatabricksDeltaLake** \ - * **AzureSqlMi** \ - * **AzureTableStorage** \ - * **AmazonRdsForOracle** \ - * **AmazonRdsForSqlServer** \ - * **AmazonRedshift** \ - * **Db2** \ - * **Drill** \ - * **GoogleBigQuery** \ - * **Greenplum** \ - * **Hbase** \ - * **Hive** \ - * **Impala** \ - * **Informix** \ - * **MariaDb** \ - * **MicrosoftAccess** \ - * **MySql** \ - * **Netezza** \ - * **Oracle** \ - * **Phoenix** \ - * **PostgreSql** \ - * **Presto** \ - * **SapOpenHub** \ - * **SapBw** \ - * **SapHana** \ - * **SapTable** \ - * **Spark** \ - * **SqlServer** \ - * **Sybase** \ - * **Teradata** \ - * **Vertica** \ - * **Cassandra** \ - * **Couchbase** \ - * **MongoDbV2** \ - * **MongoDbAtlas** \ - * **AmazonS3Compatible** \ - * **FileServer** \ - * **FtpServer** \ - * **GoogleCloudStorage** \ - * **Hdfs** \ - * **OracleCloudStorage** \ - * **Sftp** \ - * **GenericHttp** \ - * **ODataRest** \ - * **Odbc** \ - * **GenericRest** \ - * **AmazonMws** \ - * **Concur** \ - * **Dynamics** \ - * **DynamicsAx** \ - * **DynamicsCrm** \ - * **GoogleAdWords** \ - * **Hubspot** \ - * **Jira** \ - * **Magento** \ - * **Marketo** \ - * **Office365** \ - * **Eloqua** \ - * **Responsys** \ - * **OracleServiceCloud** \ - * **PayPal** \ - * **QuickBooks** \ - * **Salesforce** \ - * **SalesforceServiceCloud** \ - * **SalesforceMarketingCloud** \ - * **SapCloudForCustomer** \ - * **SapEcc** \ - * **ServiceNow** \ - * **SharePointOnlineList** \ - * **Shopify** \ - * **Square** \ - * **WebTable** \ - * **Xero** \ - * **Zoho** \ - * **GenericContainerRegistry** \ - * **OpenAI** \ - * **Serp** \ - * **BingLLMSearch** \ - * **Serverless** \ - * **AIServices** + * **Creating**: MarketplaceSubscription is being created. \ + * **Deleting**: MarketplaceSubscription is being deleted. \ + * **Succeeded**: MarketplaceSubscription is successfully provisioned. \ + * **Failed**: MarketplaceSubscription provisioning failed. \ + * **Updating**: MarketplaceSubscription is being updated. \ + * **Canceled** */ -export type ConnectionCategory = string; +export type MarketplaceSubscriptionProvisioningState = string; -/** Known values of {@link ConnectionGroup} that the service accepts. */ -export enum KnownConnectionGroup { - /** Azure */ - Azure = "Azure", - /** AzureAI */ - AzureAI = "AzureAI", - /** Database */ - Database = "Database", - /** NoSQL */ - NoSQL = "NoSQL", - /** File */ - File = "File", - /** GenericProtocol */ - GenericProtocol = "GenericProtocol", - /** ServicesAndApps */ - ServicesAndApps = "ServicesAndApps", +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", } /** - * Defines values for ConnectionGroup. \ - * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, + * Defines values for EndpointComputeType. \ + * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** */ -export type ConnectionGroup = string; +export type EndpointComputeType = string; -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", +/** Known values of {@link OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", } /** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, + * Defines values for OrderString. \ + * {@link KnownOrderString} can be used interchangeably with OrderString, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JSON** + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** */ -export type ValueFormat = string; +export type OrderString = string; -/** 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", - /** Deleting */ - Deleting = "Deleting", +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * Defines values for PublicNetworkAccessType. \ + * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **Enabled** \ + * **Disabled** */ -export type AssetProvisioningState = string; +export type PublicNetworkAccessType = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** Known values of {@link DataCollectionMode} that the service accepts. */ +export enum KnownDataCollectionMode { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * Defines values for DataCollectionMode. \ + * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **TemporaryBlobReference** + * **Enabled** \ + * **Disabled** */ -export type PendingUploadType = string; +export type DataCollectionMode = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** Known values of {@link RollingRateType} that the service accepts. */ +export enum KnownRollingRateType { + /** Year */ + Year = "Year", + /** Month */ + Month = "Month", + /** Day */ + Day = "Day", + /** Hour */ + Hour = "Hour", + /** Minute */ + Minute = "Minute", +} + +/** + * Defines values for RollingRateType. \ + * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** + */ +export type RollingRateType = string; + +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * Defines values for EgressPublicNetworkAccessType. \ + * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** + * **Enabled** \ + * **Disabled** */ -export type PendingUploadCredentialType = string; +export type EgressPublicNetworkAccessType = string; -/** Known values of {@link ListViewType} that the service accepts. */ -export enum KnownListViewType { - /** ActiveOnly */ - ActiveOnly = "ActiveOnly", - /** ArchivedOnly */ - ArchivedOnly = "ArchivedOnly", - /** All */ - All = "All", +/** Known values of {@link ScaleType} that the service accepts. */ +export enum KnownScaleType { + /** Default */ + Default = "Default", + /** TargetUtilization */ + TargetUtilization = "TargetUtilization", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * Defines values for ScaleType. \ + * {@link KnownScaleType} can be used interchangeably with ScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **Default** \ + * **TargetUtilization** */ -export type ListViewType = string; +export type ScaleType = string; -/** Known values of {@link DataType} that the service accepts. */ -export enum KnownDataType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", +/** Known values of {@link ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * Defines values for ContainerType. \ + * {@link KnownContainerType} can be used interchangeably with ContainerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **StorageInitializer** \ + * **InferenceServer** */ -export type DataType = string; +export type ContainerType = string; -/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ -export enum KnownDataReferenceCredentialType { - /** SAS */ - SAS = "SAS", - /** DockerCredentials */ - DockerCredentials = "DockerCredentials", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** NoCredentials */ - NoCredentials = "NoCredentials", +/** Known values of {@link SkuScaleType} that the service accepts. */ +export enum KnownSkuScaleType { + /** Automatically scales node count. */ + Automatic = "Automatic", + /** Node count scaled upon user request. */ + Manual = "Manual", + /** Fixed set of nodes. */ + None = "None", } /** - * Defines values for DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * Defines values for SkuScaleType. \ + * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. */ -export type DataReferenceCredentialType = string; +export type SkuScaleType = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * Defines values for KeyType. \ + * {@link KnownKeyType} can be used interchangeably with KeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Curated** \ - * **UserCreated** + * **Primary** \ + * **Secondary** */ -export type EnvironmentType = string; +export type KeyType = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * Defines values for ScheduleListViewType. \ + * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type OperatingSystemType = string; +export type ScheduleListViewType = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for ScheduleActionType. \ + * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type AutoRebuildSetting = string; +export type ScheduleActionType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { +/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ +export enum KnownScheduleProvisioningStatus { /** Creating */ Creating = "Creating", + /** Updating */ + Updating = "Updating", /** 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, + * Defines values for ScheduleProvisioningStatus. \ + * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ + * **Updating** \ * **Deleting** \ * **Succeeded** \ * **Failed** \ - * **Updating** \ * **Canceled** */ -export type EndpointProvisioningState = string; +export type ScheduleProvisioningStatus = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { - /** AMLToken */ - AMLToken = "AMLToken", +/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ +export enum KnownServerlessInferenceEndpointAuthMode { /** Key */ Key = "Key", - /** AADToken */ - AADToken = "AADToken", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * Defines values for ServerlessInferenceEndpointAuthMode. \ + * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AMLToken** \ - * **Key** \ - * **AADToken** + * **Key** */ -export type EndpointAuthMode = string; +export type ServerlessInferenceEndpointAuthMode = string; -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", +/** Known values of {@link ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * Defines values for ContentSafetyStatus. \ + * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Model** \ - * **PipelineComponent** + * **Enabled** \ + * **Disabled** */ -export type BatchDeploymentConfigurationType = string; +export type ContentSafetyStatus = string; -/** Known values of {@link BatchLoggingLevel} that the service accepts. */ -export enum KnownBatchLoggingLevel { - /** Info */ - Info = "Info", - /** Warning */ - Warning = "Warning", - /** Debug */ - Debug = "Debug", +/** Known values of {@link ServerlessEndpointState} that the service accepts. */ +export enum KnownServerlessEndpointState { + /** Unknown */ + Unknown = "Unknown", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Suspending */ + Suspending = "Suspending", + /** Reinstating */ + Reinstating = "Reinstating", + /** Online */ + Online = "Online", + /** Suspended */ + Suspended = "Suspended", + /** CreationFailed */ + CreationFailed = "CreationFailed", + /** DeletionFailed */ + DeletionFailed = "DeletionFailed", } /** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * Defines values for ServerlessEndpointState. \ + * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Info** \ - * **Warning** \ - * **Debug** + * **Unknown** \ + * **Creating** \ + * **Deleting** \ + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type BatchLoggingLevel = string; +export type ServerlessEndpointState = string; -/** Known values of {@link ReferenceType} that the service accepts. */ -export enum KnownReferenceType { - /** Id */ - Id = "Id", - /** DataPath */ - DataPath = "DataPath", - /** OutputPath */ - OutputPath = "OutputPath", +/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", + /** Timeout */ + Timeout = "Timeout", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * Defines values for EndpointServiceConnectionStatus. \ + * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type ReferenceType = string; +export type EndpointServiceConnectionStatus = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** Known values of {@link Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * Defines values for Origin. \ + * {@link KnownOrigin} can be used interchangeably with Origin, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SummaryOnly** \ - * **AppendRow** + * **user** \ + * **system** \ + * **user,system** */ -export type BatchOutputAction = string; +export type Origin = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * Defines values for ActionType. \ + * {@link KnownActionType} can be used interchangeably with ActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Internal** */ -export type DeploymentProvisioningState = string; +export type ActionType = string; -/** Known values of {@link DatastoreType} that the service accepts. */ -export enum KnownDatastoreType { - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ - AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ - AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile", - /** OneLake */ - OneLake = "OneLake", +/** Known values of {@link EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * Defines values for EncryptionStatus. \ + * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** + * **Enabled** \ + * **Disabled** */ -export type DatastoreType = string; +export type EncryptionStatus = string; -/** Known values of {@link CredentialsType} that the service accepts. */ -export enum KnownCredentialsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** None */ - None = "None", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link FirewallSku} that the service accepts. */ +export enum KnownFirewallSku { + /** Standard */ + Standard = "Standard", + /** Basic */ + Basic = "Basic", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * Defines values for FirewallSku. \ + * {@link KnownFirewallSku} can be used interchangeably with FirewallSku, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **Standard** \ + * **Basic** */ -export type CredentialsType = string; +export type FirewallSku = string; -/** Known values of {@link SecretsType} that the service accepts. */ -export enum KnownSecretsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * Defines values for IsolationMode. \ + * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type SecretsType = string; +export type IsolationMode = 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", - /** Boolean */ - Boolean = "Boolean", +/** Known values of {@link RuleCategory} that the service accepts. */ +export enum KnownRuleCategory { + /** Required */ + Required = "Required", + /** Recommended */ + Recommended = "Recommended", + /** UserDefined */ + UserDefined = "UserDefined", + /** Dependency */ + Dependency = "Dependency", } /** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * Defines values for RuleCategory. \ + * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** */ -export type FeatureDataType = string; +export type RuleCategory = string; -/** Known values of {@link MaterializationStoreType} that the service accepts. */ -export enum KnownMaterializationStoreType { - /** None */ - None = "None", - /** Online */ - Online = "Online", - /** Offline */ - Offline = "Offline", - /** OnlineAndOffline */ - OnlineAndOffline = "OnlineAndOffline", +/** Known values of {@link RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * Defines values for RuleStatus. \ + * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** + * **Inactive** \ + * **Active** */ -export type MaterializationStoreType = string; +export type RuleStatus = 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", +/** Known values of {@link RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * Defines values for RuleType. \ + * {@link KnownRuleType} can be used interchangeably with RuleType, * 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 + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type RecurrenceFrequency = string; +export type RuleType = 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", +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * Defines values for ManagedNetworkStatus. \ + * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, * 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 + * **Inactive** \ + * **Active** */ -export type WeekDay = string; +export type ManagedNetworkStatus = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link DefaultActionType} that the service accepts. */ +export enum KnownDefaultActionType { + /** Deny */ + Deny = "Deny", + /** Allow */ + Allow = "Allow", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * Defines values for DefaultActionType. \ + * {@link KnownDefaultActionType} can be used interchangeably with DefaultActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **Deny** \ + * **Allow** */ -export type TriggerType = string; +export type DefaultActionType = string; -/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ -export enum KnownEmailNotificationEnableType { - /** JobCompleted */ - JobCompleted = "JobCompleted", - /** JobFailed */ - JobFailed = "JobFailed", - /** JobCancelled */ - JobCancelled = "JobCancelled", +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** */ -export type EmailNotificationEnableType = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link SystemDatastoresAuthMode} that the service accepts. */ +export enum KnownSystemDatastoresAuthMode { + /** AccessKey */ + AccessKey = "AccessKey", + /** Identity */ + Identity = "Identity", + /** UserDelegationSAS */ + UserDelegationSAS = "UserDelegationSAS", } /** - * Defines values for WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * Defines values for SystemDatastoresAuthMode. \ + * {@link KnownSystemDatastoresAuthMode} can be used interchangeably with SystemDatastoresAuthMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureDevOps** + * **AccessKey** \ + * **Identity** \ + * **UserDelegationSAS** */ -export type WebhookType = string; +export type SystemDatastoresAuthMode = string; -/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ -export enum KnownDataAvailabilityStatus { +/** Known values of {@link ConnectionAuthType} that the service accepts. */ +export enum KnownConnectionAuthType { + /** PAT */ + PAT = "PAT", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** UsernamePassword */ + UsernamePassword = "UsernamePassword", /** None */ None = "None", - /** Pending */ - Pending = "Pending", - /** Incomplete */ - Incomplete = "Incomplete", - /** Complete */ - Complete = "Complete", + /** SAS */ + SAS = "SAS", + /** AccountKey */ + AccountKey = "AccountKey", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", + /** AccessKey */ + AccessKey = "AccessKey", + /** ApiKey */ + ApiKey = "ApiKey", + /** CustomKeys */ + CustomKeys = "CustomKeys", + /** OAuth2 */ + OAuth2 = "OAuth2", + /** AAD */ + AAD = "AAD", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * Defines values for ConnectionAuthType. \ + * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** */ -export type DataAvailabilityStatus = string; +export type ConnectionAuthType = 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 ConnectionCategory} that the service accepts. */ +export enum KnownConnectionCategory { + /** PythonFeed */ + PythonFeed = "PythonFeed", + /** ContainerRegistry */ + ContainerRegistry = "ContainerRegistry", + /** Git */ + Git = "Git", + /** S3 */ + S3 = "S3", + /** Snowflake */ + Snowflake = "Snowflake", + /** AzureSqlDb */ + AzureSqlDb = "AzureSqlDb", + /** AzureSynapseAnalytics */ + AzureSynapseAnalytics = "AzureSynapseAnalytics", + /** AzureMySqlDb */ + AzureMySqlDb = "AzureMySqlDb", + /** AzurePostgresDb */ + AzurePostgresDb = "AzurePostgresDb", + /** AdlsGen2 */ + AdlsGen2 = "ADLSGen2", + /** Redis */ + Redis = "Redis", + /** ApiKey */ + ApiKey = "ApiKey", + /** AzureOpenAI */ + AzureOpenAI = "AzureOpenAI", + /** AIServices */ + AIServices = "AIServices", + /** CognitiveSearch */ + CognitiveSearch = "CognitiveSearch", + /** CognitiveService */ + CognitiveService = "CognitiveService", + /** CustomKeys */ + CustomKeys = "CustomKeys", + /** AzureBlob */ + AzureBlob = "AzureBlob", + /** AzureOneLake */ + AzureOneLake = "AzureOneLake", + /** CosmosDb */ + CosmosDb = "CosmosDb", + /** CosmosDbMongoDbApi */ + CosmosDbMongoDbApi = "CosmosDbMongoDbApi", + /** AzureDataExplorer */ + AzureDataExplorer = "AzureDataExplorer", + /** AzureMariaDb */ + AzureMariaDb = "AzureMariaDb", + /** AzureDatabricksDeltaLake */ + AzureDatabricksDeltaLake = "AzureDatabricksDeltaLake", + /** AzureSqlMi */ + AzureSqlMi = "AzureSqlMi", + /** AzureTableStorage */ + AzureTableStorage = "AzureTableStorage", + /** AmazonRdsForOracle */ + AmazonRdsForOracle = "AmazonRdsForOracle", + /** AmazonRdsForSqlServer */ + AmazonRdsForSqlServer = "AmazonRdsForSqlServer", + /** AmazonRedshift */ + AmazonRedshift = "AmazonRedshift", + /** Db2 */ + Db2 = "Db2", + /** Drill */ + Drill = "Drill", + /** GoogleBigQuery */ + GoogleBigQuery = "GoogleBigQuery", + /** Greenplum */ + Greenplum = "Greenplum", + /** Hbase */ + Hbase = "Hbase", + /** Hive */ + Hive = "Hive", + /** Impala */ + Impala = "Impala", + /** Informix */ + Informix = "Informix", + /** MariaDb */ + MariaDb = "MariaDb", + /** MicrosoftAccess */ + MicrosoftAccess = "MicrosoftAccess", + /** MySql */ + MySql = "MySql", + /** Netezza */ + Netezza = "Netezza", + /** Oracle */ + Oracle = "Oracle", + /** Phoenix */ + Phoenix = "Phoenix", + /** PostgreSql */ + PostgreSql = "PostgreSql", + /** Presto */ + Presto = "Presto", + /** SapOpenHub */ + SapOpenHub = "SapOpenHub", + /** SapBw */ + SapBw = "SapBw", + /** SapHana */ + SapHana = "SapHana", + /** SapTable */ + SapTable = "SapTable", /** Spark */ Spark = "Spark", + /** SqlServer */ + SqlServer = "SqlServer", + /** Sybase */ + Sybase = "Sybase", + /** Teradata */ + Teradata = "Teradata", + /** Vertica */ + Vertica = "Vertica", + /** Pinecone */ + Pinecone = "Pinecone", + /** Cassandra */ + Cassandra = "Cassandra", + /** Couchbase */ + Couchbase = "Couchbase", + /** MongoDbV2 */ + MongoDbV2 = "MongoDbV2", + /** MongoDbAtlas */ + MongoDbAtlas = "MongoDbAtlas", + /** AmazonS3Compatible */ + AmazonS3Compatible = "AmazonS3Compatible", + /** FileServer */ + FileServer = "FileServer", + /** FtpServer */ + FtpServer = "FtpServer", + /** GoogleCloudStorage */ + GoogleCloudStorage = "GoogleCloudStorage", + /** Hdfs */ + Hdfs = "Hdfs", + /** OracleCloudStorage */ + OracleCloudStorage = "OracleCloudStorage", + /** Sftp */ + Sftp = "Sftp", + /** GenericHttp */ + GenericHttp = "GenericHttp", + /** ODataRest */ + ODataRest = "ODataRest", + /** Odbc */ + Odbc = "Odbc", + /** GenericRest */ + GenericRest = "GenericRest", + /** AmazonMws */ + AmazonMws = "AmazonMws", + /** Concur */ + Concur = "Concur", + /** Dynamics */ + Dynamics = "Dynamics", + /** DynamicsAx */ + DynamicsAx = "DynamicsAx", + /** DynamicsCrm */ + DynamicsCrm = "DynamicsCrm", + /** GoogleAdWords */ + GoogleAdWords = "GoogleAdWords", + /** Hubspot */ + Hubspot = "Hubspot", + /** Jira */ + Jira = "Jira", + /** Magento */ + Magento = "Magento", + /** Marketo */ + Marketo = "Marketo", + /** Office365 */ + Office365 = "Office365", + /** Eloqua */ + Eloqua = "Eloqua", + /** Responsys */ + Responsys = "Responsys", + /** OracleServiceCloud */ + OracleServiceCloud = "OracleServiceCloud", + /** PayPal */ + PayPal = "PayPal", + /** QuickBooks */ + QuickBooks = "QuickBooks", + /** Salesforce */ + Salesforce = "Salesforce", + /** SalesforceServiceCloud */ + SalesforceServiceCloud = "SalesforceServiceCloud", + /** SalesforceMarketingCloud */ + SalesforceMarketingCloud = "SalesforceMarketingCloud", + /** SapCloudForCustomer */ + SapCloudForCustomer = "SapCloudForCustomer", + /** SapEcc */ + SapEcc = "SapEcc", + /** ServiceNow */ + ServiceNow = "ServiceNow", + /** SharePointOnlineList */ + SharePointOnlineList = "SharePointOnlineList", + /** Shopify */ + Shopify = "Shopify", + /** Square */ + Square = "Square", + /** WebTable */ + WebTable = "WebTable", + /** Xero */ + Xero = "Xero", + /** Zoho */ + Zoho = "Zoho", + /** GenericContainerRegistry */ + GenericContainerRegistry = "GenericContainerRegistry", + /** Elasticsearch */ + Elasticsearch = "Elasticsearch", + /** OpenAI */ + OpenAI = "OpenAI", + /** Serp */ + Serp = "Serp", + /** BingLLMSearch */ + BingLLMSearch = "BingLLMSearch", + /** Serverless */ + Serverless = "Serverless", + /** ManagedOnlineEndpoint */ + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", } /** - * 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** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** - */ -export type JobType = string; - -/** Known values of {@link JobStatus} that the service accepts. */ -export enum KnownJobStatus { - /** Run hasn't started yet. */ - NotStarted = "NotStarted", - /** Run has started. The user has a run ID. */ - Starting = "Starting", - /** (Not used currently) It will be used if ES is creating the compute target. */ - Provisioning = "Provisioning", - /** The run environment is being prepared. */ - Preparing = "Preparing", - /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ - Queued = "Queued", - /** The job started to run in the compute target. */ - Running = "Running", - /** Job is completed in the target. It is in output collection state now. */ - Finalizing = "Finalizing", - /** Cancellation has been requested for the job. */ - CancelRequested = "CancelRequested", - /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ - Completed = "Completed", - /** Job failed. */ - Failed = "Failed", - /** Following cancellation request, the job is now successfully canceled. */ - Canceled = "Canceled", - /** - * 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. - */ - NotResponding = "NotResponding", - /** 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", -} - -/** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * Defines values for ConnectionCategory. \ + * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotStarted**: Run hasn't started yet. \ - * **Starting**: Run has started. The user has a run ID. \ - * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ - * **Preparing**: The run environment is being prepared. \ - * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ - * **Running**: The job started to run in the compute target. \ - * **Finalizing**: Job is completed in the target. It is in output collection state now. \ - * **CancelRequested**: Cancellation has been requested for the job. \ - * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ - * **Failed**: Job failed. \ - * **Canceled**: Following cancellation request, the job is now successfully canceled. \ - * **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 + * **PythonFeed** \ + * **ContainerRegistry** \ + * **Git** \ + * **S3** \ + * **Snowflake** \ + * **AzureSqlDb** \ + * **AzureSynapseAnalytics** \ + * **AzureMySqlDb** \ + * **AzurePostgresDb** \ + * **ADLSGen2** \ + * **Redis** \ + * **ApiKey** \ + * **AzureOpenAI** \ + * **AIServices** \ + * **CognitiveSearch** \ + * **CognitiveService** \ + * **CustomKeys** \ + * **AzureBlob** \ + * **AzureOneLake** \ + * **CosmosDb** \ + * **CosmosDbMongoDbApi** \ + * **AzureDataExplorer** \ + * **AzureMariaDb** \ + * **AzureDatabricksDeltaLake** \ + * **AzureSqlMi** \ + * **AzureTableStorage** \ + * **AmazonRdsForOracle** \ + * **AmazonRdsForSqlServer** \ + * **AmazonRedshift** \ + * **Db2** \ + * **Drill** \ + * **GoogleBigQuery** \ + * **Greenplum** \ + * **Hbase** \ + * **Hive** \ + * **Impala** \ + * **Informix** \ + * **MariaDb** \ + * **MicrosoftAccess** \ + * **MySql** \ + * **Netezza** \ + * **Oracle** \ + * **Phoenix** \ + * **PostgreSql** \ + * **Presto** \ + * **SapOpenHub** \ + * **SapBw** \ + * **SapHana** \ + * **SapTable** \ + * **Spark** \ + * **SqlServer** \ + * **Sybase** \ + * **Teradata** \ + * **Vertica** \ + * **Pinecone** \ + * **Cassandra** \ + * **Couchbase** \ + * **MongoDbV2** \ + * **MongoDbAtlas** \ + * **AmazonS3Compatible** \ + * **FileServer** \ + * **FtpServer** \ + * **GoogleCloudStorage** \ + * **Hdfs** \ + * **OracleCloudStorage** \ + * **Sftp** \ + * **GenericHttp** \ + * **ODataRest** \ + * **Odbc** \ + * **GenericRest** \ + * **AmazonMws** \ + * **Concur** \ + * **Dynamics** \ + * **DynamicsAx** \ + * **DynamicsCrm** \ + * **GoogleAdWords** \ + * **Hubspot** \ + * **Jira** \ + * **Magento** \ + * **Marketo** \ + * **Office365** \ + * **Eloqua** \ + * **Responsys** \ + * **OracleServiceCloud** \ + * **PayPal** \ + * **QuickBooks** \ + * **Salesforce** \ + * **SalesforceServiceCloud** \ + * **SalesforceMarketingCloud** \ + * **SapCloudForCustomer** \ + * **SapEcc** \ + * **ServiceNow** \ + * **SharePointOnlineList** \ + * **Shopify** \ + * **Square** \ + * **WebTable** \ + * **Xero** \ + * **Zoho** \ + * **GenericContainerRegistry** \ + * **Elasticsearch** \ + * **OpenAI** \ + * **Serp** \ + * **BingLLMSearch** \ + * **Serverless** \ + * **ManagedOnlineEndpoint** */ -export type JobStatus = string; +export type ConnectionCategory = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link ConnectionGroup} that the service accepts. */ +export enum KnownConnectionGroup { + /** Azure */ + Azure = "Azure", + /** AzureAI */ + AzureAI = "AzureAI", + /** Database */ + Database = "Database", + /** NoSQL */ + NoSQL = "NoSQL", + /** File */ + File = "File", + /** GenericProtocol */ + GenericProtocol = "GenericProtocol", + /** ServicesAndApps */ + ServicesAndApps = "ServicesAndApps", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * Defines values for ConnectionGroup. \ + * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **All** + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** */ -export type NodesValueType = string; +export type ConnectionGroup = 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 ManagedPERequirement} that the service accepts. */ +export enum KnownManagedPERequirement { + /** Required */ + Required = "Required", + /** NotRequired */ + NotRequired = "NotRequired", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * Defines values for ManagedPERequirement. \ + * {@link KnownManagedPERequirement} can be used interchangeably with ManagedPERequirement, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **Required** \ + * **NotRequired** \ + * **NotApplicable** */ -export type IdentityConfigurationType = string; +export type ManagedPERequirement = string; -/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ -export enum KnownMarketplaceSubscriptionStatus { - /** - * The customer can now use the Marketplace Subscription's - * model and will be billed. - */ - Subscribed = "Subscribed", - /** - * The customer could not be billed for the Marketplace Subscription. - * The customer will not be able to access the model. - */ - Suspended = "Suspended", - /** - * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. - * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, - * after being in the Suspended state for some time. - */ - Unsubscribed = "Unsubscribed", +/** Known values of {@link ManagedPEStatus} that the service accepts. */ +export enum KnownManagedPEStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * Defines values for ManagedPEStatus. \ + * {@link KnownManagedPEStatus} can be used interchangeably with ManagedPEStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Subscribed**: The customer can now use the Marketplace Subscription's - * model and will be billed. \ - * **Suspended**: The customer could not be billed for the Marketplace Subscription. - * The customer will not be able to access the model. \ - * **Unsubscribed**: Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. - * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, - * after being in the Suspended state for some time. + * **Inactive** \ + * **Active** \ + * **NotApplicable** */ -export type MarketplaceSubscriptionStatus = string; +export type ManagedPEStatus = string; -/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ -export enum KnownMarketplaceSubscriptionProvisioningState { - /** MarketplaceSubscription is being created. */ - Creating = "Creating", - /** MarketplaceSubscription is being deleted. */ - Deleting = "Deleting", - /** MarketplaceSubscription is successfully provisioned. */ - Succeeded = "Succeeded", - /** MarketplaceSubscription provisioning failed. */ +/** Known values of {@link DefaultResourceProvisioningState} that the service accepts. */ +export enum KnownDefaultResourceProvisioningState { + /** NotStarted */ + NotStarted = "NotStarted", + /** Failed */ Failed = "Failed", - /** MarketplaceSubscription is being updated. */ + /** Creating */ + Creating = "Creating", + /** Updating */ Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Deleting */ + Deleting = "Deleting", + /** Accepted */ + Accepted = "Accepted", /** Canceled */ Canceled = "Canceled", + /** Scaling */ + Scaling = "Scaling", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * Defines values for DefaultResourceProvisioningState. \ + * {@link KnownDefaultResourceProvisioningState} can be used interchangeably with DefaultResourceProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating**: MarketplaceSubscription is being created. \ - * **Deleting**: MarketplaceSubscription is being deleted. \ - * **Succeeded**: MarketplaceSubscription is successfully provisioned. \ - * **Failed**: MarketplaceSubscription provisioning failed. \ - * **Updating**: MarketplaceSubscription is being updated. \ - * **Canceled** + * **NotStarted** \ + * **Failed** \ + * **Creating** \ + * **Updating** \ + * **Succeeded** \ + * **Deleting** \ + * **Accepted** \ + * **Canceled** \ + * **Scaling** \ + * **Disabled** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type DefaultResourceProvisioningState = string; -/** Known values of {@link EndpointComputeType} that the service accepts. */ -export enum KnownEndpointComputeType { - /** Managed */ - Managed = "Managed", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AzureMLCompute */ - AzureMLCompute = "AzureMLCompute", +/** Known values of {@link ModelLifecycleStatus} that the service accepts. */ +export enum KnownModelLifecycleStatus { + /** GenerallyAvailable */ + GenerallyAvailable = "GenerallyAvailable", + /** Preview */ + Preview = "Preview", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * Defines values for ModelLifecycleStatus. \ + * {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **GenerallyAvailable** \ + * **Preview** */ -export type EndpointComputeType = string; +export type ModelLifecycleStatus = string; -/** Known values of {@link OrderString} that the service accepts. */ -export enum KnownOrderString { - /** CreatedAtDesc */ - CreatedAtDesc = "CreatedAtDesc", - /** CreatedAtAsc */ - CreatedAtAsc = "CreatedAtAsc", - /** UpdatedAtDesc */ - UpdatedAtDesc = "UpdatedAtDesc", - /** UpdatedAtAsc */ - UpdatedAtAsc = "UpdatedAtAsc", +/** Known values of {@link AllowedContentLevel} that the service accepts. */ +export enum KnownAllowedContentLevel { + /** Low */ + Low = "Low", + /** Medium */ + Medium = "Medium", + /** High */ + High = "High", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * Defines values for AllowedContentLevel. \ + * {@link KnownAllowedContentLevel} can be used interchangeably with AllowedContentLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Low** \ + * **Medium** \ + * **High** */ -export type OrderString = string; +export type AllowedContentLevel = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link RaiPolicyContentSource} that the service accepts. */ +export enum KnownRaiPolicyContentSource { + /** Prompt */ + Prompt = "Prompt", + /** Completion */ + Completion = "Completion", } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * Defines values for RaiPolicyContentSource. \ + * {@link KnownRaiPolicyContentSource} can be used interchangeably with RaiPolicyContentSource, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Prompt** \ + * **Completion** */ -export type PublicNetworkAccessType = string; +export type RaiPolicyContentSource = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { +/** Known values of {@link RaiPolicyMode} that the service accepts. */ +export enum KnownRaiPolicyMode { /** Default */ Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", + /** Deferred */ + Deferred = "Deferred", + /** Blocking */ + Blocking = "Blocking", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * Defines values for RaiPolicyMode. \ + * {@link KnownRaiPolicyMode} can be used interchangeably with RaiPolicyMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default** \ - * **TargetUtilization** + * **Deferred** \ + * **Blocking** */ -export type ScaleType = string; +export type RaiPolicyMode = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link RaiPolicyType} that the service accepts. */ +export enum KnownRaiPolicyType { + /** UserManaged */ + UserManaged = "UserManaged", + /** SystemManaged */ + SystemManaged = "SystemManaged", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * Defines values for RaiPolicyType. \ + * {@link KnownRaiPolicyType} can be used interchangeably with RaiPolicyType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **UserManaged** \ + * **SystemManaged** + */ +export type RaiPolicyType = string; + +/** Known values of {@link EndpointType} that the service accepts. */ +export enum KnownEndpointType { + /** AzureOpenAI */ + AzureOpenAI = "Azure.OpenAI", + /** AzureSpeech */ + AzureSpeech = "Azure.Speech", + /** AzureContentSafety */ + AzureContentSafety = "Azure.ContentSafety", + /** AzureLlama */ + AzureLlama = "Azure.Llama", + /** ManagedOnlineEndpoint */ + ManagedOnlineEndpoint = "managedOnlineEndpoint", + /** ServerlessEndpoint */ + ServerlessEndpoint = "serverlessEndpoint", +} + +/** + * Defines values for EndpointType. \ + * {@link KnownEndpointType} can be used interchangeably with EndpointType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Azure.OpenAI** \ + * **Azure.Speech** \ + * **Azure.ContentSafety** \ + * **Azure.Llama** \ + * **managedOnlineEndpoint** \ + * **serverlessEndpoint** */ -export type EgressPublicNetworkAccessType = string; +export type EndpointType = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * Defines values for DiagnoseResultLevel. \ + * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Warning** \ + * **Error** \ + * **Information** */ -export type DataCollectionMode = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link RollingRateType} that the service accepts. */ -export enum KnownRollingRateType { - /** Year */ - Year = "Year", - /** Month */ - Month = "Month", - /** Day */ - Day = "Day", - /** Hour */ - Hour = "Hour", - /** Minute */ - Minute = "Minute", +/** Known values of {@link ServiceAccountKeyName} that the service accepts. */ +export enum KnownServiceAccountKeyName { + /** Key1 */ + Key1 = "Key1", + /** Key2 */ + Key2 = "Key2", } /** - * Defines values for RollingRateType. \ - * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * Defines values for ServiceAccountKeyName. \ + * {@link KnownServiceAccountKeyName} can be used interchangeably with ServiceAccountKeyName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Year** \ - * **Month** \ - * **Day** \ - * **Hour** \ - * **Minute** + * **Key1** \ + * **Key2** */ -export type RollingRateType = string; +export type ServiceAccountKeyName = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** Known values of {@link ClusterPurpose} that the service accepts. */ +export enum KnownClusterPurpose { + /** FastProd */ + FastProd = "FastProd", + /** DenseProd */ + DenseProd = "DenseProd", + /** DevTest */ + DevTest = "DevTest", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * Defines values for ClusterPurpose. \ + * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **StorageInitializer** \ - * **InferenceServer** + * **FastProd** \ + * **DenseProd** \ + * **DevTest** */ -export type ContainerType = string; +export type ClusterPurpose = string; -/** Known values of {@link SkuScaleType} that the service accepts. */ -export enum KnownSkuScaleType { - /** Automatically scales node count. */ - Automatic = "Automatic", - /** Node count scaled upon user request. */ - Manual = "Manual", - /** Fixed set of nodes. */ - None = "None", +/** Known values of {@link SslConfigStatus} that the service accepts. */ +export enum KnownSslConfigStatus { + /** Disabled */ + Disabled = "Disabled", + /** Enabled */ + Enabled = "Enabled", + /** Auto */ + Auto = "Auto", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * Defines values for SslConfigStatus. \ + * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **Disabled** \ + * **Enabled** \ + * **Auto** */ -export type SkuScaleType = string; +export type SslConfigStatus = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link LoadBalancerType} that the service accepts. */ +export enum KnownLoadBalancerType { + /** PublicIp */ + PublicIp = "PublicIp", + /** InternalLoadBalancer */ + InternalLoadBalancer = "InternalLoadBalancer", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * Defines values for LoadBalancerType. \ + * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Primary** \ - * **Secondary** + * **PublicIp** \ + * **InternalLoadBalancer** */ -export type KeyType = string; +export type LoadBalancerType = string; -/** Known values of {@link ScheduleListViewType} that the service accepts. */ -export enum KnownScheduleListViewType { - /** EnabledOnly */ - EnabledOnly = "EnabledOnly", - /** DisabledOnly */ - DisabledOnly = "DisabledOnly", - /** All */ - All = "All", +/** Known values of {@link OsType} that the service accepts. */ +export enum KnownOsType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * Defines values for OsType. \ + * {@link KnownOsType} can be used interchangeably with OsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **Linux** \ + * **Windows** */ -export type ScheduleListViewType = string; +export type OsType = string; -/** Known values of {@link ScheduleActionType} that the service accepts. */ -export enum KnownScheduleActionType { - /** CreateJob */ - CreateJob = "CreateJob", - /** InvokeBatchEndpoint */ - InvokeBatchEndpoint = "InvokeBatchEndpoint", - /** CreateMonitor */ - CreateMonitor = "CreateMonitor", +/** Known values of {@link VmPriority} that the service accepts. */ +export enum KnownVmPriority { + /** Dedicated */ + Dedicated = "Dedicated", + /** LowPriority */ + LowPriority = "LowPriority", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * Defines values for VmPriority. \ + * {@link KnownVmPriority} can be used interchangeably with VmPriority, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **Dedicated** \ + * **LowPriority** */ -export type ScheduleActionType = string; +export type VmPriority = string; -/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ -export enum KnownScheduleProvisioningStatus { - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ +export enum KnownRemoteLoginPortPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", + /** NotSpecified */ + NotSpecified = "NotSpecified", } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * Defines values for RemoteLoginPortPublicAccess. \ + * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Enabled** \ + * **Disabled** \ + * **NotSpecified** */ -export type ScheduleProvisioningStatus = string; +export type RemoteLoginPortPublicAccess = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** Known values of {@link AllocationState} that the service accepts. */ +export enum KnownAllocationState { + /** Steady */ + Steady = "Steady", + /** Resizing */ + Resizing = "Resizing", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * Defines values for AllocationState. \ + * {@link KnownAllocationState} can be used interchangeably with AllocationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Key** + * **Steady** \ + * **Resizing** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type AllocationState = string; -/** Known values of {@link ServerlessEndpointState} that the service accepts. */ -export enum KnownServerlessEndpointState { - /** Unknown */ - Unknown = "Unknown", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Suspending */ - Suspending = "Suspending", - /** Reinstating */ - Reinstating = "Reinstating", - /** Online */ - Online = "Online", - /** Suspended */ - Suspended = "Suspended", - /** CreationFailed */ - CreationFailed = "CreationFailed", - /** DeletionFailed */ - DeletionFailed = "DeletionFailed", +/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ +export enum KnownApplicationSharingPolicy { + /** Personal */ + Personal = "Personal", + /** Shared */ + Shared = "Shared", +} + +/** + * Defines values for ApplicationSharingPolicy. \ + * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Personal** \ + * **Shared** + */ +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 ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * 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 - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **Enabled** \ + * **Disabled** */ -export type ServerlessEndpointState = string; +export type MlflowAutologger = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { +/** Known values of {@link SshPublicAccess} that the service accepts. */ +export enum KnownSshPublicAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8982,1372 +10360,1592 @@ export enum KnownContentSafetyStatus { } /** - * Defines values for ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * Defines values for SshPublicAccess. \ + * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ -export type ContentSafetyStatus = string; +export type SshPublicAccess = string; -/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownEndpointServiceConnectionStatus { - /** Approved */ - Approved = "Approved", - /** Pending */ - Pending = "Pending", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", +/** Known values of {@link PatchStatus} that the service accepts. */ +export enum KnownPatchStatus { + /** CompletedWithWarnings */ + CompletedWithWarnings = "CompletedWithWarnings", + /** Failed */ + Failed = "Failed", + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Unknown */ + Unknown = "Unknown", } /** - * Defines values for EndpointServiceConnectionStatus. \ - * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, + * Defines values for PatchStatus. \ + * {@link KnownPatchStatus} can be used interchangeably with PatchStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** + * **CompletedWithWarnings** \ + * **Failed** \ + * **InProgress** \ + * **Succeeded** \ + * **Unknown** */ -export type EndpointServiceConnectionStatus = string; +export type PatchStatus = 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 ComputeInstanceState} that the service accepts. */ +export enum KnownComputeInstanceState { + /** Creating */ + Creating = "Creating", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** Deleting */ + Deleting = "Deleting", + /** Running */ + Running = "Running", + /** Restarting */ + Restarting = "Restarting", + /** Resizing */ + Resizing = "Resizing", + /** JobRunning */ + JobRunning = "JobRunning", + /** SettingUp */ + SettingUp = "SettingUp", + /** SetupFailed */ + SetupFailed = "SetupFailed", + /** Starting */ + Starting = "Starting", + /** Stopped */ + Stopped = "Stopped", + /** Stopping */ + Stopping = "Stopping", + /** UserSettingUp */ + UserSettingUp = "UserSettingUp", + /** UserSetupFailed */ + UserSetupFailed = "UserSetupFailed", + /** Unknown */ + Unknown = "Unknown", + /** Unusable */ + Unusable = "Unusable", } /** - * Defines values for ClusterPurpose. \ - * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, + * Defines values for ComputeInstanceState. \ + * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **FastProd** \ - * **DenseProd** \ - * **DevTest** + * **Creating** \ + * **CreateFailed** \ + * **Deleting** \ + * **Running** \ + * **Restarting** \ + * **Resizing** \ + * **JobRunning** \ + * **SettingUp** \ + * **SetupFailed** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** \ + * **UserSettingUp** \ + * **UserSetupFailed** \ + * **Unknown** \ + * **Unusable** */ -export type ClusterPurpose = string; +export type ComputeInstanceState = string; -/** Known values of {@link SslConfigStatus} that the service accepts. */ -export enum KnownSslConfigStatus { - /** Disabled */ - Disabled = "Disabled", - /** Enabled */ - Enabled = "Enabled", - /** Auto */ - Auto = "Auto", +/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ +export enum KnownComputeInstanceAuthorizationType { + /** Personal */ + Personal = "personal", } /** - * Defines values for SslConfigStatus. \ - * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, + * Defines values for ComputeInstanceAuthorizationType. \ + * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **Enabled** \ - * **Auto** + * **personal** */ -export type SslConfigStatus = string; +export type ComputeInstanceAuthorizationType = string; -/** Known values of {@link LoadBalancerType} that the service accepts. */ -export enum KnownLoadBalancerType { - /** PublicIp */ - PublicIp = "PublicIp", - /** InternalLoadBalancer */ - InternalLoadBalancer = "InternalLoadBalancer", +/** Known values of {@link OperationName} that the service accepts. */ +export enum KnownOperationName { + /** Create */ + Create = "Create", + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", + /** Restart */ + Restart = "Restart", + /** Resize */ + Resize = "Resize", + /** Reimage */ + Reimage = "Reimage", + /** Delete */ + Delete = "Delete", } /** - * Defines values for LoadBalancerType. \ - * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, + * Defines values for OperationName. \ + * {@link KnownOperationName} can be used interchangeably with OperationName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PublicIp** \ - * **InternalLoadBalancer** + * **Create** \ + * **Start** \ + * **Stop** \ + * **Restart** \ + * **Resize** \ + * **Reimage** \ + * **Delete** */ -export type LoadBalancerType = string; +export type OperationName = string; -/** Known values of {@link OsType} that the service accepts. */ -export enum KnownOsType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link OperationStatus} that the service accepts. */ +export enum KnownOperationStatus { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** StartFailed */ + StartFailed = "StartFailed", + /** StopFailed */ + StopFailed = "StopFailed", + /** RestartFailed */ + RestartFailed = "RestartFailed", + /** ResizeFailed */ + ResizeFailed = "ResizeFailed", + /** ReimageFailed */ + ReimageFailed = "ReimageFailed", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", } /** - * Defines values for OsType. \ - * {@link KnownOsType} can be used interchangeably with OsType, + * Defines values for OperationStatus. \ + * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **InProgress** \ + * **Succeeded** \ + * **CreateFailed** \ + * **StartFailed** \ + * **StopFailed** \ + * **RestartFailed** \ + * **ResizeFailed** \ + * **ReimageFailed** \ + * **DeleteFailed** */ -export type OsType = string; +export type OperationStatus = string; -/** Known values of {@link VmPriority} that the service accepts. */ -export enum KnownVmPriority { - /** Dedicated */ - Dedicated = "Dedicated", - /** LowPriority */ - LowPriority = "LowPriority", +/** Known values of {@link OperationTrigger} that the service accepts. */ +export enum KnownOperationTrigger { + /** User */ + User = "User", + /** Schedule */ + Schedule = "Schedule", + /** IdleShutdown */ + IdleShutdown = "IdleShutdown", +} + +/** + * Defines values for OperationTrigger. \ + * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Schedule** \ + * **IdleShutdown** + */ +export type OperationTrigger = string; + +/** Known values of {@link ProvisioningStatus} that the service accepts. */ +export enum KnownProvisioningStatus { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for VmPriority. \ - * {@link KnownVmPriority} can be used interchangeably with VmPriority, + * Defines values for ProvisioningStatus. \ + * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dedicated** \ - * **LowPriority** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type VmPriority = string; +export type ProvisioningStatus = string; -/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ -export enum KnownRemoteLoginPortPublicAccess { +/** Known values of {@link ScheduleStatus} that the service accepts. */ +export enum KnownScheduleStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", - /** NotSpecified */ - NotSpecified = "NotSpecified", } /** - * Defines values for RemoteLoginPortPublicAccess. \ - * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, + * Defines values for ScheduleStatus. \ + * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ - * **Disabled** \ - * **NotSpecified** + * **Disabled** */ -export type RemoteLoginPortPublicAccess = string; +export type ScheduleStatus = string; -/** Known values of {@link AllocationState} that the service accepts. */ -export enum KnownAllocationState { - /** Steady */ - Steady = "Steady", - /** Resizing */ - Resizing = "Resizing", +/** Known values of {@link ComputePowerAction} that the service accepts. */ +export enum KnownComputePowerAction { + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", } /** - * Defines values for AllocationState. \ - * {@link KnownAllocationState} can be used interchangeably with AllocationState, + * Defines values for ComputePowerAction. \ + * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Steady** \ - * **Resizing** + * **Start** \ + * **Stop** */ -export type AllocationState = string; +export type ComputePowerAction = string; -/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ -export enum KnownApplicationSharingPolicy { - /** Personal */ - Personal = "Personal", - /** Shared */ - Shared = "Shared", +/** Known values of {@link ComputeTriggerType} that the service accepts. */ +export enum KnownComputeTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } /** - * Defines values for ApplicationSharingPolicy. \ - * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, + * Defines values for ComputeTriggerType. \ + * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Personal** \ - * **Shared** + * **Recurrence** \ + * **Cron** */ -export type ApplicationSharingPolicy = string; +export type ComputeTriggerType = string; -/** Known values of {@link SshPublicAccess} that the service accepts. */ -export enum KnownSshPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ +export enum KnownComputeRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", } /** - * Defines values for SshPublicAccess. \ - * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, + * Defines values for ComputeRecurrenceFrequency. \ + * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type SshPublicAccess = string; +export type ComputeRecurrenceFrequency = string; -/** Known values of {@link ImageType} that the service accepts. */ -export enum KnownImageType { - /** Docker */ - Docker = "docker", - /** Azureml */ - Azureml = "azureml", +/** Known values of {@link ComputeWeekDay} that the service accepts. */ +export enum KnownComputeWeekDay { + /** 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 ImageType. \ - * {@link KnownImageType} can be used interchangeably with ImageType, + * Defines values for ComputeWeekDay. \ + * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **docker** \ - * **azureml** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type ImageType = string; +export type ComputeWeekDay = string; -/** Known values of {@link EnvironmentVariableType} that the service accepts. */ -export enum KnownEnvironmentVariableType { - /** Local */ - Local = "local", +/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ +export enum KnownScheduleProvisioningState { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for EnvironmentVariableType. \ - * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * Defines values for ScheduleProvisioningState. \ + * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **local** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type EnvironmentVariableType = string; +export type ScheduleProvisioningState = string; -/** Known values of {@link Protocol} that the service accepts. */ -export enum KnownProtocol { - /** Tcp */ - Tcp = "tcp", - /** Udp */ - Udp = "udp", - /** Http */ - Http = "http", +/** Known values of {@link Autosave} that the service accepts. */ +export enum KnownAutosave { + /** None */ + None = "None", + /** Local */ + Local = "Local", + /** Remote */ + Remote = "Remote", } /** - * Defines values for Protocol. \ - * {@link KnownProtocol} can be used interchangeably with Protocol, + * Defines values for Autosave. \ + * {@link KnownAutosave} can be used interchangeably with Autosave, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **tcp** \ - * **udp** \ - * **http** + * **None** \ + * **Local** \ + * **Remote** */ -export type Protocol = string; +export type Autosave = 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", +/** Known values of {@link Network} that the service accepts. */ +export enum KnownNetwork { + /** Bridge */ + Bridge = "Bridge", + /** Host */ + Host = "Host", } /** - * 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 ComputeInstanceState} that the service accepts. */ -export enum KnownComputeInstanceState { - /** Creating */ - Creating = "Creating", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** Deleting */ - Deleting = "Deleting", - /** Running */ - Running = "Running", - /** Restarting */ - Restarting = "Restarting", - /** JobRunning */ - JobRunning = "JobRunning", - /** SettingUp */ - SettingUp = "SettingUp", - /** SetupFailed */ - SetupFailed = "SetupFailed", - /** Starting */ - Starting = "Starting", - /** Stopped */ - Stopped = "Stopped", - /** Stopping */ - Stopping = "Stopping", - /** UserSettingUp */ - UserSettingUp = "UserSettingUp", - /** UserSetupFailed */ - UserSetupFailed = "UserSetupFailed", - /** Unknown */ - Unknown = "Unknown", - /** Unusable */ - Unusable = "Unusable", + * Defines values for Network. \ + * {@link KnownNetwork} can be used interchangeably with Network, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Bridge** \ + * **Host** + */ +export type Network = string; + +/** Known values of {@link Caching} that the service accepts. */ +export enum KnownCaching { + /** None */ + None = "None", + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", } /** - * Defines values for ComputeInstanceState. \ - * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, + * Defines values for Caching. \ + * {@link KnownCaching} can be used interchangeably with Caching, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **CreateFailed** \ - * **Deleting** \ - * **Running** \ - * **Restarting** \ - * **JobRunning** \ - * **SettingUp** \ - * **SetupFailed** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** \ - * **UserSettingUp** \ - * **UserSetupFailed** \ - * **Unknown** \ - * **Unusable** + * **None** \ + * **ReadOnly** \ + * **ReadWrite** */ -export type ComputeInstanceState = string; +export type Caching = string; -/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ -export enum KnownComputeInstanceAuthorizationType { - /** Personal */ - Personal = "personal", +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + /** StandardLRS */ + StandardLRS = "Standard_LRS", + /** PremiumLRS */ + PremiumLRS = "Premium_LRS", } /** - * Defines values for ComputeInstanceAuthorizationType. \ - * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, + * Defines values for StorageAccountType. \ + * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **personal** + * **Standard_LRS** \ + * **Premium_LRS** */ -export type ComputeInstanceAuthorizationType = string; +export type StorageAccountType = string; -/** Known values of {@link OperationName} that the service accepts. */ -export enum KnownOperationName { - /** Create */ - Create = "Create", - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", - /** Restart */ - Restart = "Restart", - /** Reimage */ - Reimage = "Reimage", - /** Delete */ - Delete = "Delete", +/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ +export enum KnownMonitoringFeatureFilterType { + /** Includes all features. */ + AllFeatures = "AllFeatures", + /** Only includes the top contributing features, measured by feature attribution. */ + TopNByAttribution = "TopNByAttribution", + /** Includes a user-defined subset of features. */ + FeatureSubset = "FeatureSubset", } /** - * Defines values for OperationName. \ - * {@link KnownOperationName} can be used interchangeably with OperationName, + * Defines values for MonitoringFeatureFilterType. \ + * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Create** \ - * **Start** \ - * **Stop** \ - * **Restart** \ - * **Reimage** \ - * **Delete** + * **AllFeatures**: Includes all features. \ + * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ + * **FeatureSubset**: Includes a user-defined subset of features. */ -export type OperationName = string; +export type MonitoringFeatureFilterType = string; -/** Known values of {@link OperationStatus} that the service accepts. */ -export enum KnownOperationStatus { - /** InProgress */ - InProgress = "InProgress", - /** Succeeded */ - Succeeded = "Succeeded", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** StartFailed */ - StartFailed = "StartFailed", - /** StopFailed */ - StopFailed = "StopFailed", - /** RestartFailed */ - RestartFailed = "RestartFailed", - /** ReimageFailed */ - ReimageFailed = "ReimageFailed", - /** DeleteFailed */ - DeleteFailed = "DeleteFailed", +/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ +export enum KnownMonitorComputeIdentityType { + /** Authenticates through user's AML token. */ + AmlToken = "AmlToken", + /** Authenticates through a user-provided managed identity. */ + ManagedIdentity = "ManagedIdentity", } /** - * Defines values for OperationStatus. \ - * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, + * Defines values for MonitorComputeIdentityType. \ + * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **InProgress** \ - * **Succeeded** \ - * **CreateFailed** \ - * **StartFailed** \ - * **StopFailed** \ - * **RestartFailed** \ - * **ReimageFailed** \ - * **DeleteFailed** + * **AmlToken**: Authenticates through user's AML token. \ + * **ManagedIdentity**: Authenticates through a user-provided managed identity. */ -export type OperationStatus = string; +export type MonitorComputeIdentityType = string; -/** Known values of {@link OperationTrigger} that the service accepts. */ -export enum KnownOperationTrigger { - /** User */ - User = "User", - /** Schedule */ - Schedule = "Schedule", - /** IdleShutdown */ - IdleShutdown = "IdleShutdown", +/** Known values of {@link InputDeliveryMode} that the service accepts. */ +export enum KnownInputDeliveryMode { + /** ReadOnlyMount */ + ReadOnlyMount = "ReadOnlyMount", + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Download */ + Download = "Download", + /** Direct */ + Direct = "Direct", + /** EvalMount */ + EvalMount = "EvalMount", + /** EvalDownload */ + EvalDownload = "EvalDownload", } /** - * Defines values for OperationTrigger. \ - * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * Defines values for InputDeliveryMode. \ + * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **User** \ - * **Schedule** \ - * **IdleShutdown** + * **ReadOnlyMount** \ + * **ReadWriteMount** \ + * **Download** \ + * **Direct** \ + * **EvalMount** \ + * **EvalDownload** */ -export type OperationTrigger = string; +export type InputDeliveryMode = string; -/** Known values of {@link ProvisioningStatus} that the service accepts. */ -export enum KnownProvisioningStatus { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Upload */ + Upload = "Upload", + /** Direct */ + Direct = "Direct", } /** - * Defines values for ProvisioningStatus. \ - * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * Defines values for OutputDeliveryMode. \ + * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** */ -export type ProvisioningStatus = string; +export type OutputDeliveryMode = string; -/** Known values of {@link ScheduleStatus} that the service accepts. */ -export enum KnownScheduleStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ForecastHorizonMode} that the service accepts. */ +export enum KnownForecastHorizonMode { + /** Forecast horizon to be determined automatically. */ + Auto = "Auto", + /** Use the custom forecast horizon. */ + Custom = "Custom", } /** - * Defines values for ScheduleStatus. \ - * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, + * Defines values for ForecastHorizonMode. \ + * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. */ -export type ScheduleStatus = string; +export type ForecastHorizonMode = string; -/** Known values of {@link ComputePowerAction} that the service accepts. */ -export enum KnownComputePowerAction { - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", +/** Known values of {@link JobOutputType} that the service accepts. */ +export enum KnownJobOutputType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", +} + +/** + * Defines values for JobOutputType. \ + * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobOutputType = string; + +/** Known values of {@link JobTier} that the service accepts. */ +export enum KnownJobTier { + /** Null */ + Null = "Null", + /** Spot */ + Spot = "Spot", + /** Basic */ + Basic = "Basic", + /** Standard */ + Standard = "Standard", + /** Premium */ + Premium = "Premium", } /** - * Defines values for ComputePowerAction. \ - * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, + * 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 - * **Start** \ - * **Stop** + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** */ -export type ComputePowerAction = string; +export type JobTier = string; -/** Known values of {@link ComputeTriggerType} that the service accepts. */ -export enum KnownComputeTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link LogVerbosity} that the service accepts. */ +export enum KnownLogVerbosity { + /** No logs emitted. */ + NotSet = "NotSet", + /** Debug and above log statements logged. */ + Debug = "Debug", + /** Info and above log statements logged. */ + Info = "Info", + /** Warning and above log statements logged. */ + Warning = "Warning", + /** Error and above log statements logged. */ + Error = "Error", + /** Only critical statements logged. */ + Critical = "Critical", } /** - * Defines values for ComputeTriggerType. \ - * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, + * Defines values for LogVerbosity. \ + * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **NotSet**: No logs emitted. \ + * **Debug**: Debug and above log statements logged. \ + * **Info**: Info and above log statements logged. \ + * **Warning**: Warning and above log statements logged. \ + * **Error**: Error and above log statements logged. \ + * **Critical**: Only critical statements logged. */ -export type ComputeTriggerType = string; +export type LogVerbosity = string; -/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ -export enum KnownComputeRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", +/** Known values of {@link TaskType} that the service accepts. */ +export enum KnownTaskType { + /** + * Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. + */ + Classification = "Classification", + /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ + Regression = "Regression", + /** + * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. + */ + Forecasting = "Forecasting", + /** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ + ImageClassification = "ImageClassification", + /** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ + ImageClassificationMultilabel = "ImageClassificationMultilabel", + /** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ + ImageObjectDetection = "ImageObjectDetection", + /** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** + * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. + */ + TextClassification = "TextClassification", + /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ + TextClassificationMultilabel = "TextClassificationMultilabel", + /** + * Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ + TextNER = "TextNER", } /** - * Defines values for ComputeRecurrenceFrequency. \ - * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, + * Defines values for TaskType. \ + * {@link KnownTaskType} can be used interchangeably with TaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. \ + * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ + * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. \ + * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ + * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ + * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ + * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. \ + * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. \ + * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ + * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. */ -export type ComputeRecurrenceFrequency = string; +export type TaskType = string; -/** Known values of {@link ComputeWeekDay} that the service accepts. */ -export enum KnownComputeWeekDay { - /** 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", +/** Known values of {@link JobInputType} that the service accepts. */ +export enum KnownJobInputType { + /** Literal */ + Literal = "literal", + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", } /** - * Defines values for ComputeWeekDay. \ - * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, + * Defines values for JobInputType. \ + * {@link KnownJobInputType} can be used interchangeably with JobInputType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type ComputeWeekDay = string; +export type JobInputType = string; -/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ -export enum KnownScheduleProvisioningState { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link NCrossValidationsMode} that the service accepts. */ +export enum KnownNCrossValidationsMode { + /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ + Auto = "Auto", + /** Use custom N-Cross validations value. */ + Custom = "Custom", } /** - * Defines values for ScheduleProvisioningState. \ - * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * Defines values for NCrossValidationsMode. \ + * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. */ -export type ScheduleProvisioningState = string; +export type NCrossValidationsMode = string; -/** Known values of {@link Autosave} that the service accepts. */ -export enum KnownAutosave { - /** None */ - None = "None", - /** Local */ - Local = "Local", - /** Remote */ - Remote = "Remote", +/** Known values of {@link SeasonalityMode} that the service accepts. */ +export enum KnownSeasonalityMode { + /** Seasonality to be determined automatically. */ + Auto = "Auto", + /** Use the custom seasonality value. */ + Custom = "Custom", } /** - * Defines values for Autosave. \ - * {@link KnownAutosave} can be used interchangeably with Autosave, + * Defines values for SeasonalityMode. \ + * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Local** \ - * **Remote** + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. */ -export type Autosave = string; - -/** Known values of {@link Network} that the service accepts. */ -export enum KnownNetwork { - /** Bridge */ - Bridge = "Bridge", - /** Host */ - Host = "Host", +export type SeasonalityMode = string; + +/** Known values of {@link TargetLagsMode} that the service accepts. */ +export enum KnownTargetLagsMode { + /** Target lags to be determined automatically. */ + Auto = "Auto", + /** Use the custom target lags. */ + Custom = "Custom", } /** - * Defines values for Network. \ - * {@link KnownNetwork} can be used interchangeably with Network, + * Defines values for TargetLagsMode. \ + * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bridge** \ - * **Host** + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. */ -export type Network = string; +export type TargetLagsMode = string; -/** Known values of {@link Caching} that the service accepts. */ -export enum KnownCaching { - /** None */ - None = "None", - /** ReadOnly */ - ReadOnly = "ReadOnly", - /** ReadWrite */ - ReadWrite = "ReadWrite", +/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ +export enum KnownTargetRollingWindowSizeMode { + /** Determine rolling windows size automatically. */ + Auto = "Auto", + /** Use the specified rolling window size. */ + Custom = "Custom", } /** - * Defines values for Caching. \ - * {@link KnownCaching} can be used interchangeably with Caching, + * Defines values for TargetRollingWindowSizeMode. \ + * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **ReadOnly** \ - * **ReadWrite** + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. */ -export type Caching = string; +export type TargetRollingWindowSizeMode = string; -/** Known values of {@link StorageAccountType} that the service accepts. */ -export enum KnownStorageAccountType { - /** StandardLRS */ - StandardLRS = "Standard_LRS", - /** PremiumLRS */ - PremiumLRS = "Premium_LRS", +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ + None = "None", + /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * Defines values for ServiceDataAccessAuthIdentity. \ + * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS** \ - * **Premium_LRS** + * **None**: Do not use any identity for service data access. \ + * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ + * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. */ -export type StorageAccountType = string; +export type ServiceDataAccessAuthIdentity = string; -/** Known values of {@link SourceType} that the service accepts. */ -export enum KnownSourceType { - /** Dataset */ - Dataset = "Dataset", - /** Datastore */ - Datastore = "Datastore", - /** URI */ - URI = "URI", +/** Known values of {@link ModelProvider} that the service accepts. */ +export enum KnownModelProvider { + /** Fine tuning using Azure Open AI model. */ + AzureOpenAI = "AzureOpenAI", + /** Fine tuning using custom model. */ + Custom = "Custom", } /** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, + * Defines values for ModelProvider. \ + * {@link KnownModelProvider} can be used interchangeably with ModelProvider, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dataset** \ - * **Datastore** \ - * **URI** + * **AzureOpenAI**: Fine tuning using Azure Open AI model. \ + * **Custom**: Fine tuning using custom model. */ -export type SourceType = string; +export type ModelProvider = string; -/** Known values of {@link MountAction} that the service accepts. */ -export enum KnownMountAction { - /** Mount */ - Mount = "Mount", - /** Unmount */ - Unmount = "Unmount", +/** Known values of {@link FineTuningTaskType} that the service accepts. */ +export enum KnownFineTuningTaskType { + /** ChatCompletion */ + ChatCompletion = "ChatCompletion", + /** TextCompletion */ + TextCompletion = "TextCompletion", + /** TextClassification */ + TextClassification = "TextClassification", + /** QuestionAnswering */ + QuestionAnswering = "QuestionAnswering", + /** TextSummarization */ + TextSummarization = "TextSummarization", + /** TokenClassification */ + TokenClassification = "TokenClassification", + /** TextTranslation */ + TextTranslation = "TextTranslation", + /** ImageClassification */ + ImageClassification = "ImageClassification", + /** ImageInstanceSegmentation */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** ImageObjectDetection */ + ImageObjectDetection = "ImageObjectDetection", + /** VideoMultiObjectTracking */ + VideoMultiObjectTracking = "VideoMultiObjectTracking", } /** - * Defines values for MountAction. \ - * {@link KnownMountAction} can be used interchangeably with MountAction, + * Defines values for FineTuningTaskType. \ + * {@link KnownFineTuningTaskType} can be used interchangeably with FineTuningTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Mount** \ - * **Unmount** + * **ChatCompletion** \ + * **TextCompletion** \ + * **TextClassification** \ + * **QuestionAnswering** \ + * **TextSummarization** \ + * **TokenClassification** \ + * **TextTranslation** \ + * **ImageClassification** \ + * **ImageInstanceSegmentation** \ + * **ImageObjectDetection** \ + * **VideoMultiObjectTracking** */ -export type MountAction = string; +export type FineTuningTaskType = string; -/** Known values of {@link MountState} that the service accepts. */ -export enum KnownMountState { - /** MountRequested */ - MountRequested = "MountRequested", - /** Mounted */ - Mounted = "Mounted", - /** MountFailed */ - MountFailed = "MountFailed", - /** UnmountRequested */ - UnmountRequested = "UnmountRequested", - /** UnmountFailed */ - UnmountFailed = "UnmountFailed", - /** Unmounted */ - Unmounted = "Unmounted", +/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + /** Bandit */ + Bandit = "Bandit", + /** MedianStopping */ + MedianStopping = "MedianStopping", + /** TruncationSelection */ + TruncationSelection = "TruncationSelection", } /** - * Defines values for MountState. \ - * {@link KnownMountState} can be used interchangeably with MountState, + * Defines values for EarlyTerminationPolicyType. \ + * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **MountRequested** \ - * **Mounted** \ - * **MountFailed** \ - * **UnmountRequested** \ - * **UnmountFailed** \ - * **Unmounted** + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** */ -export type MountState = string; +export type EarlyTerminationPolicyType = string; -/** Known values of {@link RuleAction} that the service accepts. */ -export enum KnownRuleAction { - /** Allow */ - Allow = "Allow", - /** Deny */ - Deny = "Deny", +/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + /** Grid */ + Grid = "Grid", + /** Random */ + Random = "Random", + /** Bayesian */ + Bayesian = "Bayesian", } /** - * Defines values for RuleAction. \ - * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * Defines values for SamplingAlgorithmType. \ + * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Allow** \ - * **Deny** + * **Grid** \ + * **Random** \ + * **Bayesian** */ -export type RuleAction = string; +export type SamplingAlgorithmType = string; -/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ -export enum KnownMonitoringFeatureFilterType { - /** Includes all features. */ - AllFeatures = "AllFeatures", - /** Only includes the top contributing features, measured by feature attribution. */ - TopNByAttribution = "TopNByAttribution", - /** Includes a user-defined subset of features. */ - FeatureSubset = "FeatureSubset", +/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ +export enum KnownCategoricalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for MonitoringFeatureFilterType. \ - * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, + * Defines values for CategoricalDataDriftMetric. \ + * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AllFeatures**: Includes all features. \ - * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ - * **FeatureSubset**: Includes a user-defined subset of features. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type MonitoringFeatureFilterType = string; +export type CategoricalDataDriftMetric = string; -/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ -export enum KnownMonitorComputeIdentityType { - /** Authenticates through user's AML token. */ - AmlToken = "AmlToken", - /** Authenticates through a user-provided managed identity. */ - ManagedIdentity = "ManagedIdentity", +/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ +export enum KnownMonitoringFeatureDataType { + /** Used for features of numerical data type. */ + Numerical = "Numerical", + /** Used for features of categorical data type. */ + Categorical = "Categorical", } /** - * Defines values for MonitorComputeIdentityType. \ - * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, + * Defines values for MonitoringFeatureDataType. \ + * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlToken**: Authenticates through user's AML token. \ - * **ManagedIdentity**: Authenticates through a user-provided managed identity. + * **Numerical**: Used for features of numerical data type. \ + * **Categorical**: Used for features of categorical data type. */ -export type MonitorComputeIdentityType = string; +export type MonitoringFeatureDataType = string; -/** Known values of {@link InputDeliveryMode} that the service accepts. */ -export enum KnownInputDeliveryMode { - /** ReadOnlyMount */ - ReadOnlyMount = "ReadOnlyMount", - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Download */ - Download = "Download", - /** Direct */ - Direct = "Direct", - /** EvalMount */ - EvalMount = "EvalMount", - /** EvalDownload */ - EvalDownload = "EvalDownload", +/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ +export enum KnownCategoricalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for InputDeliveryMode. \ - * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * Defines values for CategoricalDataQualityMetric. \ + * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadOnlyMount** \ - * **ReadWriteMount** \ - * **Download** \ - * **Direct** \ - * **EvalMount** \ - * **EvalDownload** + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type InputDeliveryMode = string; - -/** Known values of {@link OutputDeliveryMode} that the service accepts. */ -export enum KnownOutputDeliveryMode { - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Upload */ - Upload = "Upload", - /** Direct */ - Direct = "Direct", +export type CategoricalDataQualityMetric = string; + +/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ +export enum KnownCategoricalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * Defines values for CategoricalPredictionDriftMetric. \ + * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadWriteMount** \ - * **Upload** \ - * **Direct** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type OutputDeliveryMode = string; +export type CategoricalPredictionDriftMetric = string; -/** Known values of {@link ForecastHorizonMode} that the service accepts. */ -export enum KnownForecastHorizonMode { - /** Forecast horizon to be determined automatically. */ - Auto = "Auto", - /** Use the custom forecast horizon. */ - Custom = "Custom", +/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", } /** - * Defines values for ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * Defines values for ClassificationPrimaryMetrics. \ + * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ -export type ForecastHorizonMode = string; +export type ClassificationPrimaryMetrics = string; -/** Known values of {@link TaskType} that the service accepts. */ -export enum KnownTaskType { +/** Known values of {@link ClassificationModels} that the service accepts. */ +export enum KnownClassificationModels { /** - * Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. + * Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. */ - Classification = "Classification", - /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ - Regression = "Regression", + LogisticRegression = "LogisticRegression", /** - * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. */ - Forecasting = "Forecasting", + SGD = "SGD", /** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. */ - ImageClassification = "ImageClassification", + MultinomialNaiveBayes = "MultinomialNaiveBayes", + /** Naive Bayes classifier for multivariate Bernoulli models. */ + BernoulliNaiveBayes = "BernoulliNaiveBayes", /** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. */ - ImageClassificationMultilabel = "ImageClassificationMultilabel", + SVM = "SVM", /** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. */ - ImageObjectDetection = "ImageObjectDetection", + LinearSVM = "LinearSVM", /** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. */ - ImageInstanceSegmentation = "ImageInstanceSegmentation", + KNN = "KNN", /** - * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. + * 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. */ - TextClassification = "TextClassification", - /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ - TextClassificationMultilabel = "TextClassificationMultilabel", + DecisionTree = "DecisionTree", /** - * Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. */ - TextNER = "TextNER", + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ + XGBoostClassifier = "XGBoostClassifier", } /** - * Defines values for TaskType. \ - * {@link KnownTaskType} can be used interchangeably with TaskType, + * Defines values for ClassificationModels. \ + * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. \ - * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ - * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. \ - * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ - * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ - * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ - * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. \ - * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. \ - * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ - * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * **LogisticRegression**: Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ + * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ + * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ + * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ + * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ -export type TaskType = string; +export type ClassificationModels = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical", +/** Known values of {@link StackMetaLearnerType} that the service accepts. */ +export enum KnownStackMetaLearnerType { + /** None */ + None = "None", + /** Default meta-learners are LogisticRegression for classification tasks. */ + LogisticRegression = "LogisticRegression", + /** Default meta-learners are LogisticRegression for classification task when CV is on. */ + LogisticRegressionCV = "LogisticRegressionCV", + /** LightGBMClassifier */ + LightGBMClassifier = "LightGBMClassifier", + /** Default meta-learners are LogisticRegression for regression task. */ + ElasticNet = "ElasticNet", + /** Default meta-learners are LogisticRegression for regression task when CV is on. */ + ElasticNetCV = "ElasticNetCV", + /** LightGBMRegressor */ + LightGBMRegressor = "LightGBMRegressor", + /** LinearRegression */ + LinearRegression = "LinearRegression", +} + +/** + * Defines values for StackMetaLearnerType. \ + * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ + * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ + * **LightGBMClassifier** \ + * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ + * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ + * **LightGBMRegressor** \ + * **LinearRegression** + */ +export type StackMetaLearnerType = string; + +/** Known values of {@link BlockedTransformers} that the service accepts. */ +export enum KnownBlockedTransformers { + /** Target encoding for text data. */ + TextTargetEncoder = "TextTargetEncoder", + /** Ohe hot encoding creates a binary feature transformation. */ + OneHotEncoder = "OneHotEncoder", + /** Target encoding for categorical data. */ + CatTargetEncoder = "CatTargetEncoder", + /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ + TfIdf = "TfIdf", + /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ + WoETargetEncoder = "WoETargetEncoder", + /** Label encoder converts labels\/categorical variables in a numerical form. */ + LabelEncoder = "LabelEncoder", + /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ + WordEmbedding = "WordEmbedding", + /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ + NaiveBayes = "NaiveBayes", + /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ + CountVectorizer = "CountVectorizer", + /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ + HashOneHotEncoder = "HashOneHotEncoder", } /** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * Defines values for BlockedTransformers. \ + * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NotSet**: No logs emitted. \ - * **Debug**: Debug and above log statements logged. \ - * **Info**: Info and above log statements logged. \ - * **Warning**: Warning and above log statements logged. \ - * **Error**: Error and above log statements logged. \ - * **Critical**: Only critical statements logged. + * **TextTargetEncoder**: Target encoding for text data. \ + * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ + * **CatTargetEncoder**: Target encoding for categorical data. \ + * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ + * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ + * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ + * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ + * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ + * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ + * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ -export type LogVerbosity = string; +export type BlockedTransformers = string; -/** Known values of {@link JobInputType} that the service accepts. */ -export enum KnownJobInputType { - /** Literal */ - Literal = "literal", - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. */ -export type JobInputType = string; +export type FeaturizationMode = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link DistributionType} that the service accepts. */ +export enum KnownDistributionType { + /** PyTorch */ + PyTorch = "PyTorch", + /** TensorFlow */ + TensorFlow = "TensorFlow", + /** Mpi */ + Mpi = "Mpi", } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * Defines values for DistributionType. \ + * {@link KnownDistributionType} can be used interchangeably with DistributionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** */ -export type JobOutputType = string; +export type DistributionType = string; -/** Known values of {@link JobTier} that the service accepts. */ -export enum KnownJobTier { - /** Null */ - Null = "Null", - /** Spot */ - Spot = "Spot", - /** Basic */ - Basic = "Basic", - /** Standard */ - Standard = "Standard", - /** Premium */ - Premium = "Premium", +/** Known values of {@link JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", } /** - * Defines values for JobTier. \ - * {@link KnownJobTier} can be used interchangeably with JobTier, + * Defines values for JobLimitsType. \ + * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** + * **Command** \ + * **Sweep** */ -export type JobTier = string; +export type JobLimitsType = string; -/** Known values of {@link NCrossValidationsMode} that the service accepts. */ -export enum KnownNCrossValidationsMode { - /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ - Auto = "Auto", - /** Use custom N-Cross validations value. */ - Custom = "Custom", +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", } /** - * Defines values for NCrossValidationsMode. \ - * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * Defines values for MonitorComputeType. \ + * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ - * **Custom**: Use custom N-Cross validations value. + * **ServerlessSpark**: Serverless Spark compute. */ -export type NCrossValidationsMode = string; +export type MonitorComputeType = string; -/** Known values of {@link SeasonalityMode} that the service accepts. */ -export enum KnownSeasonalityMode { - /** Seasonality to be determined automatically. */ - Auto = "Auto", - /** Use the custom seasonality value. */ - Custom = "Custom", +/** Known values of {@link ModelTaskType} that the service accepts. */ +export enum KnownModelTaskType { + /** Classification */ + Classification = "Classification", + /** Regression */ + Regression = "Regression", } /** - * Defines values for SeasonalityMode. \ - * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * Defines values for ModelTaskType. \ + * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Seasonality to be determined automatically. \ - * **Custom**: Use the custom seasonality value. + * **Classification** \ + * **Regression** */ -export type SeasonalityMode = string; +export type ModelTaskType = string; -/** Known values of {@link TargetLagsMode} that the service accepts. */ -export enum KnownTargetLagsMode { - /** Target lags to be determined automatically. */ - Auto = "Auto", - /** Use the custom target lags. */ - Custom = "Custom", +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", } /** - * Defines values for TargetLagsMode. \ - * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * Defines values for MonitoringNotificationType. \ + * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Target lags to be determined automatically. \ - * **Custom**: Use the custom target lags. + * **AmlNotification**: Enables email notifications through AML notifications. */ -export type TargetLagsMode = string; +export type MonitoringNotificationType = string; -/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ -export enum KnownTargetRollingWindowSizeMode { - /** Determine rolling windows size automatically. */ - Auto = "Auto", - /** Use the specified rolling window size. */ +/** Known values of {@link MonitoringSignalType} that the service accepts. */ +export enum KnownMonitoringSignalType { + /** Tracks model input data distribution change, comparing against training data or past production data. */ + DataDrift = "DataDrift", + /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ + PredictionDrift = "PredictionDrift", + /** Tracks model input data integrity. */ + DataQuality = "DataQuality", + /** Tracks feature importance change in production, comparing against feature importance at training time. */ + FeatureAttributionDrift = "FeatureAttributionDrift", + /** Tracks a custom signal provided by users. */ Custom = "Custom", } /** - * Defines values for TargetRollingWindowSizeMode. \ - * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * Defines values for MonitoringSignalType. \ + * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine rolling windows size automatically. \ - * **Custom**: Use the specified rolling window size. + * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ + * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ + * **DataQuality**: Tracks model input data integrity. \ + * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ + * **Custom**: Tracks a custom signal provided by users. */ -export type TargetRollingWindowSizeMode = string; +export type MonitoringSignalType = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ - None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", +/** Known values of {@link MonitoringInputDataType} that the service accepts. */ +export enum KnownMonitoringInputDataType { + /** An input data with a fixed window size. */ + Static = "Static", + /** An input data which rolls relatively to the monitor's current run time. */ + Rolling = "Rolling", + /** An input data with tabular format which doesn't require preprocessing. */ + Fixed = "Fixed", } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for MonitoringInputDataType. \ + * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Do not use any identity for service data access. \ - * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ - * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + * **Static**: An input data with a fixed window size. \ + * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ + * **Fixed**: An input data with tabular format which doesn't require preprocessing. */ -export type ServiceDataAccessAuthIdentity = string; +export type MonitoringInputDataType = string; -/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ -export enum KnownEarlyTerminationPolicyType { - /** Bandit */ - Bandit = "Bandit", - /** MedianStopping */ - MedianStopping = "MedianStopping", - /** TruncationSelection */ - TruncationSelection = "TruncationSelection", +/** Known values of {@link FeatureImportanceMode} that the service accepts. */ +export enum KnownFeatureImportanceMode { + /** Disables computing feature importance within a signal. */ + Disabled = "Disabled", + /** Enables computing feature importance within a signal. */ + Enabled = "Enabled", } /** - * Defines values for EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * Defines values for FeatureImportanceMode. \ + * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** + * **Disabled**: Disables computing feature importance within a signal. \ + * **Enabled**: Enables computing feature importance within a signal. */ -export type EarlyTerminationPolicyType = string; +export type FeatureImportanceMode = string; -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian", +/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ +export enum KnownFeatureAttributionMetric { + /** The Normalized Discounted Cumulative Gain metric. */ + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", } /** - * Defines values for SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for FeatureAttributionMetric. \ + * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. */ -export type SamplingAlgorithmType = string; +export type FeatureAttributionMetric = string; -/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ -export enum KnownCategoricalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ + Auto = "Auto", } /** - * Defines values for CategoricalDataDriftMetric. \ - * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. */ -export type CategoricalDataDriftMetric = string; +export type FeatureLags = string; -/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ -export enum KnownMonitoringFeatureDataType { - /** Used for features of numerical data type. */ - Numerical = "Numerical", - /** Used for features of categorical data type. */ - Categorical = "Categorical", +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no\/null value. */ + None = "None", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop", } /** - * Defines values for MonitoringFeatureDataType. \ - * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Numerical**: Used for features of numerical data type. \ - * **Categorical**: Used for features of categorical data type. + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. */ -export type MonitoringFeatureDataType = string; +export type ShortSeriesHandlingConfiguration = string; -/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ -export enum KnownCategoricalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + /** Sum */ + Sum = "Sum", + /** Max */ + Max = "Max", + /** Min */ + Min = "Min", + /** Mean */ + Mean = "Mean", } /** - * Defines values for CategoricalDataQualityMetric. \ - * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** */ -export type CategoricalDataQualityMetric = string; +export type TargetAggregationFunction = string; -/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ -export enum KnownCategoricalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + /** Season */ + Season = "Season", + /** SeasonTrend */ + SeasonTrend = "SeasonTrend", } /** - * Defines values for CategoricalPredictionDriftMetric. \ - * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** */ -export type CategoricalPredictionDriftMetric = string; +export type UseStl = string; -/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for ClassificationPrimaryMetrics. \ - * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type ClassificationPrimaryMetrics = string; +export type ForecastingPrimaryMetrics = string; -/** Known values of {@link ClassificationModels} that the service accepts. */ -export enum KnownClassificationModels { - /** - * Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. - */ - LogisticRegression = "LogisticRegression", +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. */ - SGD = "SGD", + AutoArima = "AutoArima", /** - * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. */ - MultinomialNaiveBayes = "MultinomialNaiveBayes", - /** Naive Bayes classifier for multivariate Bernoulli models. */ - BernoulliNaiveBayes = "BernoulliNaiveBayes", + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. */ - SVM = "SVM", + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + * 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. */ - LinearSVM = "LinearSVM", + DecisionTree = "DecisionTree", /** * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. */ KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", /** - * 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. + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. */ - DecisionTree = "DecisionTree", + 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", @@ -10355,455 +11953,370 @@ export enum KnownClassificationModels { ExtremeRandomTrees = "ExtremeRandomTrees", /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ LightGBM = "LightGBM", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ - XGBoostClassifier = "XGBoostClassifier", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", } /** - * Defines values for ClassificationModels. \ - * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LogisticRegression**: Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ - * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ - * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ - * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ - * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ClassificationModels = string; +export type ForecastingModels = string; -/** Known values of {@link StackMetaLearnerType} that the service accepts. */ -export enum KnownStackMetaLearnerType { - /** None */ +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ None = "None", - /** Default meta-learners are LogisticRegression for classification tasks. */ - LogisticRegression = "LogisticRegression", - /** Default meta-learners are LogisticRegression for classification task when CV is on. */ - LogisticRegressionCV = "LogisticRegressionCV", - /** LightGBMClassifier */ - LightGBMClassifier = "LightGBMClassifier", - /** Default meta-learners are LogisticRegression for regression task. */ - ElasticNet = "ElasticNet", - /** Default meta-learners are LogisticRegression for regression task when CV is on. */ - ElasticNetCV = "ElasticNetCV", - /** LightGBMRegressor */ - LightGBMRegressor = "LightGBMRegressor", - /** LinearRegression */ - LinearRegression = "LinearRegression", -} - -/** - * Defines values for StackMetaLearnerType. \ - * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ - * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ - * **LightGBMClassifier** \ - * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ - * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ - * **LightGBMRegressor** \ - * **LinearRegression** - */ -export type StackMetaLearnerType = string; - -/** Known values of {@link FeaturizationMode} that the service accepts. */ -export enum KnownFeaturizationMode { - /** Auto mode, system performs featurization without any custom featurization inputs. */ - Auto = "Auto", - /** Custom featurization. */ - Custom = "Custom", - /** Featurization off. 'Forecasting' task cannot use this value. */ - Off = "Off", -} - -/** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. - */ -export type FeaturizationMode = string; - -/** Known values of {@link BlockedTransformers} that the service accepts. */ -export enum KnownBlockedTransformers { - /** Target encoding for text data. */ - TextTargetEncoder = "TextTargetEncoder", - /** Ohe hot encoding creates a binary feature transformation. */ - OneHotEncoder = "OneHotEncoder", - /** Target encoding for categorical data. */ - CatTargetEncoder = "CatTargetEncoder", - /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ - TfIdf = "TfIdf", - /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ - WoETargetEncoder = "WoETargetEncoder", - /** Label encoder converts labels\/categorical variables in a numerical form. */ - LabelEncoder = "LabelEncoder", - /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ - WordEmbedding = "WordEmbedding", - /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ - NaiveBayes = "NaiveBayes", - /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ - CountVectorizer = "CountVectorizer", - /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ - HashOneHotEncoder = "HashOneHotEncoder", -} - -/** - * Defines values for BlockedTransformers. \ - * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **TextTargetEncoder**: Target encoding for text data. \ - * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ - * **CatTargetEncoder**: Target encoding for categorical data. \ - * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ - * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ - * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ - * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ - * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ - * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ - * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. - */ -export type BlockedTransformers = string; - -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step", } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. */ -export type DistributionType = string; +export type LearningRateScheduler = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw", } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ -export type JobLimitsType = string; +export type StochasticOptimizer = string; -/** Known values of {@link ModelTaskType} that the service accepts. */ -export enum KnownModelTaskType { - /** Classification */ - Classification = "Classification", - /** Regression */ - Regression = "Regression", +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU", } /** - * Defines values for ModelTaskType. \ - * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification** \ - * **Regression** + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. */ -export type ModelTaskType = string; +export type ClassificationMultilabelPrimaryMetrics = string; -/** Known values of {@link MonitoringSignalType} that the service accepts. */ -export enum KnownMonitoringSignalType { - /** Tracks model input data distribution change, comparing against training data or past production data. */ - DataDrift = "DataDrift", - /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ - PredictionDrift = "PredictionDrift", - /** Tracks model input data integrity. */ - DataQuality = "DataQuality", - /** Tracks feature importance change in production, comparing against feature importance at training time. */ - FeatureAttributionDrift = "FeatureAttributionDrift", - /** Tracks a custom signal provided by users. */ - Custom = "Custom", +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringSignalType. \ - * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ - * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ - * **DataQuality**: Tracks model input data integrity. \ - * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ - * **Custom**: Tracks a custom signal provided by users. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringSignalType = string; +export type InstanceSegmentationPrimaryMetrics = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ + None = "None", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge", } /** - * Defines values for MonitoringNotificationType. \ - * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlNotification**: Enables email notifications through AML notifications. + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. */ -export type MonitoringNotificationType = string; +export type ModelSize = string; -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc", } /** - * Defines values for MonitorComputeType. \ - * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ServerlessSpark**: Serverless Spark compute. + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. */ -export type MonitorComputeType = string; +export type ValidationMetricType = string; -/** Known values of {@link MonitoringInputDataType} that the service accepts. */ -export enum KnownMonitoringInputDataType { - /** An input data with a fixed window size. */ - Static = "Static", - /** An input data which rolls relatively to the monitor's current run time. */ - Rolling = "Rolling", - /** An input data with tabular format which doesn't require preprocessing. */ - Fixed = "Fixed", +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringInputDataType. \ - * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Static**: An input data with a fixed window size. \ - * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ - * **Fixed**: An input data with tabular format which doesn't require preprocessing. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringInputDataType = string; +export type ObjectDetectionPrimaryMetrics = string; -/** Known values of {@link FeatureImportanceMode} that the service accepts. */ -export enum KnownFeatureImportanceMode { - /** Disables computing feature importance within a signal. */ - Disabled = "Disabled", - /** Enables computing feature importance within a signal. */ - Enabled = "Enabled", +/** Known values of {@link OneLakeArtifactType} that the service accepts. */ +export enum KnownOneLakeArtifactType { + /** LakeHouse */ + LakeHouse = "LakeHouse", } /** - * Defines values for FeatureImportanceMode. \ - * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, + * Defines values for OneLakeArtifactType. \ + * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled**: Disables computing feature importance within a signal. \ - * **Enabled**: Enables computing feature importance within a signal. + * **LakeHouse** */ -export type FeatureImportanceMode = string; +export type OneLakeArtifactType = string; -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", +/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ +export enum KnownNumericalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureAttributionMetric. \ - * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, + * Defines values for NumericalDataDriftMetric. \ + * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureAttributionMetric = string; +export type NumericalDataDriftMetric = string; -/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ -export enum KnownForecastingPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ +export enum KnownNumericalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * Defines values for NumericalDataQualityMetric. \ + * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type ForecastingPrimaryMetrics = string; +export type NumericalDataQualityMetric = string; -/** Known values of {@link FeatureLags} that the service accepts. */ -export enum KnownFeatureLags { - /** No feature lags generated. */ - None = "None", - /** System auto-generates feature lags. */ - Auto = "Auto", +/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ +export enum KnownNumericalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureLags. \ - * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * Defines values for NumericalPredictionDriftMetric. \ + * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No feature lags generated. \ - * **Auto**: System auto-generates feature lags. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureLags = string; +export type NumericalPredictionDriftMetric = string; -/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ -export enum KnownShortSeriesHandlingConfiguration { - /** Represents no\/null value. */ - None = "None", - /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ - Auto = "Auto", - /** All the short series will be padded. */ - Pad = "Pad", - /** All the short series will be dropped. */ - Drop = "Drop", +/** Known values of {@link Goal} that the service accepts. */ +export enum KnownGoal { + /** Minimize */ + Minimize = "Minimize", + /** Maximize */ + Maximize = "Maximize", } /** - * Defines values for ShortSeriesHandlingConfiguration. \ - * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * Defines values for Goal. \ + * {@link KnownGoal} can be used interchangeably with Goal, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represents no\/null value. \ - * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ - * **Pad**: All the short series will be padded. \ - * **Drop**: All the short series will be dropped. + * **Minimize** \ + * **Maximize** */ -export type ShortSeriesHandlingConfiguration = string; +export type Goal = string; -/** Known values of {@link UseStl} that the service accepts. */ -export enum KnownUseStl { - /** No stl decomposition. */ - None = "None", - /** Season */ - Season = "Season", - /** SeasonTrend */ - SeasonTrend = "SeasonTrend", +/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ +export enum KnownRandomSamplingAlgorithmRule { + /** Random */ + Random = "Random", + /** Sobol */ + Sobol = "Sobol", } /** - * Defines values for UseStl. \ - * {@link KnownUseStl} can be used interchangeably with UseStl, + * Defines values for RandomSamplingAlgorithmRule. \ + * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No stl decomposition. \ - * **Season** \ - * **SeasonTrend** + * **Random** \ + * **Sobol** */ -export type UseStl = string; +export type RandomSamplingAlgorithmRule = string; -/** Known values of {@link TargetAggregationFunction} that the service accepts. */ -export enum KnownTargetAggregationFunction { - /** Represent no value set. */ - None = "None", - /** Sum */ - Sum = "Sum", - /** Max */ - Max = "Max", - /** Min */ - Min = "Min", - /** Mean */ - Mean = "Mean", +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * Defines values for RegressionPrimaryMetrics. \ + * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represent no value set. \ - * **Sum** \ - * **Max** \ - * **Min** \ - * **Mean** + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type TargetAggregationFunction = string; +export type RegressionPrimaryMetrics = string; -/** Known values of {@link ForecastingModels} that the service accepts. */ -export enum KnownForecastingModels { - /** - * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. - */ - AutoArima = "AutoArima", - /** - * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. - */ - Prophet = "Prophet", - /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ - Naive = "Naive", - /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ - SeasonalNaive = "SeasonalNaive", - /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ - Average = "Average", - /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ - SeasonalAverage = "SeasonalAverage", - /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ - ExponentialSmoothing = "ExponentialSmoothing", - /** - * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. - */ - Arimax = "Arimax", - /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ - TCNForecaster = "TCNForecaster", +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ ElasticNet = "ElasticNet", /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ @@ -10828,7 +12341,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", @@ -10841,22 +12354,10 @@ export enum KnownForecastingModels { } /** - * Defines values for ForecastingModels. \ - * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ - * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ - * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ - * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ - * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ - * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ - * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ - * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ - * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. @@ -10868,449 +12369,418 @@ 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. \ * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ForecastingModels = string; +export type RegressionModels = string; -/** Known values of {@link LearningRateScheduler} that the service accepts. */ -export enum KnownLearningRateScheduler { - /** No learning rate scheduler selected. */ - None = "None", - /** Cosine Annealing With Warmup. */ - WarmupCosine = "WarmupCosine", - /** Step learning rate scheduler. */ - Step = "Step", +/** 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; + +/** Known values of {@link DeploymentModelVersionUpgradeOption} that the service accepts. */ +export enum KnownDeploymentModelVersionUpgradeOption { + /** OnceNewDefaultVersionAvailable */ + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable", + /** OnceCurrentVersionExpired */ + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + /** NoAutoUpgrade */ + NoAutoUpgrade = "NoAutoUpgrade", +} + +/** + * Defines values for DeploymentModelVersionUpgradeOption. \ + * {@link KnownDeploymentModelVersionUpgradeOption} can be used interchangeably with DeploymentModelVersionUpgradeOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OnceNewDefaultVersionAvailable** \ + * **OnceCurrentVersionExpired** \ + * **NoAutoUpgrade** + */ +export type DeploymentModelVersionUpgradeOption = string; + +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} + +/** + * Defines values for RuleAction. \ + * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type RuleAction = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; + +/** Optional parameters. */ +export interface UsagesListOptionalParams extends coreClient.OperationOptions {} + +/** 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; } -/** - * Defines values for LearningRateScheduler. \ - * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No learning rate scheduler selected. \ - * **WarmupCosine**: Cosine Annealing With Warmup. \ - * **Step**: Step learning rate scheduler. - */ -export type LearningRateScheduler = string; +/** 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 ComputeUpdateDataMountsOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link StochasticOptimizer} that the service accepts. */ -export enum KnownStochasticOptimizer { - /** No optimizer selected. */ - None = "None", - /** Stochastic Gradient Descent optimizer. */ - Sgd = "Sgd", - /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ - Adam = "Adam", - /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ - Adamw = "Adamw", +/** 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; } -/** - * Defines values for StochasticOptimizer. \ - * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No optimizer selected. \ - * **Sgd**: Stochastic Gradient Descent optimizer. \ - * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ - * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. - */ -export type StochasticOptimizer = 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; +} -/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationMultilabelPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", - /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ - IOU = "IOU", +/** 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; } -/** - * Defines values for ClassificationMultilabelPrimaryMetrics. \ - * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ - * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. - */ -export type ClassificationMultilabelPrimaryMetrics = string; +/** Optional parameters. */ +export interface ComputeUpdateIdleShutdownSettingOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ -export enum KnownInstanceSegmentationPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", -} +/** Optional parameters. */ +export interface ComputeGetAllowedResizeSizesOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for InstanceSegmentationPrimaryMetrics. \ - * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type InstanceSegmentationPrimaryMetrics = string; +/** Contains response data for the getAllowedResizeSizes operation. */ +export type ComputeGetAllowedResizeSizesResponse = VirtualMachineSizeListResult; -/** Known values of {@link ModelSize} that the service accepts. */ -export enum KnownModelSize { - /** No value selected. */ - None = "None", - /** Small size. */ - Small = "Small", - /** Medium size. */ - Medium = "Medium", - /** Large size. */ - Large = "Large", - /** Extra large size. */ - ExtraLarge = "ExtraLarge", +/** Optional parameters. */ +export interface ComputeResizeOptionalParams + 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; } -/** - * Defines values for ModelSize. \ - * {@link KnownModelSize} can be used interchangeably with ModelSize, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No value selected. \ - * **Small**: Small size. \ - * **Medium**: Medium size. \ - * **Large**: Large size. \ - * **ExtraLarge**: Extra large size. - */ -export type ModelSize = string; +/** Contains response data for the resize operation. */ +export type ComputeResizeResponse = ComputeResizeHeaders; -/** Known values of {@link ValidationMetricType} that the service accepts. */ -export enum KnownValidationMetricType { - /** No metric. */ - None = "None", - /** Coco metric. */ - Coco = "Coco", - /** Voc metric. */ - Voc = "Voc", - /** CocoVoc metric. */ - CocoVoc = "CocoVoc", -} +/** Optional parameters. */ +export interface ComputeListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for ValidationMetricType. \ - * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No metric. \ - * **Coco**: Coco metric. \ - * **Voc**: Voc metric. \ - * **CocoVoc**: CocoVoc metric. - */ -export type ValidationMetricType = string; +/** Contains response data for the listNext operation. */ +export type ComputeListNextResponse = PaginatedComputeResourcesList; -/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ -export enum KnownObjectDetectionPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", -} +/** Optional parameters. */ +export interface ComputeListNodesNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for ObjectDetectionPrimaryMetrics. \ - * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type ObjectDetectionPrimaryMetrics = string; +/** Contains response data for the listNodesNext operation. */ +export type ComputeListNodesNextResponse = AmlComputeNodesInformation; -/** Known values of {@link OneLakeArtifactType} that the service accepts. */ -export enum KnownOneLakeArtifactType { - /** LakeHouse */ - LakeHouse = "LakeHouse", +/** Optional parameters. */ +export interface RegistryCodeContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * Defines values for OneLakeArtifactType. \ - * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **LakeHouse** - */ -export type OneLakeArtifactType = string; +/** Contains response data for the list operation. */ +export type RegistryCodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; -/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ -export enum KnownNumericalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +/** 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; } -/** - * Defines values for NumericalDataDriftMetric. \ - * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalDataDriftMetric = string; +/** Optional parameters. */ +export interface RegistryCodeContainersGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ -export enum KnownNumericalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** 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; } -/** - * Defines values for NumericalDataQualityMetric. \ - * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. - */ -export type NumericalDataQualityMetric = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ -export enum KnownNumericalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", -} +/** Optional parameters. */ +export interface RegistryCodeContainersListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for NumericalPredictionDriftMetric. \ - * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalPredictionDriftMetric = string; +/** Contains response data for the listNext operation. */ +export type RegistryCodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; -/** Known values of {@link Goal} that the service accepts. */ -export enum KnownGoal { - /** Minimize */ - Minimize = "Minimize", - /** Maximize */ - Maximize = "Maximize", +/** 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; } -/** - * Defines values for Goal. \ - * {@link KnownGoal} can be used interchangeably with Goal, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Minimize** \ - * **Maximize** - */ -export type Goal = string; +/** Contains response data for the list operation. */ +export type RegistryCodeVersionsListResponse = + CodeVersionResourceArmPaginatedResult; -/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ -export enum KnownRandomSamplingAlgorithmRule { - /** Random */ - Random = "Random", - /** Sobol */ - Sobol = "Sobol", +/** 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; } -/** - * Defines values for RandomSamplingAlgorithmRule. \ - * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Random** \ - * **Sobol** - */ -export type RandomSamplingAlgorithmRule = string; +/** Optional parameters. */ +export interface RegistryCodeVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ -export enum KnownRegressionPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** 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; } -/** - * Defines values for RegressionPrimaryMetrics. \ - * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. - */ -export type RegressionPrimaryMetrics = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; -/** Known values of {@link RegressionModels} that the service accepts. */ -export enum KnownRegressionModels { - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor", -} +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for RegressionModels. \ - * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type RegressionModels = string; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; -/** Known values of {@link SparkJobEntryType} that the service accepts. */ -export enum KnownSparkJobEntryType { - /** SparkJobPythonEntry */ - SparkJobPythonEntry = "SparkJobPythonEntry", - /** SparkJobScalaEntry */ - SparkJobScalaEntry = "SparkJobScalaEntry", +/** 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; } -/** - * 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"; +/** Contains response data for the list operation. */ +export type RegistryComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface OperationsListOptionalParams +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 list operation. */ -export type OperationsListResponse = OperationListResult; +/** Contains response data for the get operation. */ +export type RegistryComponentContainersGetResponse = ComponentContainer; /** Optional parameters. */ -export interface WorkspacesGetOptionalParams +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 get operation. */ -export type WorkspacesGetResponse = Workspace; +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams +export interface RegistryComponentVersionsListOptionalParams 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; + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; } -/** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; +/** Contains response data for the list operation. */ +export type RegistryComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDeleteOptionalParams +export interface RegistryComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions { - /** Flag to indicate delete is a purge request. */ - forceToPurge?: boolean; /** 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. */ @@ -11318,7 +12788,14 @@ export interface WorkspacesDeleteOptionalParams } /** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams +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; @@ -11326,42 +12803,48 @@ export interface WorkspacesUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type WorkspacesUpdateResponse = Workspace; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams +export interface RegistryComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +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 listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryDataContainersListResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams +export interface RegistryDataContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; /** 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 diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - /** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; +/** Contains response data for the get operation. */ +export type RegistryDataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams +export interface RegistryDataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11369,26 +12852,41 @@ export interface WorkspacesResyncKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; + /** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams +export interface RegistryDataContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +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 listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = - NotebookAccessTokenResult; +/** Contains response data for the list operation. */ +export type RegistryDataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11396,103 +12894,134 @@ export interface WorkspacesPrepareNotebookOptionalParams resumeFrom?: string; } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; - /** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; +/** Contains response data for the get operation. */ +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsCreateOrUpdateOptionalParams + 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 listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams +export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** Contains response data for the listNext operation. */ +export type RegistryDataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams +export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** Contains response data for the getBlobReferenceSAS operation. */ +export type RegistryDataReferencesGetBlobReferenceSASResponse = + GetBlobReferenceSASResponseDto; /** Optional parameters. */ -export interface UsagesListOptionalParams extends coreClient.OperationOptions {} +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 UsagesListResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface UsagesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; +export type RegistryEnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +export interface RegistryEnvironmentContainersDeleteOptionalParams + 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 QuotasUpdateOptionalParams +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +/** Contains response data for the get operation. */ +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams + 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 RegistryEnvironmentContainersCreateOrUpdateResponse = + EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListNextOptionalParams +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryEnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListOptionalParams 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 list operation. */ -export type ComputeListResponse = PaginatedComputeResourcesList; +export type RegistryEnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentVersionsDeleteOptionalParams + 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 RegistryEnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComputeGetResponse = ComputeResource; +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11500,11 +13029,33 @@ export interface ComputeCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ComputeCreateOrUpdateResponse = ComputeResource; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = + EnvironmentVersion; + +/** Optional parameters. */ +export interface RegistryEnvironmentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +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 RegistryModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeUpdateOptionalParams +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11512,11 +13063,15 @@ export interface ComputeUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +/** Optional parameters. */ +export interface RegistryModelContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11524,22 +13079,44 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; + /** Optional parameters. */ -export interface ComputeListNodesOptionalParams +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodes operation. */ -export type ComputeListNodesResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type RegistryModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListKeysOptionalParams - 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 listKeys operation. */ -export type ComputeListKeysResponse = ComputeSecretsUnion; +/** Contains response data for the list operation. */ +export type RegistryModelVersionsListResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeStartOptionalParams +export interface RegistryModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11548,15 +13125,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 RegistryModelVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface ComputeRestartOptionalParams +export interface RegistryModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11564,112 +13140,110 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } -/** 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; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = - PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type RegistryModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; +} /** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +export type BatchEndpointsListResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = - WorkspaceConnectionPropertiesV2BasicResource; +export interface BatchEndpointsDeleteOptionalParams + 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 BatchEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; +export type BatchEndpointsGetResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsUpdateOptionalParams + 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 BatchEndpointsUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams +export interface BatchEndpointsCreateOrUpdateOptionalParams 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 BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams +export interface BatchEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the listKeys operation. */ +export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams +export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type BatchEndpointsListNextResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams - extends coreClient.OperationOptions {} +export interface BatchDeploymentsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; +} /** Contains response data for the list operation. */ -export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; +export type BatchDeploymentsListResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams +export interface BatchDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11678,14 +13252,14 @@ export interface ManagedNetworkSettingsRuleDeleteOptionalParams } /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleGetOptionalParams +export interface BatchDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; +export type BatchDeploymentsGetResponse = BatchDeployment; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams +export interface BatchDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11693,81 +13267,68 @@ export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = - OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; +/** Contains response data for the update operation. */ +export type BatchDeploymentsUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams +export interface BatchDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Managed Network Provisioning Options for a machine learning workspace. */ - body?: ManagedNetworkProvisionOptions; /** 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 provisionManagedNetwork operation. */ -export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = - ManagedNetworkProvisionStatus; +/** Contains response data for the createOrUpdate operation. */ +export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface RegistryCodeContainersListOptionalParams +export interface BatchDeploymentsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type BatchDeploymentsListNextResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface CodeContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } /** Contains response data for the list operation. */ -export type RegistryCodeContainersListResponse = +export type CodeContainersListResponse = 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; -} +export interface CodeContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeContainersGetOptionalParams +export interface CodeContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeContainersGetResponse = CodeContainer; +export type CodeContainersGetResponse = 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; -} +export interface CodeContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; +export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ -export interface RegistryCodeContainersListNextOptionalParams +export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeContainersListNextResponse = +export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsListOptionalParams +export interface CodeVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11775,30 +13336,35 @@ export interface RegistryCodeVersionsListOptionalParams orderBy?: string; /** Maximum number of records to return. */ top?: number; + /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ + hash?: string; + /** Hash algorithm version when listing by hash */ + hashVersion?: string; } /** Contains response data for the list operation. */ -export type RegistryCodeVersionsListResponse = - CodeVersionResourceArmPaginatedResult; +export type CodeVersionsListResponse = 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; -} +export interface CodeVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeVersionsGetOptionalParams +export interface CodeVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeVersionsGetResponse = CodeVersion; +export type CodeVersionsGetResponse = CodeVersion; /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrUpdateOptionalParams +export interface CodeVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type CodeVersionsCreateOrUpdateResponse = CodeVersion; + +/** Optional parameters. */ +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11806,75 +13372,63 @@ export interface RegistryCodeVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; - /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = +export type CodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface RegistryCodeVersionsListNextOptionalParams +export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeVersionsListNextResponse = +export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersListOptionalParams +export interface ComponentContainersListOptionalParams 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 RegistryComponentContainersListResponse = +export type ComponentContainersListResponse = 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; -} +export interface ComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentContainersGetOptionalParams +export interface ComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentContainersGetResponse = ComponentContainer; +export type ComponentContainersGetResponse = 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; -} +export interface ComponentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentContainersCreateOrUpdateResponse = - ComponentContainer; +export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ -export interface RegistryComponentContainersListNextOptionalParams +export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentContainersListNextResponse = +export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsListOptionalParams +export interface ComponentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11882,30 +13436,34 @@ export interface RegistryComponentVersionsListOptionalParams 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 RegistryComponentVersionsListResponse = +export type ComponentVersionsListResponse = 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; -} +export interface ComponentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentVersionsGetOptionalParams +export interface ComponentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentVersionsGetResponse = ComponentVersion; +export type ComponentVersionsGetResponse = ComponentVersion; /** Optional parameters. */ -export interface RegistryComponentVersionsCreateOrUpdateOptionalParams +export interface ComponentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; + +/** Optional parameters. */ +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11913,19 +13471,16 @@ export interface RegistryComponentVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; - /** Optional parameters. */ -export interface RegistryComponentVersionsListNextOptionalParams +export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentVersionsListNextResponse = +export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersListOptionalParams +export interface DataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11934,47 +13489,37 @@ export interface RegistryDataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataContainersListResponse = +export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -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; -} +export interface DataContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryDataContainersGetOptionalParams +export interface DataContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryDataContainersGetResponse = DataContainer; +export type DataContainersGetResponse = DataContainer; /** Optional parameters. */ -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; -} +export interface DataContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; +export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface RegistryDataContainersListNextOptionalParams +export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataContainersListNextResponse = +export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListOptionalParams +export interface DataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11992,11 +13537,29 @@ export interface RegistryDataVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataVersionsListResponse = +export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsDeleteOptionalParams +export interface DataVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface DataVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type DataVersionsGetResponse = DataVersionBase; + +/** Optional parameters. */ +export interface DataVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type DataVersionsCreateOrUpdateResponse = DataVersionBase; + +/** Optional parameters. */ +export interface DataVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12005,50 +13568,75 @@ export interface RegistryDataVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryDataVersionsGetOptionalParams +export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryDataVersionsGetResponse = DataVersionBase; +/** Contains response data for the listNext operation. */ +export type DataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsCreateOrUpdateOptionalParams +export interface DatastoresListOptionalParams 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; + /** 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; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; +/** Contains response data for the list operation. */ +export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams +export interface DatastoresDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - /** Optional parameters. */ -export interface RegistryDataVersionsListNextOptionalParams +export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistryDataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type DatastoresGetResponse = Datastore; /** Optional parameters. */ -export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams +export interface DatastoresCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Flag to skip validation. */ + skipValidation?: boolean; +} + +/** Contains response data for the createOrUpdate operation. */ +export type DatastoresCreateOrUpdateResponse = Datastore; + +/** Optional parameters. */ +export interface DatastoresListSecretsOptionalParams + extends coreClient.OperationOptions { + /** Secret expiry information. */ + body?: SecretExpiry; +} + +/** Contains response data for the listSecrets operation. */ +export type DatastoresListSecretsResponse = DatastoreSecretsUnion; + +/** Optional parameters. */ +export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getBlobReferenceSAS operation. */ -export type RegistryDataReferencesGetBlobReferenceSASResponse = - GetBlobReferenceSASResponseDto; +/** Contains response data for the listNext operation. */ +export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListOptionalParams +export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -12057,48 +13645,37 @@ export interface RegistryEnvironmentContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryEnvironmentContainersListResponse = +export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentContainersDeleteOptionalParams - 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 EnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryEnvironmentContainersGetOptionalParams +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; +export type EnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams - 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 EnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentContainersCreateOrUpdateResponse = - EnvironmentContainer; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListNextOptionalParams +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentContainersListNextResponse = +export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListOptionalParams +export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -12111,27 +13688,29 @@ export interface RegistryEnvironmentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryEnvironmentVersionsListResponse = +export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsDeleteOptionalParams - 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 EnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryEnvironmentVersionsGetOptionalParams +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; +export type EnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams +export interface EnvironmentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12139,33 +13718,39 @@ export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentVersionsCreateOrUpdateResponse = - EnvironmentVersion; - /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListNextOptionalParams +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentVersionsListNextResponse = +export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersListOptionalParams +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** 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; + /** description for the feature set */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featureset */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type RegistryModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = + FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersDeleteOptionalParams +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12174,14 +13759,14 @@ export interface RegistryModelContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelContainersGetOptionalParams +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryModelContainersGetResponse = ModelContainer; +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryModelContainersCreateOrUpdateOptionalParams +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12190,100 +13775,79 @@ export interface RegistryModelContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryModelContainersListNextOptionalParams +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturesetContainersListNextResponse = + FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsListOptionalParams +export interface FeaturesListOptionalParams 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; - /** Version identifier. */ - version?: string; - /** Model description. */ + /** Description of the featureset. */ 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; + /** feature name. */ + featureName?: string; + /** Page size. */ + pageSize?: number; } /** Contains response data for the list operation. */ -export type RegistryModelVersionsListResponse = - ModelVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -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; -} +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsGetOptionalParams +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelVersionsGetResponse = ModelVersion; - -/** Optional parameters. */ -export interface RegistryModelVersionsCreateOrUpdateOptionalParams - 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 RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; - -/** Optional parameters. */ -export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type FeaturesGetResponse = Feature; /** Optional parameters. */ -export interface RegistryModelVersionsListNextOptionalParams +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListOptionalParams +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** featureset version */ + version?: string; + /** description for the feature set version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featureset version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type BatchEndpointsListResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturesetVersionsListResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsDeleteOptionalParams +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12292,14 +13856,14 @@ export interface BatchEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchEndpointsGetOptionalParams +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchEndpointsGetResponse = BatchEndpoint; +export type FeaturesetVersionsGetResponse = FeaturesetVersion; /** Optional parameters. */ -export interface BatchEndpointsUpdateOptionalParams +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12307,11 +13871,11 @@ export interface BatchEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type BatchEndpointsUpdateResponse = BatchEndpoint; +/** Contains response data for the createOrUpdate operation. */ +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; /** Optional parameters. */ -export interface BatchEndpointsCreateOrUpdateOptionalParams +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12319,69 +13883,43 @@ export interface BatchEndpointsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; - -/** Optional parameters. */ -export interface BatchEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listKeys operation. */ -export type BatchEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the backfill operation. */ +export type FeaturesetVersionsBackfillResponse = + FeaturesetVersionBackfillResponse; /** Optional parameters. */ -export interface BatchEndpointsListNextOptionalParams +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsListOptionalParams +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** description for the featurestore entity */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featurestore entity */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type BatchDeploymentsListResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface BatchDeploymentsDeleteOptionalParams - 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 BatchDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type BatchDeploymentsGetResponse = BatchDeployment; - -/** Optional parameters. */ -export interface BatchDeploymentsUpdateOptionalParams - 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 BatchDeploymentsUpdateResponse = BatchDeployment; +export type FeaturestoreEntityContainersListResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsCreateOrUpdateOptionalParams +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12389,92 +13927,80 @@ export interface BatchDeploymentsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; - /** Optional parameters. */ -export interface BatchDeploymentsListNextOptionalParams +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface CodeContainersListOptionalParams +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: 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 CodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface CodeContainersDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface CodeContainersGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type CodeContainersGetResponse = CodeContainer; - -/** Optional parameters. */ -export interface CodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - /** Contains response data for the createOrUpdate operation. */ -export type CodeContainersCreateOrUpdateResponse = CodeContainer; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface CodeContainersListNextOptionalParams +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsListOptionalParams +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; - /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ - hash?: string; - /** Hash algorithm version when listing by hash */ - hashVersion?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** featurestore entity version */ + version?: string; + /** description for the feature entity version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featurestore entity version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsDeleteOptionalParams - 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 CodeVersionsGetOptionalParams +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CodeVersionsGetResponse = CodeVersion; - -/** Optional parameters. */ -export interface CodeVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type CodeVersionsCreateOrUpdateResponse = CodeVersion; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface CodeVersionsPublishOptionalParams +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12482,98 +14008,104 @@ export interface CodeVersionsPublishOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type CodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Contains response data for the createOrUpdate operation. */ +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = + FeaturestoreEntityVersion; /** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface JobsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Type of job to be returned. */ + jobType?: string; + /** Jobs returned will have this tag key. */ + tag?: string; } /** Contains response data for the list operation. */ -export type ComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type JobsListResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface JobsDeleteOptionalParams 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 ComponentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface JobsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentContainersGetResponse = ComponentContainer; +export type JobsGetResponse = JobBase; /** Optional parameters. */ -export interface ComponentContainersCreateOrUpdateOptionalParams +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; +export type JobsCreateOrUpdateResponse = JobBase; /** Optional parameters. */ -export interface ComponentContainersListNextOptionalParams +export interface JobsCancelOptionalParams 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 JobsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsListOptionalParams +export interface MarketplaceSubscriptionsListOptionalParams 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 ComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export type MarketplaceSubscriptionsListResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface MarketplaceSubscriptionsDeleteOptionalParams + 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 get operation. */ -export type ComponentVersionsGetResponse = ComponentVersion; +/** Contains response data for the delete operation. */ +export type MarketplaceSubscriptionsDeleteResponse = + MarketplaceSubscriptionsDeleteHeaders; /** Optional parameters. */ -export interface ComponentVersionsCreateOrUpdateOptionalParams +export interface MarketplaceSubscriptionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; +/** Contains response data for the get operation. */ +export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; /** Optional parameters. */ -export interface ComponentVersionsPublishOptionalParams +export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12581,95 +14113,107 @@ export interface ComponentVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type MarketplaceSubscriptionsCreateOrUpdateResponse = + MarketplaceSubscription; + /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams +export interface MarketplaceSubscriptionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type MarketplaceSubscriptionsListNextResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersListOptionalParams +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** 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. */ -export type DataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type ModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersDeleteOptionalParams +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataContainersGetOptionalParams +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataContainersGetResponse = DataContainer; +export type ModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface DataContainersCreateOrUpdateOptionalParams +export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type DataContainersCreateOrUpdateResponse = DataContainer; +export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface DataContainersListNextOptionalParams +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type ModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsListOptionalParams +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + /** Ordering of list. */ 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 - */ + /** Maximum number of records to return. */ top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Model version. */ + 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; + /** Number of initial results to skip. */ + offset?: number; + /** Name of the feed. */ + feed?: string; } /** Contains response data for the list operation. */ -export type DataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsDeleteOptionalParams +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataVersionsGetOptionalParams +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataVersionsGetResponse = DataVersionBase; +export type ModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface DataVersionsCreateOrUpdateOptionalParams +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type DataVersionsCreateOrUpdateResponse = DataVersionBase; +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface DataVersionsPublishOptionalParams +export interface ModelVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12678,146 +14222,227 @@ export interface DataVersionsPublishOptionalParams } /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresListOptionalParams +export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Maximum number of results to return. */ + /** 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; - /** 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; + /** Name of the endpoint. */ + name?: string; + /** EndpointComputeType to be filtered by. */ + computeType?: EndpointComputeType; + /** The option to order the response. */ + orderBy?: OrderString; } /** Contains response data for the list operation. */ -export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsDeleteOptionalParams + 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 DatastoresGetOptionalParams +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DatastoresGetResponse = Datastore; +export type OnlineEndpointsGetResponse = OnlineEndpoint; /** Optional parameters. */ -export interface DatastoresCreateOrUpdateOptionalParams +export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { - /** Flag to skip validation. */ - skipValidation?: boolean; + /** 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 OnlineEndpointsUpdateResponse = OnlineEndpoint; + +/** Optional parameters. */ +export interface OnlineEndpointsCreateOrUpdateOptionalParams + 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 DatastoresCreateOrUpdateResponse = Datastore; +export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface DatastoresListSecretsOptionalParams +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type DatastoresListSecretsResponse = DatastoreSecretsUnion; +/** Contains response data for the listKeys operation. */ +export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams +export interface OnlineEndpointsRegenerateKeysOptionalParams + 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 OnlineEndpointsGetTokenOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getToken operation. */ +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; + +/** Optional parameters. */ +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; +export type OnlineEndpointsListNextResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type OnlineDeploymentsListResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsDeleteOptionalParams + 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 EnvironmentContainersGetOptionalParams +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentContainersGetResponse = EnvironmentContainer; +export type OnlineDeploymentsGetResponse = OnlineDeployment; /** Optional parameters. */ -export interface EnvironmentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsUpdateOptionalParams + 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 OnlineDeploymentsUpdateResponse = OnlineDeployment; + +/** Optional parameters. */ +export interface OnlineDeploymentsCreateOrUpdateOptionalParams + 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 EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +/** Contains response data for the getLogs operation. */ +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams +export interface OnlineDeploymentsListSkusOptionalParams 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; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; } -/** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +/** Contains response data for the listSkus operation. */ +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type OnlineDeploymentsListNextResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; + /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +/** Contains response data for the listSkusNext operation. */ +export type OnlineDeploymentsListSkusNextResponse = + SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams +export interface SchedulesListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Status filter for schedule. */ + listViewType?: ScheduleListViewType; +} + +/** Contains response data for the list operation. */ +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface SchedulesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +/** Contains response data for the get operation. */ +export type SchedulesGetResponse = Schedule; /** Optional parameters. */ -export interface EnvironmentVersionsPublishOptionalParams +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12825,39 +14450,49 @@ export interface EnvironmentVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type SchedulesCreateOrUpdateResponse = Schedule; + /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams +export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersListOptionalParams +export interface ServerlessEndpointsListOptionalParams 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; - /** description for the feature set */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featureset */ - name?: string; - /** createdBy user name */ - createdBy?: string; } -/** Contains response data for the list operation. */ -export type FeaturesetContainersListResponse = - FeaturesetContainerResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type ServerlessEndpointsListResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ServerlessEndpointsDeleteOptionalParams + 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 delete operation. */ +export type ServerlessEndpointsDeleteResponse = + ServerlessEndpointsDeleteHeaders; + +/** Optional parameters. */ +export interface ServerlessEndpointsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ServerlessEndpointsGetResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturesetContainersDeleteOptionalParams +export interface ServerlessEndpointsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12865,15 +14500,11 @@ export interface FeaturesetContainersDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface FeaturesetContainersGetEntityOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getEntity operation. */ -export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; +/** Contains response data for the update operation. */ +export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturesetContainersCreateOrUpdateOptionalParams +export interface ServerlessEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12882,79 +14513,52 @@ export interface FeaturesetContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; +export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturesetContainersListNextOptionalParams +export interface ServerlessEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesetContainersListNextResponse = - FeaturesetContainerResourceArmPaginatedResult; +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturesListOptionalParams +export interface ServerlessEndpointsRegenerateKeysOptionalParams 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; - /** Description of the featureset. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** feature name. */ - featureName?: string; - /** Page size. */ - pageSize?: number; + /** 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 FeaturesListResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturesGetOptionalParams +export interface ServerlessEndpointsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type FeaturesGetResponse = Feature; +/** Contains response data for the listNext operation. */ +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesListNextOptionalParams +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = + RegistryTrackedResourceArmPaginatedResult; /** 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; - /** featureset version */ - version?: string; - /** description for the feature set version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featureset version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; -} +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturesetVersionsListResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsDeleteOptionalParams +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12963,14 +14567,21 @@ export interface FeaturesetVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetVersionsGetOptionalParams +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturesetVersionsGetResponse = FeaturesetVersion; +export type RegistriesGetResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsCreateOrUpdateOptionalParams +export interface RegistriesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** 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; @@ -12979,10 +14590,10 @@ export interface FeaturesetVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; +export type RegistriesCreateOrUpdateResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsBackfillOptionalParams +export interface RegistriesRemoveRegionsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12990,109 +14601,77 @@ export interface FeaturesetVersionsBackfillOptionalParams resumeFrom?: string; } -/** Contains response data for the backfill operation. */ -export type FeaturesetVersionsBackfillResponse = - FeaturesetVersionBackfillResponse; +/** Contains response data for the removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsListNextOptionalParams +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 FeaturesetVersionsListNextResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type RegistriesListNextResponse = + RegistryTrackedResourceArmPaginatedResult; /** 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; - /** description for the featurestore entity */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featurestore entity */ - name?: string; - /** createdBy user name */ - createdBy?: string; -} +export interface WorkspaceFeaturesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturestoreEntityContainersListResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; /** 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; -} +export interface WorkspaceFeaturesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersGetEntityOptionalParams +export interface OperationsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturestoreEntityContainersGetEntityResponse = - FeaturestoreEntityContainer; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams +export interface WorkspacesListBySubscriptionOptionalParams 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; + /** Continuation token for pagination. */ + skip?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityContainersCreateOrUpdateResponse = - FeaturestoreEntityContainer; - -/** Optional parameters. */ -export interface FeaturestoreEntityContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityContainersListNextResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsListOptionalParams +export interface WorkspacesListByResourceGroupOptionalParams 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; - /** featurestore entity version */ - version?: string; - /** description for the feature entity version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featurestore entity version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; } -/** Contains response data for the list operation. */ -export type FeaturestoreEntityVersionsListResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsDeleteOptionalParams +export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { + /** Flag to indicate delete is a purge request. */ + forceToPurge?: boolean; /** 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. */ @@ -13100,14 +14679,14 @@ export interface FeaturestoreEntityVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturestoreEntityVersionsGetOptionalParams +export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; +export type WorkspacesGetResponse = Workspace; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13115,84 +14694,75 @@ export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = - FeaturestoreEntityVersion; - -/** Optional parameters. */ -export interface FeaturestoreEntityVersionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityVersionsListNextResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +/** Contains response data for the update operation. */ +export type WorkspacesUpdateResponse = Workspace; /** Optional parameters. */ -export interface JobsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Type of job to be returned. */ - jobType?: string; - /** Jobs returned will have this tag key. */ - tag?: string; +export interface WorkspacesCreateOrUpdateOptionalParams + 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 JobsListResponse = JobBaseResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; /** Optional parameters. */ -export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { +export interface WorkspacesDiagnoseOptionalParams + extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + body?: DiagnoseWorkspaceParameters; /** 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 diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; + /** Optional parameters. */ -export interface JobsGetOptionalParams extends coreClient.OperationOptions {} +export interface WorkspacesListKeysOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type JobsGetResponse = JobBase; +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; /** Optional parameters. */ -export interface JobsCreateOrUpdateOptionalParams +export interface WorkspacesListNotebookAccessTokenOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type JobsCreateOrUpdateResponse = JobBase; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = + NotebookAccessTokenResult; /** Optional parameters. */ -export interface JobsCancelOptionalParams 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 WorkspacesListNotebookKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; /** Optional parameters. */ -export interface JobsListNextOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = + ListStorageAccountKeysResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type MarketplaceSubscriptionsListResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = + ExternalFqdnResponse; /** Optional parameters. */ -export interface MarketplaceSubscriptionsDeleteOptionalParams +export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13200,19 +14770,11 @@ export interface MarketplaceSubscriptionsDeleteOptionalParams resumeFrom?: string; } -/** Contains response data for the delete operation. */ -export type MarketplaceSubscriptionsDeleteResponse = - MarketplaceSubscriptionsDeleteHeaders; - -/** Optional parameters. */ -export interface MarketplaceSubscriptionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; +/** Contains response data for the prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; /** Optional parameters. */ -export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams +export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13220,367 +14782,419 @@ export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type MarketplaceSubscriptionsCreateOrUpdateResponse = - MarketplaceSubscription; +/** Optional parameters. */ +export interface WorkspacesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListNextOptionalParams +export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type MarketplaceSubscriptionsListNextResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ModelContainersListOptionalParams +export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Maximum number of results to return. */ - count?: number; + /** Target of the workspace connection. */ + target?: string; + /** Category of the workspace connection. */ + category?: string; + /** query parameter that indicates if get connection call should return both connections and datastores */ + includeAll?: boolean; } /** Contains response data for the list operation. */ -export type ModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelContainersDeleteOptionalParams +export interface WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModelContainersGetOptionalParams +export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ModelContainersGetResponse = ModelContainer; - -/** Optional parameters. */ -export interface ModelContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ModelContainersCreateOrUpdateResponse = ModelContainer; - -/** Optional parameters. */ -export interface ModelContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type WorkspaceConnectionsGetResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsListOptionalParams +export interface WorkspaceConnectionsUpdateOptionalParams 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; - /** 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; + /** Parameters for workspace connection update. */ + body?: WorkspaceConnectionUpdateParameter; } -/** Contains response data for the list operation. */ -export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the update operation. */ +export type WorkspaceConnectionsUpdateResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions { + /** The object for creating or updating a new workspace connection */ + body?: WorkspaceConnectionPropertiesV2BasicResource; +} -/** Contains response data for the get operation. */ -export type ModelVersionsGetResponse = ModelVersion; +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsCreateOrUpdateOptionalParams +export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsPublishOptionalParams +export interface WorkspaceConnectionsTestConnectionOptionalParams extends coreClient.OperationOptions { + /** Workspace Connection object */ + body?: WorkspaceConnectionPropertiesV2BasicResource; /** 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 testConnection operation. */ +export type WorkspaceConnectionsTestConnectionResponse = + WorkspaceConnectionsTestConnectionHeaders; + /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsListOptionalParams +export interface ConnectionListDeploymentsOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** 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. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listDeployments operation. */ +export type ConnectionListDeploymentsResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsDeleteOptionalParams +export interface ConnectionDeleteDeploymentOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 deleteDeployment operation. */ +export type ConnectionDeleteDeploymentResponse = + ConnectionDeleteDeploymentHeaders; + /** Optional parameters. */ -export interface OnlineEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionGetDeploymentOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the get operation. */ -export type OnlineEndpointsGetResponse = OnlineEndpoint; +/** Contains response data for the getDeployment operation. */ +export type ConnectionGetDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsUpdateOptionalParams +export interface ConnectionCreateOrUpdateDeploymentOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 update operation. */ -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; +/** Contains response data for the createOrUpdateDeployment operation. */ +export type ConnectionCreateOrUpdateDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsCreateOrUpdateOptionalParams +export interface ConnectionGetModelsOptionalParams 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; + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +/** Contains response data for the getModels operation. */ +export type ConnectionGetModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsListKeysOptionalParams +export interface ConnectionGetAllModelsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the getAllModels operation. */ +export type ConnectionGetAllModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsRegenerateKeysOptionalParams - 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 ConnectionListDeploymentsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listDeploymentsNext operation. */ +export type ConnectionListDeploymentsNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsGetTokenOptionalParams +export interface ConnectionGetModelsNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getToken operation. */ -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +/** Contains response data for the getModelsNext operation. */ +export type ConnectionGetModelsNextResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsListNextOptionalParams +export interface ConnectionRaiBlocklistsListOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} + +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistsListResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +export type ConnectionRaiBlocklistsListNextResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListOptionalParams +export interface ConnectionRaiBlocklistDeleteOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** Api version used by proxy call */ + proxyApiVersion?: 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 delete operation. */ +export type ConnectionRaiBlocklistDeleteResponse = + ConnectionRaiBlocklistDeleteHeaders; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistGetOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistGetResponse = + RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsDeleteOptionalParams +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 create operation. */ +export type ConnectionRaiBlocklistCreateResponse = + RaiBlocklistPropertiesBasicResource; + /** Optional parameters. */ -export interface OnlineDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 get operation. */ -export type OnlineDeploymentsGetResponse = OnlineDeployment; +/** Contains response data for the addBulk operation. */ +export type ConnectionRaiBlocklistItemAddBulkResponse = + RaiBlocklistItemPropertiesBasicResource[]; /** Optional parameters. */ -export interface OnlineDeploymentsUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 update operation. */ -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; +/** Contains response data for the deleteBulk operation. */ +export type ConnectionRaiBlocklistItemDeleteBulkResponse = + ConnectionRaiBlocklistItemDeleteBulkHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsCreateOrUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 createOrUpdate operation. */ -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistItemDeleteResponse = + ConnectionRaiBlocklistItemDeleteHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsGetLogsOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemGetOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the getLogs operation. */ -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistItemGetResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusOptionalParams +export interface ConnectionRaiBlocklistItemCreateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; + /** Api version used by proxy call */ + proxyApiVersion?: 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 listSkus operation. */ -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistItemCreateResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemsListOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistItemsListResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusNextOptionalParams +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = - SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistItemsListNextResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesListOptionalParams +export interface ConnectionRaiPoliciesListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; + /** Api version used by proxy call */ + proxyApiVersion?: string; } /** Contains response data for the list operation. */ -export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; +export type ConnectionRaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesDeleteOptionalParams +export interface ConnectionRaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ConnectionRaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 delete operation. */ +export type ConnectionRaiPolicyDeleteResponse = + ConnectionRaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface SchedulesGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiPolicyGetOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} /** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams +export interface ConnectionRaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 createOrUpdate operation. */ -export type SchedulesCreateOrUpdateResponse = Schedule; - -/** Optional parameters. */ -export interface SchedulesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiPolicyCreateResponse = + RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; } +/** Contains response data for the getInWorkspace operation. */ +export type EndpointDeploymentGetInWorkspaceResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointDeploymentListResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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. */ @@ -13588,18 +15202,18 @@ export interface ServerlessEndpointsDeleteOptionalParams } /** Contains response data for the delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +export type EndpointDeploymentGetResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13607,30 +15221,53 @@ export interface ServerlessEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; +/** Contains response data for the createOrUpdate operation. */ +export type EndpointDeploymentCreateOrUpdateResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getInWorkspaceNext operation. */ +export type EndpointDeploymentGetInWorkspaceNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EndpointDeploymentListNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointListOptionalParams 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; + /** Continuation token for pagination. */ + skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; + includeOnlineEndpoints?: boolean; + includeServerlessEndpoints?: boolean; + includeConnections?: boolean; + /** Whether the endpoint resource will be expand to include deployment information, e.g. $expand=deployments */ + expand?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; +/** Contains response data for the list operation. */ +export type EndpointListResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams +export interface EndpointGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13638,57 +15275,112 @@ export interface ServerlessEndpointsRegenerateKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type EndpointCreateOrUpdateResponse = + EndpointResourcePropertiesBasicResource; + +/** Optional parameters. */ +export interface EndpointListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type EndpointListKeysResponse = EndpointKeys; + +/** Optional parameters. */ +export interface EndpointGetModelsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getModels operation. */ +export type EndpointGetModelsResponse = EndpointModels; + +/** Optional parameters. */ +export interface EndpointRegenerateKeysOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +export type EndpointRegenerateKeysResponse = AccountApiKeys; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointListNextResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the getModelsNext operation. */ +export type EndpointGetModelsNextResponse = EndpointModels; /** Optional parameters. */ -export interface RegistriesListOptionalParams - extends coreClient.OperationOptions {} +export interface RaiPoliciesListOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} /** Contains response data for the list operation. */ -export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +export type RaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams +export interface RaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 delete operation. */ +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface RegistriesGetOptionalParams - extends coreClient.OperationOptions {} +export interface RaiPolicyGetOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} /** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams +export interface RaiPolicyCreateOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: 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 create operation. */ +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13696,11 +15388,15 @@ export interface RegistriesCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistriesCreateOrUpdateResponse = Registry; +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesRemoveRegionsOptionalParams +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13708,41 +15404,68 @@ export interface RegistriesRemoveRegionsOptionalParams resumeFrom?: string; } -/** Contains response data for the removeRegions operation. */ -export type RegistriesRemoveRegionsResponse = Registry; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = + OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = + PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = + PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams + extends coreClient.OperationOptions { + /** Managed Network Provisioning Options for a machine learning workspace. */ + body?: ManagedNetworkProvisionOptions; + /** 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 provisionManagedNetwork operation. */ +export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = + ManagedNetworkProvisionStatus; /** Optional parameters. */ -export interface AzureMachineLearningServicesManagementClientOptionalParams +export interface AzureMachineLearningServicesMgmtClientOptionalParams 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 f7208e80909a..28c9c875a3ea 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -8,10 +8,10 @@ import * as coreClient from "@azure/core-client"; -export const OperationListResult: coreClient.CompositeMapper = { +export const ListUsagesResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "ListUsagesResult", modelProperties: { value: { serializedName: "value", @@ -21,7 +21,7 @@ export const OperationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation", + className: "Usage", }, }, }, @@ -37,78 +37,78 @@ export const OperationListResult: coreClient.CompositeMapper = { }, }; -export const Operation: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "Usage", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", readOnly: true, type: { name: "String", }, }, - isDataAction: { - serializedName: "isDataAction", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - display: { - serializedName: "display", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "OperationDisplay", + name: "String", }, }, - origin: { - serializedName: "origin", + unit: { + serializedName: "unit", readOnly: true, type: { name: "String", }, }, - actionType: { - serializedName: "actionType", + currentValue: { + serializedName: "currentValue", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const OperationDisplay: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + limit: { + serializedName: "limit", readOnly: true, type: { - name: "String", + name: "Number", }, }, - resource: { - serializedName: "resource", - readOnly: true, + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "UsageName", }, }, - operation: { - serializedName: "operation", + }, + }, +}; + +export const UsageName: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UsageName", + modelProperties: { + value: { + serializedName: "value", readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", + localizedValue: { + serializedName: "localizedValue", readOnly: true, type: { name: "String", @@ -214,155 +214,146 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { }, }; -export const EncryptionProperty: coreClient.CompositeMapper = { +export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionProperty", + className: "VirtualMachineSizeListResult", modelProperties: { - status: { - serializedName: "status", - required: true, - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityForCmk", - }, - }, - keyVaultProperties: { - serializedName: "keyVaultProperties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineSize", + }, + }, }, }, }, }, }; -export const IdentityForCmk: coreClient.CompositeMapper = { +export const VirtualMachineSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityForCmk", + className: "VirtualMachineSize", modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", - modelProperties: { - keyVaultArmId: { - serializedName: "keyVaultArmId", - required: true, + family: { + serializedName: "family", + readOnly: true, type: { name: "String", }, }, - keyIdentifier: { - serializedName: "keyIdentifier", - required: true, + vCPUs: { + serializedName: "vCPUs", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - identityClientId: { - serializedName: "identityClientId", + gpus: { + serializedName: "gpus", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - serializedName: "id", + osVhdSizeMB: { + serializedName: "osVhdSizeMB", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + maxResourceVolumeMB: { + serializedName: "maxResourceVolumeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + memoryGB: { + serializedName: "memoryGB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - actionsRequired: { - serializedName: "actionsRequired", + lowPriorityCapable: { + serializedName: "lowPriorityCapable", + readOnly: true, type: { - name: "String", + name: "Boolean", + }, + }, + premiumIO: { + serializedName: "premiumIO", + readOnly: true, + type: { + name: "Boolean", + }, + }, + estimatedVMPrices: { + serializedName: "estimatedVMPrices", + type: { + name: "Composite", + className: "EstimatedVMPrices", + }, + }, + supportedComputeTypes: { + serializedName: "supportedComputeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ManagedServiceIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrices: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "EstimatedVMPrices", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, + billingCurrency: { + serializedName: "billingCurrency", + required: true, type: { - name: "Uuid", + name: "String", }, }, - type: { - serializedName: "type", + unitOfMeasure: { + serializedName: "unitOfMeasure", required: true, type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + values: { + serializedName: "values", + required: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EstimatedVMPrice", + }, }, }, }, @@ -370,204 +361,239 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrice: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "EstimatedVMPrice", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + retailPrice: { + serializedName: "retailPrice", + required: true, type: { - name: "Uuid", + name: "Number", }, }, - clientId: { - serializedName: "clientId", - readOnly: true, + osType: { + serializedName: "osType", + required: true, type: { - name: "Uuid", + name: "String", + }, + }, + vmTier: { + serializedName: "vmTier", + required: true, + type: { + name: "String", }, }, }, }, }; -export const Sku: coreClient.CompositeMapper = { +export const QuotaUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "QuotaUpdateParameters", modelProperties: { - name: { - serializedName: "name", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaBaseProperties", + }, + }, }, }, - tier: { - serializedName: "tier", + location: { + serializedName: "location", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + }, + }, +}; + +export const QuotaBaseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QuotaBaseProperties", + modelProperties: { + id: { + serializedName: "id", type: { name: "String", }, }, - family: { - serializedName: "family", + type: { + serializedName: "type", type: { name: "String", }, }, - capacity: { - serializedName: "capacity", + limit: { + serializedName: "limit", type: { name: "Number", }, }, + unit: { + serializedName: "unit", + type: { + name: "String", + }, + }, }, }, }; -export const Resource: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "UpdateWorkspaceQuotasResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - name: { - serializedName: "name", + value: { + serializedName: "value", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + }, + }, }, }, - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData", - }, - }, }, }, }; -export const SystemData: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UpdateWorkspaceQuotas", modelProperties: { - createdBy: { - serializedName: "createdBy", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - createdByType: { - serializedName: "createdByType", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - createdAt: { - serializedName: "createdAt", + limit: { + serializedName: "limit", type: { - name: "DateTime", + name: "Number", }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + status: { + serializedName: "status", type: { name: "String", }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime", - }, - }, }, }, }; -export const ServerlessComputeSettings: coreClient.CompositeMapper = { +export const ListWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ListWorkspaceQuotas", modelProperties: { - serverlessComputeCustomSubnet: { - serializedName: "serverlessComputeCustomSubnet", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceQuota", + }, + }, }, }, - serverlessComputeNoPublicIP: { - serializedName: "serverlessComputeNoPublicIP", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const SharedPrivateLinkResource: coreClient.CompositeMapper = { +export const ResourceQuota: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharedPrivateLinkResource", + className: "ResourceQuota", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", + readOnly: true, type: { name: "String", }, }, - groupId: { - serializedName: "properties.groupId", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - requestMessage: { - serializedName: "properties.requestMessage", + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "ResourceName", }, }, - status: { - serializedName: "properties.status", + limit: { + serializedName: "limit", + readOnly: true, + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, @@ -576,924 +602,819 @@ export const SharedPrivateLinkResource: coreClient.CompositeMapper = { }, }; -export const NotebookResourceInfo: coreClient.CompositeMapper = { +export const ResourceName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookResourceInfo", + className: "ResourceName", modelProperties: { - fqdn: { - serializedName: "fqdn", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, }, - resourceId: { - serializedName: "resourceId", + localizedValue: { + serializedName: "localizedValue", + readOnly: true, type: { name: "String", }, }, - notebookPreparationError: { - serializedName: "notebookPreparationError", - type: { - name: "Composite", - className: "NotebookPreparationError", - }, - }, }, }, }; -export const NotebookPreparationError: coreClient.CompositeMapper = { +export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookPreparationError", + className: "PaginatedComputeResourcesList", modelProperties: { - errorMessage: { - serializedName: "errorMessage", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeResource", + }, + }, }, }, - statusCode: { - serializedName: "statusCode", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { +export const ManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceManagedResourcesSettings", + className: "ManagedServiceIdentity", modelProperties: { - cosmosDb: { - serializedName: "cosmosDb", - type: { - name: "Composite", - className: "CosmosDbSettings", + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, }, }, }, }, }; -export const CosmosDbSettings: coreClient.CompositeMapper = { +export const UserAssignedIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CosmosDbSettings", + className: "UserAssignedIdentity", modelProperties: { - collectionsThroughput: { - serializedName: "collectionsThroughput", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Number", + name: "Uuid", + }, + }, + clientId: { + serializedName: "clientId", + readOnly: true, + type: { + name: "Uuid", }, }, }, }, }; -export const ManagedNetworkSettings: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkSettings", + className: "Sku", modelProperties: { - isolationMode: { - serializedName: "isolationMode", + name: { + serializedName: "name", + required: true, type: { name: "String", }, }, - networkId: { - serializedName: "networkId", - readOnly: true, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + size: { + serializedName: "size", type: { name: "String", }, }, - outboundRules: { - serializedName: "outboundRules", - nullable: true, + family: { + serializedName: "family", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "OutboundRule" } }, + name: "String", }, }, - status: { - serializedName: "status", + capacity: { + serializedName: "capacity", type: { - name: "Composite", - className: "ManagedNetworkProvisionStatus", + name: "Number", }, }, }, }, }; -export const OutboundRule: coreClient.CompositeMapper = { +export const Resource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, + className: "Resource", modelProperties: { - category: { - serializedName: "category", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - status: { - serializedName: "status", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", - required: true, + readOnly: true, type: { name: "String", }, }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + }, + }, }, }, }; -export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionStatus", + className: "SystemData", modelProperties: { - sparkReady: { - serializedName: "sparkReady", + createdBy: { + serializedName: "createdBy", type: { - name: "Boolean", + name: "String", }, }, - status: { - serializedName: "status", + createdByType: { + serializedName: "createdByType", type: { name: "String", }, }, - }, - }, -}; - -export const FeatureStoreSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureStoreSettings", - modelProperties: { - computeRuntime: { - serializedName: "computeRuntime", + createdAt: { + serializedName: "createdAt", type: { - name: "Composite", - className: "ComputeRuntimeDto", + name: "DateTime", }, }, - offlineStoreConnectionName: { - serializedName: "offlineStoreConnectionName", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { name: "String", }, }, - onlineStoreConnectionName: { - serializedName: "onlineStoreConnectionName", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeRuntimeDto: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeRuntimeDto", - modelProperties: { - sparkRuntimeVersion: { - serializedName: "sparkRuntimeVersion", + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const WorkspaceHubConfig: coreClient.CompositeMapper = { +export const ComputeResourceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceHubConfig", + className: "ComputeResourceSchema", modelProperties: { - additionalWorkspaceStorageAccounts: { - serializedName: "additionalWorkspaceStorageAccounts", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - defaultWorkspaceResourceGroup: { - serializedName: "defaultWorkspaceResourceGroup", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "Compute", }, }, }, }, }; -export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { +export const Compute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceUpdateParameters", + className: "Compute", + uberParent: "Compute", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - identity: { - serializedName: "identity", + computeLocation: { + serializedName: "computeLocation", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + createdOn: { + serializedName: "createdOn", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + modifiedOn: { + serializedName: "modifiedOn", + readOnly: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "DateTime", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + provisioningErrors: { + serializedName: "provisioningErrors", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", - }, - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String", - }, - }, - applicationInsights: { - serializedName: "properties.applicationInsights", - type: { - name: "String", - }, - }, - containerRegistry: { - serializedName: "properties.containerRegistry", - type: { - name: "String", - }, - }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", - type: { - name: "Composite", - className: "FeatureStoreSettings", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", - type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + isAttachedCompute: { + serializedName: "isAttachedCompute", + readOnly: true, type: { name: "Boolean", }, }, - v1LegacyMode: { - serializedName: "properties.v1LegacyMode", + disableLocalAuth: { + serializedName: "disableLocalAuth", type: { name: "Boolean", }, }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "EncryptionUpdateProperties", - }, - }, }, }, }; -export const EncryptionUpdateProperties: coreClient.CompositeMapper = { +export const ClusterUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ClusterUpdateParameters", modelProperties: { - keyVaultProperties: { - serializedName: "keyVaultProperties", + properties: { + serializedName: "properties.properties", type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", }, }, }, }, }; -export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettingsInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", modelProperties: { - keyIdentifier: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "keyIdentifier", - required: true, + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String", + name: "Composite", + className: "ScaleSettings", }, }, }, }, }; -export const WorkspaceListResult: coreClient.CompositeMapper = { +export const ScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceListResult", + className: "ScaleSettings", modelProperties: { - value: { - serializedName: "value", + maxNodeCount: { + serializedName: "maxNodeCount", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Workspace", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", + minNodeCount: { + defaultValue: 0, + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseWorkspaceParameters", - modelProperties: { - value: { - serializedName: "value", + nodeIdleTimeBeforeScaleDown: { + serializedName: "nodeIdleTimeBeforeScaleDown", type: { - name: "Composite", - className: "DiagnoseRequestProperties", + name: "TimeSpan", }, }, }, }, }; -export const DiagnoseRequestProperties: coreClient.CompositeMapper = { +export const CustomService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseRequestProperties", + className: "CustomService", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - udr: { - serializedName: "udr", + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - nsg: { - serializedName: "nsg", + image: { + serializedName: "image", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Image", }, }, - resourceLock: { - serializedName: "resourceLock", + environmentVariables: { + serializedName: "environmentVariables", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + type: { name: "Composite", className: "EnvironmentVariable" }, }, }, }, - dnsResolution: { - serializedName: "dnsResolution", + docker: { + serializedName: "docker", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Docker", }, }, - storageAccount: { - serializedName: "storageAccount", + endpoints: { + serializedName: "endpoints", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Endpoint", + }, }, }, }, - keyVault: { - serializedName: "keyVault", + volumes: { + serializedName: "volumes", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeDefinition", + }, }, }, }, - containerRegistry: { - serializedName: "containerRegistry", + kernel: { + serializedName: "kernel", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "JupyterKernelConfig", }, }, - applicationInsights: { - serializedName: "applicationInsights", + }, + }, +}; + +export const Image: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Image", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + type: { + defaultValue: "docker", + serializedName: "type", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - others: { - serializedName: "others", + reference: { + serializedName: "reference", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const DiagnoseResponseResult: coreClient.CompositeMapper = { +export const EnvironmentVariable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResult", + className: "EnvironmentVariable", + additionalProperties: { type: { name: "Object" } }, modelProperties: { + type: { + defaultValue: "local", + serializedName: "type", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { - name: "Composite", - className: "DiagnoseResponseResultValue", + name: "String", }, }, }, }, }; -export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { +export const Docker: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResultValue", + className: "Docker", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - userDefinedRouteResults: { - serializedName: "userDefinedRouteResults", + privileged: { + serializedName: "privileged", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - networkSecurityRuleResults: { - serializedName: "networkSecurityRuleResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - resourceLockResults: { - serializedName: "resourceLockResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - dnsResolutionResults: { - serializedName: "dnsResolutionResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Boolean", }, }, - storageAccountResults: { - serializedName: "storageAccountResults", + }, + }, +}; + +export const Endpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Endpoint", + modelProperties: { + protocol: { + defaultValue: "tcp", + serializedName: "protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - keyVaultResults: { - serializedName: "keyVaultResults", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - containerRegistryResults: { - serializedName: "containerRegistryResults", + target: { + serializedName: "target", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - applicationInsightsResults: { - serializedName: "applicationInsightsResults", + published: { + serializedName: "published", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - otherResults: { - serializedName: "otherResults", + hostIp: { + serializedName: "hostIp", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResult: coreClient.CompositeMapper = { +export const VolumeDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResult", + className: "VolumeDefinition", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + type: { + defaultValue: "bind", + serializedName: "type", type: { name: "String", }, }, - level: { - serializedName: "level", - readOnly: true, + readOnly: { + serializedName: "readOnly", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - message: { - serializedName: "message", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - }, - }, -}; - -export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListWorkspaceKeysResult", - modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + target: { + serializedName: "target", type: { name: "String", }, }, - userStorageResourceId: { - serializedName: "userStorageResourceId", - readOnly: true, + consistency: { + serializedName: "consistency", + nullable: true, type: { name: "String", }, }, - appInsightsInstrumentationKey: { - serializedName: "appInsightsInstrumentationKey", - readOnly: true, + bind: { + serializedName: "bind", type: { - name: "String", + name: "Composite", + className: "BindOptions", }, }, - containerRegistryCredentials: { - serializedName: "containerRegistryCredentials", + volume: { + serializedName: "volume", type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "VolumeOptions", }, }, - notebookAccessKeys: { - serializedName: "notebookAccessKeys", + tmpfs: { + serializedName: "tmpfs", type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", }, }, }, }, }; -export const RegistryListCredentialsResult: coreClient.CompositeMapper = { +export const BindOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "BindOptions", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + propagation: { + serializedName: "propagation", + nullable: true, type: { name: "String", }, }, - username: { - serializedName: "username", - readOnly: true, + createHostPath: { + serializedName: "createHostPath", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - passwords: { - serializedName: "passwords", + selinux: { + serializedName: "selinux", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Password", - }, - }, + name: "String", }, }, }, }, }; -export const Password: coreClient.CompositeMapper = { +export const VolumeOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Password", + className: "VolumeOptions", modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - readOnly: true, + nocopy: { + serializedName: "nocopy", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ListNotebookKeysResult: coreClient.CompositeMapper = { +export const TmpfsOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", modelProperties: { - primaryAccessKey: { - serializedName: "primaryAccessKey", - readOnly: true, - type: { - name: "String", - }, - }, - secondaryAccessKey: { - serializedName: "secondaryAccessKey", - readOnly: true, + size: { + serializedName: "size", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ListUsagesResult: coreClient.CompositeMapper = { +export const JupyterKernelConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListUsagesResult", + className: "JupyterKernelConfig", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + argv: { + serializedName: "argv", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Usage", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - }, + language: { + serializedName: "language", + type: { + name: "String", + }, + }, + }, }, }; -export const Usage: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "AmlComputeNodesInformation", modelProperties: { - id: { - serializedName: "id", + nodes: { + serializedName: "nodes", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + }, + }, }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - type: { - serializedName: "type", + }, + }, +}; + +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + modelProperties: { + nodeId: { + serializedName: "nodeId", readOnly: true, type: { name: "String", }, }, - unit: { - serializedName: "unit", + privateIpAddress: { + serializedName: "privateIpAddress", readOnly: true, + nullable: true, type: { name: "String", }, }, - currentValue: { - serializedName: "currentValue", + publicIpAddress: { + serializedName: "publicIpAddress", readOnly: true, + nullable: true, type: { - name: "Number", + name: "String", }, }, - limit: { - serializedName: "limit", + port: { + serializedName: "port", readOnly: true, type: { name: "Number", }, }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "UsageName", - }, - }, - }, - }, -}; - -export const UsageName: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UsageName", - modelProperties: { - value: { - serializedName: "value", + nodeState: { + serializedName: "nodeState", readOnly: true, type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", + runId: { + serializedName: "runId", readOnly: true, + nullable: true, type: { name: "String", }, @@ -1502,175 +1423,118 @@ export const UsageName: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { +export const ComputeSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSizeListResult", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - value: { - serializedName: "value", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineSize", - }, - }, + name: "String", }, }, }, }, }; -export const VirtualMachineSize: coreClient.CompositeMapper = { +export const ComputeInstanceDataMount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSize", + className: "ComputeInstanceDataMount", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - family: { - serializedName: "family", - readOnly: true, + sourceType: { + serializedName: "sourceType", type: { name: "String", }, }, - vCPUs: { - serializedName: "vCPUs", - readOnly: true, - type: { - name: "Number", - }, - }, - gpus: { - serializedName: "gpus", - readOnly: true, + mountName: { + serializedName: "mountName", type: { - name: "Number", + name: "String", }, }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, + mountAction: { + serializedName: "mountAction", type: { - name: "Number", + name: "String", }, }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, + mountMode: { + serializedName: "mountMode", type: { - name: "Number", + name: "String", }, }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, + createdBy: { + serializedName: "createdBy", type: { - name: "Number", + name: "String", }, }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, + mountPath: { + serializedName: "mountPath", type: { - name: "Boolean", + name: "String", }, }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, + mountState: { + serializedName: "mountState", type: { - name: "Boolean", + name: "String", }, }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", + mountedOn: { + serializedName: "mountedOn", type: { - name: "Composite", - className: "EstimatedVMPrices", + name: "DateTime", }, }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", + error: { + serializedName: "error", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { +export const IdleShutdownSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrices", + className: "IdleShutdownSetting", modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, - type: { - name: "String", - }, - }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { name: "String", }, }, - values: { - serializedName: "values", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EstimatedVMPrice", - }, - }, - }, - }, }, }, }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const ResizeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "ResizeSchema", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", - }, - }, - osType: { - serializedName: "osType", - required: true, - type: { - name: "String", - }, - }, - vmTier: { - serializedName: "vmTier", - required: true, + targetVMSize: { + serializedName: "targetVMSize", type: { name: "String", }, @@ -1679,129 +1543,108 @@ export const EstimatedVMPrice: coreClient.CompositeMapper = { }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QuotaUpdateParameters", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaBaseProperties", - }, +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - location: { - serializedName: "location", - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeContainer", + }, + }, + }, }, }, }, - }, -}; + }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const ResourceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "ResourceBase", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - unit: { - serializedName: "unit", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotasResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - }, +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotas", + className: "PendingUploadRequestDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - limit: { - serializedName: "limit", - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1810,27 +1653,27 @@ export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceQuotas", + className: "PendingUploadResponseDto", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceQuota", - }, - }, + name: "Composite", + className: "BlobReferenceForConsumptionDto", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, + type: { + name: "String", + }, + }, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1839,49 +1682,28 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "BlobReferenceForConsumptionDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - name: { - serializedName: "name", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "ResourceName", - }, - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number", + className: "PendingUploadCredentialDto", }, }, - unit: { - serializedName: "unit", - readOnly: true, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { name: "String", }, @@ -1890,21 +1712,19 @@ export const ResourceQuota: coreClient.CompositeMapper = { }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "String", - }, - }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -1913,220 +1733,200 @@ export const ResourceName: coreClient.CompositeMapper = { }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PaginatedComputeResourcesList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeResource", +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, - }, -}; + }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeResourceSchema", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "Compute", +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const Compute: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Compute", - uberParent: "Compute", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, - type: { - name: "String", - }, - }, - computeLocation: { - serializedName: "computeLocation", - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - createdOn: { - serializedName: "createdOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - modifiedOn: { - serializedName: "modifiedOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - resourceId: { - serializedName: "resourceId", - nullable: true, - type: { - name: "String", +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - provisioningErrors: { - serializedName: "provisioningErrors", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, }, }, }, }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, - type: { - name: "Boolean", + }, + }; + +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataVersionBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - disableLocalAuth: { - serializedName: "disableLocalAuth", - type: { - name: "Boolean", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, + }, }, }, }, - }, -}; + }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - properties: { - serializedName: "properties.properties", + assetId: { + serializedName: "assetId", + nullable: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", + }, + }, + blobUri: { + serializedName: "blobUri", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "GetBlobReferenceSASResponseDto", modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { - name: "Number", + name: "String", }, }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + credential: { + serializedName: "credential", type: { - name: "Number", + name: "Composite", + className: "DataReferenceCredential", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -2135,52 +1935,81 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, - type: { - name: "String", +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, + }, }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", + }, + }; + +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - port: { - serializedName: "port", - readOnly: true, - type: { - name: "Number", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, + }, + }, }, }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + }, + }; + +export const BuildContext: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BuildContext", + modelProperties: { + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "contextUri", + required: true, type: { name: "String", }, }, - runId: { - serializedName: "runId", - readOnly: true, - nullable: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, @@ -2189,142 +2018,172 @@ export const AmlComputeNodeInformation: coreClient.CompositeMapper = { }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const InferenceContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "InferenceContainerProperties", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - hostName: { - serializedName: "hostName", - readOnly: true, + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - publicDns: { - serializedName: "publicDns", - readOnly: true, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, - type: { - name: "String", + }, + }, +}; + +export const Route: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Route", + modelProperties: { + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + serializedName: "path", + required: true, type: { name: "String", }, }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, + port: { + serializedName: "port", + required: 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", +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer", + }, + }, + }, + }, + }, }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, - type: { - name: "String", + }; + +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "FlavorData", modelProperties: { - value: { - serializedName: "value", + data: { + serializedName: "data", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -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 BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchEndpoint", + }, }, }, }, }, }, - }, -}; + }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "BatchEndpointDefaults", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, @@ -2333,102 +2192,135 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", - }, + className: "EndpointPropertiesBase", modelProperties: { - authType: { - serializedName: "authType", + authMode: { + serializedName: "authMode", required: true, type: { name: "String", }, }, - category: { - serializedName: "category", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "EndpointAuthKeys", }, }, - expiryTime: { - serializedName: "expiryTime", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - group: { - serializedName: "group", + scoringUri: { + serializedName: "scoringUri", readOnly: true, + nullable: true, type: { name: "String", }, }, - isSharedToAll: { - serializedName: "isSharedToAll", + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - target: { - serializedName: "target", + }, + }, +}; + +export const EndpointAuthKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointAuthKeys", + modelProperties: { + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { name: "String", }, }, - metadata: { - serializedName: "metadata", + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sharedUserList: { - serializedName: "sharedUserList", + }, + }, +}; + +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - value: { - serializedName: "value", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - valueFormat: { - serializedName: "valueFormat", + }, + }, +}; + +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResource", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2436,79 +2328,83 @@ export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: cor element: { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "BatchDeployment", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: { + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", + }, modelProperties: { - value: { - serializedName: "value", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoints", - }, - }, + name: "String", }, }, }, }, }; -export const FqdnEndpoints: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoints", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: { + serializedName: "referenceType", + clientName: "referenceType", + }, modelProperties: { - properties: { - serializedName: "properties", + referenceType: { + serializedName: "referenceType", + required: true, type: { - name: "Composite", - className: "FqdnEndpointsProperties", + name: "String", }, }, }, }, }; -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "ResourceConfiguration", modelProperties: { - category: { - serializedName: "category", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", + type: { + name: "Number", + }, + }, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, }, - endpoints: { - serializedName: "endpoints", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoint", - }, + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, }, }, }, @@ -2516,221 +2412,165 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "BatchRetrySettings", modelProperties: { - domainName: { - serializedName: "domainName", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "String", + name: "Number", }, }, - endpointDetails: { - serializedName: "endpointDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpointDetail", - }, - }, + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - port: { - serializedName: "port", + codeConfiguration: { + serializedName: "codeConfiguration", type: { - name: "Number", + name: "Composite", + className: "CodeConfiguration", }, }, - }, - }, -}; - -export const OutboundRuleListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleListResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - value: { - serializedName: "value", + environmentId: { + serializedName: "environmentId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedNetworkProvisionOptions", - modelProperties: { - includeSpark: { - serializedName: "includeSpark", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, - }; + }, +}; -export const ResourceBase: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "CodeConfiguration", modelProperties: { - description: { - serializedName: "description", + codeId: { + serializedName: "codeId", nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - properties: { - serializedName: "properties", - nullable: true, + serializedName: "scoringScript", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", modelProperties: { - value: { - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, + name: "Composite", + className: "PartialBatchDeployment", }, }, - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "PartialBatchDeployment", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", - type: { - name: "String", - }, - }, }, }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "DestinationAsset", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Composite", - className: "BlobReferenceForConsumptionDto", + name: "String", }, }, - pendingUploadId: { - serializedName: "pendingUploadId", + destinationVersion: { + serializedName: "destinationVersion", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + registryName: { + serializedName: "registryName", + nullable: true, type: { name: "String", }, @@ -2739,48 +2579,45 @@ export const PendingUploadResponseDto: coreClient.CompositeMapper = { }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { - blobUri: { - serializedName: "blobUri", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - credential: { - serializedName: "credential", + value: { + serializedName: "value", type: { - name: "Composite", - className: "PendingUploadCredentialDto", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Datastore", + }, + }, }, }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "credentialsType", + clientName: "credentialsType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + credentialsType: { + serializedName: "credentialsType", required: true, type: { name: "String", @@ -2790,68 +2627,62 @@ export const PendingUploadCredentialDto: coreClient.CompositeMapper = { }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer", - }, - }, - }, +export const SecretExpiry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretExpiry", + modelProperties: { + expirableSecret: { + defaultValue: false, + serializedName: "expirableSecret", + type: { + name: "Boolean", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + expireAfterHours: { + defaultValue: 1, + serializedName: "expireAfterHours", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const DatastoreSecrets: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType", + }, + modelProperties: { + secretsType: { + serializedName: "secretsType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", + className: "FeaturesetContainerResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataContainerResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -2859,27 +2690,54 @@ export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "DataContainer", + className: "FeaturesetContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + }, + }; + +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature", + }, }, }, }, }, - }; + }, +}; -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", + className: "FeaturesetVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2887,36 +2745,51 @@ export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapp element: { type: { name: "Composite", - className: "DataVersionBase", + className: "FeaturesetVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "MaterializationSettings", modelProperties: { - assetId: { - serializedName: "assetId", - nullable: true, + notification: { + serializedName: "notification", type: { - name: "String", + name: "Composite", + className: "NotificationSetting", }, }, - blobUri: { - serializedName: "blobUri", + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + 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", }, @@ -2925,65 +2798,83 @@ export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { }, }; -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASResponseDto", + className: "NotificationSetting", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + emails: { + serializedName: "emails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "Webhook", + uberParent: "Webhook", + polymorphicDiscriminator: { + serializedName: "webhookType", + clientName: "webhookType", + }, modelProperties: { - blobUri: { - serializedName: "blobUri", + eventType: { + serializedName: "eventType", nullable: true, type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + webhookType: { + serializedName: "webhookType", + required: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "DataReferenceCredential", - }, - }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "MaterializationComputeResource", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, @@ -2992,81 +2883,113 @@ export const DataReferenceCredential: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer", - }, +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + minutes: { + serializedName: "minutes", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, }, }, }, - }, - }; - -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion", - }, + monthDays: { + serializedName: "monthDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, }, - }; + }, +}; -export const BuildContext: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + endTime: { + serializedName: "endTime", + nullable: true, + type: { + name: "String", }, - serializedName: "contextUri", + }, + startTime: { + serializedName: "startTime", + nullable: true, + type: { + name: "String", + }, + }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", required: true, type: { name: "String", }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + }, + }, +}; + +export const FeaturesetSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetSpecification", + modelProperties: { + path: { + serializedName: "path", + nullable: true, type: { name: "String", }, @@ -3075,69 +2998,135 @@ export const BuildContext: coreClient.CompositeMapper = { }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { - name: "Composite", - className: "Route", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - readinessRoute: { - serializedName: "readinessRoute", + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + featureWindow: { + serializedName: "featureWindow", type: { name: "Composite", - className: "Route", + className: "FeatureWindow", }, }, - scoringRoute: { - serializedName: "scoringRoute", + jobId: { + serializedName: "jobId", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", type: { name: "Composite", - className: "Route", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const Route: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "FeatureWindow", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, + type: { + name: "DateTime", }, - serializedName: "path", - required: true, + }, + featureWindowStart: { + serializedName: "featureWindowStart", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, - port: { - serializedName: "port", - required: true, + }, + }, +}; + +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionBackfillResponse", + modelProperties: { + jobIds: { + serializedName: "jobIds", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3145,27 +3134,27 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer", + className: "FeaturestoreEntityContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3173,74 +3162,77 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ModelVersion", + className: "FeaturestoreEntityVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FlavorData: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "IndexColumn", modelProperties: { - data: { - serializedName: "data", + columnName: { + serializedName: "columnName", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + dataType: { + serializedName: "dataType", + type: { + name: "String", }, }, }, }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchEndpoint", - }, - }, - }, +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobBase", + }, }, }, }, }, - }; + }, +}; -export const BatchEndpointDefaults: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, + identityType: { + serializedName: "identityType", + required: true, type: { name: "String", }, @@ -3249,129 +3241,100 @@ export const BatchEndpointDefaults: coreClient.CompositeMapper = { }, }; -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "JobService", modelProperties: { - description: { - serializedName: "description", + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - scoringUri: { - serializedName: "scoringUri", + errorMessage: { + serializedName: "errorMessage", readOnly: true, nullable: true, type: { name: "String", }, }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, + jobServiceType: { + serializedName: "jobServiceType", nullable: true, type: { name: "String", }, }, - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String", - }, - }, - keys: { - serializedName: "keys", + nodes: { + serializedName: "nodes", type: { name: "Composite", - className: "EndpointAuthKeys", + className: "Nodes", }, }, - }, - }, -}; - -export const EndpointAuthKeys: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointAuthKeys", - modelProperties: { - primaryKey: { - serializedName: "primaryKey", + port: { + serializedName: "port", nullable: true, type: { - name: "String", + name: "Number", }, }, - secondaryKey: { - serializedName: "secondaryKey", + properties: { + serializedName: "properties", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - modelProperties: { - type: { - serializedName: "type", + status: { + serializedName: "status", + readOnly: true, + nullable: true, type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, }, }, }; -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialMinimalTrackedResource", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, modelProperties: { - tags: { - serializedName: "tags", + nodesValueType: { + serializedName: "nodesValueType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3379,225 +3342,167 @@ export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.Compos element: { type: { name: "Composite", - className: "BatchDeployment", + className: "MarketplaceSubscription", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", - }, + className: "MarketplaceSubscriptionProperties", modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", - required: true, + marketplacePlan: { + serializedName: "marketplacePlan", + type: { + name: "Composite", + className: "MarketplacePlan", + }, + }, + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const BatchRetrySettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchRetrySettings", - modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, type: { - name: "Number", + name: "String", }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", - }, + className: "MarketplacePlan", modelProperties: { - referenceType: { - serializedName: "referenceType", - required: true, + offerId: { + serializedName: "offerId", + readOnly: true, + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const ResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceConfiguration", - modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", - type: { - name: "Number", - }, - }, - instanceType: { - serializedName: "instanceType", - nullable: true, - type: { - name: "String", - }, - }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - }, - }, -}; - -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointDeploymentPropertiesBase", - modelProperties: { - description: { - serializedName: "description", + planId: { + serializedName: "planId", + readOnly: true, nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - codeConfiguration: { - serializedName: "codeConfiguration", - type: { - name: "Composite", - className: "CodeConfiguration", - }, - }, - environmentId: { - serializedName: "environmentId", + publisherId: { + serializedName: "publisherId", + readOnly: true, nullable: true, type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeConfiguration", - modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, - type: { - name: "String", - }, - }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - serializedName: "scoringScript", - required: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineEndpoint", + }, + }, + }, }, }, }, - }, -}; + }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", 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: "OnlineDeployment", + }, + }, }, }, }, }, }; -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const DataCollector: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "DataCollector", modelProperties: { - description: { - serializedName: "description", - nullable: true, + collections: { + serializedName: "collections", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Collection" } }, + }, + }, + requestLogging: { + serializedName: "requestLogging", + type: { + name: "Composite", + className: "RequestLogging", + }, + }, + rollingRate: { + serializedName: "rollingRate", type: { name: "String", }, @@ -3606,196 +3511,150 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "Collection", modelProperties: { - registryName: { - serializedName: "registryName", + clientId: { + serializedName: "clientId", nullable: true, type: { name: "String", }, }, - destinationName: { - serializedName: "destinationName", - nullable: true, + dataCollectionMode: { + serializedName: "dataCollectionMode", type: { name: "String", }, }, - destinationVersion: { - serializedName: "destinationVersion", + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String", }, }, + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", + type: { + name: "Number", + }, + }, }, }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const RequestLogging: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "RequestLogging", modelProperties: { - value: { - serializedName: "value", + captureHeaders: { + serializedName: "captureHeaders", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Datastore", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", - }, + className: "ProbeSettings", modelProperties: { - credentialsType: { - serializedName: "credentialsType", - required: true, + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String", + name: "Number", + }, + }, + initialDelay: { + serializedName: "initialDelay", + nullable: true, + type: { + name: "TimeSpan", + }, + }, + period: { + defaultValue: "PT10S", + serializedName: "period", + type: { + name: "TimeSpan", + }, + }, + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const OnlineRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType", - }, + className: "OnlineRequestSettings", modelProperties: { - secretsType: { - serializedName: "secretsType", - required: true, + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "String", - }, - }, - }, - }, -}; - -export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + name: "Number", }, }, - }, - }; - -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Feature", - }, - }, + name: "TimeSpan", }, }, - nextLink: { - serializedName: "nextLink", + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetSpecification: coreClient.CompositeMapper = { +export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetSpecification", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: { + serializedName: "scaleType", + clientName: "scaleType", + }, modelProperties: { - path: { - serializedName: "path", - nullable: true, + scaleType: { + serializedName: "scaleType", + required: true, type: { name: "String", }, @@ -3804,99 +3663,103 @@ export const FeaturesetSpecification: coreClient.CompositeMapper = { }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "PartialSku", modelProperties: { - storeType: { - serializedName: "storeType", + capacity: { + serializedName: "capacity", type: { - name: "String", + name: "Number", }, }, - schedule: { - serializedName: "schedule", + family: { + serializedName: "family", type: { - name: "Composite", - className: "RecurrenceTrigger", + name: "String", }, }, - notification: { - serializedName: "notification", + name: { + serializedName: "name", type: { - name: "Composite", - className: "NotificationSetting", + name: "String", }, }, - resource: { - serializedName: "resource", + size: { + serializedName: "size", type: { - name: "Composite", - className: "MaterializationComputeResource", + name: "String", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - nullable: true, + tier: { + serializedName: "tier", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "DeploymentLogsRequest", modelProperties: { - hours: { - serializedName: "hours", - required: true, + containerType: { + serializedName: "containerType", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - minutes: { - serializedName: "minutes", - required: true, + tail: { + serializedName: "tail", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Number", }, }, - weekDays: { - serializedName: "weekDays", + }, + }, +}; + +export const DeploymentLogs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentLogs", + modelProperties: { + content: { + serializedName: "content", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + }, + }, +}; + +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "SkuResource", }, }, }, @@ -3905,124 +3768,114 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "SkuResource", modelProperties: { - triggerType: { - serializedName: "triggerType", - required: true, + capacity: { + serializedName: "capacity", type: { - name: "String", + name: "Composite", + className: "SkuCapacity", }, }, - endTime: { - serializedName: "endTime", + resourceType: { + serializedName: "resourceType", + readOnly: true, nullable: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "String", - }, - }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", - type: { - name: "String", + name: "Composite", + className: "SkuSetting", }, }, }, }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const SkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "SkuCapacity", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + default: { + defaultValue: 0, + serializedName: "default", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - emailOn: { - serializedName: "emailOn", - nullable: true, + maximum: { + defaultValue: 0, + serializedName: "maximum", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - webhooks: { - serializedName: "webhooks", - nullable: true, + minimum: { + defaultValue: 0, + serializedName: "minimum", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, + name: "Number", + }, + }, + scaleType: { + serializedName: "scaleType", + type: { + name: "String", }, }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", - polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", - }, + className: "SkuSetting", modelProperties: { - webhookType: { - serializedName: "webhookType", + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "name", required: true, type: { name: "String", }, }, - eventType: { - serializedName: "eventType", - nullable: true, + tier: { + serializedName: "tier", type: { - name: "String", + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationComputeResource", + className: "RegenerateEndpointKeysRequest", modelProperties: { - instanceType: { - serializedName: "instanceType", + keyType: { + serializedName: "keyType", + required: true, + type: { + name: "String", + }, + }, + keyValue: { + serializedName: "keyValue", nullable: true, type: { name: "String", @@ -4032,157 +3885,103 @@ export const MaterializationComputeResource: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillRequest", + className: "EndpointAuthToken", modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String", - }, - }, - description: { - serializedName: "description", + accessToken: { + serializedName: "accessToken", + nullable: true, type: { name: "String", }, }, - featureWindow: { - serializedName: "featureWindow", + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "Composite", - className: "FeatureWindow", + name: "Number", }, }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - jobId: { - serializedName: "jobId", + tokenType: { + serializedName: "tokenType", + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - resource: { - serializedName: "resource", - type: { - name: "Composite", - className: "MaterializationComputeResource", - }, - }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - properties: { - serializedName: "properties", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const FeatureWindow: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureWindow", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { - name: "DateTime", + name: "String", }, }, - featureWindowEnd: { - serializedName: "featureWindowEnd", - nullable: true, + value: { + serializedName: "value", type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Schedule", + }, + }, }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const ScheduleActionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType", + }, modelProperties: { - jobIds: { - serializedName: "jobIds", - nullable: true, + actionType: { + serializedName: "actionType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -4190,143 +3989,106 @@ export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.Com element: { type: { name: "Composite", - className: "FeaturestoreEntityVersion", + className: "ServerlessEndpoint", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const IndexColumn: coreClient.CompositeMapper = { +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IndexColumn", + className: "ServerlessEndpointProperties", modelProperties: { - dataType: { - serializedName: "dataType", + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - columnName: { - serializedName: "columnName", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobBaseResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobBase", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", + contentSafety: { + serializedName: "contentSafety", type: { - name: "String", + name: "Composite", + className: "ContentSafety", }, }, - }, - }, -}; - -export const JobService: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobService", - modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, + endpointState: { + serializedName: "endpointState", + readOnly: true, type: { name: "String", }, }, - port: { - serializedName: "port", - nullable: true, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", type: { - name: "Number", + name: "Composite", + className: "ServerlessInferenceEndpoint", }, }, - endpoint: { - serializedName: "endpoint", + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, - nullable: true, + modelSettings: { + serializedName: "modelSettings", type: { - name: "String", + name: "Composite", + className: "ModelSettings", }, }, - errorMessage: { - serializedName: "errorMessage", + provisioningState: { + serializedName: "provisioningState", readOnly: true, - nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - nodes: { - serializedName: "nodes", + }, + }, +}; + +export const ContentSafety: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContentSafety", + modelProperties: { + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, type: { - name: "Composite", - className: "Nodes", + name: "String", }, }, }, }, }; -export const Nodes: coreClient.CompositeMapper = { +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Nodes", - uberParent: "Nodes", - polymorphicDiscriminator: { - serializedName: "nodesValueType", - clientName: "nodesValueType", - }, + className: "ServerlessInferenceEndpoint", modelProperties: { - nodesValueType: { - serializedName: "nodesValueType", + headers: { + serializedName: "headers", + readOnly: true, + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + uri: { + serializedName: "uri", required: true, type: { name: "String", @@ -4336,19 +4098,14 @@ export const Nodes: coreClient.CompositeMapper = { }, }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const ModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, + className: "ModelSettings", modelProperties: { - identityType: { - serializedName: "identityType", - required: true, + modelId: { + serializedName: "modelId", + nullable: true, type: { name: "String", }, @@ -4357,12 +4114,18 @@ export const IdentityConfiguration: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -4370,54 +4133,118 @@ export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.Compo element: { type: { name: "Composite", - className: "MarketplaceSubscription", + className: "Registry", }, }, }, }, - nextLink: { - serializedName: "nextLink", + }, + }, + }; + +export const ArmResourceId: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ArmResourceId", + modelProperties: { + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedResourceGroupSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedResourceGroupSettings", + modelProperties: { + assignedIdentities: { + serializedName: "assignedIdentities", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + }, + }, + }, + }, + }, + }, +}; + +export const ManagedResourceGroupAssignedIdentities: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "String", + name: "Uuid", }, }, }, }, }; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "RegistryPrivateEndpointConnection", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + id: { + serializedName: "id", + nullable: true, + type: { + name: "String", }, - serializedName: "modelId", - required: true, + }, + location: { + serializedName: "location", + nullable: true, type: { name: "String", }, }, - marketplacePlan: { - serializedName: "marketplacePlan", + groupIds: { + serializedName: "properties.groupIds", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { name: "Composite", - className: "MarketplacePlan", + className: "PrivateEndpointResource", }, }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { - name: "String", + name: "Composite", + className: "RegistryPrivateLinkServiceConnectionState", }, }, provisioningState: { - serializedName: "provisioningState", - readOnly: true, + serializedName: "properties.provisioningState", + nullable: true, type: { name: "String", }, @@ -4426,31 +4253,14 @@ export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "PrivateEndpoint", modelProperties: { - publisherId: { - serializedName: "publisherId", + id: { + serializedName: "id", readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - planId: { - serializedName: "planId", - readOnly: true, - nullable: true, type: { name: "String", }, @@ -4459,54 +4269,28 @@ export const MarketplacePlan: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", + className: "RegistryPrivateLinkServiceConnectionState", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineEndpoint", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, type: { name: "String", }, }, - }, - }, - }; - -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + description: { + serializedName: "description", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineDeployment", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + status: { + serializedName: "status", type: { name: "String", }, @@ -4515,158 +4299,173 @@ export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.Compo }, }; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType", - }, + className: "RegistryRegionArmDetails", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + acrDetails: { + serializedName: "acrDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails", + }, + }, + }, + }, + location: { + serializedName: "location", + nullable: true, type: { name: "String", }, }, + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageAccountDetails", + }, + }, + }, + }, }, }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const AcrDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "AcrDetails", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", - type: { - name: "TimeSpan", - }, - }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "TimeSpan", + name: "Composite", + className: "SystemCreatedAcrAccount", }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + userCreatedAcrAccount: { + serializedName: "userCreatedAcrAccount", type: { - name: "Number", + name: "Composite", + className: "UserCreatedAcrAccount", }, }, }, }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "SystemCreatedAcrAccount", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", - type: { - name: "Number", - }, - }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", - type: { - name: "Number", - }, - }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + acrAccountName: { + serializedName: "acrAccountName", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, - period: { - defaultValue: "PT10S", - serializedName: "period", + acrAccountSku: { + serializedName: "acrAccountSku", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "TimeSpan", + name: "Composite", + className: "ArmResourceId", }, }, }, }, }; -export const DataCollector: coreClient.CompositeMapper = { +export const UserCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataCollector", + className: "UserCreatedAcrAccount", modelProperties: { - collections: { - serializedName: "collections", - required: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, + name: "Composite", + className: "ArmResourceId", }, }, - rollingRate: { - serializedName: "rollingRate", + }, + }, +}; + +export const StorageAccountDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageAccountDetails", + modelProperties: { + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "String", + name: "Composite", + className: "SystemCreatedStorageAccount", }, }, - requestLogging: { - serializedName: "requestLogging", + userCreatedStorageAccount: { + serializedName: "userCreatedStorageAccount", type: { name: "Composite", - className: "RequestLogging", + className: "UserCreatedStorageAccount", }, }, }, }, }; -export const Collection: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Collection", + className: "SystemCreatedStorageAccount", modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", type: { - name: "Number", + name: "Boolean", }, }, - dataCollectionMode: { - serializedName: "dataCollectionMode", + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, - dataId: { - serializedName: "dataId", + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", + type: { + name: "Boolean", + }, + }, + storageAccountName: { + serializedName: "storageAccountName", nullable: true, type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + storageAccountType: { + serializedName: "storageAccountType", nullable: true, type: { name: "String", @@ -4676,97 +4475,101 @@ export const Collection: coreClient.CompositeMapper = { }, }; -export const RequestLogging: coreClient.CompositeMapper = { +export const UserCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestLogging", + className: "UserCreatedStorageAccount", modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ArmResourceId", }, }, }, }, }; -export const PartialSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialSku", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialRegistryPartialTrackedResource", + modelProperties: { + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + }, }, - }, - tier: { - serializedName: "tier", - type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, }, - }, - size: { - serializedName: "size", - type: { - name: "String", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, }, - family: { - serializedName: "family", + }, + }; + +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListAmlUserFeatureResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlUserFeature", + }, + }, }, }, - capacity: { - serializedName: "capacity", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "AmlUserFeature", modelProperties: { - containerType: { - serializedName: "containerType", + id: { + serializedName: "id", type: { name: "String", }, }, - tail: { - serializedName: "tail", - nullable: true, + displayName: { + serializedName: "displayName", type: { - name: "Number", + name: "String", }, }, - }, - }, -}; - -export const DeploymentLogs: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentLogs", - modelProperties: { - content: { - serializedName: "content", - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, @@ -4775,25 +4578,27 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "OperationListResult", modelProperties: { value: { serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SkuResource", + className: "Operation", }, }, }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -4802,92 +4607,79 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "Operation", modelProperties: { - resourceType: { - serializedName: "resourceType", + name: { + serializedName: "name", readOnly: true, - nullable: true, type: { name: "String", }, }, - sku: { - serializedName: "sku", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, type: { - name: "Composite", - className: "SkuSetting", + name: "Boolean", }, }, - capacity: { - serializedName: "capacity", + display: { + serializedName: "display", type: { name: "Composite", - className: "SkuCapacity", + className: "OperationDisplay", }, }, - }, - }, -}; - -export const SkuSetting: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuSetting", - modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "name", - required: true, + origin: { + serializedName: "origin", + readOnly: true, type: { name: "String", }, }, - tier: { - serializedName: "tier", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, }, }, }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "OperationDisplay", modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - default: { - defaultValue: 0, - serializedName: "default", + operation: { + serializedName: "operation", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - scaleType: { - serializedName: "scaleType", + description: { + serializedName: "description", + readOnly: true, type: { name: "String", }, @@ -4896,85 +4688,88 @@ export const SkuCapacity: coreClient.CompositeMapper = { }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const WorkspaceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "WorkspaceListResult", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - keyValue: { - serializedName: "keyValue", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Workspace", + }, + }, }, }, }, }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const EncryptionProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "EncryptionProperty", modelProperties: { - accessToken: { - serializedName: "accessToken", - nullable: true, + cosmosDbResourceId: { + serializedName: "cosmosDbResourceId", type: { name: "String", }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityForCmk", + }, + }, + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "KeyVaultProperties", + }, + }, + searchAccountResourceId: { + serializedName: "searchAccountResourceId", type: { name: "String", }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + status: { + serializedName: "status", + required: true, type: { - name: "Number", + name: "String", }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + storageAccountResourceId: { + serializedName: "storageAccountResourceId", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const IdentityForCmk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleResourceArmPaginatedResult", + className: "IdentityForCmk", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Schedule", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String", }, @@ -4983,122 +4778,178 @@ export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const KeyVaultProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", - }, + className: "KeyVaultProperties", modelProperties: { - actionType: { - serializedName: "actionType", + identityClientId: { + serializedName: "identityClientId", + type: { + name: "String", + }, + }, + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyIdentifier", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, - }, - }, + keyVaultArmId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + serializedName: "keyVaultArmId", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { +export const FeatureStoreSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "FeatureStoreSettings", modelProperties: { - modelSettings: { - serializedName: "modelSettings", + computeRuntime: { + serializedName: "computeRuntime", type: { name: "Composite", - className: "ModelSettings", + className: "ComputeRuntimeDto", }, }, - authMode: { - serializedName: "authMode", - required: true, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", type: { name: "String", }, }, - inferenceEndpoint: { - serializedName: "inferenceEndpoint", + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + }, + }, +}; + +export const ComputeRuntimeDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeRuntimeDto", + modelProperties: { + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { name: "String", }, }, - endpointState: { - serializedName: "endpointState", - readOnly: true, + }, + }, +}; + +export const ManagedNetworkSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettings", + modelProperties: { + firewallSku: { + serializedName: "firewallSku", type: { name: "String", }, }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", + isolationMode: { + serializedName: "isolationMode", + type: { + name: "String", + }, + }, + networkId: { + serializedName: "networkId", readOnly: true, - nullable: true, type: { name: "String", }, }, - contentSafety: { - serializedName: "contentSafety", + outboundRules: { + serializedName: "outboundRules", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, + }, + }, + status: { + serializedName: "status", type: { name: "Composite", - className: "ContentSafety", + className: "ManagedNetworkProvisionStatus", + }, + }, + changeableIsolationModes: { + serializedName: "changeableIsolationModes", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ModelSettings: coreClient.CompositeMapper = { +export const OutboundRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelSettings", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + category: { + serializedName: "category", + type: { + name: "String", + }, + }, + parentRuleNames: { + serializedName: "parentRuleNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + required: true, type: { name: "String", }, @@ -5107,83 +4958,61 @@ export const ModelSettings: coreClient.CompositeMapper = { }, }; -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessInferenceEndpoint", + className: "ManagedNetworkProvisionStatus", modelProperties: { - uri: { - serializedName: "uri", - required: true, + sparkReady: { + serializedName: "sparkReady", type: { - name: "String", + name: "Boolean", }, }, - headers: { - serializedName: "headers", - readOnly: true, - nullable: true, + status: { + serializedName: "status", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ContentSafety: coreClient.CompositeMapper = { +export const NetworkAcls: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSafety", + className: "NetworkAcls", modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: true, + defaultAction: { + serializedName: "defaultAction", type: { name: "String", }, }, - }, - }, -}; - -export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryTrackedResourceArmPaginatedResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Registry", - }, + ipRules: { + serializedName: "ipRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule", }, }, }, }, }, - }; + }, +}; -export const ArmResourceId: coreClient.CompositeMapper = { +export const IPRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ArmResourceId", + className: "IPRule", modelProperties: { - resourceId: { - serializedName: "resourceId", - nullable: true, + value: { + serializedName: "value", type: { name: "String", }, @@ -5192,54 +5021,32 @@ export const ArmResourceId: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { +export const NotebookResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryPrivateEndpointConnection", + className: "NotebookResourceInfo", modelProperties: { - id: { - serializedName: "id", - nullable: true, - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - nullable: true, + fqdn: { + serializedName: "fqdn", type: { name: "String", }, }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + isPrivateLinkEnabled: { + serializedName: "isPrivateLinkEnabled", type: { - name: "Composite", - className: "PrivateEndpointResource", + name: "Boolean", }, }, - registryPrivateLinkServiceConnectionState: { - serializedName: "properties.registryPrivateLinkServiceConnectionState", + notebookPreparationError: { + serializedName: "notebookPreparationError", type: { name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", + className: "NotebookPreparationError", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - nullable: true, + resourceId: { + serializedName: "resourceId", type: { name: "String", }, @@ -5248,204 +5055,160 @@ export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", - modelProperties: { - actionsRequired: { - serializedName: "actionsRequired", - nullable: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - status: { - serializedName: "status", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { +export const NotebookPreparationError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryRegionArmDetails", + className: "NotebookPreparationError", modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AcrDetails", - }, - }, - }, - }, - location: { - serializedName: "location", - nullable: true, + errorMessage: { + serializedName: "errorMessage", type: { name: "String", }, }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + statusCode: { + serializedName: "statusCode", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StorageAccountDetails", - }, - }, + name: "Number", }, }, }, }, }; -export const AcrDetails: coreClient.CompositeMapper = { +export const WorkspacePrivateEndpointResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AcrDetails", + className: "WorkspacePrivateEndpointResource", modelProperties: { - systemCreatedAcrAccount: { - serializedName: "systemCreatedAcrAccount", + id: { + serializedName: "id", + readOnly: true, type: { - name: "Composite", - className: "SystemCreatedAcrAccount", + name: "String", }, }, - userCreatedAcrAccount: { - serializedName: "userCreatedAcrAccount", + subnetArmId: { + serializedName: "subnetArmId", + readOnly: true, type: { - name: "Composite", - className: "UserCreatedAcrAccount", + name: "String", }, }, }, }, }; -export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedAcrAccount", + className: "PrivateLinkServiceConnectionState", modelProperties: { - acrAccountName: { - serializedName: "acrAccountName", - nullable: true, + actionsRequired: { + serializedName: "actionsRequired", type: { name: "String", }, }, - acrAccountSku: { - serializedName: "acrAccountSku", - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + status: { + serializedName: "status", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, }, }, }; -export const UserCreatedAcrAccount: coreClient.CompositeMapper = { +export const ServerlessComputeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedAcrAccount", + className: "ServerlessComputeSettings", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", + }, + }, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", + type: { + name: "Boolean", }, }, }, }, }; -export const StorageAccountDetails: coreClient.CompositeMapper = { +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageAccountDetails", + className: "ServiceManagedResourcesSettings", modelProperties: { - systemCreatedStorageAccount: { - serializedName: "systemCreatedStorageAccount", + cosmosDb: { + serializedName: "cosmosDb", type: { name: "Composite", - className: "SystemCreatedStorageAccount", + className: "CosmosDbSettings", }, }, - userCreatedStorageAccount: { - serializedName: "userCreatedStorageAccount", + }, + }, +}; + +export const CosmosDbSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CosmosDbSettings", + modelProperties: { + collectionsThroughput: { + serializedName: "collectionsThroughput", type: { - name: "Composite", - className: "UserCreatedStorageAccount", + name: "Number", }, }, }, }, }; -export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedStorageAccount", + className: "SharedPrivateLinkResource", modelProperties: { - allowBlobPublicAccess: { - serializedName: "allowBlobPublicAccess", + name: { + serializedName: "name", type: { - name: "Boolean", + name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + groupId: { + serializedName: "properties.groupId", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, - storageAccountHnsEnabled: { - serializedName: "storageAccountHnsEnabled", + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { - name: "Boolean", + name: "String", }, }, - storageAccountName: { - serializedName: "storageAccountName", - nullable: true, + requestMessage: { + serializedName: "properties.requestMessage", type: { name: "String", }, }, - storageAccountType: { - serializedName: "storageAccountType", - nullable: true, + status: { + serializedName: "properties.status", type: { name: "String", }, @@ -5454,621 +5217,547 @@ export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { }, }; -export const UserCreatedStorageAccount: coreClient.CompositeMapper = { +export const WorkspaceHubConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedStorageAccount", + className: "WorkspaceHubConfig", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { - name: "Composite", - className: "ArmResourceId", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", + type: { + name: "String", }, }, }, }, }; -export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialRegistryPartialTrackedResource", - modelProperties: { - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "WorkspaceUpdateParameters", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlUserFeature", - }, - }, + name: "Composite", + className: "ManagedServiceIdentity", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - }, - }, -}; - -export const AmlUserFeature: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlUserFeature", - modelProperties: { - id: { - serializedName: "id", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", + type: { + name: "Boolean", + }, + }, + applicationInsights: { + serializedName: "properties.applicationInsights", type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { name: "String", }, }, description: { - serializedName: "description", + serializedName: "properties.description", type: { name: "String", }, }, - }, - }, -}; - -export const ResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceId", - modelProperties: { - id: { - serializedName: "id", - required: true, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const AKSSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchema", - modelProperties: { - properties: { - serializedName: "properties", + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", + type: { + name: "Boolean", + }, + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "AKSSchemaProperties", + className: "EncryptionUpdateProperties", }, }, - }, - }, -}; - -export const AKSSchemaProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchemaProperties", - modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", - nullable: true, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - systemServices: { - serializedName: "systemServices", - readOnly: true, - nullable: true, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + ipAllowlist: { + serializedName: "properties.ipAllowlist", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SystemService", + name: "String", }, }, }, }, - agentCount: { - constraints: { - InclusiveMinimum: 0, + managedNetwork: { + serializedName: "properties.managedNetwork", + type: { + name: "Composite", + className: "ManagedNetworkSettings", }, - serializedName: "agentCount", - nullable: true, + }, + networkAcls: { + serializedName: "properties.networkAcls", type: { - name: "Number", + name: "Composite", + className: "NetworkAcls", }, }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - sslConfiguration: { - serializedName: "sslConfiguration", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { name: "Composite", - className: "SslConfiguration", + className: "ServerlessComputeSettings", }, }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "ServiceManagedResourcesSettings", }, }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", type: { - name: "String", + name: "Number", }, }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", - nullable: true, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", type: { name: "String", }, }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, }, }, }; -export const SystemService: coreClient.CompositeMapper = { +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "EncryptionUpdateProperties", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, - type: { - name: "String", - }, - }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - type: { - name: "String", - }, - }, - version: { - serializedName: "version", - readOnly: true, + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "String", + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", }, }, }, }, }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "EncryptionKeyVaultUpdateProperties", modelProperties: { - status: { - serializedName: "status", - type: { - name: "String", - }, - }, - cert: { - serializedName: "cert", - nullable: true, - type: { - name: "String", - }, - }, - key: { - serializedName: "key", - nullable: true, - type: { - name: "String", + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - cname: { - serializedName: "cname", - nullable: true, + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, }, - leafDomainLabel: { - serializedName: "leafDomainLabel", - nullable: true, - type: { - name: "String", + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", - type: { - name: "Boolean", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - subnetId: { - serializedName: "subnetId", + authType: { + serializedName: "authType", + required: 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", + category: { + serializedName: "category", type: { name: "String", }, }, - 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", + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", + 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", + error: { + serializedName: "error", type: { name: "String", }, }, - }, - }, -}; - -export const KubernetesSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KubernetesSchema", - modelProperties: { - properties: { - serializedName: "properties", + expiryTime: { + serializedName: "expiryTime", type: { - name: "Composite", - className: "KubernetesProperties", + name: "DateTime", }, }, - }, - }, -}; - -export const KubernetesProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KubernetesProperties", - modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", - nullable: true, + group: { + serializedName: "group", + readOnly: true, type: { name: "String", }, }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", - nullable: true, + isSharedToAll: { + serializedName: "isSharedToAll", type: { - name: "String", + name: "Boolean", }, }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", - nullable: true, + metadata: { + serializedName: "metadata", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", + peRequirement: { + serializedName: "peRequirement", type: { name: "String", }, }, - vcName: { - serializedName: "vcName", + peStatus: { + serializedName: "peStatus", type: { name: "String", }, }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + sharedUserList: { + serializedName: "sharedUserList", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - defaultInstanceType: { - serializedName: "defaultInstanceType", + target: { + serializedName: "target", type: { name: "String", }, }, - instanceTypes: { - serializedName: "instanceTypes", + useWorkspaceManagedIdentity: { + serializedName: "useWorkspaceManagedIdentity", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" }, - }, + name: "Boolean", }, }, }, }, }; -export const InstanceTypeSchema: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchema", + className: "WorkspaceConnectionUpdateParameter", modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - resources: { - serializedName: "resources", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { +export const EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const EndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, + modelProperties: { + failureReason: { + serializedName: "failureReason", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + type: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const EndpointModels: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "EndpointModels", modelProperties: { - requests: { - serializedName: "requests", + nextLink: { + serializedName: "nextLink", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - limits: { - serializedName: "limits", + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelProperties", + }, + }, }, }, }, }, }; -export const AmlComputeProperties: coreClient.CompositeMapper = { +export const EndpointModelProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeProperties", + className: "EndpointModelProperties", modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", + capabilities: { + serializedName: "capabilities", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - vmSize: { - serializedName: "vmSize", + deprecation: { + serializedName: "deprecation", type: { - name: "String", + name: "Composite", + className: "EndpointModelDeprecationProperties", }, }, - vmPriority: { - serializedName: "vmPriority", + finetuneCapabilities: { + serializedName: "finetuneCapabilities", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - virtualMachineImage: { - serializedName: "virtualMachineImage", + format: { + serializedName: "format", type: { - name: "Composite", - className: "VirtualMachineImage", + name: "String", }, }, - isolatedNetwork: { - serializedName: "isolatedNetwork", + isDefaultVersion: { + serializedName: "isDefaultVersion", 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", + lifecycleStatus: { + serializedName: "lifecycleStatus", type: { name: "String", }, }, - allocationState: { - serializedName: "allocationState", - readOnly: true, + maxCapacity: { + serializedName: "maxCapacity", type: { - name: "String", + name: "Number", }, }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", - readOnly: true, + name: { + serializedName: "name", type: { - name: "DateTime", + name: "String", }, }, - errors: { - serializedName: "errors", - readOnly: true, - nullable: true, + skus: { + serializedName: "skus", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse", + className: "EndpointModelSkuProperties", }, }, }, }, - currentNodeCount: { - serializedName: "currentNodeCount", - readOnly: true, - nullable: true, - type: { - name: "Number", - }, - }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, - nullable: true, - type: { - name: "Number", - }, - }, - nodeStateCounts: { - serializedName: "nodeStateCounts", + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "NodeStateCounts", - }, - }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, - type: { - name: "Boolean", - }, - }, - propertyBag: { - serializedName: "propertyBag", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, + className: "SystemData", }, }, - }, - }, -}; - -export const VirtualMachineImage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineImage", - modelProperties: { - id: { - serializedName: "id", - required: true, + version: { + serializedName: "version", type: { name: "String", }, @@ -6077,323 +5766,430 @@ export const VirtualMachineImage: coreClient.CompositeMapper = { }, }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const EndpointModelDeprecationProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "EndpointModelDeprecationProperties", modelProperties: { - adminUserName: { - serializedName: "adminUserName", - required: true, - type: { - name: "String", - }, - }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", + fineTune: { + serializedName: "fineTune", type: { - name: "String", + name: "DateTime", }, }, - adminUserPassword: { - serializedName: "adminUserPassword", + inference: { + serializedName: "inference", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const EndpointModelSkuProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "EndpointModelSkuProperties", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, + capacity: { + serializedName: "capacity", type: { - name: "Number", + name: "Composite", + className: "EndpointModelSkuCapacityProperties", }, }, - runningNodeCount: { - serializedName: "runningNodeCount", - readOnly: true, + connectionIds: { + serializedName: "connectionIds", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, + deprecationDate: { + serializedName: "deprecationDate", type: { - name: "Number", + name: "DateTime", }, }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, + name: { + serializedName: "name", type: { - name: "Number", + name: "String", }, }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + rateLimits: { + serializedName: "rateLimits", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + }, + }, }, }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, + usageName: { + serializedName: "usageName", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const AmlComputeSchema: coreClient.CompositeMapper = { +export const EndpointModelSkuCapacityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeSchema", + className: "EndpointModelSkuCapacityProperties", modelProperties: { - properties: { - serializedName: "properties", + default: { + serializedName: "default", type: { - name: "Composite", - className: "AmlComputeProperties", + name: "Number", + }, + }, + maximum: { + serializedName: "maximum", + type: { + name: "Number", }, }, }, }, }; -export const ComputeInstanceProperties: coreClient.CompositeMapper = { +export const EndpointModelSkuRateLimitProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceProperties", + className: "EndpointModelSkuRateLimitProperties", modelProperties: { - vmSize: { - serializedName: "vmSize", - type: { - name: "String", - }, - }, - subnet: { - serializedName: "subnet", - type: { - name: "Composite", - className: "ResourceId", - }, - }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", + count: { + serializedName: "count", type: { - name: "String", + name: "Number", }, }, - sshSettings: { - serializedName: "sshSettings", + renewalPeriod: { + serializedName: "renewalPeriod", type: { - name: "Composite", - className: "ComputeInstanceSshSettings", + name: "Number", }, }, - customServices: { - serializedName: "customServices", - nullable: true, + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CustomService", + className: "EndpointModelSkuRateLimitRuleProperties", }, }, }, }, - osImageMetadata: { - serializedName: "osImageMetadata", - type: { - name: "Composite", - className: "ImageMetadata", + }, + }, +}; + +export const EndpointModelSkuRateLimitRuleProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRuleProperties", + modelProperties: { + count: { + serializedName: "count", + type: { + name: "Number", + }, }, - }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + dynamicThrottlingEnabled: { + serializedName: "dynamicThrottlingEnabled", + type: { + name: "Boolean", + }, }, - }, - applications: { - serializedName: "applications", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceApplication", + key: { + serializedName: "key", + type: { + name: "String", + }, + }, + matchPatterns: { + serializedName: "matchPatterns", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + }, }, }, }, - }, - createdBy: { - serializedName: "createdBy", - type: { - name: "Composite", - className: "ComputeInstanceCreatedBy", + minCount: { + serializedName: "minCount", + type: { + name: "Number", + }, + }, + renewalPeriod: { + serializedName: "renewalPeriod", + type: { + name: "Number", + }, }, }, - errors: { - serializedName: "errors", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", + }, + }; + +export const EndpointModelSkuRateLimitRulePatternProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + modelProperties: { + method: { + serializedName: "method", + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RaiBlocklistPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResource", + }, }, }, }, }, - state: { - serializedName: "state", - readOnly: true, + }, + }; + +export const RaiBlocklistProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistProperties", + modelProperties: { + description: { + serializedName: "description", type: { name: "String", }, }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", - nullable: true, + }, + }, +}; + +export const RaiBlocklistItemBulkRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistItemBulkRequest", + modelProperties: { + name: { + serializedName: "name", type: { name: "String", }, }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "RaiBlocklistItemProperties", }, }, - setupScripts: { - serializedName: "setupScripts", + }, + }, +}; + +export const RaiBlocklistItemProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistItemProperties", + modelProperties: { + isRegex: { + serializedName: "isRegex", type: { - name: "Composite", - className: "SetupScripts", + name: "Boolean", }, }, - lastOperation: { - serializedName: "lastOperation", + pattern: { + serializedName: "pattern", type: { - name: "Composite", - className: "ComputeInstanceLastOperation", + name: "String", }, }, - schedules: { - serializedName: "schedules", - type: { - name: "Composite", - className: "ComputeSchedules", + }, + }, +}; + +export const RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, }, }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + }, + }; + +export const RaiPolicyPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const RaiPolicyProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiPolicyProperties", + modelProperties: { + basePolicyName: { + serializedName: "basePolicyName", type: { - name: "Boolean", + name: "String", }, }, - containers: { - serializedName: "containers", - readOnly: true, - nullable: true, + completionBlocklists: { + serializedName: "completionBlocklists", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeInstanceContainer", + className: "RaiBlocklistConfig", }, }, }, }, - dataDisks: { - serializedName: "dataDisks", - readOnly: true, - nullable: true, + contentFilters: { + serializedName: "contentFilters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "RaiPolicyContentFilter", }, }, }, }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, - nullable: true, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, + promptBlocklists: { + serializedName: "promptBlocklists", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "RaiBlocklistConfig", }, }, }, }, - versions: { - serializedName: "versions", + type: { + serializedName: "type", type: { - name: "Composite", - className: "ComputeInstanceVersion", + name: "String", }, }, }, }, }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const RaiBlocklistConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "RaiBlocklistConfig", modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", - type: { - name: "String", - }, - }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, - type: { - name: "String", - }, - }, - sshPort: { - serializedName: "sshPort", - readOnly: true, + blocking: { + serializedName: "blocking", type: { - name: "Number", + name: "Boolean", }, }, - adminPublicKey: { - serializedName: "adminPublicKey", + blocklistName: { + serializedName: "blocklistName", type: { name: "String", }, @@ -6402,357 +6198,362 @@ export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { }, }; -export const CustomService: coreClient.CompositeMapper = { +export const RaiPolicyContentFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomService", - additionalProperties: { type: { name: "Object" } }, + className: "RaiPolicyContentFilter", modelProperties: { - name: { - serializedName: "name", + allowedContentLevel: { + serializedName: "allowedContentLevel", type: { name: "String", }, }, - image: { - serializedName: "image", + blocking: { + serializedName: "blocking", type: { - name: "Composite", - className: "Image", + name: "Boolean", }, }, - environmentVariables: { - serializedName: "environmentVariables", + enabled: { + serializedName: "enabled", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "EnvironmentVariable" }, - }, + name: "Boolean", }, }, - docker: { - serializedName: "docker", + name: { + serializedName: "name", type: { - name: "Composite", - className: "Docker", + name: "String", }, }, - endpoints: { - serializedName: "endpoints", + source: { + serializedName: "source", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Endpoint", - }, - }, - }, - }, - 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", + name: "String", }, }, }, }, }; -export const EnvironmentVariable: coreClient.CompositeMapper = { +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVariable", - additionalProperties: { type: { name: "Object" } }, + className: "DiagnoseWorkspaceParameters", modelProperties: { - type: { - defaultValue: "local", - serializedName: "type", - type: { - name: "String", - }, - }, 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", - }, - }, - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - target: { - serializedName: "target", - type: { - name: "Number", - }, - }, - published: { - serializedName: "published", - nullable: true, - type: { - name: "Number", - }, - }, - hostIp: { - serializedName: "hostIp", - nullable: true, - type: { - name: "String", + name: "Composite", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const VolumeDefinition: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeDefinition", + className: "DiagnoseRequestProperties", modelProperties: { - type: { - defaultValue: "bind", - serializedName: "type", - type: { - name: "String", - }, - }, - readOnly: { - serializedName: "readOnly", - nullable: true, + applicationInsights: { + serializedName: "applicationInsights", type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - source: { - serializedName: "source", + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - target: { - serializedName: "target", + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - consistency: { - serializedName: "consistency", + keyVault: { + serializedName: "keyVault", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - bind: { - serializedName: "bind", + nsg: { + serializedName: "nsg", type: { - name: "Composite", - className: "BindOptions", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - volume: { - serializedName: "volume", + others: { + serializedName: "others", type: { - name: "Composite", - className: "VolumeOptions", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - tmpfs: { - serializedName: "tmpfs", + requiredResourceProviders: { + serializedName: "requiredResourceProviders", type: { - name: "Composite", - className: "TmpfsOptions", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - }, - }, -}; - -export const BindOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BindOptions", - modelProperties: { - propagation: { - serializedName: "propagation", - nullable: true, + resourceLock: { + serializedName: "resourceLock", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - createHostPath: { - serializedName: "createHostPath", - nullable: true, + storageAccount: { + serializedName: "storageAccount", type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - selinux: { - serializedName: "selinux", - nullable: true, + udr: { + serializedName: "udr", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const VolumeOptions: coreClient.CompositeMapper = { +export const DiagnoseResponseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeOptions", + className: "DiagnoseResponseResult", modelProperties: { - nocopy: { - serializedName: "nocopy", - nullable: true, + value: { + serializedName: "value", type: { - name: "Boolean", + name: "Composite", + className: "DiagnoseResponseResultValue", }, }, }, }, }; -export const TmpfsOptions: coreClient.CompositeMapper = { +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TmpfsOptions", + className: "DiagnoseResponseResultValue", modelProperties: { - size: { - serializedName: "size", + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const ImageMetadata: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageMetadata", - modelProperties: { - currentImageVersion: { - serializedName: "currentImageVersion", + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - latestImageVersion: { - serializedName: "latestImageVersion", + resourceLockResults: { + serializedName: "resourceLockResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + dnsResolutionResults: { + serializedName: "dnsResolutionResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + storageAccountResults: { + serializedName: "storageAccountResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + keyVaultResults: { + serializedName: "keyVaultResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + containerRegistryResults: { + serializedName: "containerRegistryResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + otherResults: { + serializedName: "otherResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + }, + }, +}; + +export const DiagnoseResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnoseResult", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, type: { name: "String", }, }, - isLatestOsImageVersion: { - serializedName: "isLatestOsImageVersion", + level: { + serializedName: "level", + readOnly: true, type: { - name: "Boolean", + name: "String", + }, + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = +export const EndpointResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + className: "EndpointResourcePropertiesBasicResourceArmPaginatedResult", modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + }, + }, }, }, }, }, }; -export const ComputeInstanceApplication: coreClient.CompositeMapper = { +export const EndpointResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceApplication", + className: "EndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: { + serializedName: "endpointType", + clientName: "endpointType", + }, modelProperties: { - displayName: { - serializedName: "displayName", + associatedResourceId: { + serializedName: "associatedResourceId", + type: { + name: "String", + }, + }, + deployments: { + serializedName: "deployments", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, + }, + }, + endpointType: { + serializedName: "endpointType", + required: true, type: { name: "String", }, @@ -6763,73 +6564,70 @@ export const ComputeInstanceApplication: coreClient.CompositeMapper = { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceCreatedBy", - modelProperties: { - userName: { - serializedName: "userName", - readOnly: true, - nullable: true, + failureReason: { + serializedName: "failureReason", type: { name: "String", }, }, - userOrgId: { - serializedName: "userOrgId", - readOnly: true, + location: { + serializedName: "location", type: { name: "String", }, }, - userId: { - serializedName: "userId", + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", readOnly: true, - nullable: true, type: { name: "String", }, }, + shouldCreateAiServicesEndpoint: { + serializedName: "shouldCreateAiServicesEndpoint", + type: { + name: "Boolean", + }, + }, }, }, }; -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { +export const EndpointKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "EndpointKeys", modelProperties: { - assignedUser: { - serializedName: "assignedUser", + keys: { + serializedName: "keys", type: { name: "Composite", - className: "AssignedUser", + className: "AccountApiKeys", }, }, }, }, }; -export const AssignedUser: coreClient.CompositeMapper = { +export const AccountApiKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssignedUser", + className: "AccountApiKeys", modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + key1: { + serializedName: "key1", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + key2: { + serializedName: "key2", type: { name: "String", }, @@ -6838,70 +6636,57 @@ export const AssignedUser: coreClient.CompositeMapper = { }, }; -export const SetupScripts: coreClient.CompositeMapper = { +export const RegenerateServiceAccountKeyContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SetupScripts", + className: "RegenerateServiceAccountKeyContent", modelProperties: { - scripts: { - serializedName: "scripts", + keyName: { + serializedName: "keyName", type: { - name: "Composite", - className: "ScriptsToExecute", + name: "String", }, }, }, }, }; -export const ScriptsToExecute: coreClient.CompositeMapper = { +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptsToExecute", + className: "ListWorkspaceKeysResult", modelProperties: { - startupScript: { - serializedName: "startupScript", + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", + readOnly: true, type: { - name: "Composite", - className: "ScriptReference", + name: "String", }, }, - creationScript: { - serializedName: "creationScript", + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", type: { name: "Composite", - className: "ScriptReference", - }, - }, - }, - }, -}; - -export const ScriptReference: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScriptReference", - modelProperties: { - scriptSource: { - serializedName: "scriptSource", - type: { - name: "String", + className: "RegistryListCredentialsResult", }, }, - scriptData: { - serializedName: "scriptData", + notebookAccessKeys: { + serializedName: "notebookAccessKeys", type: { - name: "String", + name: "Composite", + className: "ListNotebookKeysResult", }, }, - scriptArguments: { - serializedName: "scriptArguments", + userStorageArmId: { + serializedName: "userStorageArmId", + readOnly: true, type: { name: "String", }, }, - timeout: { - serializedName: "timeout", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, @@ -6910,31 +6695,56 @@ export const ScriptReference: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceLastOperation", + className: "RegistryListCredentialsResult", modelProperties: { - operationName: { - serializedName: "operationName", + location: { + serializedName: "location", + readOnly: true, type: { name: "String", }, }, - operationTime: { - serializedName: "operationTime", + passwords: { + serializedName: "passwords", type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, }, }, - operationStatus: { - serializedName: "operationStatus", + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, }, - operationTrigger: { - serializedName: "operationTrigger", + }, + }, +}; + +export const Password: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Password", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, @@ -6943,181 +6753,166 @@ export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { }, }; -export const ComputeSchedules: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSchedules", + className: "ListNotebookKeysResult", modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeStartStopSchedule", - }, - }, + name: "String", + }, + }, + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeStartStopSchedule", + className: "NotebookAccessTokenResult", modelProperties: { - id: { - serializedName: "id", + accessToken: { + serializedName: "accessToken", readOnly: true, - nullable: true, type: { name: "String", }, }, - provisioningStatus: { - serializedName: "provisioningStatus", + expiresIn: { + serializedName: "expiresIn", readOnly: true, type: { - name: "String", + name: "Number", }, }, - status: { - serializedName: "status", + hostName: { + serializedName: "hostName", + readOnly: true, type: { name: "String", }, }, - action: { - serializedName: "action", + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - triggerType: { - serializedName: "triggerType", + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { name: "String", }, }, - recurrence: { - serializedName: "recurrence", + refreshToken: { + serializedName: "refreshToken", + readOnly: true, type: { - name: "Composite", - className: "Recurrence", + name: "String", }, }, - cron: { - serializedName: "cron", + scope: { + serializedName: "scope", + readOnly: true, type: { - name: "Composite", - className: "Cron", + name: "String", }, }, - schedule: { - serializedName: "schedule", + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { - name: "Composite", - className: "ScheduleBase", + name: "String", }, }, }, }, }; -export const Recurrence: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Recurrence", + className: "ListStorageAccountKeysResult", modelProperties: { - frequency: { - serializedName: "frequency", - type: { - name: "String", - }, - }, - interval: { - serializedName: "interval", - type: { - name: "Number", - }, - }, - startTime: { - serializedName: "startTime", - nullable: true, - type: { - name: "String", - }, - }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "ComputeRecurrenceSchedule", - }, - }, }, }, }; -export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { +export const ExternalFqdnResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeRecurrenceSchedule", + className: "ExternalFqdnResponse", modelProperties: { - hours: { - serializedName: "hours", - required: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "FqdnEndpointsPropertyBag", }, }, }, }, - minutes: { - serializedName: "minutes", - required: true, + }, + }, +}; + +export const FqdnEndpointsPropertyBag: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpointsPropertyBag", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Composite", + className: "FqdnEndpoints", }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + }, + }, +}; + +export const FqdnEndpoints: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpoints", + modelProperties: { + category: { + serializedName: "category", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - weekDays: { - serializedName: "weekDays", - nullable: true, + endpoints: { + serializedName: "endpoints", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "FqdnEndpoint", }, }, }, @@ -7126,108 +6921,88 @@ export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const Cron: coreClient.CompositeMapper = { +export const FqdnEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Cron", + className: "FqdnEndpoint", modelProperties: { - startTime: { - serializedName: "startTime", - nullable: true, - type: { - name: "String", - }, - }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + domainName: { + serializedName: "domainName", type: { name: "String", }, }, - expression: { - serializedName: "expression", + endpointDetails: { + serializedName: "endpointDetails", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, }, }, }, }, }; -export const ScheduleBase: coreClient.CompositeMapper = { +export const FqdnEndpointDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleBase", + className: "FqdnEndpointDetail", modelProperties: { - id: { - serializedName: "id", - nullable: true, + port: { + serializedName: "port", type: { - name: "String", - }, - }, - provisioningStatus: { - serializedName: "provisioningStatus", - type: { - name: "String", - }, - }, - status: { - serializedName: "status", - type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ComputeInstanceContainer: coreClient.CompositeMapper = { +export const OutboundRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceContainer", + className: "OutboundRuleListResult", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - autosave: { - serializedName: "autosave", - type: { - name: "String", - }, - }, - gpu: { - serializedName: "gpu", - type: { - name: "String", - }, - }, - network: { - serializedName: "network", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - environment: { - serializedName: "environment", + value: { + serializedName: "value", type: { - name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + }, + }, }, }, - services: { - serializedName: "services", - readOnly: true, + }, + }, +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "PrivateEndpointConnection", }, }, }, @@ -7236,116 +7011,148 @@ export const ComputeInstanceContainer: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "PrivateLinkResourceListResult", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource", + }, + }, }, }, - version: { - serializedName: "version", + }, + }, +}; + +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionOptions", + modelProperties: { + includeSpark: { + serializedName: "includeSpark", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "ResourceId", modelProperties: { - caching: { - serializedName: "caching", + id: { + serializedName: "id", + required: true, type: { name: "String", }, }, - diskSizeGB: { - serializedName: "diskSizeGB", - type: { - name: "Number", - }, - }, - lun: { - serializedName: "lun", - type: { - name: "Number", - }, - }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + }, + }, +}; + +export const AKSSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AKSSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "AKSSchemaProperties", }, }, }, }, }; -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { +export const AKSSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "AKSSchemaProperties", modelProperties: { - source: { - serializedName: "source", + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { name: "String", }, }, - sourceType: { - serializedName: "sourceType", + systemServices: { + serializedName: "systemServices", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService", + }, + }, }, }, - mountName: { - serializedName: "mountName", + agentCount: { + constraints: { + InclusiveMinimum: 0, + }, + serializedName: "agentCount", + nullable: true, type: { - name: "String", + name: "Number", }, }, - mountAction: { - serializedName: "mountAction", + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { name: "String", }, }, - createdBy: { - serializedName: "createdBy", + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { name: "String", }, }, - mountPath: { - serializedName: "mountPath", + sslConfiguration: { + serializedName: "sslConfiguration", type: { - name: "String", + name: "Composite", + className: "SslConfiguration", }, }, - mountState: { - serializedName: "mountState", + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", type: { - name: "String", + name: "Composite", + className: "AksNetworkingConfiguration", }, }, - mountedOn: { - serializedName: "mountedOn", + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", type: { - name: "DateTime", + name: "String", }, }, - error: { - serializedName: "error", + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", + nullable: true, type: { name: "String", }, @@ -7354,92 +7161,77 @@ export const ComputeInstanceDataMount: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceVersion: coreClient.CompositeMapper = { +export const SystemService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceVersion", + className: "SystemService", modelProperties: { - runtime: { - serializedName: "runtime", - nullable: true, + systemServiceType: { + serializedName: "systemServiceType", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceSchema", - modelProperties: { - properties: { - serializedName: "properties", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceProperties", + name: "String", }, }, - }, - }, -}; - -export const VirtualMachineSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSchema", - modelProperties: { - properties: { - serializedName: "properties", + version: { + serializedName: "version", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSchemaProperties", + 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", }, @@ -7448,290 +7240,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", + subnetId: { + serializedName: "subnetId", type: { name: "String", }, }, - password: { - serializedName: "password", - 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]))?$", + ), }, - }, - publicKeyData: { - serializedName: "publicKeyData", + 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", + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), }, - }, - address: { - serializedName: "address", + 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", + }, + }, + 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 DataLakeAnalyticsSchema: coreClient.CompositeMapper = { +export const InstanceTypeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchema", + className: "InstanceTypeSchema", modelProperties: { - properties: { - serializedName: "properties", + 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", }, @@ -7740,196 +7595,320 @@ 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", + }, + }, + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + preemptedNodeCount: { + serializedName: "preemptedNodeCount", + readOnly: true, + type: { + name: "Number", }, }, }, }, }; -export const IdleShutdownSetting: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdleShutdownSetting", + className: "AmlComputeSchema", modelProperties: { - idleTimeBeforeShutdown: { - serializedName: "idleTimeBeforeShutdown", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "AmlComputeProperties", }, }, }, }, }; -export const PrivateEndpointDestination: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "ComputeInstanceProperties", modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - sparkEnabled: { - serializedName: "sparkEnabled", + subnet: { + serializedName: "subnet", type: { - name: "Boolean", + name: "Composite", + className: "ResourceId", }, }, - sparkStatus: { - serializedName: "sparkStatus", + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { name: "String", }, }, - subresourceTarget: { - serializedName: "subresourceTarget", + autologgerSettings: { + serializedName: "autologgerSettings", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceAutologgerSettings", }, }, - }, - }, -}; - -export const ServiceTagDestination: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServiceTagDestination", - modelProperties: { - action: { - serializedName: "action", + sshSettings: { + serializedName: "sshSettings", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceSshSettings", }, }, - addressPrefixes: { - serializedName: "addressPrefixes", - readOnly: true, + customServices: { + serializedName: "customServices", + nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "CustomService", }, }, }, }, - portRanges: { - serializedName: "portRanges", + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "String", + name: "Composite", + className: "ImageMetadata", }, }, - protocol: { - serializedName: "protocol", + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", }, }, - serviceTag: { - serializedName: "serviceTag", + applications: { + serializedName: "applications", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + }, + }, }, }, - }, - }, -}; - -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword", - modelProperties: { - username: { - serializedName: "username", + createdBy: { + serializedName: "createdBy", + type: { + name: "Composite", + className: "ComputeInstanceCreatedBy", + }, + }, + errors: { + serializedName: "errors", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, + }, + state: { + serializedName: "state", + readOnly: true, type: { name: "String", }, }, - password: { - serializedName: "password", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", + nullable: true, type: { name: "String", }, }, - securityToken: { - serializedName: "securityToken", + enableOSPatching: { + defaultValue: false, + serializedName: "enableOSPatching", + nullable: true, + type: { + name: "Boolean", + }, + }, + enableRootAccess: { + defaultValue: true, + serializedName: "enableRootAccess", + nullable: true, + type: { + name: "Boolean", + }, + }, + enableSSO: { + defaultValue: true, + serializedName: "enableSSO", + nullable: true, + type: { + name: "Boolean", + }, + }, + releaseQuotaOnStop: { + defaultValue: false, + serializedName: "releaseQuotaOnStop", + nullable: true, + type: { + name: "Boolean", + }, + }, + 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", }, }, - }, - }, -}; - -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", + enableNodePublicIp: { + serializedName: "enableNodePublicIp", + nullable: true, + type: { + name: "Boolean", + }, + }, + containers: { + serializedName: "containers", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + }, }, }, }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", + 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 WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { +export const ComputeInstanceAutologgerSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccountKey", + className: "ComputeInstanceAutologgerSettings", modelProperties: { - key: { - serializedName: "key", + mlflowAutologger: { + serializedName: "mlflowAutologger", type: { name: "String", }, @@ -7938,40 +7917,34 @@ export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionManagedIdentity", + className: "ComputeInstanceSshSettings", modelProperties: { - resourceId: { - serializedName: "resourceId", + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + adminUserName: { + serializedName: "adminUserName", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionAccessKey", - modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + sshPort: { + serializedName: "sshPort", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + adminPublicKey: { + serializedName: "adminPublicKey", type: { name: "String", }, @@ -7980,86 +7953,125 @@ export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { +export const ImageMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionApiKey", + className: "ImageMetadata", modelProperties: { - key: { - serializedName: "key", + currentImageVersion: { + serializedName: "currentImageVersion", type: { name: "String", }, }, - }, - }, -}; - -export const CustomKeys: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomKeys", - modelProperties: { - keys: { - serializedName: "keys", + latestImageVersion: { + serializedName: "latestImageVersion", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", + type: { + name: "Boolean", + }, + }, + osPatchingStatus: { + serializedName: "osPatchingStatus", + type: { + name: "Composite", + className: "OsPatchingStatus", }, }, }, }, }; -export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { +export const OsPatchingStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionOAuth2", + className: "OsPatchingStatus", modelProperties: { - authUrl: { - serializedName: "authUrl", + patchStatus: { + serializedName: "patchStatus", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + latestPatchTime: { + serializedName: "latestPatchTime", type: { - name: "Uuid", + name: "String", }, }, - clientSecret: { - serializedName: "clientSecret", + rebootPending: { + serializedName: "rebootPending", type: { - name: "String", + name: "Boolean", }, }, - developerToken: { - serializedName: "developerToken", + scheduledRebootTime: { + serializedName: "scheduledRebootTime", type: { name: "String", }, }, - password: { - serializedName: "password", + osPatchingErrors: { + serializedName: "osPatchingErrors", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - refreshToken: { - serializedName: "refreshToken", - type: { - name: "String", + }, + }, +}; + +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + modelProperties: { + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, }, }, - tenantId: { - serializedName: "tenantId", + }, + }; + +export const ComputeInstanceApplication: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + modelProperties: { + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - username: { - serializedName: "username", + endpointUri: { + serializedName: "endpointUri", type: { name: "String", }, @@ -8068,25 +8080,30 @@ export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "ComputeInstanceCreatedBy", modelProperties: { - clientId: { - serializedName: "clientId", + userName: { + serializedName: "userName", + readOnly: true, + nullable: true, type: { name: "String", }, }, - clientSecret: { - serializedName: "clientSecret", + userOrgId: { + serializedName: "userOrgId", + readOnly: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + userId: { + serializedName: "userId", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -8095,150 +8112,109 @@ export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { }, }; -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", - }, + className: "PersonalComputeInstanceSettings", modelProperties: { - filterType: { - serializedName: "filterType", - required: true, + assignedUser: { + serializedName: "assignedUser", type: { - name: "String", + name: "Composite", + className: "AssignedUser", }, }, }, }, }; -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { +export const AssignedUser: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", - }, + className: "AssignedUser", modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", + objectId: { + serializedName: "objectId", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const AssetJobInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetJobInput", - modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", + tenantId: { + serializedName: "tenantId", required: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", - type: { - name: "String", - }, - }, }, }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const SetupScripts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "SetupScripts", modelProperties: { - uri: { - serializedName: "uri", - nullable: true, - type: { - name: "String", - }, - }, - mode: { - serializedName: "mode", + scripts: { + serializedName: "scripts", type: { - name: "String", + name: "Composite", + className: "ScriptsToExecute", }, }, }, }, }; -export const ForecastHorizon: coreClient.CompositeMapper = { +export const ScriptsToExecute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ScriptsToExecute", modelProperties: { - mode: { - serializedName: "mode", - required: true, + startupScript: { + serializedName: "startupScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", + }, + }, + creationScript: { + serializedName: "creationScript", + type: { + name: "Composite", + className: "ScriptReference", }, }, }, }, }; -export const AutoMLVertical: coreClient.CompositeMapper = { +export const ScriptReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, + className: "ScriptReference", modelProperties: { - taskType: { - serializedName: "taskType", - required: true, + scriptSource: { + serializedName: "scriptSource", type: { name: "String", }, }, - logVerbosity: { - serializedName: "logVerbosity", + scriptData: { + serializedName: "scriptData", type: { name: "String", }, }, - trainingData: { - serializedName: "trainingData", + scriptArguments: { + serializedName: "scriptArguments", type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, + timeout: { + serializedName: "timeout", type: { name: "String", }, @@ -8247,54 +8223,31 @@ export const AutoMLVertical: coreClient.CompositeMapper = { }, }; -export const JobInput: coreClient.CompositeMapper = { +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType", - }, + className: "ComputeInstanceLastOperation", modelProperties: { - jobInputType: { - serializedName: "jobInputType", - required: true, + operationName: { + serializedName: "operationName", type: { name: "String", }, }, - description: { - serializedName: "description", - nullable: true, + operationTime: { + serializedName: "operationTime", type: { - name: "String", + name: "DateTime", }, }, - }, - }, -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, - modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, + operationStatus: { + serializedName: "operationStatus", type: { name: "String", }, }, - description: { - serializedName: "description", - nullable: true, + operationTrigger: { + serializedName: "operationTrigger", type: { name: "String", }, @@ -8303,544 +8256,538 @@ export const JobOutput: coreClient.CompositeMapper = { }, }; -export const QueueSettings: coreClient.CompositeMapper = { +export const ComputeSchedules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueueSettings", + className: "ComputeSchedules", modelProperties: { - jobTier: { - serializedName: "jobTier", + computeStartStop: { + serializedName: "computeStartStop", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + }, + }, }, }, }, }, }; -export const NCrossValidations: coreClient.CompositeMapper = { +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ComputeStartStopSchedule", modelProperties: { - mode: { - serializedName: "mode", - required: true, + id: { + serializedName: "id", + readOnly: true, + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const Seasonality: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const TargetLags: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + status: { + serializedName: "status", type: { name: "String", }, }, - }, - }, -}; - -export const TargetRollingWindowSize: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + action: { + serializedName: "action", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", type: { name: "String", }, }, + recurrence: { + serializedName: "recurrence", + type: { + name: "Composite", + className: "Recurrence", + }, + }, + cron: { + serializedName: "cron", + type: { + name: "Composite", + className: "Cron", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "ScheduleBase", + }, + }, }, }, }; -export const AzureDatastore: coreClient.CompositeMapper = { +export const Recurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDatastore", + className: "Recurrence", modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, + frequency: { + serializedName: "frequency", type: { name: "String", }, }, - resourceGroup: { - serializedName: "resourceGroup", + interval: { + serializedName: "interval", + type: { + name: "Number", + }, + }, + startTime: { + serializedName: "startTime", nullable: true, type: { name: "String", }, }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "ComputeRecurrenceSchedule", + }, + }, }, }, }; -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { +export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType", - }, + className: "ComputeRecurrenceSchedule", modelProperties: { - policyType: { - serializedName: "policyType", + hours: { + serializedName: "hours", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const SamplingAlgorithm: coreClient.CompositeMapper = { +export const Cron: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType", - }, + className: "Cron", modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, + startTime: { + serializedName: "startTime", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataDriftMetricThresholdBase", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, - modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + expression: { + serializedName: "expression", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", }, }, }, }, }; -export const MonitoringThreshold: coreClient.CompositeMapper = { +export const ScheduleBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringThreshold", + className: "ScheduleBase", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", nullable: true, type: { - name: "Number", + name: "String", }, }, - }, - }, -}; - -export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataQualityMetricThresholdBase", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, - modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + provisioningStatus: { + serializedName: "provisioningStatus", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + status: { + serializedName: "status", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", }, }, }, }, }; -export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { +export const ComputeInstanceContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PredictionDriftMetricThresholdBase", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "ComputeInstanceContainer", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + name: { + serializedName: "name", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, - }, - }, -}; - -export const TrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrainingSettings", - modelProperties: { - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + autosave: { + serializedName: "autosave", type: { - name: "Boolean", + name: "String", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + gpu: { + serializedName: "gpu", type: { - name: "Composite", - className: "StackEnsembleSettings", + name: "String", }, }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", + network: { + serializedName: "network", type: { - name: "Boolean", + name: "String", }, }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + environment: { + serializedName: "environment", type: { - name: "Boolean", + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", }, }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + services: { + serializedName: "services", + readOnly: true, type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + }, + }, +}; + +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Boolean", + name: "String", }, }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + version: { + serializedName: "version", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const StackEnsembleSettings: coreClient.CompositeMapper = { +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StackEnsembleSettings", + className: "ComputeInstanceDataDisk", modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + caching: { + serializedName: "caching", type: { name: "String", }, }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + diskSizeGB: { + serializedName: "diskSizeGB", type: { name: "Number", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + lun: { + serializedName: "lun", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Number", + }, + }, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", + type: { + name: "String", }, }, }, }, }; -export const TableVertical: coreClient.CompositeMapper = { +export const ComputeInstanceVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVertical", + className: "ComputeInstanceVersion", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + runtime: { + serializedName: "runtime", + nullable: true, type: { - name: "Composite", - className: "TableVerticalLimitSettings", + name: "String", }, }, - nCrossValidations: { - serializedName: "nCrossValidations", + }, + }, +}; + +export const ComputeInstanceSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "NCrossValidations", + className: "ComputeInstanceProperties", }, }, - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "VirtualMachineSchemaProperties", }, }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchemaProperties", + modelProperties: { + virtualMachineSize: { + serializedName: "virtualMachineSize", type: { name: "String", }, }, - validationData: { - serializedName: "validationData", + sshPort: { + serializedName: "sshPort", type: { - name: "Composite", - className: "MLTableJobInput", + name: "Number", }, }, - testData: { - serializedName: "testData", + notebookServerPort: { + serializedName: "notebookServerPort", type: { - name: "Composite", - className: "MLTableJobInput", + name: "Number", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number", + name: "String", }, }, - testDataSize: { - serializedName: "testDataSize", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Number", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { - name: "Composite", - className: "TableVerticalFeaturizationSettings", + name: "Boolean", }, }, }, }, }; -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalLimitSettings", + className: "VirtualMachineSshCredentials", modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + username: { + serializedName: "username", type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", + password: { + serializedName: "password", type: { - name: "TimeSpan", + name: "String", }, }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + publicKeyData: { + serializedName: "publicKeyData", type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + privateKeyData: { + serializedName: "privateKeyData", type: { - name: "Number", + name: "String", }, }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", + }, + }, +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { name: "Number", }, }, - exitScore: { - serializedName: "exitScore", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number", + name: "String", }, }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Boolean", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, }, }, }; -export const ColumnTransformer: coreClient.CompositeMapper = { +export const HDInsightSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ColumnTransformer", + className: "HDInsightSchema", modelProperties: { - fields: { - serializedName: "fields", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - parameters: { - serializedName: "parameters", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "HDInsightProperties", }, }, }, }, }; -export const FeaturizationSettings: coreClient.CompositeMapper = { +export const DatabricksProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturizationSettings", + className: "DatabricksProperties", modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", - nullable: true, + databricksAccessToken: { + serializedName: "databricksAccessToken", + type: { + name: "String", + }, + }, + workspaceUrl: { + serializedName: "workspaceUrl", type: { name: "String", }, @@ -8849,232 +8796,192 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { }, }; -export const DistributionConfiguration: coreClient.CompositeMapper = { +export const DatabricksSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType", - }, + className: "DatabricksSchema", modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DatabricksProperties", }, }, }, }, }; -export const JobLimits: coreClient.CompositeMapper = { +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType", - }, + className: "DataLakeAnalyticsSchema", modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", }, }, - timeout: { - serializedName: "timeout", - nullable: true, + }, + }, +}; + +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + modelProperties: { + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const SynapseSparkProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "SynapseSparkProperties", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { name: "Composite", - className: "ContainerResourceSettings", + className: "AutoScaleProperties", }, }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { name: "Composite", - className: "ContainerResourceSettings", + className: "AutoPauseProperties", }, }, - }, - }, -}; - -export const ContainerResourceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContainerResourceSettings", - modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + sparkVersion: { + serializedName: "sparkVersion", type: { name: "String", }, }, - memory: { - serializedName: "memory", - nullable: true, + nodeCount: { + serializedName: "nodeCount", + type: { + name: "Number", + }, + }, + nodeSize: { + serializedName: "nodeSize", type: { name: "String", }, }, - gpu: { - serializedName: "gpu", - nullable: true, + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { name: "String", }, }, - }, - }, -}; - -export const MonitorDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorDefinition", - modelProperties: { - monitoringTarget: { - serializedName: "monitoringTarget", + subscriptionId: { + serializedName: "subscriptionId", type: { - name: "Composite", - className: "MonitoringTarget", + name: "String", }, }, - signals: { - serializedName: "signals", - required: true, + resourceGroup: { + serializedName: "resourceGroup", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "MonitoringSignalBase" }, - }, + name: "String", }, }, - computeConfiguration: { - serializedName: "computeConfiguration", + workspaceName: { + serializedName: "workspaceName", type: { - name: "Composite", - className: "MonitorComputeConfigurationBase", + name: "String", }, }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", + poolName: { + serializedName: "poolName", type: { - name: "Composite", - className: "MonitorNotificationSettings", + name: "String", }, }, }, }, }; -export const MonitoringTarget: coreClient.CompositeMapper = { +export const AutoScaleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringTarget", + className: "AutoScaleProperties", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - taskType: { - serializedName: "taskType", - required: true, + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const MonitoringSignalBase: coreClient.CompositeMapper = { +export const AutoPauseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, + className: "AutoPauseProperties", modelProperties: { - signalType: { - serializedName: "signalType", - required: true, - type: { - name: "String", - }, - }, - notificationTypes: { - serializedName: "notificationTypes", - nullable: true, + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - properties: { - serializedName: "properties", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Boolean", }, }, }, }, }; -export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeConfigurationBase", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "AksComputeSecretsProperties", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + userKubeConfig: { + serializedName: "userKubeConfig", + type: { + name: "String", + }, + }, + adminKubeConfig: { + serializedName: "adminKubeConfig", + type: { + name: "String", + }, + }, + imagePullSecretName: { + serializedName: "imagePullSecretName", + nullable: true, type: { name: "String", }, @@ -9083,61 +8990,49 @@ export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { }, }; -export const MonitorNotificationSettings: coreClient.CompositeMapper = { +export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorNotificationSettings", + className: "VirtualMachineSecretsSchema", modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", + administratorAccount: { + serializedName: "administratorAccount", type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "VirtualMachineSshCredentials", }, }, }, }, }; -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "DatabricksComputeSecretsProperties", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const CustomMetricThreshold: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMetricThreshold", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: { + serializedName: "filterType", + clientName: "filterType", + }, modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, - metric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "metric", + filterType: { + serializedName: "filterType", required: true, type: { name: "String", @@ -9147,33 +9042,34 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { }, }; -export const MonitoringInputDataBase: coreClient.CompositeMapper = { +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringInputDataBase", - uberParent: "MonitoringInputDataBase", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", polymorphicDiscriminator: { - serializedName: "inputDataType", - clientName: "inputDataType", + serializedName: "computeIdentityType", + clientName: "computeIdentityType", }, modelProperties: { - inputDataType: { - serializedName: "inputDataType", + computeIdentityType: { + serializedName: "computeIdentityType", required: true, type: { name: "String", }, }, - dataContext: { - serializedName: "dataContext", - nullable: true, - type: { - name: "String", - }, - }, - jobInputType: { - serializedName: "jobInputType", - required: true, + }, + }, +}; + +export const AssetJobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobInput", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, @@ -9189,22 +9085,14 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, - columns: { - serializedName: "columns", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const FeatureImportanceSettings: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureImportanceSettings", + className: "AssetJobOutput", modelProperties: { mode: { serializedName: "mode", @@ -9212,8 +9100,8 @@ export const FeatureImportanceSettings: coreClient.CompositeMapper = { name: "String", }, }, - targetColumn: { - serializedName: "targetColumn", + uri: { + serializedName: "uri", nullable: true, type: { name: "String", @@ -9223,20 +9111,46 @@ export const FeatureImportanceSettings: coreClient.CompositeMapper = { }, }; -export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureAttributionMetricThreshold", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - threshold: { - serializedName: "threshold", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", }, }, - metric: { - serializedName: "metric", + }, + }, +}; + +export const JobOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, + modelProperties: { + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + jobOutputType: { + serializedName: "jobOutputType", required: true, type: { name: "String", @@ -9246,534 +9160,793 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { }, }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "QueueSettings", modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", - nullable: true, + jobTier: { + serializedName: "jobTier", type: { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + }, + }, +}; + +export const AutoMLVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", + }, + modelProperties: { + logVerbosity: { + serializedName: "logVerbosity", type: { name: "String", }, }, - targetLags: { - serializedName: "targetLags", + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, type: { - name: "Composite", - className: "TargetLags", + name: "String", }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + taskType: { + serializedName: "taskType", + required: true, type: { - name: "Composite", - className: "TargetRollingWindowSize", + name: "String", }, }, - forecastHorizon: { - serializedName: "forecastHorizon", + trainingData: { + serializedName: "trainingData", type: { name: "Composite", - className: "ForecastHorizon", + className: "MLTableJobInput", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - frequency: { - serializedName: "frequency", + }, + }, +}; + +export const JobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, + modelProperties: { + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - featureLags: { - serializedName: "featureLags", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, }, - seasonality: { - serializedName: "seasonality", - type: { - name: "Composite", - className: "Seasonality", - }, - }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + }, + }, +}; + +export const NCrossValidations: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { + mode: { + serializedName: "mode", + required: true, type: { name: "String", }, }, - useStl: { - serializedName: "useStl", + }, + }, +}; + +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", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + }, + }, +}; + +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", }, }, - cvStepSize: { - serializedName: "cvStepSize", - nullable: true, - type: { - name: "Number", - }, - }, }, }, }; -export const ImageModelSettings: coreClient.CompositeMapper = { +export const TargetRollingWindowSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettings", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, + mode: { + serializedName: "mode", + required: true, type: { - name: "Boolean", + name: "String", }, }, - advancedSettings: { - serializedName: "advancedSettings", + }, + }, +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", nullable: true, type: { name: "String", }, }, - augmentations: { - serializedName: "augmentations", + subscriptionId: { + serializedName: "subscriptionId", nullable: true, type: { name: "String", }, }, - beta1: { - serializedName: "beta1", + }, + }, +}; + +export const AzureOpenAiHyperParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + modelProperties: { + batchSize: { + serializedName: "batchSize", nullable: true, type: { name: "Number", }, }, - beta2: { - serializedName: "beta2", + learningRateMultiplier: { + serializedName: "learningRateMultiplier", nullable: true, type: { name: "Number", }, }, - checkpointFrequency: { - serializedName: "checkpointFrequency", + nEpochs: { + serializedName: "nEpochs", nullable: true, type: { name: "Number", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, - type: { - name: "String", - }, - }, - checkpointModel: { - serializedName: "checkpointModel", + }, + }, +}; + +export const FineTuningVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FineTuningVertical", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: { + serializedName: "modelProvider", + clientName: "modelProvider", + }, + modelProperties: { + model: { + serializedName: "model", type: { name: "Composite", className: "MLFlowModelJobInput", }, }, - distributed: { - serializedName: "distributed", - nullable: true, + modelProvider: { + serializedName: "modelProvider", + required: true, type: { - name: "Boolean", + name: "String", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + taskType: { + serializedName: "taskType", + required: true, type: { - name: "Boolean", + name: "String", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + trainingData: { + serializedName: "trainingData", type: { - name: "Number", + name: "Composite", + className: "JobInput", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + validationData: { + serializedName: "validationData", type: { - name: "Number", + name: "Composite", + className: "JobInput", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + }, + }, +}; + +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: "Number", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { - name: "Boolean", + name: "Number", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + policyType: { + serializedName: "policyType", + required: true, type: { - name: "Number", + name: "String", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: 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: "Number", + name: "String", }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, - type: { - name: "Number", - }, - }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + }, + }, +}; + +export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataDriftMetricThresholdBase", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "String", + name: "Composite", + className: "MonitoringThreshold", }, }, - momentum: { - serializedName: "momentum", + }, + }, +}; + +export const MonitoringThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringThreshold", + modelProperties: { + value: { + serializedName: "value", nullable: true, type: { name: "Number", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, - type: { - name: "Boolean", - }, - }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + }, + }, +}; + +export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataQualityMetricThresholdBase", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { - name: "Number", + name: "String", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "Number", + name: "Composite", + className: "MonitoringThreshold", }, }, - optimizer: { - serializedName: "optimizer", + }, + }, +}; + +export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "Number", + name: "Composite", + className: "MonitoringThreshold", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + }, + }, +}; + +export const TrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrainingSettings", + modelProperties: { + enableDnnTraining: { + defaultValue: false, + serializedName: "enableDnnTraining", type: { - name: "Number", + name: "Boolean", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "Number", + name: "Boolean", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", type: { - name: "Number", + name: "Boolean", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { - name: "Number", + name: "Boolean", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "Number", + name: "Boolean", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "Number", + name: "TimeSpan", }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "Number", + name: "Composite", + className: "StackEnsembleSettings", }, }, }, }, }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const StackEnsembleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "StackEnsembleSettings", modelProperties: { - amsGradient: { - serializedName: "amsGradient", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - augmentations: { - serializedName: "augmentations", - nullable: true, + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "String", + name: "Number", }, }, - beta1: { - serializedName: "beta1", - nullable: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { name: "String", }, }, - beta2: { - serializedName: "beta2", + }, + }, +}; + +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", + }, + }, }, }, - distributed: { - serializedName: "distributed", - nullable: true, + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalFeaturizationSettings", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + limitSettings: { + serializedName: "limitSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalLimitSettings", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "String", + name: "Composite", + className: "NCrossValidations", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + testData: { + serializedName: "testData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + testDataSize: { + serializedName: "testDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + validationData: { + serializedName: "validationData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", + weightColumnName: { + serializedName: "weightColumnName", nullable: true, type: { name: "String", }, }, - learningRate: { - serializedName: "learningRate", + }, + }, +}; + +export const ColumnTransformer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ColumnTransformer", + modelProperties: { + fields: { + serializedName: "fields", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + parameters: { + serializedName: "parameters", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - modelName: { - serializedName: "modelName", + }, + }, +}; + +export const FeaturizationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturizationSettings", + modelProperties: { + datasetLanguage: { + serializedName: "datasetLanguage", nullable: true, type: { name: "String", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + }, + }, +}; + +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { - name: "String", + name: "Boolean", }, }, - nesterov: { - serializedName: "nesterov", + exitScore: { + serializedName: "exitScore", nullable: true, type: { - name: "String", + name: "Number", }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "String", + name: "Number", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", type: { - name: "String", + name: "Number", }, }, - optimizer: { - serializedName: "optimizer", - nullable: true, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", type: { - name: "String", + name: "Number", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", type: { - name: "String", + name: "TimeSpan", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", type: { - name: "String", + name: "TimeSpan", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + }, + }, +}; + +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", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + }, + }, +}; + +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", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", + timeout: { + serializedName: "timeout", nullable: true, type: { - name: "String", + name: "TimeSpan", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", + }, + }, +}; + +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", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", + gpu: { + serializedName: "gpu", nullable: true, type: { name: "String", }, }, - weightDecay: { - serializedName: "weightDecay", + memory: { + serializedName: "memory", nullable: true, type: { name: "String", @@ -9783,119 +9956,95 @@ export const ImageModelDistributionSettings: coreClient.CompositeMapper = { }, }; -export const ImageVertical: coreClient.CompositeMapper = { +export const MonitorDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "MonitorDefinition", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + alertNotificationSettings: { + serializedName: "alertNotificationSettings", type: { name: "Composite", - className: "ImageLimitSettings", + className: "MonitorNotificationSettings", }, }, - sweepSettings: { - serializedName: "sweepSettings", + computeConfiguration: { + serializedName: "computeConfiguration", type: { name: "Composite", - className: "ImageSweepSettings", + className: "MonitorComputeConfigurationBase", }, }, - validationData: { - serializedName: "validationData", + monitoringTarget: { + serializedName: "monitoringTarget", type: { name: "Composite", - className: "MLTableJobInput", + className: "MonitoringTarget", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + signals: { + serializedName: "signals", + required: true, type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringSignalBase" }, + }, }, }, }, }, }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "MonitorNotificationSettings", modelProperties: { - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { - name: "Number", - }, - }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", + name: "Composite", + className: "MonitorEmailNotificationSettings", }, }, }, }, }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "MonitorEmailNotificationSettings", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, - type: { - name: "String", - }, - }, - earlyTermination: { - serializedName: "earlyTermination", + emails: { + serializedName: "emails", + nullable: true, type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const OneLakeArtifact: coreClient.CompositeMapper = { +export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OneLakeArtifact", - uberParent: "OneLakeArtifact", + className: "MonitorComputeConfigurationBase", + uberParent: "MonitorComputeConfigurationBase", polymorphicDiscriminator: { - serializedName: "artifactType", - clientName: "artifactType", + serializedName: "computeType", + clientName: "computeType", }, modelProperties: { - artifactType: { - serializedName: "artifactType", - required: true, - type: { - name: "String", - }, - }, - artifactName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "artifactName", + computeType: { + serializedName: "computeType", required: true, type: { name: "String", @@ -9905,720 +10054,841 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { }, }; -export const NlpVertical: coreClient.CompositeMapper = { +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "MonitoringTarget", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { - name: "Composite", - className: "NlpVerticalLimitSettings", + name: "String", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + modelId: { + serializedName: "modelId", + nullable: true, type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", + name: "String", }, }, - validationData: { - serializedName: "validationData", + taskType: { + serializedName: "taskType", + required: true, type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, }, }, }; -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", + }, modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + notificationTypes: { + serializedName: "notificationTypes", + nullable: true, type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + signalType: { + serializedName: "signalType", + required: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const Objective: coreClient.CompositeMapper = { +export const CustomMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "CustomMetricThreshold", modelProperties: { - primaryMetric: { + metric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "primaryMetric", + serializedName: "metric", required: true, type: { name: "String", }, }, - goal: { - serializedName: "goal", - required: true, + threshold: { + serializedName: "threshold", type: { - name: "String", + name: "Composite", + className: "MonitoringThreshold", }, }, }, }, }; -export const SparkResourceConfiguration: coreClient.CompositeMapper = { +export const MonitoringInputDataBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkResourceConfiguration", + className: "MonitoringInputDataBase", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: { + serializedName: "inputDataType", + clientName: "inputDataType", + }, modelProperties: { - instanceType: { - serializedName: "instanceType", + columns: { + serializedName: "columns", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - runtimeVersion: { - defaultValue: "3.1", - serializedName: "runtimeVersion", + dataContext: { + serializedName: "dataContext", + nullable: 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", + inputDataType: { + serializedName: "inputDataType", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const TrialComponent: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrialComponent", - modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, }, - command: { + uri: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "command", + serializedName: "uri", required: true, type: { name: "String", }, }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "environmentId", - required: true, + }, + }, +}; + +export const FeatureImportanceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureImportanceSettings", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", + targetColumn: { + serializedName: "targetColumn", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - distribution: { - serializedName: "distribution", + }, + }, +}; + +export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + modelProperties: { + metric: { + serializedName: "metric", + required: true, type: { - name: "Composite", - className: "DistributionConfiguration", + name: "String", }, }, - resources: { - serializedName: "resources", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "MonitoringThreshold", }, }, }, }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const JobResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "JobResources", modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + instanceTypes: { + serializedName: "instanceTypes", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, - }, - }, - }; - -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "ForecastingSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - location: { - serializedName: "location", + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "Number", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + featureLags: { + serializedName: "featureLags", type: { - name: "Composite", - className: "PrivateEndpoint", + name: "String", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + forecastHorizon: { + serializedName: "forecastHorizon", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState", + className: "ForecastHorizon", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + frequency: { + serializedName: "frequency", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const Workspace: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Workspace", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + seasonality: { + serializedName: "seasonality", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "Seasonality", }, }, - kind: { - serializedName: "kind", + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", type: { name: "String", }, }, - location: { - serializedName: "location", + targetAggregateFunction: { + serializedName: "targetAggregateFunction", type: { name: "String", }, }, - tags: { - serializedName: "tags", + targetLags: { + serializedName: "targetLags", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "TargetLags", }, }, - sku: { - serializedName: "sku", + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", type: { name: "Composite", - className: "Sku", + className: "TargetRollingWindowSize", }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, type: { name: "String", }, }, - description: { - serializedName: "properties.description", + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - friendlyName: { - serializedName: "properties.friendlyName", + useStl: { + serializedName: "useStl", type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const ImageModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelSettings", + modelProperties: { + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, type: { name: "String", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + amsGradient: { + serializedName: "amsGradient", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", + augmentations: { + serializedName: "augmentations", nullable: true, type: { name: "String", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + beta1: { + serializedName: "beta1", + nullable: true, type: { - name: "String", + name: "Number", }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + beta2: { + serializedName: "beta2", + nullable: true, type: { - name: "String", + name: "Number", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + checkpointFrequency: { + serializedName: "checkpointFrequency", + nullable: true, type: { - name: "String", + name: "Number", }, }, - encryption: { - serializedName: "properties.encryption", + checkpointModel: { + serializedName: "checkpointModel", type: { name: "Composite", - className: "EncryptionProperty", + className: "MLFlowModelJobInput", }, }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", + nullable: true, type: { name: "Boolean", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, type: { name: "Number", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, type: { - name: "String", + name: "Number", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, type: { name: "Boolean", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, type: { - name: "String", + name: "Number", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Number", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", + name: "Number", }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + learningRate: { + serializedName: "learningRate", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource", - }, - }, + name: "Number", }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + learningRateScheduler: { + serializedName: "learningRateScheduler", type: { - name: "Composite", - className: "NotebookResourceInfo", + name: "String", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + modelName: { + serializedName: "modelName", + nullable: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "String", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + momentum: { + serializedName: "momentum", + nullable: true, type: { - name: "String", + name: "Number", }, }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + nesterov: { + serializedName: "nesterov", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "Number", + }, + }, + optimizer: { + serializedName: "optimizer", type: { name: "String", }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", + randomSeed: { + serializedName: "randomSeed", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - managedNetwork: { - serializedName: "properties.managedNetwork", + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Number", }, }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, type: { - name: "Composite", - className: "FeatureStoreSettings", + name: "Number", }, }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - hubResourceId: { - serializedName: "properties.hubResourceId", + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, type: { - name: "String", + name: "Number", }, }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, type: { - name: "Composite", - className: "WorkspaceHubConfig", + name: "Number", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "Number", }, }, }, }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const ImageModelDistributionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "ImageModelDistributionSettings", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", + amsGradient: { + serializedName: "amsGradient", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + augmentations: { + serializedName: "augmentations", + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + beta1: { + serializedName: "beta1", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + beta2: { + serializedName: "beta2", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - }, - }, -}; - -export const PrivateLinkResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + distributed: { + serializedName: "distributed", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, type: { name: "String", }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - }, + 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 OutboundRuleBasicResource: coreClient.CompositeMapper = { +export const ImageVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleBasicResource", + className: "ImageVertical", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "OutboundRule", + 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 ProxyResource: coreClient.CompositeMapper = { +export const ImageLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProxyResource", + className: "ImageLimitSettings", modelProperties: { - ...Resource.type.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 TrackedResource: coreClient.CompositeMapper = { +export const ImageSweepSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrackedResource", + className: "ImageSweepSettings", modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + earlyTermination: { + serializedName: "earlyTermination", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "EarlyTerminationPolicy", }, }, - location: { - serializedName: "location", + samplingAlgorithm: { + serializedName: "samplingAlgorithm", required: true, type: { name: "String", @@ -10628,527 +10898,670 @@ export const TrackedResource: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { - serializedName: "PrivateEndpoint", +export const OneLakeArtifact: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "OneLakeArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: { + serializedName: "artifactType", + clientName: "artifactType", + }, modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + artifactName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "artifactName", + required: true, type: { - name: "Composite", - className: "PrivateEndpointDestination", + name: "String", + }, + }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", }, }, }, }, }; -export const ServiceTagOutboundRule: coreClient.CompositeMapper = { - serializedName: "ServiceTag", +export const NlpVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "NlpVertical", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + featurizationSettings: { + serializedName: "featurizationSettings", type: { name: "Composite", - className: "ServiceTagDestination", + className: "NlpVerticalFeaturizationSettings", + }, + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "NlpVerticalLimitSettings", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "String", + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", +export const Objective: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "Objective", modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties, + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, + primaryMetric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "primaryMetric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const SparkJobEntry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties, + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", }, - }, -}; - -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, + sparkJobEntryType: { + serializedName: "sparkJobEntryType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", +export const SparkResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "SparkResourceConfiguration", modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties, + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + runtimeVersion: { + defaultValue: "3.1", + serializedName: "runtimeVersion", + type: { + name: "String", + }, + }, }, }, }; -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const TrialComponent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "TrialComponent", modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.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_]"), + MinLength: 1, + }, + 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 HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "WorkspaceConnectionAccessKey", modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties, + accessKeyId: { + serializedName: "accessKeyId", + type: { + name: "String", + }, + }, + secretAccessKey: { + serializedName: "secretAccessKey", + type: { + name: "String", + }, + }, }, }, }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "WorkspaceConnectionAccountKey", modelProperties: { - ...Compute.type.modelProperties, + key: { + serializedName: "key", + type: { + name: "String", + }, + }, }, }, }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "WorkspaceConnectionApiKey", modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties, + key: { + serializedName: "key", + type: { + name: "String", + }, + }, }, }, }; -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", +export const CapacityConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "CapacityConfig", modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties, + minimum: { + serializedName: "minimum", + type: { + name: "Number", + }, + }, + maximum: { + serializedName: "maximum", + type: { + name: "Number", + }, + }, + step: { + serializedName: "step", + type: { + name: "Number", + }, + }, + default: { + serializedName: "default", + type: { + name: "Number", + }, + }, + allowedValues: { + serializedName: "allowedValues", + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, }, }, }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const CognitiveServiceEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CognitiveServiceEndpointDeploymentResourceProperties", + modelProperties: { + model: { + serializedName: "model", + type: { + name: "Composite", + className: "EndpointDeploymentModel", + }, + }, + raiPolicyName: { + serializedName: "raiPolicyName", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "CognitiveServicesSku", + }, + }, + versionUpgradeOption: { + serializedName: "versionUpgradeOption", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const EndpointDeploymentModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "EndpointDeploymentModel", modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + format: { + serializedName: "format", type: { - name: "Composite", - className: "SynapseSparkProperties", + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + source: { + serializedName: "source", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const CognitiveServicesSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "CognitiveServicesSku", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties, + capacity: { + serializedName: "capacity", + type: { + name: "Number", + }, + }, + family: { + serializedName: "family", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "String", + }, + }, }, }, }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const ServerlessEndpointContentSafety: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "ServerlessEndpointContentSafety", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties, + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const CustomKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "CustomKeys", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties, + keys: { + serializedName: "keys", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, }, }, }; -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 WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + clientId: { + serializedName: "clientId", + type: { + name: "String", + }, + }, + resourceId: { + serializedName: "resourceId", + type: { + name: "String", }, }, }, - }; + }, +}; -export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const ServerlessEndpointModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + modelProperties: { + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + modelProperties: { + authUrl: { + serializedName: "authUrl", + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + type: { + name: "Uuid", + }, + }, + clientSecret: { + serializedName: "clientSecret", + type: { + name: "String", + }, + }, + developerToken: { + serializedName: "developerToken", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + refreshToken: { + serializedName: "refreshToken", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = { - serializedName: "SAS", type: { name: "Composite", - className: "SASAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "WorkspaceConnectionPersonalAccessToken", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + pat: { + serializedName: "pat", type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", + name: "String", }, }, }, }, }; -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 PrivateEndpointDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointDestination", + modelProperties: { + serviceResourceId: { + serializedName: "serviceResourceId", + type: { + name: "String", }, }, - }, - }; - -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", - }, + sparkEnabled: { + serializedName: "sparkEnabled", + type: { + name: "Boolean", }, }, - }, - }; - -export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AAD", - type: { - name: "Composite", - className: "AADAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - }, - }, - }; - -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", - }, + sparkStatus: { + serializedName: "sparkStatus", + type: { + name: "String", }, }, - }, - }; - -export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AccountKey", - type: { - name: "Composite", - className: "AccountKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionAccountKey", - }, + subresourceTarget: { + serializedName: "subresourceTarget", + type: { + name: "String", }, }, }, - }; + }, +}; -export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = { - serializedName: "ApiKey", type: { name: "Composite", - className: "ApiKeyAuthWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "WorkspaceConnectionSharedAccessSignature", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + sas: { + serializedName: "sas", type: { - name: "Composite", - className: "WorkspaceConnectionApiKey", + name: "String", }, }, }, }, }; -export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const ServerlessEndpointCapacityReservation: coreClient.CompositeMapper = { - serializedName: "CustomKeys", type: { name: "Composite", - className: "CustomKeysWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "ServerlessEndpointCapacityReservation", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "CustomKeys", + capacityReservationGroupId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - }, - }, - }; - -export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "OAuth2", - type: { - name: "Composite", - className: "OAuth2AuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + serializedName: "capacityReservationGroupId", + required: true, type: { - name: "Composite", - className: "WorkspaceConnectionOAuth2", + name: "String", }, }, - }, - }, - }; - -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", + endpointReservedCapacity: { + serializedName: "endpointReservedCapacity", type: { - name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + name: "Number", }, }, }, }, }; -export const AssetContainer: coreClient.CompositeMapper = { +export const ServerlessEndpointInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetContainer", + className: "ServerlessEndpointInferenceEndpoint", modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", - type: { - name: "Boolean", - }, - }, - latestVersion: { - serializedName: "latestVersion", + headers: { + serializedName: "headers", readOnly: true, - nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, - nullable: true, + uri: { + serializedName: "uri", + required: true, type: { name: "String", }, @@ -11157,82 +11570,56 @@ export const AssetContainer: coreClient.CompositeMapper = { }, }; -export const AssetBase: coreClient.CompositeMapper = { +export const ServerlessOffer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetBase", + className: "ServerlessOffer", modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + offerName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "offerName", + required: true, type: { - name: "Boolean", + name: "String", }, }, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + publisher: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "publisher", + required: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType", - }, + className: "WorkspaceConnectionServicePrincipal", modelProperties: { - ...ResourceBase.type.modelProperties, - datastoreType: { - serializedName: "datastoreType", - required: true, - type: { - name: "String", - }, - }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean", - }, - }, - credentials: { - serializedName: "credentials", + clientId: { + serializedName: "clientId", type: { - name: "Composite", - className: "DatastoreCredentials", + name: "String", }, }, - }, - }, -}; - -export const FeatureProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureProperties", - modelProperties: { - ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", - nullable: true, + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - dataType: { - serializedName: "dataType", + tenantId: { + serializedName: "tenantId", type: { name: "String", }, @@ -11241,130 +11628,70 @@ export const FeatureProperties: coreClient.CompositeMapper = { }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const ServiceTagDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType", - }, + className: "ServiceTagDestination", modelProperties: { - ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", - required: true, - type: { - name: "String", - }, - }, - displayName: { - serializedName: "displayName", - nullable: true, + action: { + serializedName: "action", type: { name: "String", }, }, - status: { - serializedName: "status", + addressPrefixes: { + serializedName: "addressPrefixes", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + portRanges: { + serializedName: "portRanges", type: { name: "String", }, }, - services: { - serializedName: "services", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, - }, - }, - computeId: { - serializedName: "computeId", - nullable: true, + protocol: { + serializedName: "protocol", type: { name: "String", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", - type: { - name: "Boolean", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityConfiguration", - }, - }, - componentId: { - serializedName: "componentId", - nullable: true, + serviceTag: { + serializedName: "serviceTag", type: { name: "String", }, }, - notificationSetting: { - serializedName: "notificationSetting", - type: { - name: "Composite", - className: "NotificationSetting", - }, - }, }, }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleProperties", + className: "WorkspaceConnectionUsernamePassword", modelProperties: { - ...ResourceBase.type.modelProperties, - displayName: { - serializedName: "displayName", - nullable: true, + password: { + serializedName: "password", type: { name: "String", }, }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", - type: { - name: "Boolean", - }, - }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase", - }, - }, - action: { - serializedName: "action", + securityToken: { + serializedName: "securityToken", type: { - name: "Composite", - className: "ScheduleActionBase", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + username: { + serializedName: "username", type: { name: "String", }, @@ -11373,61 +11700,82 @@ export const ScheduleProperties: coreClient.CompositeMapper = { }, }; -export const SASCredentialDto: coreClient.CompositeMapper = { - serializedName: "SAS", +export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + modelProperties: { + ...ManagedServiceIdentity.type.modelProperties, + }, + }, + }; + +export const ComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SASCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: - PendingUploadCredentialDto.type.polymorphicDiscriminator, + className: "ComputeResource", modelProperties: { - ...PendingUploadCredentialDto.type.modelProperties, - sasUri: { - serializedName: "sasUri", - nullable: true, + ...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 AnonymousAccessCredential: coreClient.CompositeMapper = { - serializedName: "NoCredentials", +export const ProxyResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnonymousAccessCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "ProxyResource", modelProperties: { - ...DataReferenceCredential.type.modelProperties, + ...Resource.type.modelProperties, }, }, }; -export const DockerCredential: coreClient.CompositeMapper = { - serializedName: "DockerCredentials", +export const TrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DockerCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "TrackedResource", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - userName: { - serializedName: "userName", - nullable: true, + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - password: { - serializedName: "password", - nullable: true, + location: { + serializedName: "location", + required: true, type: { name: "String", }, @@ -11436,92 +11784,55 @@ export const DockerCredential: coreClient.CompositeMapper = { }, }; -export const ManagedIdentityCredential: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentityCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "PrivateEndpointConnection", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - managedIdentityType: { - serializedName: "managedIdentityType", - nullable: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", - nullable: true, - type: { - name: "String", - }, - }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - userManagedIdentityTenantId: { - serializedName: "userManagedIdentityTenantId", - nullable: true, + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const SASCredential: coreClient.CompositeMapper = { - serializedName: "SAS", - type: { - name: "Composite", - className: "SASCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, - sasUri: { - serializedName: "sasUri", - nullable: true, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String", + name: "Composite", + className: "WorkspacePrivateEndpointResource", }, }, - }, - }, -}; - -export const BatchEndpointProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpointProperties", - modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "PrivateLinkServiceConnectionState", }, }, provisioningState: { - serializedName: "provisioningState", - readOnly: true, + serializedName: "properties.provisioningState", type: { name: "String", }, @@ -11530,968 +11841,2712 @@ export const BatchEndpointProperties: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const Workspace: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "Workspace", modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - compute: { - serializedName: "compute", - nullable: true, + kind: { + serializedName: "kind", type: { name: "String", }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + location: { + serializedName: "location", type: { name: "String", }, }, - traffic: { - serializedName: "traffic", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "Composite", + className: "Sku", }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", - nullable: true, + tags: { + serializedName: "tags", type: { name: "Dictionary", - value: { type: { name: "Number" } }, + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, + agentsEndpointUri: { + serializedName: "properties.agentsEndpointUri", + readOnly: true, + type: { + name: "String", }, }, - }, - }; - -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, + allowPublicAccessWhenBehindVnet: { + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean", }, }, - }, - }; - -export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSkuAndIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", + type: { + name: "Boolean", }, }, - }, - }; - -export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = - { - serializedName: "PipelineComponent", - type: { - name: "Composite", - className: "BatchPipelineComponentDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: - BatchDeploymentConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...BatchDeploymentConfiguration.type.modelProperties, - componentId: { - serializedName: "componentId", - type: { - name: "Composite", - className: "IdAssetReference", - }, + applicationInsights: { + serializedName: "properties.applicationInsights", + type: { + name: "String", }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", + }, + associatedWorkspaces: { + serializedName: "properties.associatedWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, - settings: { - serializedName: "settings", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + }, + containerRegistries: { + serializedName: "properties.containerRegistries", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + }, + containerRegistry: { + serializedName: "properties.containerRegistry", + 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_]"), - MinLength: 1, + description: { + serializedName: "properties.description", + type: { + name: "String", }, - serializedName: "assetId", - required: true, + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", 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, - path: { - serializedName: "path", - nullable: true, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", type: { - name: "String", + name: "Boolean", }, }, - datastoreId: { - serializedName: "datastoreId", - nullable: true, + enableServiceSideCMKEncryption: { + serializedName: "properties.enableServiceSideCMKEncryption", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", - type: { - name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, - modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, + enableSimplifiedCmk: { + serializedName: "properties.enableSimplifiedCmk", type: { - name: "String", + name: "Boolean", }, }, - jobId: { - serializedName: "jobId", - nullable: true, + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -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, - shmSize: { - defaultValue: "2g", - constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]"), + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionProperty", }, - serializedName: "shmSize", + }, + existingWorkspaces: { + serializedName: "properties.existingWorkspaces", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { - name: "String", + name: "Composite", + className: "FeatureStoreSettings", }, }, - }, - }, -}; - -export const BatchDeploymentProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeploymentProperties", - modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - deploymentConfiguration: { - serializedName: "deploymentConfiguration", + hbiWorkspace: { + serializedName: "properties.hbiWorkspace", type: { - name: "Composite", - className: "BatchDeploymentConfiguration", + name: "Boolean", }, }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", + hubResourceId: { + serializedName: "properties.hubResourceId", type: { - name: "Number", + name: "String", }, }, - retrySettings: { - serializedName: "retrySettings", + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", type: { - name: "Composite", - className: "BatchRetrySettings", + name: "String", }, }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", + ipAllowlist: { + serializedName: "properties.ipAllowlist", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - loggingLevel: { - serializedName: "loggingLevel", + keyVault: { + serializedName: "properties.keyVault", type: { name: "String", }, }, - model: { - serializedName: "model", + keyVaults: { + serializedName: "properties.keyVaults", type: { - name: "Composite", - className: "AssetReferenceBase", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", + lazyInitSystemDatastores: { + serializedName: "properties.lazyInitSystemDatastores", type: { - name: "Number", + name: "Boolean", }, }, - outputAction: { - serializedName: "outputAction", + managedNetwork: { + serializedName: "properties.managedNetwork", type: { - name: "String", + name: "Composite", + className: "ManagedNetworkSettings", }, }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, type: { name: "String", }, }, - resources: { - serializedName: "resources", + networkAcls: { + serializedName: "properties.networkAcls", type: { name: "Composite", - className: "DeploymentResourceConfiguration", + className: "NetworkAcls", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + notebookInfo: { + serializedName: "properties.notebookInfo", type: { - name: "String", + name: "Composite", + className: "NotebookResourceInfo", }, }, - }, - }, -}; - -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", - type: { - name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType", - }, - modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - scaleSettings: { - serializedName: "scaleSettings", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, type: { - name: "Composite", - className: "OnlineScaleSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, }, }, - requestSettings: { - serializedName: "requestSettings", + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, type: { - name: "Composite", - className: "OnlineRequestSettings", + name: "Number", }, }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { name: "String", }, }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Boolean", + name: "String", }, }, - livenessProbe: { - serializedName: "livenessProbe", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { name: "Composite", - className: "ProbeSettings", + className: "ServerlessComputeSettings", }, }, - readinessProbe: { - serializedName: "readinessProbe", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "ProbeSettings", + className: "ServiceManagedResourcesSettings", }, }, - provisioningState: { - serializedName: "provisioningState", + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", readOnly: true, type: { name: "String", }, }, - instanceType: { - serializedName: "instanceType", - nullable: true, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, }, }, - model: { - serializedName: "model", - nullable: true, + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", type: { - name: "String", + name: "Number", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + storageAccount: { + serializedName: "properties.storageAccount", type: { name: "String", }, }, - dataCollector: { - serializedName: "dataCollector", + storageAccounts: { + serializedName: "properties.storageAccounts", type: { - name: "Composite", - className: "DataCollector", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -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", + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets", + name: "Boolean", }, }, - }, - }, -}; - -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, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", type: { name: "String", }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", type: { - name: "Uuid", + name: "Boolean", }, }, - clientId: { - serializedName: "clientId", - required: true, + workspaceHubConfig: { + serializedName: "properties.workspaceHubConfig", type: { - name: "Uuid", + name: "Composite", + className: "WorkspaceHubConfig", }, }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "thumbprint", - required: true, + workspaceId: { + serializedName: "properties.workspaceId", + readOnly: true, type: { name: "String", }, }, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets", - }, - }, }, }, }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", - type: { - name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", + }, + }, + }, }, - }, -}; + }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const EndpointDeploymentResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EndpointDeploymentResourceProperties", + }, + }, + }, + }, + }; + +export const RaiBlocklistPropertiesBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "RaiBlocklistPropertiesBasicResource", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "SasDatastoreSecrets", + className: "RaiBlocklistProperties", }, }, }, }, }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = +export const RaiBlocklistItemPropertiesBasicResource: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "RaiBlocklistItemPropertiesBasicResource", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, - type: { - name: "String", - }, - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", - required: true, - type: { - name: "Uuid", - }, - }, - clientId: { - serializedName: "clientId", - required: true, - type: { - name: "Uuid", - }, - }, - secrets: { - serializedName: "secrets", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", + className: "RaiBlocklistItemProperties", }, }, }, }, }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const RaiPolicyPropertiesBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "RaiPolicyPropertiesBasicResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "RaiPolicyProperties", }, }, }, }, }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const EndpointResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EndpointResourceProperties", + }, + }, + }, + }, + }; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "OutboundRuleBasicResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", - nullable: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "OutboundRule", }, }, }, }, }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const PrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "PrivateLinkResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - }, - }, -}; - -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", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - }, - }, -}; - -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", - type: { - name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, - modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + groupId: { + serializedName: "properties.groupId", type: { name: "String", }, }, - interval: { - serializedName: "interval", - required: true, + requiredMembers: { + serializedName: "properties.requiredMembers", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - schedule: { - serializedName: "schedule", + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", type: { - name: "Composite", - className: "RecurrenceSchedule", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const CronTrigger: coreClient.CompositeMapper = { - serializedName: "Cron", +export const Aks: coreClient.CompositeMapper = { + serializedName: "AKS", type: { name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "Aks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "expression", - required: true, - type: { - name: "String", - }, - }, + ...Compute.type.modelProperties, + ...AKSSchema.type.modelProperties, }, }, }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", +export const Kubernetes: coreClient.CompositeMapper = { + serializedName: "Kubernetes", type: { name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + className: "Kubernetes", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...Webhook.type.modelProperties, + ...Compute.type.modelProperties, + ...KubernetesSchema.type.modelProperties, }, }, }; -export const AllNodes: coreClient.CompositeMapper = { - serializedName: "All", +export const AmlCompute: coreClient.CompositeMapper = { + serializedName: "AmlCompute", type: { name: "Composite", - className: "AllNodes", - uberParent: "Nodes", - polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + className: "AmlCompute", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...Nodes.type.modelProperties, + ...Compute.type.modelProperties, + ...AmlComputeSchema.type.modelProperties, }, }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const ComputeInstance: coreClient.CompositeMapper = { + serializedName: "ComputeInstance", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "ComputeInstance", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...Compute.type.modelProperties, + ...ComputeInstanceSchema.type.modelProperties, }, }, }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const VirtualMachine: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "VirtualMachine", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, 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", - }, - }, + ...Compute.type.modelProperties, + ...VirtualMachineSchema.type.modelProperties, }, }, }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const HDInsight: coreClient.CompositeMapper = { + serializedName: "HDInsight", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "HDInsight", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...Compute.type.modelProperties, + ...HDInsightSchema.type.modelProperties, }, }, }; -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", +export const DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", type: { name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, + ...Compute.type.modelProperties, }, }, }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", +export const Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", - type: { - name: "TimeSpan", - }, - }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", - type: { - name: "Number", - }, - }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", - type: { - name: "Number", - }, - }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", - type: { - name: "Number", - }, - }, + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties, }, }, }; -export const CreateMonitorAction: coreClient.CompositeMapper = { - serializedName: "CreateMonitor", +export const DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", type: { name: "Composite", - className: "CreateMonitorAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - monitorDefinition: { - serializedName: "monitorDefinition", + ...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: "MonitorDefinition", + 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 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 FeatureProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + featureName: { + serializedName: "featureName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +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 SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: + PendingUploadCredentialDto.type.polymorphicDiscriminator, + modelProperties: { + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AnonymousAccessCredential: coreClient.CompositeMapper = { + serializedName: "NoCredentials", + type: { + name: "Composite", + className: "AnonymousAccessCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + }, + }, +}; + +export const DockerCredential: coreClient.CompositeMapper = { + serializedName: "DockerCredentials", + type: { + name: "Composite", + className: "DockerCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + password: { + serializedName: "password", + nullable: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityTenantId: { + serializedName: "userManagedIdentityTenantId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +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 PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSkuAndIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, + }; + +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = + { + serializedName: "PipelineComponent", + type: { + name: "Composite", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: + BatchDeploymentConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...BatchDeploymentConfiguration.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_]"), + MinLength: 1, + }, + 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: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", + type: { + name: "Composite", + className: "BatchDeploymentConfiguration", + }, + }, + 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", + }, + }, + dataCollector: { + serializedName: "dataCollector", + type: { + name: "Composite", + className: "DataCollector", + }, + }, + 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_]"), + MinLength: 1, + }, + serializedName: "thumbprint", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + }, + }, +}; + +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = + { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreCredentials", + 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: "ServicePrincipalDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + }, + }, + }; + +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, + 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, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", + nullable: 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", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", + type: { + name: "Composite", + className: "AzureDevOpsWebhook", + uberParent: "Webhook", + polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + modelProperties: { + ...Webhook.type.modelProperties, + }, + }, +}; + +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", + type: { + name: "Composite", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...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: "RecurrenceSchedule", + }, + }, + }, + }, +}; + +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", + type: { + name: "Composite", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "expression", + required: 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, + type: { + name: "Uuid", + }, + }, + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid", + }, + }, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", + type: { + name: "Composite", + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + modelProperties: { + ...Nodes.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", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", + type: { + name: "Number", + }, + }, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", + type: { + name: "Number", + }, + }, + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", + type: { + name: "TimeSpan", + }, + }, + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", + type: { + name: "Composite", + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", + type: { + name: "Composite", + className: "MonitorDefinition", + }, + }, + }, + }, +}; + +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", + type: { + name: "Composite", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", + type: { + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, +}; + +export const PrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointResource", + modelProperties: { + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", + type: { + name: "Composite", + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, + fqdns: { + serializedName: "fqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", + type: { + name: "Composite", + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ServiceTagDestination", + }, + }, + }, + }, +}; + +export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AAD", + type: { + name: "Composite", + className: "AADAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +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 AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + }, + }, + }, + }, + }; + +export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ApiKey", + type: { + name: "Composite", + className: "ApiKeyAuthWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + }, + }, + }, + }, + }; + +export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "CustomKeys", + type: { + name: "Composite", + className: "CustomKeysWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "CustomKeys", + }, + }, + }, + }, + }; + +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 NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "OAuth2", + type: { + name: "Composite", + className: "OAuth2AuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + }, + }, + }, + }, + }; + +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 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 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 ContentSafetyEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, + }; + +export const ManagedOnlineEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointDeploymentResourceProperties.type.modelProperties, + endpointComputeType: { + serializedName: "endpointComputeType", + type: { + name: "String", + }, + }, + model: { + serializedName: "model", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const OpenAIEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, + }; + +export const SpeechEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.Speech", + type: { + name: "Composite", + className: "SpeechEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, + }; + +export const ContentSafetyEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, + }, + }; + +export const ManagedOnlineEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, + }, + compute: { + serializedName: "compute", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + }, + }, + }; + +export const OpenAIEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, + }, +}; + +export const ServerlessEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "serverlessEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, + }, + capacityReservation: { + serializedName: "capacityReservation", + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + }, + }, + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ServerlessEndpointContentSafety", + }, + }, + endpointState: { + serializedName: "endpointState", + type: { + name: "String", + }, }, - }, - }, - }, -}; - -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", - type: { - name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, - modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + type: { + name: "String", + }, + }, + metadata: { + serializedName: "metadata", + type: { + name: "any", + }, + }, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + }, + }, + offer: { + serializedName: "offer", + type: { + name: "Composite", + className: "ServerlessOffer", + }, }, }, }, - }, -}; + }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const SpeechEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.Speech", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "SpeechEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", - type: { - name: "Composite", - className: "JobBaseProperties", - }, - }, + ...EndpointResourceProperties.type.modelProperties, }, }, }; @@ -12606,11 +14661,11 @@ export const MLTableJobInput: coreClient.CompositeMapper = { }, }; -export const CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const MLFlowModelJobInput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", type: { name: "Composite", - className: "CustomModelJobInput", + className: "MLFlowModelJobInput", uberParent: "JobInput", polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, modelProperties: { @@ -12620,11 +14675,11 @@ export const CustomModelJobInput: coreClient.CompositeMapper = { }, }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const CustomModelJobInput: coreClient.CompositeMapper = { + serializedName: "custom_model", type: { name: "Composite", - className: "MLFlowModelJobInput", + className: "CustomModelJobInput", uberParent: "JobInput", polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, modelProperties: { @@ -12803,6 +14858,13 @@ export const Classification: coreClient.CompositeMapper = { modelProperties: { ...TableVertical.type.modelProperties, ...AutoMLVertical.type.modelProperties, + positiveLabel: { + serializedName: "positiveLabel", + nullable: true, + type: { + name: "String", + }, + }, primaryMetric: { serializedName: "primaryMetric", type: { @@ -12816,13 +14878,6 @@ export const Classification: coreClient.CompositeMapper = { className: "ClassificationTrainingSettings", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -12837,12 +14892,6 @@ export const Forecasting: coreClient.CompositeMapper = { modelProperties: { ...TableVertical.type.modelProperties, ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - type: { - name: "String", - }, - }, forecastingSettings: { serializedName: "forecastingSettings", type: { @@ -12850,6 +14899,12 @@ export const Forecasting: coreClient.CompositeMapper = { className: "ForecastingSettings", }, }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, trainingSettings: { serializedName: "trainingSettings", type: { @@ -13311,6 +15366,12 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { modelProperties: { ...AzureDatastore.type.modelProperties, ...DatastoreProperties.type.modelProperties, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", + }, + }, storeName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -13322,12 +15383,6 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String", - }, - }, }, }, }; @@ -13342,17 +15397,6 @@ export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { modelProperties: { ...AzureDatastore.type.modelProperties, ...DatastoreProperties.type.modelProperties, - filesystem: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "filesystem", - required: true, - type: { - name: "String", - }, - }, accountName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -13371,6 +15415,17 @@ export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { name: "String", }, }, + filesystem: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "filesystem", + required: true, + type: { + name: "String", + }, + }, protocol: { serializedName: "protocol", nullable: true, @@ -13409,6 +15464,13 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String", + }, + }, fileShareName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -13420,13 +15482,6 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, protocol: { serializedName: "protocol", nullable: true, @@ -13444,6 +15499,47 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { }, }; +export const AzureOpenAiFineTuning: coreClient.CompositeMapper = { + serializedName: "AzureOpenAI", + type: { + name: "Composite", + className: "AzureOpenAiFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + }, + }, + }, + }, +}; + +export const CustomModelFineTuning: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomModelFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + export const BanditPolicy: coreClient.CompositeMapper = { serializedName: "Bandit", type: { @@ -13454,16 +15550,16 @@ export const BanditPolicy: coreClient.CompositeMapper = { EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { ...EarlyTerminationPolicy.type.modelProperties, - slackFactor: { + slackAmount: { defaultValue: 0, - serializedName: "slackFactor", + serializedName: "slackAmount", type: { name: "Number", }, }, - slackAmount: { + slackFactor: { defaultValue: 0, - serializedName: "slackAmount", + serializedName: "slackFactor", type: { name: "Number", }, @@ -13542,6 +15638,12 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { ...SamplingAlgorithm.type.modelProperties, + rule: { + serializedName: "rule", + type: { + name: "String", + }, + }, seed: { serializedName: "seed", nullable: true, @@ -13549,12 +15651,6 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { name: "Number", }, }, - rule: { - serializedName: "rule", - type: { - name: "String", - }, - }, }, }, }; @@ -13796,12 +15892,6 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { className: "TableVerticalFeaturizationSettings", modelProperties: { ...FeaturizationSettings.type.modelProperties, - mode: { - serializedName: "mode", - type: { - name: "String", - }, - }, blockedTransformers: { serializedName: "blockedTransformers", nullable: true, @@ -13822,6 +15912,19 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, + enableDnnFeaturization: { + defaultValue: false, + serializedName: "enableDnnFeaturization", + type: { + name: "Boolean", + }, + }, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, transformerParams: { serializedName: "transformerParams", nullable: true, @@ -13837,13 +15940,6 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { }, }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", - type: { - name: "Boolean", - }, - }, }, }, }; @@ -13910,16 +16006,16 @@ export const TensorFlow: coreClient.CompositeMapper = { DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { ...DistributionConfiguration.type.modelProperties, - workerCount: { - serializedName: "workerCount", - nullable: true, + parameterServerCount: { + defaultValue: 0, + serializedName: "parameterServerCount", type: { name: "Number", }, }, - parameterServerCount: { - defaultValue: 0, - serializedName: "parameterServerCount", + workerCount: { + serializedName: "workerCount", + nullable: true, type: { name: "Number", }, @@ -13950,25 +16046,68 @@ export const SweepJobLimits: coreClient.CompositeMapper = { polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { ...JobLimits.type.modelProperties, + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", + nullable: true, + type: { + name: "Number", + }, + }, maxTotalTrials: { serializedName: "maxTotalTrials", nullable: true, type: { - name: "Number", + name: "Number", + }, + }, + trialTimeout: { + serializedName: "trialTimeout", + nullable: true, + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { + serializedName: "ServerlessSpark", + type: { + name: "Composite", + className: "MonitorServerlessSparkCompute", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: + MonitorComputeConfigurationBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeConfigurationBase.type.modelProperties, + computeIdentity: { + serializedName: "computeIdentity", + type: { + name: "Composite", + className: "MonitorComputeIdentityBase", }, }, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", - nullable: true, + instanceType: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "instanceType", + required: true, type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - serializedName: "trialTimeout", - nullable: true, + runtimeVersion: { + constraints: { + Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), + MinLength: 1, + }, + serializedName: "runtimeVersion", + required: true, type: { - name: "TimeSpan", + name: "String", }, }, }, @@ -13985,6 +16124,17 @@ export const CustomMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, + componentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "componentId", + required: true, + type: { + name: "String", + }, + }, inputAssets: { serializedName: "inputAssets", nullable: true, @@ -14003,17 +16153,6 @@ export const CustomMonitoringSignal: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "JobInput" } }, }, }, - componentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "componentId", - required: true, - type: { - name: "String", - }, - }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14041,11 +16180,12 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14055,6 +16195,13 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14082,14 +16229,6 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14104,11 +16243,12 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14118,6 +16258,13 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14145,14 +16292,6 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14168,11 +16307,12 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - metricThreshold: { - serializedName: "metricThreshold", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "FeatureAttributionMetricThreshold", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14182,6 +16322,13 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "FeatureImportanceSettings", }, }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, productionData: { serializedName: "productionData", required: true, @@ -14202,14 +16349,6 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14224,6 +16363,14 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14251,57 +16398,6 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, -}; - -export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { - serializedName: "ServerlessSpark", - type: { - name: "Composite", - className: "MonitorServerlessSparkCompute", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: - MonitorComputeConfigurationBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitorComputeConfigurationBase.type.modelProperties, - computeIdentity: { - serializedName: "computeIdentity", - type: { - name: "Composite", - className: "MonitorComputeIdentityBase", - }, - }, - instanceType: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "instanceType", - required: true, - type: { - name: "String", - }, - }, - runtimeVersion: { - constraints: { - Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), - MinLength: 1, - }, - serializedName: "runtimeVersion", - required: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14330,6 +16426,13 @@ export const RollingInputData: coreClient.CompositeMapper = { MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, windowOffset: { serializedName: "windowOffset", required: true, @@ -14344,13 +16447,6 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14365,11 +16461,11 @@ export const StaticInputData: coreClient.CompositeMapper = { MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, - windowStart: { - serializedName: "windowStart", - required: true, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, type: { - name: "DateTime", + name: "String", }, }, windowEnd: { @@ -14379,11 +16475,11 @@ export const StaticInputData: coreClient.CompositeMapper = { name: "DateTime", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + windowStart: { + serializedName: "windowStart", + required: true, type: { - name: "String", + name: "DateTime", }, }, }, @@ -15058,11 +17154,11 @@ export const BatchEndpoint: coreClient.CompositeMapper = { className: "BatchEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15071,11 +17167,11 @@ export const BatchEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchEndpointProperties", }, }, sku: { @@ -15095,11 +17191,11 @@ export const BatchDeployment: coreClient.CompositeMapper = { className: "BatchDeployment", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15108,11 +17204,11 @@ export const BatchDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchDeploymentProperties", }, }, sku: { @@ -15132,11 +17228,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { className: "OnlineEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15145,11 +17241,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineEndpointProperties", }, }, sku: { @@ -15169,11 +17265,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { className: "OnlineDeployment", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "OnlineDeploymentProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15182,11 +17278,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineDeploymentProperties", }, }, sku: { @@ -15206,11 +17302,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { className: "ServerlessEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15219,11 +17315,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ServerlessEndpointProperties", }, }, sku: { @@ -15284,6 +17380,13 @@ export const Registry: coreClient.CompositeMapper = { className: "ArmResourceId", }, }, + managedResourceGroupSettings: { + serializedName: "properties.managedResourceGroupSettings", + type: { + name: "Composite", + className: "ManagedResourceGroupSettings", + }, + }, mlFlowRegistryUri: { serializedName: "properties.mlFlowRegistryUri", nullable: true, @@ -15537,17 +17640,17 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "EnvironmentVersionProperties", modelProperties: { ...AssetBase.type.modelProperties, - environmentType: { - serializedName: "environmentType", - readOnly: true, + autoRebuild: { + serializedName: "autoRebuild", type: { name: "String", }, }, - image: { - serializedName: "image", + build: { + serializedName: "build", type: { - name: "String", + name: "Composite", + className: "BuildContext", }, }, condaFile: { @@ -15556,15 +17659,15 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { name: "String", }, }, - build: { - serializedName: "build", + environmentType: { + serializedName: "environmentType", + readOnly: true, type: { - name: "Composite", - className: "BuildContext", + name: "String", }, }, - osType: { - serializedName: "osType", + image: { + serializedName: "image", type: { name: "String", }, @@ -15576,8 +17679,8 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "InferenceContainerProperties", }, }, - autoRebuild: { - serializedName: "autoRebuild", + osType: { + serializedName: "osType", type: { name: "String", }, @@ -15614,22 +17717,22 @@ export const ModelVersionProperties: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "FlavorData" } }, }, }, - modelType: { - serializedName: "modelType", + jobName: { + serializedName: "jobName", nullable: true, type: { name: "String", }, }, - modelUri: { - serializedName: "modelUri", + modelType: { + serializedName: "modelType", nullable: true, type: { name: "String", }, }, - jobName: { - serializedName: "jobName", + modelUri: { + serializedName: "modelUri", nullable: true, type: { name: "String", @@ -15659,11 +17762,16 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { className: "FeaturesetVersionProperties", modelProperties: { ...AssetBase.type.modelProperties, - specification: { - serializedName: "specification", + entities: { + serializedName: "entities", + nullable: true, type: { - name: "Composite", - className: "FeaturesetSpecification", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, materializationSettings: { @@ -15673,28 +17781,23 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { className: "MaterializationSettings", }, }, - stage: { - serializedName: "stage", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - entities: { - serializedName: "entities", - nullable: true, + specification: { + serializedName: "specification", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "FeaturesetSpecification", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15722,16 +17825,16 @@ export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { }, }, }, - stage: { - serializedName: "stage", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15756,6 +17859,13 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { className: "OneLakeArtifact", }, }, + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String", + }, + }, oneLakeWorkspaceName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -15767,13 +17877,6 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, serviceDataAccessAuthIdentity: { serializedName: "serviceDataAccessAuthIdentity", type: { @@ -15793,13 +17896,6 @@ export const AutoMLJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration", - }, - }, environmentId: { serializedName: "environmentId", nullable: true, @@ -15815,13 +17911,6 @@ export const AutoMLJob: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, - taskDetails: { - serializedName: "taskDetails", - type: { - name: "Composite", - className: "AutoMLVertical", - }, - }, outputs: { serializedName: "outputs", nullable: true, @@ -15837,6 +17926,20 @@ export const AutoMLJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + taskDetails: { + serializedName: "taskDetails", + type: { + name: "Composite", + className: "AutoMLVertical", + }, + }, }, }, }; @@ -15850,13 +17953,6 @@ export const CommandJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration", - }, - }, codeId: { serializedName: "codeId", nullable: true, @@ -15875,6 +17971,13 @@ export const CommandJob: coreClient.CompositeMapper = { name: "String", }, }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, environmentId: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -15886,27 +17989,20 @@ export const CommandJob: coreClient.CompositeMapper = { name: "String", }, }, - inputs: { - serializedName: "inputs", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + value: { type: { name: "String" } }, }, }, - outputs: { - serializedName: "outputs", + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, - }, - }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, limits: { @@ -15916,12 +18012,12 @@ export const CommandJob: coreClient.CompositeMapper = { className: "CommandJobLimits", }, }, - environmentVariables: { - serializedName: "environmentVariables", + outputs: { + serializedName: "outputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, parameters: { @@ -15940,6 +18036,55 @@ export const CommandJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + }, + }, +}; + +export const FineTuningJob: coreClient.CompositeMapper = { + serializedName: "FineTuning", + type: { + name: "Composite", + className: "FineTuningJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...JobBaseProperties.type.modelProperties, + fineTuningDetails: { + serializedName: "fineTuningDetails", + type: { + name: "Composite", + className: "FineTuningVertical", + }, + }, + outputs: { + serializedName: "outputs", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResources", + }, + }, }, }, }; @@ -15953,12 +18098,12 @@ export const PipelineJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - settings: { - serializedName: "settings", + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "any" } }, + value: { type: { name: "Composite", className: "JobInput" } }, }, }, jobs: { @@ -15971,20 +18116,20 @@ export const PipelineJob: coreClient.CompositeMapper = { }, }, }, - inputs: { - serializedName: "inputs", + outputs: { + serializedName: "outputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - outputs: { - serializedName: "outputs", + settings: { + serializedName: "settings", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + value: { type: { name: "any" } }, }, }, sourceJobId: { @@ -16007,11 +18152,16 @@ export const SparkJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + archives: { + serializedName: "archives", + nullable: true, type: { - name: "Composite", - className: "SparkResourceConfiguration", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, args: { @@ -16028,6 +18178,14 @@ export const SparkJob: coreClient.CompositeMapper = { name: "String", }, }, + conf: { + serializedName: "conf", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, entry: { serializedName: "entry", type: { @@ -16042,24 +18200,16 @@ export const SparkJob: coreClient.CompositeMapper = { name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, - }, - }, - outputs: { - serializedName: "outputs", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + value: { type: { name: "String" } }, }, }, - pyFiles: { - serializedName: "pyFiles", + files: { + serializedName: "files", nullable: true, type: { name: "Sequence", @@ -16070,6 +18220,14 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, + inputs: { + serializedName: "inputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, + }, jars: { serializedName: "jars", nullable: true, @@ -16082,20 +18240,16 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - files: { - serializedName: "files", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - archives: { - serializedName: "archives", + pyFiles: { + serializedName: "pyFiles", nullable: true, type: { name: "Sequence", @@ -16106,14 +18260,6 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - conf: { - serializedName: "conf", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, queueSettings: { serializedName: "queueSettings", type: { @@ -16121,12 +18267,11 @@ export const SparkJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "SparkResourceConfiguration", }, }, }, @@ -16142,19 +18287,19 @@ export const SweepJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - searchSpace: { - serializedName: "searchSpace", - required: true, + earlyTermination: { + serializedName: "earlyTermination", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "EarlyTerminationPolicy", }, }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "Composite", - className: "SamplingAlgorithm", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, limits: { @@ -16164,13 +18309,6 @@ export const SweepJob: coreClient.CompositeMapper = { className: "SweepJobLimits", }, }, - earlyTermination: { - serializedName: "earlyTermination", - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - }, - }, objective: { serializedName: "objective", type: { @@ -16178,21 +18316,6 @@ export const SweepJob: coreClient.CompositeMapper = { className: "Objective", }, }, - trial: { - serializedName: "trial", - type: { - name: "Composite", - className: "TrialComponent", - }, - }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, - }, - }, outputs: { serializedName: "outputs", nullable: true, @@ -16208,6 +18331,28 @@ export const SweepJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + type: { + name: "Composite", + className: "SamplingAlgorithm", + }, + }, + searchSpace: { + serializedName: "searchSpace", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + trial: { + serializedName: "trial", + type: { + name: "Composite", + className: "TrialComponent", + }, + }, }, }, }; @@ -16278,150 +18423,25 @@ export const UriFileDataVersion: coreClient.CompositeMapper = { type: { name: "Composite", className: "UriFileDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, - modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - }, - }, -}; - -export const UriFolderDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_folder", - type: { - name: "Composite", - className: "UriFolderDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, - modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - }, - }, -}; - -export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspacesCreateOrUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspacesUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspacesDiagnoseHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspacesResyncKeysHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...DataVersionBaseProperties.type.modelProperties, }, }, }; -export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { +export const UriFolderDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_folder", type: { name: "Composite", - className: "WorkspacesPrepareNotebookHeaders", + className: "UriFolderDataVersion", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, + ...DataVersionBaseProperties.type.modelProperties, }, }, }; @@ -16462,73 +18482,20 @@ export const ComputeDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkSettingsRuleDeleteHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const ComputeResizeHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResizeHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, }, - }; + }, +}; export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { type: { @@ -17002,20 +18969,187 @@ export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeM name: "TimeSpan", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryModelVersionsDeleteHeaders", + 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 RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsDeleteHeaders", + 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 BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsUpdateHeaders", + 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 BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsDeleteHeaders", + 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 RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsDeleteHeaders", + className: "BatchDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17043,11 +19177,11 @@ export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsCreateOrUpdateHeaders", + className: "BatchDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17065,17 +19199,36 @@ export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMap }, }; -export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "CodeVersionsPublishHeaders", 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 ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersionsPublishHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17096,17 +19249,36 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "DataVersionsPublishHeaders", 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 EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersionsPublishHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17127,10 +19299,10 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "FeaturesetContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17138,20 +19310,52 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", type: { name: "String", }, }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17179,17 +19383,33 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "FeaturesetVersionsBackfillHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17210,11 +19430,97 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersDeleteHeaders", + 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 FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + 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", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17232,11 +19538,17 @@ export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = }, }; -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "JobsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17257,10 +19569,10 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionsPublishHeaders", + className: "JobsCancelHeaders", modelProperties: { location: { serializedName: "location", @@ -17282,10 +19594,64 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsDeleteHeaders", + 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 MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionsPublishHeaders", + className: "ModelVersionsPublishHeaders", modelProperties: { location: { serializedName: "location", @@ -17307,11 +19673,17 @@ export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "OnlineEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17332,10 +19704,10 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17363,11 +19735,11 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersCreateOrUpdateHeaders", + className: "OnlineEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17385,10 +19757,36 @@ export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointsRegenerateKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "OnlineDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17416,33 +19814,17 @@ export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17463,43 +19845,11 @@ export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersDeleteHeaders", - 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 FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + className: "OnlineDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17517,64 +19867,62 @@ export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.Compo }, }; -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - location: { - serializedName: "location", - type: { - name: "String", - }, + }, + location: { + serializedName: "location", + type: { + name: "String", }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17602,11 +19950,17 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17627,11 +19981,11 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsDeleteHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17639,53 +19993,53 @@ export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = name: "TimeSpan", }, }, - location: { - serializedName: "location", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, }, }, }; -export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + className: "ServerlessEndpointsRegenerateKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17706,10 +20060,10 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17737,17 +20091,32 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "WorkspacesDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, + }, + }, +}; + +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesCreateOrUpdateHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17755,10 +20124,27 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesDiagnoseHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, + }, + retryAfter: { serializedName: "retry-after", type: { name: "Number", @@ -17768,33 +20154,53 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesPrepareNotebookHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesResyncKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionsTestConnectionHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", + className: "WorkspaceConnectionsTestConnectionHeaders", modelProperties: { location: { serializedName: "location", @@ -17803,10 +20209,6 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17816,17 +20218,11 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionDeleteDeploymentHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "ConnectionDeleteDeploymentHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17834,10 +20230,6 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17847,17 +20239,11 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiBlocklistDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "ConnectionRaiBlocklistDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17865,10 +20251,6 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17878,39 +20260,77 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ConnectionRaiBlocklistItemAddBulkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", + className: "ConnectionRaiBlocklistItemAddBulkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ConnectionRaiBlocklistItemDeleteBulkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemDeleteBulkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ConnectionRaiBlocklistItemDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "ConnectionRaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17918,10 +20338,6 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17931,38 +20347,54 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "EndpointDeploymentDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const EndpointCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "EndpointCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17970,10 +20402,6 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17983,17 +20411,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const RaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "RaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18001,10 +20423,6 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18014,33 +20432,33 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsCreateOrUpdateHeaders", + className: "ManagedNetworkSettingsRuleDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", modelProperties: { location: { serializedName: "location", @@ -18049,10 +20467,6 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18062,95 +20476,58 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }; -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 RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistriesRemoveRegionsHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, }, - serializedName: "retry-after", - type: { - name: "Number", + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; export let discriminators = { - OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, - WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, PendingUploadCredentialDto: PendingUploadCredentialDto, DataReferenceCredential: DataReferenceCredential, BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, - TriggerBase: TriggerBase, Webhook: Webhook, - Nodes: Nodes, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, + OutboundRule: OutboundRule, + WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + EndpointDeploymentResourceProperties: EndpointDeploymentResourceProperties, + EndpointResourceProperties: EndpointResourceProperties, MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, JobInput: JobInput, - JobOutput: JobOutput, NCrossValidations: NCrossValidations, Seasonality: Seasonality, TargetLags: TargetLags, TargetRollingWindowSize: TargetRollingWindowSize, + FineTuningVertical: FineTuningVertical, EarlyTerminationPolicy: EarlyTerminationPolicy, SamplingAlgorithm: SamplingAlgorithm, DataDriftMetricThresholdBase: DataDriftMetricThresholdBase, @@ -18158,14 +20535,11 @@ export let discriminators = { PredictionDriftMetricThresholdBase: PredictionDriftMetricThresholdBase, DistributionConfiguration: DistributionConfiguration, JobLimits: JobLimits, - MonitoringSignalBase: MonitoringSignalBase, MonitorComputeConfigurationBase: MonitorComputeConfigurationBase, + MonitoringSignalBase: MonitoringSignalBase, MonitoringInputDataBase: MonitoringInputDataBase, OneLakeArtifact: OneLakeArtifact, SparkJobEntry: SparkJobEntry, - "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, - "OutboundRule.ServiceTag": ServiceTagOutboundRule, - "OutboundRule.FQDN": FqdnOutboundRule, "Compute.AKS": Aks, "Compute.Kubernetes": Kubernetes, "Compute.AmlCompute": AmlCompute, @@ -18179,30 +20553,6 @@ export let discriminators = { "ComputeSecrets.AKS": AksComputeSecrets, "ComputeSecrets.VirtualMachine": VirtualMachineSecrets, "ComputeSecrets.Databricks": DatabricksComputeSecrets, - "WorkspaceConnectionPropertiesV2.PAT": - PATAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.SAS": - SASAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.UsernamePassword": - UsernamePasswordAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.None": - NoneAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ManagedIdentity": - ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AAD": - AADAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccessKey": - AccessKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccountKey": - AccountKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ApiKey": - ApiKeyAuthWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.CustomKeys": - CustomKeysWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.OAuth2": - OAuth2AuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ServicePrincipal": - ServicePrincipalAuthTypeWorkspaceConnectionProperties, "ResourceBase.DatastoreProperties": DatastoreProperties, "ResourceBase.JobBaseProperties": JobBaseProperties, "PendingUploadCredentialDto.SAS": SASCredentialDto, @@ -18226,26 +20576,69 @@ export let discriminators = { "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, + "Webhook.AzureDevOps": AzureDevOpsWebhook, "TriggerBase.Recurrence": RecurrenceTrigger, "TriggerBase.Cron": CronTrigger, - "Webhook.AzureDevOps": AzureDevOpsWebhook, - "Nodes.All": AllNodes, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, "ScheduleActionBase.CreateMonitor": CreateMonitorAction, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, + "OutboundRule.FQDN": FqdnOutboundRule, + "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "WorkspaceConnectionPropertiesV2.AAD": + AADAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccessKey": + AccessKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccountKey": + AccountKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ApiKey": + ApiKeyAuthWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.CustomKeys": + CustomKeysWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ManagedIdentity": + ManagedIdentityAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.None": + NoneAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.OAuth2": + OAuth2AuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.PAT": + PATAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.SAS": + SASAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ServicePrincipal": + ServicePrincipalAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.UsernamePassword": + UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "EndpointDeploymentResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.OpenAI": + OpenAIEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.Speech": + SpeechEndpointDeploymentResourceProperties, + "EndpointResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointResourceProperties, + "EndpointResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointResourceProperties, + "EndpointResourceProperties.Azure.OpenAI": OpenAIEndpointResourceProperties, + "EndpointResourceProperties.serverlessEndpoint": + ServerlessEndpointResourceProperties, + "EndpointResourceProperties.Azure.Speech": SpeechEndpointResourceProperties, "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, "MonitorComputeIdentityBase.AmlToken": AmlTokenComputeIdentity, "MonitorComputeIdentityBase.ManagedIdentity": ManagedComputeIdentity, "JobInput.mltable": MLTableJobInput, - "JobInput.custom_model": CustomModelJobInput, "JobInput.mlflow_model": MLFlowModelJobInput, + "JobInput.custom_model": CustomModelJobInput, "JobInput.triton_model": TritonModelJobInput, "JobInput.uri_file": UriFileJobInput, "JobInput.uri_folder": UriFolderJobInput, @@ -18280,6 +20673,8 @@ export let discriminators = { "DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore, "DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore, "DatastoreProperties.AzureFile": AzureFileDatastore, + "FineTuningVertical.AzureOpenAI": AzureOpenAiFineTuning, + "FineTuningVertical.Custom": CustomModelFineTuning, "EarlyTerminationPolicy.Bandit": BanditPolicy, "EarlyTerminationPolicy.MedianStopping": MedianStoppingPolicy, "EarlyTerminationPolicy.TruncationSelection": TruncationSelectionPolicy, @@ -18302,14 +20697,14 @@ export let discriminators = { "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, + "MonitorComputeConfigurationBase.ServerlessSpark": + MonitorServerlessSparkCompute, "MonitoringSignalBase.Custom": CustomMonitoringSignal, "MonitoringSignalBase.DataDrift": DataDriftMonitoringSignal, "MonitoringSignalBase.DataQuality": DataQualityMonitoringSignal, "MonitoringSignalBase.FeatureAttributionDrift": FeatureAttributionDriftMonitoringSignal, "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, - "MonitorComputeConfigurationBase.ServerlessSpark": - MonitorServerlessSparkCompute, "MonitoringInputDataBase.Fixed": FixedInputData, "MonitoringInputDataBase.Rolling": RollingInputData, "MonitoringInputDataBase.Static": StaticInputData, @@ -18320,6 +20715,7 @@ export let discriminators = { "DatastoreProperties.OneLake": OneLakeDatastore, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, + "JobBaseProperties.FineTuning": FineTuningJob, "JobBaseProperties.Pipeline": PipelineJob, "JobBaseProperties.Spark": SparkJob, "JobBaseProperties.Sweep": SweepJob, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 6cd7aad4495b..439a558b3ba5 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -12,16 +12,11 @@ import { OperationQueryParameter, } from "@azure/core-client"; import { - Workspace as WorkspaceMapper, - WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, - DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, - PrivateEndpointConnection as PrivateEndpointConnectionMapper, - WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, - ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, + IdleShutdownSetting as IdleShutdownSettingMapper, + ResizeSchema as ResizeSchemaMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, PendingUploadRequestDto as PendingUploadRequestDtoMapper, @@ -40,6 +35,7 @@ import { BatchDeployment as BatchDeploymentMapper, DestinationAsset as DestinationAssetMapper, Datastore as DatastoreMapper, + SecretExpiry as SecretExpiryMapper, FeaturesetContainer as FeaturesetContainerMapper, FeaturesetVersion as FeaturesetVersionMapper, FeaturesetVersionBackfillRequest as FeaturesetVersionBackfillRequestMapper, @@ -57,6 +53,20 @@ import { ServerlessEndpoint as ServerlessEndpointMapper, PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, Registry as RegistryMapper, + WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, + Workspace as WorkspaceMapper, + DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, + WorkspaceConnectionUpdateParameter as WorkspaceConnectionUpdateParameterMapper, + WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, + EndpointDeploymentResourcePropertiesBasicResource as EndpointDeploymentResourcePropertiesBasicResourceMapper, + RaiBlocklistPropertiesBasicResource as RaiBlocklistPropertiesBasicResourceMapper, + RaiBlocklistItemPropertiesBasicResource as RaiBlocklistItemPropertiesBasicResourceMapper, + RaiPolicyPropertiesBasicResource as RaiPolicyPropertiesBasicResourceMapper, + EndpointResourcePropertiesBasicResource as EndpointResourcePropertiesBasicResourceMapper, + RegenerateServiceAccountKeyContent as RegenerateServiceAccountKeyContentMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -86,7 +96,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2024-10-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +119,13 @@ export const subscriptionId: OperationURLParameter = { }, }; -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", +export const location: OperationURLParameter = { + parameterPath: "location", mapper: { constraints: { - MaxLength: 90, - MinLength: 1, + Pattern: new RegExp("^[-\\w\\._]+$"), }, - serializedName: "resourceGroupName", + serializedName: "location", required: true, type: { name: "String", @@ -124,18 +133,16 @@ export const resourceGroupName: OperationURLParameter = { }, }; -export const workspaceName: OperationURLParameter = { - parameterPath: "workspaceName", +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "workspaceName", + serializedName: "nextLink", required: true, type: { name: "String", }, }, + skipEncoding: true, }; export const contentType: OperationParameter = { @@ -152,74 +159,56 @@ export const contentType: OperationParameter = { export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceMapper, + mapper: QuotaUpdateParametersMapper, }; -export const forceToPurge: OperationQueryParameter = { - parameterPath: ["options", "forceToPurge"], +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - defaultValue: false, - serializedName: "forceToPurge", - type: { - name: "Boolean", + constraints: { + MaxLength: 90, + MinLength: 1, }, - }, -}; - -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceUpdateParametersMapper, -}; - -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], - mapper: { - serializedName: "$skip", + serializedName: "resourceGroupName", + required: true, type: { name: "String", }, }, }; -export const parameters2: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: DiagnoseWorkspaceParametersMapper, -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const workspaceName: OperationURLParameter = { + parameterPath: "workspaceName", mapper: { - serializedName: "nextLink", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "workspaceName", required: true, type: { name: "String", }, }, - skipEncoding: true, }; -export const location: OperationURLParameter = { - parameterPath: "location", +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$"), - }, - serializedName: "location", - required: true, + serializedName: "$skip", type: { name: "String", }, }, }; -export const parameters3: OperationParameter = { - parameterPath: "parameters", - mapper: QuotaUpdateParametersMapper, -}; - export const computeName: OperationURLParameter = { parameterPath: "computeName", mapper: { + constraints: { + Pattern: new RegExp( + "^[a-zA-Z](?![a-zA-Z0-9-]*-\\d+$)[a-zA-Z0-9\\-]{2,23}$", + ), + }, serializedName: "computeName", required: true, type: { @@ -228,12 +217,12 @@ export const computeName: OperationURLParameter = { }, }; -export const parameters4: OperationParameter = { +export const parameters1: OperationParameter = { parameterPath: "parameters", mapper: ComputeResourceMapper, }; -export const parameters5: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: ClusterUpdateParametersMapper, }; @@ -249,83 +238,48 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", +export const customServices: OperationParameter = { + parameterPath: "customServices", mapper: { - serializedName: "privateEndpointConnectionName", + serializedName: "customServices", required: true, type: { - name: "String", - }, - }, -}; - -export const properties: OperationParameter = { - parameterPath: "properties", - mapper: PrivateEndpointConnectionMapper, -}; - -export const parameters6: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, -}; - -export const connectionName: OperationURLParameter = { - parameterPath: "connectionName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "connectionName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const target: OperationQueryParameter = { - parameterPath: ["options", "target"], - mapper: { - serializedName: "target", - type: { - name: "String", - }, - }, -}; - -export const category: OperationQueryParameter = { - parameterPath: ["options", "category"], - mapper: { - serializedName: "category", - type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, }, }, }; -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", +export const dataMounts: OperationParameter = { + parameterPath: "dataMounts", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "ruleName", + serializedName: "dataMounts", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, }, }, }; -export const body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: IdleShutdownSettingMapper, }; -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: ResizeSchemaMapper, }; export const registryName: OperationURLParameter = { @@ -356,7 +310,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +346,12 @@ export const version: OperationURLParameter = { }, }; -export const body3: OperationParameter = { +export const body1: OperationParameter = { parameterPath: "body", mapper: CodeVersionMapper, }; -export const body4: OperationParameter = { +export const body2: OperationParameter = { parameterPath: "body", mapper: PendingUploadRequestDtoMapper, }; @@ -416,12 +370,12 @@ export const componentName: OperationURLParameter = { }, }; -export const body5: OperationParameter = { +export const body3: OperationParameter = { parameterPath: "body", mapper: ComponentContainerMapper, }; -export const body6: OperationParameter = { +export const body4: OperationParameter = { parameterPath: "body", mapper: ComponentVersionMapper, }; @@ -447,7 +401,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +430,12 @@ export const tags: OperationQueryParameter = { }, }; -export const body8: OperationParameter = { +export const body6: OperationParameter = { parameterPath: "body", mapper: DataVersionBaseMapper, }; -export const body9: OperationParameter = { +export const body7: OperationParameter = { parameterPath: "body", mapper: GetBlobReferenceSASRequestDtoMapper, }; @@ -500,12 +454,12 @@ export const environmentName: OperationURLParameter = { }, }; -export const body10: OperationParameter = { +export const body8: OperationParameter = { parameterPath: "body", mapper: EnvironmentContainerMapper, }; -export const body11: OperationParameter = { +export const body9: OperationParameter = { parameterPath: "body", mapper: EnvironmentVersionMapper, }; @@ -524,7 +478,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body10: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +513,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +523,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +549,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +568,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,7 +584,7 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, @@ -650,7 +604,7 @@ export const deploymentName1: OperationURLParameter = { }, }; -export const body17: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", mapper: BatchDeploymentMapper, }; @@ -675,7 +629,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body16: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +702,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -764,6 +718,11 @@ export const skipValidation: OperationQueryParameter = { }, }; +export const body18: OperationParameter = { + parameterPath: ["options", "body"], + mapper: SecretExpiryMapper, +}; + export const pageSize: OperationQueryParameter = { parameterPath: ["options", "pageSize"], mapper: { @@ -795,7 +754,7 @@ export const createdBy: OperationQueryParameter = { }, }; -export const body20: OperationParameter = { +export const body19: OperationParameter = { parameterPath: "body", mapper: FeaturesetContainerMapper, }; @@ -880,22 +839,22 @@ export const stage: OperationQueryParameter = { }, }; -export const body21: OperationParameter = { +export const body20: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionMapper, }; -export const body22: OperationParameter = { +export const body21: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionBackfillRequestMapper, }; -export const body23: OperationParameter = { +export const body22: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityContainerMapper, }; -export const body24: OperationParameter = { +export const body23: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityVersionMapper, }; @@ -931,7 +890,7 @@ export const id: OperationURLParameter = { }, }; -export const body25: OperationParameter = { +export const body24: OperationParameter = { parameterPath: "body", mapper: JobBaseMapper, }; @@ -950,7 +909,7 @@ export const id1: OperationURLParameter = { }, }; -export const body26: OperationParameter = { +export const body25: OperationParameter = { parameterPath: "body", mapper: MarketplaceSubscriptionMapper, }; @@ -995,27 +954,27 @@ export const orderBy2: OperationQueryParameter = { }, }; -export const body27: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper, }; -export const body28: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper, }; -export const body29: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper, }; -export const body30: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper, }; -export const body31: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper, }; @@ -1030,17 +989,17 @@ export const listViewType1: OperationQueryParameter = { }, }; -export const body32: OperationParameter = { +export const body31: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper, }; -export const body33: OperationParameter = { +export const body32: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, }; -export const body34: OperationParameter = { +export const body33: OperationParameter = { parameterPath: "body", mapper: ServerlessEndpointMapper, }; @@ -1059,12 +1018,345 @@ export const name3: OperationURLParameter = { }, }; -export const body35: OperationParameter = { +export const body34: OperationParameter = { parameterPath: "body", mapper: PartialRegistryPartialTrackedResourceMapper, }; -export const body36: OperationParameter = { +export const body35: OperationParameter = { parameterPath: "body", mapper: RegistryMapper, }; + +export const kind: OperationQueryParameter = { + parameterPath: ["options", "kind"], + mapper: { + serializedName: "kind", + type: { + name: "String", + }, + }, +}; + +export const aiCapabilities: OperationQueryParameter = { + parameterPath: ["options", "aiCapabilities"], + mapper: { + serializedName: "aiCapabilities", + type: { + name: "String", + }, + }, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, +}; + +export const body36: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceUpdateParametersMapper, +}; + +export const body37: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceMapper, +}; + +export const body38: OperationParameter = { + parameterPath: ["options", "body"], + mapper: DiagnoseWorkspaceParametersMapper, +}; + +export const target: OperationQueryParameter = { + parameterPath: ["options", "target"], + mapper: { + serializedName: "target", + type: { + name: "String", + }, + }, +}; + +export const category: OperationQueryParameter = { + parameterPath: ["options", "category"], + mapper: { + serializedName: "category", + type: { + name: "String", + }, + }, +}; + +export const includeAll: OperationQueryParameter = { + parameterPath: ["options", "includeAll"], + mapper: { + defaultValue: false, + serializedName: "includeAll", + type: { + name: "Boolean", + }, + }, +}; + +export const connectionName: OperationURLParameter = { + parameterPath: "connectionName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "connectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body39: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionUpdateParameterMapper, +}; + +export const body40: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, +}; + +export const proxyApiVersion: OperationQueryParameter = { + parameterPath: ["options", "proxyApiVersion"], + mapper: { + serializedName: "proxy-api-version", + type: { + name: "String", + }, + }, +}; + +export const deploymentName2: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "deploymentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body41: OperationParameter = { + parameterPath: "body", + mapper: EndpointDeploymentResourcePropertiesBasicResourceMapper, +}; + +export const raiBlocklistName: OperationURLParameter = { + parameterPath: "raiBlocklistName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body42: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistPropertiesBasicResourceMapper, +}; + +export const body43: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemBulkRequest", + }, + }, + }, + }, +}; + +export const body44: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, +}; + +export const raiBlocklistItemName: OperationURLParameter = { + parameterPath: "raiBlocklistItemName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistItemName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body45: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistItemPropertiesBasicResourceMapper, +}; + +export const raiPolicyName: OperationURLParameter = { + parameterPath: "raiPolicyName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiPolicyName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body46: OperationParameter = { + parameterPath: "body", + mapper: RaiPolicyPropertiesBasicResourceMapper, +}; + +export const endpointType: OperationQueryParameter = { + parameterPath: ["options", "endpointType"], + mapper: { + serializedName: "endpointType", + type: { + name: "String", + }, + }, +}; + +export const endpointName2: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]{2,32}$"), + }, + serializedName: "endpointName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const includeOnlineEndpoints: OperationQueryParameter = { + parameterPath: ["options", "includeOnlineEndpoints"], + mapper: { + defaultValue: false, + serializedName: "includeOnlineEndpoints", + type: { + name: "Boolean", + }, + }, +}; + +export const includeServerlessEndpoints: OperationQueryParameter = { + parameterPath: ["options", "includeServerlessEndpoints"], + mapper: { + defaultValue: false, + serializedName: "includeServerlessEndpoints", + type: { + name: "Boolean", + }, + }, +}; + +export const includeConnections: OperationQueryParameter = { + parameterPath: ["options", "includeConnections"], + mapper: { + defaultValue: false, + serializedName: "includeConnections", + type: { + name: "Boolean", + }, + }, +}; + +export const expand: OperationQueryParameter = { + parameterPath: ["options", "expand"], + mapper: { + serializedName: "$expand", + type: { + name: "String", + }, + }, +}; + +export const body47: OperationParameter = { + parameterPath: "body", + mapper: EndpointResourcePropertiesBasicResourceMapper, +}; + +export const body48: OperationParameter = { + parameterPath: "body", + mapper: RegenerateServiceAccountKeyContentMapper, +}; + +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "ruleName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body49: OperationParameter = { + parameterPath: "body", + mapper: OutboundRuleBasicResourceMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body50: OperationParameter = { + parameterPath: "body", + mapper: PrivateEndpointConnectionMapper, +}; + +export const body51: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkProvisionOptionsMapper, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index b354b122c60a..871c9a18e236 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing BatchDeployments operations. */ export class BatchDeploymentsImpl implements BatchDeployments { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class BatchDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -626,7 +626,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body16, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -660,7 +660,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -688,9 +688,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts index 60ad4eea5bf7..e289eed6a3ef 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -40,13 +40,13 @@ import { /// /** Class containing BatchEndpoints operations. */ export class BatchEndpointsImpl implements BatchEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class BatchEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -575,7 +575,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -608,7 +608,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -657,9 +657,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts index 1d5cdc1ffa83..cdf4156c29a9 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { CodeContainer, CodeContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing CodeContainers operations. */ export class CodeContainersImpl implements CodeContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class CodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -291,7 +291,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -318,9 +318,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts index b96b27c7c808..11186d884afe 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -40,13 +40,13 @@ import { /// /** Class containing CodeVersions operations. */ export class CodeVersionsImpl implements CodeVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class CodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -459,7 +459,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,7 +485,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -510,7 +510,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -538,9 +538,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts index e051f226dc63..f194ee668413 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ComponentContainer, ComponentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ComponentContainers operations. */ export class ComponentContainersImpl implements ComponentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts index bf90b229bb54..486dcef9ad76 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing ComponentVersions operations. */ export class ComponentVersionsImpl implements ComponentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -432,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +458,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +486,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index 7e9f18b29963..5c0da18ea309 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,11 +37,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, ComputeListNextResponse, ComputeListNodesNextResponse, } from "../models"; @@ -49,13 +60,13 @@ import { /// /** Class containing ComputeOperations operations. */ export class ComputeOperationsImpl implements ComputeOperations { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComputeOperations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -580,6 +591,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. @@ -618,6 +656,27 @@ export class ComputeOperationsImpl implements ComputeOperations { ); } + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, dataMounts, options }, + updateDataMountsOperationSpec, + ); + } + /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -876,6 +935,151 @@ 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, + ); + } + + /** + * Returns supported virtual machine sizes for resize + * @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 options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, options }, + getAllowedResizeSizesOperationSpec, + ); + } + + /** + * Updates the size 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 VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + }, + spec: resizeOperationSpec, + }); + const poller = await createHttpPoller< + ComputeResizeResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Updates the size 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 VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise { + const poller = await this.beginResize( + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -982,7 +1186,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +1219,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1051,6 +1255,28 @@ 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", httpMethod: "POST", @@ -1095,6 +1321,28 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateDataMountsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateDataMounts", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.dataMounts, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const startOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start", httpMethod: "POST", @@ -1164,6 +1412,83 @@ 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.parameters3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getAllowedResizeSizesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/getAllowedVmSizesForResize", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineSizeListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const resizeOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/resize", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 201: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 202: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 204: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.parameters4, + 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", @@ -1178,9 +1503,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1524,9 @@ const listNodesNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.computeName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts new file mode 100644 index 000000000000..9f67f6f5950b --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts @@ -0,0 +1,788 @@ +/* + * 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 { Connection } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsNextOptionalParams, + ConnectionListDeploymentsOptionalParams, + ConnectionListDeploymentsResponse, + EndpointModelProperties, + ConnectionGetModelsNextOptionalParams, + ConnectionGetModelsOptionalParams, + ConnectionGetModelsResponse, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionGetAllModelsOptionalParams, + ConnectionGetAllModelsResponse, + ConnectionListDeploymentsNextResponse, + ConnectionGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing Connection operations. */ +export class ConnectionImpl implements Connection { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class Connection class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listDeploymentsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + 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.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listDeploymentsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: ConnectionListDeploymentsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listDeployments( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listDeploymentsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listDeploymentsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + 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.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listDeploymentsOperationSpec, + ); + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + spec: deleteDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionDeleteDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise { + const poller = await this.beginDeleteDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + getDeploymentOperationSpec, + ); + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + }, + spec: createOrUpdateDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionCreateOrUpdateDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdateDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + getModelsOperationSpec, + ); + } + + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + getAllModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionGetAllModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getAllModelsOperationSpec, + ); + } + + /** + * ListDeploymentsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the ListDeployments method. + * @param options The options parameters. + */ + private _listDeploymentsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionListDeploymentsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listDeploymentsNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listDeploymentsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body41, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getAllModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listConnectionModels", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..def7213fac5c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts @@ -0,0 +1,378 @@ +/* + * 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 { ConnectionRaiBlocklist } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklist operations. */ +export class ConnectionRaiBlocklistImpl implements ConnectionRaiBlocklist { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklist class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body42, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..dc8257509010 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts @@ -0,0 +1,737 @@ +/* + * 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 { ConnectionRaiBlocklistItem } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteBulkResponse, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklistItem operations. */ +export class ConnectionRaiBlocklistItemImpl + implements ConnectionRaiBlocklistItem +{ + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItem class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: addBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemAddBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise { + const poller = await this.beginAddBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: deleteBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemDeleteBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise { + const poller = await this.beginDeleteBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const addBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/addRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 201: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 202: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 204: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body43, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/deleteRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body44, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body45, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..169fea57b9b3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts @@ -0,0 +1,248 @@ +/* + * 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 { ConnectionRaiBlocklistItems } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListNextOptionalParams, + ConnectionRaiBlocklistItemsListOptionalParams, + ConnectionRaiBlocklistItemsListResponse, + ConnectionRaiBlocklistItemsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklistItems operations. */ +export class ConnectionRaiBlocklistItemsImpl + implements ConnectionRaiBlocklistItems +{ + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItems class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + 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, + connectionName, + raiBlocklistName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistItemsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + nextLink: string, + options?: ConnectionRaiBlocklistItemsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + 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}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..530924d608f7 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts @@ -0,0 +1,216 @@ +/* + * 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 { ConnectionRaiBlocklists } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListNextOptionalParams, + ConnectionRaiBlocklistsListOptionalParams, + ConnectionRaiBlocklistsListResponse, + ConnectionRaiBlocklistsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklists operations. */ +export class ConnectionRaiBlocklistsImpl implements ConnectionRaiBlocklists { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklists class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + 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, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiBlocklistsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, 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}/connections/{connectionName}/raiBlocklists", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts new file mode 100644 index 000000000000..f91212840382 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts @@ -0,0 +1,216 @@ +/* + * 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 { ConnectionRaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListNextOptionalParams, + ConnectionRaiPoliciesListOptionalParams, + ConnectionRaiPoliciesListResponse, + ConnectionRaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiPolicies operations. */ +export class ConnectionRaiPoliciesImpl implements ConnectionRaiPolicies { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + 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, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, 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}/connections/{connectionName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts new file mode 100644 index 000000000000..e9f0f3706490 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts @@ -0,0 +1,378 @@ +/* + * 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 { ConnectionRaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiPolicy operations. */ +export class ConnectionRaiPolicyImpl implements ConnectionRaiPolicy { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body46, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 37f06f8f83fa..c398e4f366db 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { DataContainer, DataContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing DataContainers operations. */ export class DataContainersImpl implements DataContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class DataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts index 945091990901..44bca33bf85d 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing DataVersions operations. */ export class DataVersionsImpl implements DataVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class DataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -433,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -459,7 +459,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -487,9 +487,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts index ba30b92e5379..4cd2ff6a3044 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Datastore, DatastoresListNextOptionalParams, @@ -31,13 +31,13 @@ import { /// /** Class containing Datastores operations. */ export class DatastoresImpl implements Datastores { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Datastores class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -321,7 +321,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body19, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -345,6 +345,7 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body18, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -353,7 +354,8 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.name, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { @@ -370,9 +372,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts new file mode 100644 index 000000000000..c7087bbedd48 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts @@ -0,0 +1,740 @@ +/* + * 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 { EndpointDeployment } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceNextOptionalParams, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentGetInWorkspaceResponse, + EndpointDeploymentListNextOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentListResponse, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, + EndpointDeploymentGetInWorkspaceNextResponse, + EndpointDeploymentListNextResponse, +} from "../models"; + +/// +/** Class containing EndpointDeployment operations. */ +export class EndpointDeploymentImpl implements EndpointDeployment { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class EndpointDeployment class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getInWorkspacePagingAll( + 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.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *getInWorkspacePagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentGetInWorkspaceResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getInWorkspace( + resourceGroupName, + workspaceName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getInWorkspaceNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getInWorkspacePagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + 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, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _getInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getInWorkspaceOperationSpec, + ); + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * GetInWorkspaceNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param nextLink The nextLink from the previous successful call to the GetInWorkspace method. + * @param options The options parameters. + */ + private _getInWorkspaceNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: EndpointDeploymentGetInWorkspaceNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + getInWorkspaceNextOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointDeploymentListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getInWorkspaceOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 201: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 202: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 204: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body41, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getInWorkspaceNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts new file mode 100644 index 000000000000..c2ecd7bef1fa --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts @@ -0,0 +1,660 @@ +/* + * 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 { EndpointOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListNextOptionalParams, + EndpointListOptionalParams, + EndpointListResponse, + EndpointModelProperties, + EndpointGetModelsNextOptionalParams, + EndpointGetModelsOptionalParams, + EndpointGetModelsResponse, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, + EndpointListNextResponse, + EndpointGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing EndpointOperations operations. */ +export class EndpointOperationsImpl implements EndpointOperations { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class EndpointOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): 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?: EndpointListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointListResponse; + 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?: EndpointListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + endpointName, + 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.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listKeysOperationSpec, + ); + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getModelsOperationSpec, + ); + } + + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, body, options }, + regenerateKeysOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @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?: EndpointListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + Parameters.includeOnlineEndpoints, + Parameters.includeServerlessEndpoints, + Parameters.includeConnections, + Parameters.expand, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body47, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/listKeys", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const regenerateKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/regenerateKey", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.AccountApiKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body48, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index b2b05c13bcb2..479519ccda3e 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { EnvironmentContainer, EnvironmentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing EnvironmentContainers operations. */ export class EnvironmentContainersImpl implements EnvironmentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class EnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts index ee50fa915db5..9728cd98c2ab 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing EnvironmentVersions operations. */ export class EnvironmentVersionsImpl implements EnvironmentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class EnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -432,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +458,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +486,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts index eb807e729516..1e6adf6ba116 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts @@ -12,7 +12,7 @@ import { Features } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Feature, FeaturesListNextOptionalParams, @@ -26,13 +26,13 @@ import { /// /** Class containing Features operations. */ export class FeaturesImpl implements Features { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Features class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -297,9 +297,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.featuresetName, Parameters.featuresetVersion, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts index c97498261409..836794efea62 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -12,7 +12,7 @@ import { FeaturesetContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing FeaturesetContainers operations. */ export class FeaturesetContainersImpl implements FeaturesetContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturesetContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -461,7 +461,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body20, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -488,9 +488,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, 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 index 34c136474846..6ed491cd7e95 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -12,7 +12,7 @@ import { FeaturesetVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing FeaturesetVersions operations. */ export class FeaturesetVersionsImpl implements FeaturesetVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturesetVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -607,7 +607,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body21, + requestBody: Parameters.body20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -641,7 +641,7 @@ const backfillOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body22, + requestBody: Parameters.body21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -669,9 +669,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts index ee8a24d5d47d..589668f882f2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -12,7 +12,7 @@ import { FeaturestoreEntityContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class FeaturestoreEntityContainersImpl implements FeaturestoreEntityContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturestoreEntityContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -463,7 +463,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body23, + requestBody: Parameters.body22, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -490,9 +490,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, 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 index 1a0cdce0a1f0..9c40febb7fb3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -12,7 +12,7 @@ import { FeaturestoreEntityVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class FeaturestoreEntityVersionsImpl implements FeaturestoreEntityVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturestoreEntityVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -501,7 +501,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body24, + requestBody: Parameters.body23, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -529,9 +529,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index 1ab888709948..c3ac76b08f70 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -6,17 +6,10 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; -export * from "./workspaces"; export * from "./usages"; export * from "./virtualMachineSizes"; export * from "./quotas"; export * from "./computeOperations"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; -export * from "./workspaceConnections"; -export * from "./managedNetworkSettingsRule"; -export * from "./managedNetworkProvisions"; export * from "./registryCodeContainers"; export * from "./registryCodeVersions"; export * from "./registryComponentContainers"; @@ -54,3 +47,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index fa9150c51ea1..acbe1498a212 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -36,13 +36,13 @@ import { /// /** Class containing Jobs operations. */ export class JobsImpl implements Jobs { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Jobs class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -391,7 +391,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.listViewType, - Parameters.properties1, + Parameters.properties, Parameters.jobType, Parameters.tag, ], @@ -463,7 +463,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body25, + requestBody: Parameters.body24, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -513,9 +513,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts index 4f310ee8c1aa..14c3605eec11 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -10,7 +10,7 @@ import { ManagedNetworkProvisions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -24,20 +24,20 @@ import { /** Class containing ManagedNetworkProvisions operations. */ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ManagedNetworkProvisions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetwork( @@ -108,7 +108,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetworkAndWait( @@ -147,7 +147,7 @@ const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body51, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts index 217e8d5b55dd..fbeb3ea35dc7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -12,7 +12,7 @@ import { ManagedNetworkSettingsRule } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,20 +37,20 @@ import { export class ManagedNetworkSettingsRuleImpl implements ManagedNetworkSettingsRule { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ManagedNetworkSettingsRule class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -126,7 +126,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -143,7 +143,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -199,6 +199,7 @@ export class ManagedNetworkSettingsRuleImpl const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -207,7 +208,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -229,7 +230,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -248,7 +249,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -324,7 +325,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -350,7 +351,7 @@ export class ManagedNetworkSettingsRuleImpl /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -455,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body49, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts index 0b3ac054253d..5ecb1e4b22e7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts @@ -12,7 +12,7 @@ import { MarketplaceSubscriptions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -36,13 +36,13 @@ import { /// /** Class containing MarketplaceSubscriptions operations. */ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class MarketplaceSubscriptions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -469,7 +469,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body26, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -496,9 +496,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, 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 1b62e6f931ab..7742194c095e 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ModelContainer, ModelContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ModelContainers operations. */ export class ModelContainersImpl implements ModelContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -296,7 +296,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,9 +323,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index b95fa0d83639..10b89258995b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -12,7 +12,7 @@ import { ModelVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing ModelVersions operations. */ export class ModelVersionsImpl implements ModelVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -365,7 +365,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.offset, Parameters.feed, ], @@ -438,7 +438,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -464,7 +464,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -492,9 +492,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index 517b12f76610..98682be17b1b 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -46,13 +46,13 @@ import { /// /** Class containing OnlineDeployments operations. */ export class OnlineDeploymentsImpl implements OnlineDeployments { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class OnlineDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -823,7 +823,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body29, + requestBody: Parameters.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -857,7 +857,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body29, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +882,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body30, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -933,9 +933,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], @@ -955,9 +955,9 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, Parameters.deploymentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index faf9528d5ec9..661cdf82f35b 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing OnlineEndpoints operations. */ export class OnlineEndpointsImpl implements OnlineEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class OnlineEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -619,7 +619,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.count, Parameters.name2, Parameters.computeType, @@ -699,7 +699,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -732,7 +732,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body27, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +779,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -828,9 +828,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 6770e1c739a8..bfbf03f85930 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Operation, OperationsListOptionalParams, @@ -21,18 +21,18 @@ import { /// /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces 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 Workspaces 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 eae9b01889d7..590fbf8027bd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -11,16 +11,16 @@ import { PrivateEndpointConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// @@ -28,20 +28,20 @@ import { export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class PrivateEndpointConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -97,9 +97,9 @@ export class PrivateEndpointConnectionsImpl } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -114,19 +114,18 @@ export class PrivateEndpointConnectionsImpl } /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,60 +133,59 @@ export class PrivateEndpointConnectionsImpl privateEndpointConnectionName, options, }, - getOperationSpec, + deleteOperationSpec, ); } /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, - properties, options, }, - createOrUpdateOperationSpec, + getOperationSpec, ); } /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise { + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, + body, options, }, - deleteOperationSpec, + createOrUpdateOperationSpec, ); } } @@ -215,13 +213,12 @@ const listOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const getOperationSpec: coreClient.OperationSpec = { +const deleteOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "GET", + httpMethod: "DELETE", responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnection, - }, + 200: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -237,9 +234,9 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { +const getOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnection, @@ -248,7 +245,6 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -257,20 +253,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "DELETE", + httpMethod: "PUT", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.PrivateEndpointConnection, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body50, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -279,6 +276,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts index ee340e387393..b29f10fadac3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -6,35 +6,106 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; import { PrivateLinkResources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse, } from "../models"; +/// /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class PrivateLinkResources class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - list( + public list( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): 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?: PrivateLinkResourcesListOptionalParams, + _settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateLinkResourcesListResponse; + result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 3817e12372b9..d9c952ad3369 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ResourceQuota, QuotasListNextOptionalParams, @@ -27,13 +27,13 @@ import { /// /** Class containing Quotas operations. */ export class QuotasImpl implements Quotas { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Quotas class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -158,7 +158,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -203,8 +203,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts new file mode 100644 index 000000000000..29c23e6160f4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts @@ -0,0 +1,216 @@ +/* + * 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 { RaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListNextOptionalParams, + RaiPoliciesListOptionalParams, + RaiPoliciesListResponse, + RaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing RaiPolicies operations. */ +export class RaiPoliciesImpl implements RaiPolicies { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class RaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + 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, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: RaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, 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}/endpoints/{endpointName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts new file mode 100644 index 000000000000..5cf49a54467f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts @@ -0,0 +1,378 @@ +/* + * 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 { RaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Class containing RaiPolicy operations. */ +export class RaiPolicyImpl implements RaiPolicy { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class RaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body46, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts index 5ca82fb9f095..cddcc0243534 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -12,7 +12,7 @@ import { Registries } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing Registries operations. */ export class RegistriesImpl implements Registries { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Registries class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -631,7 +631,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body35, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +663,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +695,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -740,8 +740,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts index 88006db3971c..6f85942e4938 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -12,7 +12,7 @@ import { RegistryCodeContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryCodeContainers operations. */ export class RegistryCodeContainersImpl implements RegistryCodeContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryCodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -452,7 +452,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -479,8 +479,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts index a2f5469d6eb3..8a9b700f4a8d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -12,7 +12,7 @@ import { RegistryCodeVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryCodeVersions operations. */ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryCodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -526,7 +526,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -551,7 +551,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -579,8 +579,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.codeName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts index 14c3eae5d7eb..2fbb3909e183 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -12,7 +12,7 @@ import { RegistryComponentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryComponentContainersImpl implements RegistryComponentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -454,7 +454,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -481,8 +481,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts index 164c583c6200..6c2934c8fef0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -12,7 +12,7 @@ import { RegistryComponentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryComponentVersionsImpl implements RegistryComponentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -508,7 +508,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -536,8 +536,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.componentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts index 1d31306aefe4..a61aa808bfb2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -12,7 +12,7 @@ import { RegistryDataContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryDataContainers operations. */ export class RegistryDataContainersImpl implements RegistryDataContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +483,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts index 8e801a03b2da..0e2b782c3bf9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts @@ -10,7 +10,7 @@ import { RegistryDataReferences } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { GetBlobReferenceSASRequestDto, RegistryDataReferencesGetBlobReferenceSASOptionalParams, @@ -19,13 +19,13 @@ import { /** Class containing RegistryDataReferences operations. */ export class RegistryDataReferencesImpl implements RegistryDataReferences { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataReferences class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -66,7 +66,7 @@ const getBlobReferenceSASOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body9, + requestBody: Parameters.body7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts index c376ffeb3f60..968f00e44eb6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -12,7 +12,7 @@ import { RegistryDataVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryDataVersions operations. */ export class RegistryDataVersionsImpl implements RegistryDataVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -516,7 +516,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -541,7 +541,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -569,8 +569,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.name, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts index 8fd75f579068..08ed705455e8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -12,7 +12,7 @@ import { RegistryEnvironmentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryEnvironmentContainersImpl implements RegistryEnvironmentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryEnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -458,7 +458,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,8 +485,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts index ccac2d11593b..6bfa0a153a72 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -12,7 +12,7 @@ import { RegistryEnvironmentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryEnvironmentVersionsImpl implements RegistryEnvironmentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryEnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -509,7 +509,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -537,8 +537,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.environmentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts index 289cb024f2eb..7810c5bdaf1d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -12,7 +12,7 @@ import { RegistryModelContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryModelContainers operations. */ export class RegistryModelContainersImpl implements RegistryModelContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +483,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts index 056c4d67d973..7d57b3e1f2ef 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -12,7 +12,7 @@ import { RegistryModelVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryModelVersions operations. */ export class RegistryModelVersionsImpl implements RegistryModelVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -452,7 +452,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, ], urlParameters: [ Parameters.$host, @@ -531,7 +531,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -556,7 +556,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -584,8 +584,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.modelName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts index 7881737890c3..68be6d8b8857 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing Schedules operations. */ export class SchedulesImpl implements Schedules { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Schedules class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body32, + requestBody: Parameters.body31, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts index d49a37cb2c8c..d817764468d3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts @@ -12,7 +12,7 @@ import { ServerlessEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing ServerlessEndpoints operations. */ export class ServerlessEndpointsImpl implements ServerlessEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ServerlessEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -695,7 +695,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body33, + requestBody: Parameters.body32, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +728,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body33, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +783,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -810,9 +810,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index 88f89c303dbd..126619aba67a 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Usage, UsagesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing Usages operations. */ export class UsagesImpl implements Usages { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Usages class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -163,8 +163,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index a837b74743f4..4942a45848a9 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { VirtualMachineSizesListOptionalParams, VirtualMachineSizesListResponse, @@ -18,13 +18,13 @@ import { /** Class containing VirtualMachineSizes operations. */ export class VirtualMachineSizesImpl implements VirtualMachineSizes { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class VirtualMachineSizes class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index 62fbf5ade938..f859e7057dd8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -12,38 +12,49 @@ import { WorkspaceConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, WorkspaceConnectionsListOptionalParams, WorkspaceConnectionsListResponse, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, WorkspaceConnectionsListNextResponse, } from "../models"; /// /** Class containing WorkspaceConnections operations. */ export class WorkspaceConnectionsImpl implements WorkspaceConnections { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class WorkspaceConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -117,28 +128,45 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceConnectionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete machine learning workspaces connections by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise { + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, connectionName, parameters, options }, - createOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + deleteOperationSpec, ); } /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -155,43 +183,47 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise { + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, options }, - deleteOperationSpec, + updateOperationSpec, ); } /** + * Create or update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - private _list( + create( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams, - ): Promise { + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + createOperationSpec, ); } /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -207,10 +239,105 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { ); } + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, connectionName, options }, + spec: testConnectionOperationSpec, + }); + const poller = await createHttpPoller< + WorkspaceConnectionsTestConnectionResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise { + const poller = await this.beginTestConnection( + resourceGroupName, + workspaceName, + connectionName, + 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 workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -229,18 +356,43 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const createOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "PUT", +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + bodyMapper: + Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters6, + queryParameters: [ + Parameters.apiVersion, + Parameters.target, + Parameters.category, + Parameters.includeAll, + ], + 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}/connections/{connectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -249,8 +401,7 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const getOperationSpec: coreClient.OperationSpec = { @@ -275,16 +426,18 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "DELETE", + httpMethod: "PATCH", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body39, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -293,33 +446,32 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; -const listOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", - httpMethod: "GET", +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.target, - Parameters.category, - ], + requestBody: Parameters.body40, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listSecretsOperationSpec: coreClient.OperationSpec = { @@ -344,6 +496,39 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const testConnectionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/testconnection", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 201: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 202: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 204: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body40, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -359,9 +544,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index 0eed26da9c95..a1ae1e0c04f0 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { AmlUserFeature, WorkspaceFeaturesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing WorkspaceFeatures operations. */ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class WorkspaceFeatures class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -184,9 +184,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts index d6a49f9eb2e3..8c86a70b21d5 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 { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -21,62 +21,60 @@ import { import { createLroSpec } from "../lroImpl"; import { Workspace, - WorkspacesListByResourceGroupNextOptionalParams, - WorkspacesListByResourceGroupOptionalParams, - WorkspacesListByResourceGroupResponse, WorkspacesListBySubscriptionNextOptionalParams, WorkspacesListBySubscriptionOptionalParams, WorkspacesListBySubscriptionResponse, + WorkspacesListByResourceGroupNextOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesListByResourceGroupResponse, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, - WorkspacesListByResourceGroupNextResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, WorkspacesListBySubscriptionNextResponse, + WorkspacesListByResourceGroupNextResponse, } from "../models"; /// /** Class containing Workspaces operations. */ export class WorkspacesImpl implements Workspaces { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Workspaces class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + public listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -88,35 +86,26 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings, - ); + return this.listBySubscriptionPagingPage(options, settings); }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingPage( + options?: WorkspacesListBySubscriptionOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListByResourceGroupResponse; + let result: WorkspacesListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -124,26 +113,24 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingAll( + options?: WorkspacesListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options, - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the available machine learning workspaces under the specified resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, + public listByResourceGroup( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -155,26 +142,35 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); }, }; } - private async *listBySubscriptionPagingPage( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListBySubscriptionResponse; + let result: WorkspacesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -182,129 +178,50 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listBySubscriptionPagingAll( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } /** - * Gets the properties of the specified machine learning workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise { + private _listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - getOperationSpec, + { options }, + listBySubscriptionOperationSpec, ); } /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - async beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperationFn = 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 = createLroSpec({ - sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, - spec: createOrUpdateOperationSpec, - }); - const poller = await createHttpPoller< - WorkspacesCreateOrUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - }); - await poller.poll(); - return poller; - } - - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginCreateOrUpdateAndWait( + private _listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - workspaceName, - parameters, - options, + options?: WorkspacesListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, ); - return poller.pollUntilDone(); } /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDelete( @@ -358,6 +275,7 @@ export class WorkspacesImpl implements Workspaces { const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -366,7 +284,7 @@ export class WorkspacesImpl implements Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDeleteAndWait( @@ -382,17 +300,34 @@ export class WorkspacesImpl implements Workspaces { return poller.pollUntilDone(); } + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getOperationSpec, + ); + } + /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -440,7 +375,7 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, + args: { resourceGroupName, workspaceName, body, options }, spec: updateOperationSpec, }); const poller = await createHttpPoller< @@ -457,60 +392,47 @@ export class WorkspacesImpl implements Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, - parameters, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec, - ); - } - - /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnose( + async beginCreateOrUpdate( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse + OperationState, + WorkspacesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -547,13 +469,13 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, options }, - spec: diagnoseOperationSpec, + args: { resourceGroupName, workspaceName, body, options }, + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< - WorkspacesDiagnoseResponse, - OperationState - >(lro, { + WorkspacesCreateOrUpdateResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, resourceLocationConfig: "location", @@ -563,58 +485,47 @@ export class WorkspacesImpl implements Workspaces { } /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnoseAndWait( + async beginCreateOrUpdateAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, - ): Promise { - const poller = await this.beginDiagnose( + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry - * @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. - */ - listKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listKeysOperationSpec, - ); - } - - /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeys( + async beginDiagnose( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>> { + options?: WorkspacesDiagnoseOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesDiagnoseResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -652,29 +563,32 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, workspaceName, options }, - spec: resyncKeysOperationSpec, + spec: diagnoseOperationSpec, }); - const poller = await createHttpPoller>(lro, { + const poller = await createHttpPoller< + WorkspacesDiagnoseResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeysAndWait( + async beginDiagnoseAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise { - const poller = await this.beginResyncKeys( + options?: WorkspacesDiagnoseOptionalParams, + ): Promise { + const poller = await this.beginDiagnose( resourceGroupName, workspaceName, options, @@ -683,22 +597,27 @@ export class WorkspacesImpl implements Workspaces { } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the keys associated with this workspace. This includes keys for the storage account, app + * insights and password for container registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - private _listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, - ): Promise { + listKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListKeysOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, + { resourceGroupName, workspaceName, options }, + listKeysOperationSpec, ); } /** - * return notebook access token and refresh token + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listNotebookAccessToken( @@ -713,9 +632,61 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Lists keys of Azure Machine Learning Workspaces notebook. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listNotebookKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listNotebookKeysOperationSpec, + ); + } + + /** + * Lists keys of Azure Machine Learning Workspace's storage account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listStorageAccountKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listStorageAccountKeysOperationSpec, + ); + } + + /** + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOutboundNetworkDependenciesEndpointsOperationSpec, + ); + } + + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebook( @@ -784,9 +755,9 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebookAndWait( @@ -803,54 +774,101 @@ export class WorkspacesImpl implements Workspaces { } /** - * List storage account keys of a workspace. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listStorageAccountKeys( + async beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listStorageAccountKeysOperationSpec, - ); + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = 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 = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: resyncKeysOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; } /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + async beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listNotebookKeysOperationSpec, + options?: WorkspacesResyncKeysOptionalParams, + ): Promise { + const poller = await this.beginResyncKeys( + resourceGroupName, + workspaceName, + options, ); + return poller.pollUntilDone(); } /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: WorkspacesListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOutboundNetworkDependenciesEndpointsOperationSpec, + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } @@ -870,76 +888,54 @@ export class WorkspacesImpl implements Workspaces { listByResourceGroupNextOperationSpec, ); } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: WorkspacesListBySubscriptionNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec, - ); - } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const getOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, ], + urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", - httpMethod: "PUT", +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, - }, - 201: { - bodyMapper: Mappers.Workspace, - }, - 202: { - bodyMapper: Mappers.Workspace, - }, - 204: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { @@ -964,6 +960,27 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Workspace, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "PATCH", @@ -984,7 +1001,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -996,24 +1013,36 @@ const updateOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.Workspace, + }, + 201: { + bodyMapper: Mappers.Workspace, + }, + 202: { + bodyMapper: Mappers.Workspace, + }, + 204: { + bodyMapper: Mappers.Workspace, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], + requestBody: Parameters.body37, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, + Parameters.workspaceName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const diagnoseOperationSpec: coreClient.OperationSpec = { @@ -1036,7 +1065,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.body38, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1069,14 +1098,13 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const resyncKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", +const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", httpMethod: "POST", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.NotebookAccessTokenResult, + }, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1091,28 +1119,33 @@ const resyncKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const listNotebookKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.ListNotebookKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], - urlParameters: [Parameters.$host, Parameters.subscriptionId], + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], headerParameters: [Parameters.accept], serializer, }; -const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", +const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NotebookAccessTokenResult, + bodyMapper: Mappers.ListStorageAccountKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -1128,6 +1161,28 @@ const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExternalFqdnResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const prepareNotebookOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", httpMethod: "POST", @@ -1158,34 +1213,14 @@ const prepareNotebookOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ListStorageAccountKeysResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listNotebookKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", +const resyncKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", httpMethod: "POST", responses: { - 200: { - bodyMapper: Mappers.ListNotebookKeysResult, - }, + 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1200,29 +1235,7 @@ const listNotebookKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = - { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ExternalFqdnResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, - }; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1236,13 +1249,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1257,6 +1269,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 46ba330822d6..90ca448fae7c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -22,11 +22,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, } from "../models"; /// @@ -178,6 +189,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. @@ -191,6 +217,21 @@ export interface ComputeOperations { computeName: string, options?: ComputeListKeysOptionalParams, ): Promise; + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise; /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -269,4 +310,67 @@ 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; + /** + * Returns supported virtual machine sizes for resize + * @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 options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise; + /** + * Updates the size 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 VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + >; + /** + * Updates the size 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 VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts new file mode 100644 index 000000000000..a5456f2441a1 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts @@ -0,0 +1,155 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsOptionalParams, + EndpointModelProperties, + ConnectionGetModelsOptionalParams, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionGetAllModelsOptionalParams, + ConnectionGetAllModelsResponse, +} from "../models"; + +/// +/** Interface representing a Connection. */ +export interface Connection { + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + >; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise; + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + >; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise; + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + getAllModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionGetAllModelsOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..ac74344d4901 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts @@ -0,0 +1,111 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklist. */ +export interface ConnectionRaiBlocklist { + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + >; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..cedd2161d6f0 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts @@ -0,0 +1,206 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteBulkResponse, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklistItem. */ +export interface ConnectionRaiBlocklistItem { + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + >; + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteBulkResponse + > + >; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + >; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..972c441a8718 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts @@ -0,0 +1,33 @@ +/* + * 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 { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklistItems. */ +export interface ConnectionRaiBlocklistItems { + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..d5fdc727c307 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts @@ -0,0 +1,31 @@ +/* + * 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 { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklists. */ +export interface ConnectionRaiBlocklists { + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts new file mode 100644 index 000000000000..2c83e624b7c9 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts @@ -0,0 +1,31 @@ +/* + * 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 { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiPolicies. */ +export interface ConnectionRaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts new file mode 100644 index 000000000000..c009a4102515 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts @@ -0,0 +1,111 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiPolicy. */ +export interface ConnectionRaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts new file mode 100644 index 000000000000..dd8e562e5d39 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a EndpointDeployment. */ +export interface EndpointDeployment { + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + >; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise; + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts new file mode 100644 index 000000000000..5d18f0d9a7bb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts @@ -0,0 +1,130 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListOptionalParams, + EndpointModelProperties, + EndpointGetModelsOptionalParams, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, +} from "../models"; + +/// +/** Interface representing a EndpointOperations. */ +export interface EndpointOperations { + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise; + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise; + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 1ab888709948..c3ac76b08f70 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -6,17 +6,10 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; -export * from "./workspaces"; export * from "./usages"; export * from "./virtualMachineSizes"; export * from "./quotas"; export * from "./computeOperations"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; -export * from "./workspaceConnections"; -export * from "./managedNetworkSettingsRule"; -export * from "./managedNetworkProvisions"; export * from "./registryCodeContainers"; export * from "./registryCodeVersions"; export * from "./registryComponentContainers"; @@ -54,3 +47,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts index ce0b0ccc93f6..b7b10226a733 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts @@ -17,7 +17,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetwork( @@ -33,7 +33,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetworkAndWait( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts index 4cf42f0f3a6e..47c9d5d0365a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts @@ -24,7 +24,7 @@ export interface ManagedNetworkSettingsRule { /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -35,7 +35,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -48,7 +48,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -61,7 +61,7 @@ export interface ManagedNetworkSettingsRule { /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -74,7 +74,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -95,7 +95,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index 3f7a0879a045..b2389fdf7d2e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -13,7 +13,7 @@ import { Operation, 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 Workspaces REST API operations * @param options The options parameters. */ list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts index 6dbdbda8ffa6..821a34bb1cbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts @@ -10,20 +10,20 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// /** Interface representing a PrivateEndpointConnections. */ export interface PrivateEndpointConnections { /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -32,47 +32,45 @@ export interface PrivateEndpointConnections { options?: PrivateEndpointConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise; /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise; /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise; + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts index 5be795d4659d..b544a862c207 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts @@ -6,22 +6,29 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse, } from "../models"; +/// /** Interface representing a PrivateLinkResources. */ export interface PrivateLinkResources { /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, - ): Promise; + ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts new file mode 100644 index 000000000000..2e974885b28f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts @@ -0,0 +1,31 @@ +/* + * 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 { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a RaiPolicies. */ +export interface RaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts new file mode 100644 index 000000000000..110a796143a4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts @@ -0,0 +1,111 @@ +/* + * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a RaiPolicy. */ +export interface RaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index a0dbe0ddd6ca..65cfa39a15ba 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -7,24 +7,30 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListOptionalParams, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, } from "../models"; /// /** Interface representing a WorkspaceConnections. */ export interface WorkspaceConnections { /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -33,22 +39,22 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** + * Delete machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise; + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise; /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -59,21 +65,35 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsGetOptionalParams, ): Promise; /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise; + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise; + /** + * Create or update machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + create( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise; /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -83,4 +103,35 @@ export interface WorkspaceConnections { connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams, ): Promise; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + >; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts index e0e9dbaf128a..c26c0791b0f1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -10,45 +10,36 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Workspace, - WorkspacesListByResourceGroupOptionalParams, WorkspacesListBySubscriptionOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, } from "../models"; /// /** Interface representing a Workspaces. */ export interface Workspaces { - /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): PagedAsyncIterableIterator; /** * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. @@ -57,51 +48,18 @@ export interface Workspaces { options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the properties of the specified machine learning 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. - */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise; - /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - >; - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - beginCreateOrUpdateAndWait( + listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise; + options?: WorkspacesListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator; /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDelete( @@ -112,7 +70,7 @@ export interface Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDeleteAndWait( @@ -120,17 +78,28 @@ export interface Workspaces { workspaceName: string, options?: WorkspacesDeleteOptionalParams, ): Promise; + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise; /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -141,20 +110,51 @@ export interface Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesCreateOrUpdateResponse + > + >; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise; /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnose( @@ -170,7 +170,7 @@ export interface Workspaces { /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnoseAndWait( @@ -180,9 +180,9 @@ export interface Workspaces { ): Promise; /** * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * insights and password for container registry. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listKeys( @@ -191,44 +191,54 @@ export interface Workspaces { options?: WorkspacesListKeysOptionalParams, ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeys( + listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>>; + options?: WorkspacesListNotebookAccessTokenOptionalParams, + ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Lists keys of Azure Machine Learning Workspaces notebook. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeysAndWait( + listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise; + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise; /** - * return notebook access token and refresh token + * Lists keys of Azure Machine Learning Workspace's storage account. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookAccessToken( + listStorageAccountKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams, - ): Promise; + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise; /** - * Prepare a notebook. + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise; + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebook( @@ -242,9 +252,9 @@ export interface Workspaces { > >; /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebookAndWait( @@ -253,37 +263,27 @@ export interface Workspaces { options?: WorkspacesPrepareNotebookOptionalParams, ): Promise; /** - * List storage account keys of a 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. - */ - listStorageAccountKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise; - /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>>; /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( + beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * 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 { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); 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"