From a923ed84e85fe70625eea9987ca4ec50945bfff0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 9 Dec 2024 19:22:23 +0000 Subject: [PATCH] CodeGen from PR 31551 in Azure/azure-rest-api-specs Merge ef107361d574f45562b221523105f024fe09c39c into 1bbb8f628f6e3083b73a2190e15bb0f5911571a3 --- .../arm-machinelearning/CHANGELOG.md | 23 + .../arm-machinelearning/README.md | 1 - .../arm-machinelearning/_meta.json | 8 +- .../arm-machinelearning/package.json | 66 +- .../review/arm-machinelearning.api.md | 46 +- .../arm-machinelearning/sample.env | 5 +- ...MachineLearningServicesManagementClient.ts | 60 +- .../arm-machinelearning/src/models/index.ts | 10566 +++++++------- .../arm-machinelearning/src/models/mappers.ts | 11556 ++++++++-------- .../src/models/parameters.ts | 369 +- .../src/operations/batchDeployments.ts | 6 +- .../src/operations/batchEndpoints.ts | 6 +- .../src/operations/codeContainers.ts | 4 +- .../src/operations/codeVersions.ts | 8 +- .../src/operations/componentContainers.ts | 4 +- .../src/operations/componentVersions.ts | 6 +- .../src/operations/computeOperations.ts | 8 +- .../src/operations/dataContainers.ts | 4 +- .../src/operations/dataVersions.ts | 6 +- .../src/operations/datastores.ts | 4 +- .../src/operations/environmentContainers.ts | 4 +- .../src/operations/environmentVersions.ts | 6 +- .../src/operations/features.ts | 2 +- .../src/operations/featuresetContainers.ts | 4 +- .../src/operations/featuresetVersions.ts | 6 +- .../featurestoreEntityContainers.ts | 4 +- .../operations/featurestoreEntityVersions.ts | 4 +- .../src/operations/index.ts | 14 +- .../src/operations/jobs.ts | 6 +- .../operations/managedNetworkProvisions.ts | 2 +- .../operations/managedNetworkSettingsRule.ts | 4 +- .../operations/marketplaceSubscriptions.ts | 4 +- .../src/operations/modelContainers.ts | 4 +- .../src/operations/modelVersions.ts | 8 +- .../src/operations/onlineDeployments.ts | 10 +- .../src/operations/onlineEndpoints.ts | 10 +- .../operations/privateEndpointConnections.ts | 2 +- .../src/operations/quotas.ts | 4 +- .../src/operations/registries.ts | 8 +- .../src/operations/registryCodeContainers.ts | 4 +- .../src/operations/registryCodeVersions.ts | 6 +- .../operations/registryComponentContainers.ts | 4 +- .../operations/registryComponentVersions.ts | 4 +- .../src/operations/registryDataContainers.ts | 4 +- .../src/operations/registryDataReferences.ts | 2 +- .../src/operations/registryDataVersions.ts | 6 +- .../registryEnvironmentContainers.ts | 4 +- .../operations/registryEnvironmentVersions.ts | 4 +- .../src/operations/registryModelContainers.ts | 4 +- .../src/operations/registryModelVersions.ts | 8 +- .../src/operations/schedules.ts | 4 +- .../src/operations/serverlessEndpoints.ts | 8 +- .../src/operations/usages.ts | 2 +- .../src/operations/workspaceConnections.ts | 48 +- .../src/operations/workspaceFeatures.ts | 2 +- .../src/operations/workspaces.ts | 9 +- .../src/operationsInterfaces/index.ts | 14 +- .../workspaceConnections.ts | 15 + .../arm-machinelearning/test/sampleTest.ts | 43 + .../arm-machinelearning/tsconfig.json | 12 +- 60 files changed, 11629 insertions(+), 11440 deletions(-) create mode 100644 sdk/machinelearning/arm-machinelearning/test/sampleTest.ts diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 96e82c8c169c..17880f44411f 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,28 @@ # Release History +## 4.0.0 (2024-12-09) + +### Features Added + + - Added operation WorkspaceConnections.update + - Added Interface WorkspaceConnectionsUpdateOptionalParams + - Added Interface WorkspaceConnectionUpdateParameter + - Added Interface WorkspacesDeleteHeaders + - Added Type Alias FirewallSku + - Added Type Alias WorkspaceConnectionsUpdateResponse + - Interface ManagedNetworkSettings has a new optional parameter firewallSku + - Interface WorkspaceConnectionsListOptionalParams has a new optional parameter includeAll + - Added Enum KnownFirewallSku + - Enum KnownConnectionCategory has a new value Elasticsearch + - Enum KnownConnectionCategory has a new value ManagedOnlineEndpoint + - Enum KnownConnectionCategory has a new value Pinecone + +### Breaking Changes + + - Interface AcrDetails no longer has parameter userCreatedAcrAccount + - Interface StorageAccountDetails no longer has parameter userCreatedStorageAccount + + ## 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..fea23650abf1 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -44,7 +44,6 @@ 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). -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). diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 857e6795e82d..41dbf12d36b0 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "0df438c6151097d36d7974fcc5770de670fc383c", "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.16", + "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 39b61c339726..5f851111936a 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -3,16 +3,16 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "version": "4.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.6.0", - "@azure/core-client": "^1.7.0", "@azure/core-lro": "^2.5.4", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, @@ -28,19 +28,19 @@ "module": "./dist-esm/src/index.js", "types": "./types/arm-machinelearning.d.ts", "devDependencies": { - "@azure-tools/test-credential": "^1.1.0", - "@azure-tools/test-recorder": "^3.0.0", - "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", - "@types/node": "^18.0.0", - "chai": "^4.2.0", + "typescript": "~5.6.2", "dotenv": "^16.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/identity": "^4.2.1", + "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", - "ts-node": "^10.0.0", + "@types/mocha": "^10.0.0", "tsx": "^4.7.1", - "typescript": "~5.6.2" + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "@types/node": "^18.0.0", + "ts-node": "^10.0.0" }, "repository": { "type": "git", @@ -68,28 +68,28 @@ ], "scripts": { "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api", - "build:browser": "echo skipped", + "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", + "pack": "npm pack 2>&1", + "extract-api": "dev-tool run extract-api", + "lint": "echo skipped", + "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", - "build:samples": "echo skipped.", + "build:browser": "echo skipped", "build:test": "echo skipped", + "build:samples": "echo skipped.", "check-format": "echo skipped", - "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", - "extract-api": "dev-tool run extract-api", "format": "echo skipped", - "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "echo skipped", - "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "lint": "echo skipped", - "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "pack": "npm pack 2>&1", - "prepack": "npm run build", "test": "npm run integration-test", - "test:browser": "echo skipped", "test:node": "echo skipped", + "test:browser": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "echo skipped", "unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node", + "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped", "update-snippets": "echo skipped" }, "sideEffects": false, @@ -102,13 +102,5 @@ ] }, "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..1f1e9be70995 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -44,7 +44,6 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { // @public export interface AcrDetails { systemCreatedAcrAccount?: SystemCreatedAcrAccount; - userCreatedAcrAccount?: UserCreatedAcrAccount; } // @public @@ -2925,6 +2924,9 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +// @public +export type FirewallSku = string; + // @public export interface FixedInputData extends MonitoringInputDataBase { inputDataType: "Fixed"; @@ -3771,6 +3773,7 @@ export enum KnownConnectionCategory { Dynamics = "Dynamics", DynamicsAx = "DynamicsAx", DynamicsCrm = "DynamicsCrm", + Elasticsearch = "Elasticsearch", Eloqua = "Eloqua", FileServer = "FileServer", FtpServer = "FtpServer", @@ -3790,6 +3793,7 @@ export enum KnownConnectionCategory { Informix = "Informix", Jira = "Jira", Magento = "Magento", + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", MariaDb = "MariaDb", Marketo = "Marketo", MicrosoftAccess = "MicrosoftAccess", @@ -3806,6 +3810,7 @@ export enum KnownConnectionCategory { OracleServiceCloud = "OracleServiceCloud", PayPal = "PayPal", Phoenix = "Phoenix", + Pinecone = "Pinecone", PostgreSql = "PostgreSql", Presto = "Presto", PythonFeed = "PythonFeed", @@ -4048,6 +4053,12 @@ export enum KnownFeaturizationMode { Off = "Off" } +// @public +export enum KnownFirewallSku { + Basic = "Basic", + Standard = "Standard" +} + // @public export enum KnownForecastHorizonMode { Auto = "Auto", @@ -5067,6 +5078,7 @@ export interface ManagedNetworkProvisionStatus { // @public export interface ManagedNetworkSettings { + firewallSku?: FirewallSku; isolationMode?: IsolationMode; readonly networkId?: string; outboundRules?: { @@ -7994,7 +8006,6 @@ export type StochasticOptimizer = string; // @public export interface StorageAccountDetails { systemCreatedStorageAccount?: SystemCreatedStorageAccount; - userCreatedStorageAccount?: UserCreatedStorageAccount; } // @public @@ -8354,16 +8365,6 @@ export interface UserAssignedIdentity { readonly principalId?: string; } -// @public (undocumented) -export interface UserCreatedAcrAccount { - armResourceId?: ArmResourceId; -} - -// @public (undocumented) -export interface UserCreatedStorageAccount { - armResourceId?: ArmResourceId; -} - // @public export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; @@ -8648,6 +8649,7 @@ export interface WorkspaceConnections { // (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 @@ -8694,6 +8696,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties // @public export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { category?: string; + includeAll?: boolean; target?: string; } @@ -8707,6 +8710,19 @@ export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClien // @public export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; +// @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) @@ -8788,6 +8804,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; diff --git a/sdk/machinelearning/arm-machinelearning/sample.env b/sdk/machinelearning/arm-machinelearning/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/machinelearning/arm-machinelearning/sample.env +++ b/sdk/machinelearning/arm-machinelearning/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts index c23752c7fa1d..eb1c0d6ca355 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.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,19 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + WorkspaceConnectionsImpl, + ManagedNetworkSettingsRuleImpl, + ManagedNetworkProvisionsImpl, } from "./operations"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -113,6 +106,13 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + PrivateEndpointConnections, + PrivateLinkResources, + WorkspaceConnections, + ManagedNetworkSettingsRule, + ManagedNetworkProvisions, } from "./operationsInterfaces"; import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models"; @@ -149,7 +149,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser credential: credentials, }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/4.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -203,18 +203,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"; 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 +253,13 @@ 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.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.addCustomApiVersionPolicy(options.apiVersion); } @@ -291,17 +291,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 +332,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser serverlessEndpoints: ServerlessEndpoints; registries: Registries; workspaceFeatures: WorkspaceFeatures; + operations: Operations; + workspaces: Workspaces; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; + workspaceConnections: WorkspaceConnections; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + managedNetworkProvisions: ManagedNetworkProvisions; } diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..b36816c24027 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,25 @@ export type ScheduleActionBaseUnion = | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; +export type OutboundRuleUnion = + | OutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule + | FqdnOutboundRule; +export type WorkspaceConnectionPropertiesV2Union = + | WorkspaceConnectionPropertiesV2 + | PATAuthTypeWorkspaceConnectionProperties + | SASAuthTypeWorkspaceConnectionProperties + | UsernamePasswordAuthTypeWorkspaceConnectionProperties + | NoneAuthTypeWorkspaceConnectionProperties + | ManagedIdentityAuthTypeWorkspaceConnectionProperties + | AADAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | AccountKeyAuthTypeWorkspaceConnectionProperties + | ApiKeyAuthWorkspaceConnectionProperties + | CustomKeysWorkspaceConnectionProperties + | OAuth2AuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties; export type MonitoringFeatureFilterBaseUnion = | MonitoringFeatureFilterBase | AllFeatures @@ -104,6 +104,14 @@ export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -125,14 +133,6 @@ export type JobInputUnion = | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations @@ -174,6 +174,9 @@ export type DistributionConfigurationUnion = | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,9 +184,6 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData @@ -218,68 +218,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,2841 +334,2736 @@ 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; -} - -/** 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; + 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[]; } -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; -} - -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; +/** 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 NotebookResourceInfo { - fqdn?: string; - /** the data plane resourceId that used to initialize notebook component */ - resourceId?: string; - /** The error that occurs when preparing notebook. */ - notebookPreparationError?: NotebookPreparationError; +/** 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 NotebookPreparationError { - errorMessage?: string; - statusCode?: number; +/** Quota update parameters. */ +export interface QuotaUpdateParameters { + /** The list for update quota. */ + value?: QuotaBaseProperties[]; + /** Region of workspace quota to be updated. */ + location?: string; } -export interface ServiceManagedResourcesSettings { - /** The settings for the service managed cosmosdb account. */ - cosmosDb?: CosmosDbSettings; +/** 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 CosmosDbSettings { - /** The throughput of the collections in cosmosdb database */ - collectionsThroughput?: number; +/** 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; } -/** 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; +/** 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; + /** + * Specifies the resource type. + * 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; + /** + * 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; + /** Status of update workspace quota. */ + status?: Status; } -/** 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; +/** 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; } -/** 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; +/** 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. + */ + readonly id?: string; + /** + * Region of the AML workspace in the id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly amlWorkspaceLocation?: string; + /** + * Specifies the resource type. + * 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; } -/** Settings for feature store type workspace. */ -export interface FeatureStoreSettings { - /** Compute runtime config for feature store type workspace. */ - computeRuntime?: ComputeRuntimeDto; - offlineStoreConnectionName?: string; - onlineStoreConnectionName?: string; +/** 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. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } -/** Compute runtime config for feature store type workspace. */ -export interface ComputeRuntimeDto { - sparkRuntimeVersion?: string; +/** 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; } -/** WorkspaceHub's configuration object. */ -export interface WorkspaceHubConfig { - additionalWorkspaceStorageAccounts?: string[]; - defaultWorkspaceResourceGroup?: string; +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { + /** + * 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 principalId?: string; + /** + * 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 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 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; +/** User assigned identity properties */ +export interface UserAssignedIdentity { + /** + * The principal ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The client ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clientId?: string; } -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; +/** 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; } -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 }; +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { + /** + * 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; + /** + * The name of the resource + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * 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; + /** + * 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 systemData?: SystemData; } -export interface DiagnoseResponseResult { - value?: DiagnoseResponseResultValue; +/** 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 DiagnoseResponseResultValue { - userDefinedRouteResults?: DiagnoseResult[]; - networkSecurityRuleResults?: DiagnoseResult[]; - resourceLockResults?: DiagnoseResult[]; - dnsResolutionResults?: DiagnoseResult[]; - storageAccountResults?: DiagnoseResult[]; - keyVaultResults?: DiagnoseResult[]; - containerRegistryResults?: DiagnoseResult[]; - applicationInsightsResults?: DiagnoseResult[]; - otherResults?: DiagnoseResult[]; +export interface ComputeResourceSchema { + /** Compute properties */ + properties?: ComputeUnion; } -/** Result of Diagnose */ -export interface DiagnoseResult { +/** Machine Learning compute object. */ +export interface Compute { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: + | "AKS" + | "Kubernetes" + | "AmlCompute" + | "ComputeInstance" + | "VirtualMachine" + | "HDInsight" + | "DataFactory" + | "Databricks" + | "DataLakeAnalytics" + | "SynapseSpark"; + /** Location for the underlying compute */ + computeLocation?: string; /** - * Code for workspace setup error + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly code?: string; + readonly provisioningState?: ProvisioningState; + /** The description of the Machine Learning compute. */ + description?: string; /** - * Level of workspace setup error + * The time at which the compute was created. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly level?: DiagnoseResultLevel; + readonly createdOn?: Date; /** - * Message of workspace setup error + * The time at which the compute was last modified. * 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; + readonly modifiedOn?: Date; + /** ARM resource id of the underlying compute */ + resourceId?: string; + /** + * Errors during provisioning + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningErrors?: ErrorResponse[]; + /** + * Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isAttachedCompute?: boolean; + /** Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. */ + disableLocalAuth?: boolean; } -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[]; +/** AmlCompute update parameters. */ +export interface ClusterUpdateParameters { + /** Properties of ClusterUpdate */ + properties?: ScaleSettingsInformation; } -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; +/** Desired scale settings for the amlCompute. */ +export interface ScaleSettingsInformation { + /** scale settings for AML Compute */ + scaleSettings?: ScaleSettings; } -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; +/** scale settings for AML Compute */ +export interface ScaleSettings { + /** Max number of nodes to use */ + maxNodeCount: number; + /** Min number of nodes to use */ + minNodeCount?: number; + /** Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format. */ + nodeIdleTimeBeforeScaleDown?: string; } -/** The List Usages operation response. */ -export interface ListUsagesResult { +/** Result of AmlCompute Nodes */ +export interface AmlComputeNodesInformation { /** - * The list of AML resource usages. + * The collection of returned AmlCompute nodes details. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Usage[]; + readonly nodes?: AmlComputeNodeInformation[]; /** - * 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 continuation token. * 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 { - /** - * Specifies the resource ID. - * 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly amlWorkspaceLocation?: string; - /** - * Specifies the resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; +/** Compute node information related to a AmlCompute. */ +export interface AmlComputeNodeInformation { /** - * An enum describing the unit of usage measurement. + * ID of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: UsageUnit; + readonly nodeId?: string; /** - * The current usage of the resource. + * Private IP address of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly privateIpAddress?: string; /** - * The maximum permitted usage of the resource. + * Public IP address of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly limit?: number; + readonly publicIpAddress?: string; /** - * The name of the type of usage. + * SSH port number of the node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: UsageName; -} - -/** The Usage Names. */ -export interface UsageName { + readonly port?: number; /** - * The name of the resource. + * State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; + readonly nodeState?: NodeState; /** - * The localized name of the resource. + * ID of the Experiment running on the node, if any else null. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly localizedValue?: string; + readonly runId?: string; } -/** The List Virtual Machine size operation response. */ -export interface VirtualMachineSizeListResult { - /** The list of virtual machine sizes supported by AmlCompute. */ - value?: VirtualMachineSize[]; +/** 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"; } -/** 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[]; +/** A paginated list of CodeContainer entities. */ +export interface CodeContainerResourceArmPaginatedResult { + /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; } -/** 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 ResourceBase { + /** The asset description text. */ + description?: string; + /** The asset property dictionary. */ + properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; } -/** 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; +/** A paginated list of CodeVersion entities. */ +export interface CodeVersionResourceArmPaginatedResult { + /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; } -/** Quota update parameters. */ -export interface QuotaUpdateParameters { - /** The list for update quota. */ - value?: QuotaBaseProperties[]; - /** Region of workspace quota to be updated. */ - location?: string; +export interface PendingUploadRequestDto { + /** If PendingUploadId = null then random guid will be used. */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; } -/** 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 PendingUploadResponseDto { + /** Container level read, write, list SAS */ + blobReferenceForConsumption?: BlobReferenceForConsumptionDto; + /** ID for this upload request */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; } -/** 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[]; +export interface BlobReferenceForConsumptionDto { /** - * 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. + * Blob URI path for client to upload data. + * Example: https://blob.windows.core.net/Container/Path */ - readonly nextLink?: string; + blobUri?: string; + /** Credential info to access storage account */ + credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; } -/** 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; - /** - * Specifies the resource type. - * 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; - /** - * 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; - /** Status of update workspace quota. */ - status?: Status; +export interface PendingUploadCredentialDto { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "SAS"; } -/** 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; +/** A paginated list of ComponentContainer entities. */ +export interface ComponentContainerResourceArmPaginatedResult { + /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; } -/** 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. - */ - readonly id?: string; - /** - * Region of the AML workspace in the id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly amlWorkspaceLocation?: string; - /** - * Specifies the resource type. - * 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; +/** A paginated list of ComponentVersion entities. */ +export interface ComponentVersionResourceArmPaginatedResult { + /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; } -/** 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. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly localizedValue?: string; +/** A paginated list of DataContainer entities. */ +export interface DataContainerResourceArmPaginatedResult { + /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; } -/** 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. */ +/** A paginated list of DataVersionBase entities. */ +export interface DataVersionBaseResourceArmPaginatedResult { + /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; } -export interface ComputeResourceSchema { - /** Compute properties */ - properties?: ComputeUnion; +/** BlobReferenceSASRequest for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASRequestDto { + /** Id of the asset to be accessed */ + assetId?: string; + /** Blob uri of the asset to be accessed */ + blobUri?: string; } -/** Machine Learning compute object. */ -export interface Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: - | "AKS" - | "Kubernetes" - | "AmlCompute" - | "ComputeInstance" - | "VirtualMachine" - | "HDInsight" - | "DataFactory" - | "Databricks" - | "DataLakeAnalytics" - | "SynapseSpark"; - /** Location for the underlying compute */ - computeLocation?: string; - /** - * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** The description of the Machine Learning compute. */ - description?: string; - /** - * The time at which the compute was created. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdOn?: Date; - /** - * The time at which the compute was last modified. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly modifiedOn?: Date; - /** ARM resource id of the underlying compute */ - resourceId?: string; - /** - * Errors during provisioning - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningErrors?: ErrorResponse[]; - /** - * Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isAttachedCompute?: boolean; - /** Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. */ - disableLocalAuth?: boolean; +/** BlobReferenceSASResponse for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASResponseDto { + /** Blob reference for consumption details */ + blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; } -/** AmlCompute update parameters. */ -export interface ClusterUpdateParameters { - /** Properties of ClusterUpdate */ - properties?: ScaleSettingsInformation; +export interface GetBlobReferenceForConsumptionDto { + /** Blob uri, example: https://blob.windows.core.net/Container/Path */ + blobUri?: string; + /** Credential info to access storage account */ + credential?: DataReferenceCredentialUnion; + /** The ARM id of the storage account */ + storageAccountArmId?: string; } -/** Desired scale settings for the amlCompute. */ -export interface ScaleSettingsInformation { - /** scale settings for AML Compute */ - scaleSettings?: ScaleSettings; +/** DataReferenceCredential base class */ +export interface DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: + | "NoCredentials" + | "DockerCredentials" + | "ManagedIdentity" + | "SAS"; } -/** scale settings for AML Compute */ -export interface ScaleSettings { - /** Max number of nodes to use */ - maxNodeCount: number; - /** Min number of nodes to use */ - minNodeCount?: number; - /** Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format. */ - nodeIdleTimeBeforeScaleDown?: string; +/** A paginated list of EnvironmentContainer entities. */ +export interface EnvironmentContainerResourceArmPaginatedResult { + /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; } -/** 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; +/** A paginated list of EnvironmentVersion entities. */ +export interface EnvironmentVersionResourceArmPaginatedResult { + /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; } -/** Compute node information related to a AmlCompute. */ -export interface AmlComputeNodeInformation { +/** Configuration settings for Docker build context */ +export interface BuildContext { /** - * ID of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. + * */ - readonly nodeId?: string; + contextUri: string; /** - * Private IP address of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Path to the Dockerfile in the build context. + * */ - readonly privateIpAddress?: string; + dockerfilePath?: string; +} + +export interface InferenceContainerProperties { + /** The route to check the liveness of the inference server container. */ + livenessRoute?: Route; + /** The route to check the readiness of the inference server container. */ + readinessRoute?: Route; + /** The port to send the scoring requests to, within the inference server container. */ + scoringRoute?: Route; +} + +export interface Route { + /** [Required] The path for the route. */ + path: string; + /** [Required] The port for the route. */ + port: number; +} + +/** A paginated list of ModelContainer entities. */ +export interface ModelContainerResourceArmPaginatedResult { + /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; +} + +/** A paginated list of ModelVersion entities. */ +export interface ModelVersionResourceArmPaginatedResult { + /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; +} + +export interface FlavorData { + /** Model flavor-specific data. */ + data?: { [propertyName: string]: string | null }; +} + +/** A paginated list of BatchEndpoint entities. */ +export interface BatchEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type BatchEndpoint. */ + value?: BatchEndpoint[]; +} + +/** Batch endpoint default values */ +export interface BatchEndpointDefaults { /** - * Public IP address of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Name of the deployment that will be default for the endpoint. + * This deployment will end up getting 100% traffic when the endpoint scoring URL is invoked. */ - readonly publicIpAddress?: string; + deploymentName?: string; +} + +/** Inference Endpoint base definition */ +export interface EndpointPropertiesBase { + /** [Required] The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication. */ + authMode: EndpointAuthMode; + /** Description of the inference endpoint. */ + description?: string; /** - * SSH port number of the node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * EndpointAuthKeys to set initially on an Endpoint. + * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. */ - readonly port?: number; + keys?: EndpointAuthKeys; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; /** - * State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. + * Endpoint URI. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeState?: NodeState; + readonly scoringUri?: string; /** - * ID of the Experiment running on the node, if any else null. + * Endpoint Swagger URI. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runId?: string; + readonly swaggerUri?: 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; +/** Keys for endpoint authentication. */ +export interface EndpointAuthKeys { + /** The primary key. */ + primaryKey?: string; + /** The secondary key. */ + secondaryKey?: 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"; +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface PartialManagedServiceIdentity { + /** Managed service identity (system assigned and/or user assigned identities) */ + 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]: Record }; } -/** List of private endpoint connection associated with the specified workspace */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResource { + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; +/** A paginated list of BatchDeployment entities. */ +export interface BatchDeploymentTrackedResourceArmPaginatedResult { + /** 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[]; } -export interface ListStorageAccountKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; +/** Properties relevant to different deployment types. */ +export interface BatchDeploymentConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + deploymentConfigurationType: "PipelineComponent"; } -export interface WorkspaceConnectionPropertiesV2 { +/** Base definition for asset references. */ +export interface AssetReferenceBase { /** 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[]; + referenceType: "Id" | "DataPath" | "OutputPath"; } -export interface FqdnEndpointDetail { - port?: number; +export interface ResourceConfiguration { + /** Optional number of instances or nodes used by the compute target. */ + instanceCount?: number; + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Additional properties bag. */ + properties?: { [propertyName: string]: Record }; } -/** 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[]; +/** 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; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +/** Base definition for endpoint deployment. */ +export interface EndpointDeploymentPropertiesBase { + /** 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 }; } -/** 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; +/** Configuration for a scoring code asset. */ +export interface CodeConfiguration { + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The script to execute on startup. eg. "score.py" */ + scoringScript: string; } -export interface ResourceBase { - /** The asset description text. */ - description?: string; - /** Tag dictionary. Tags can be added, removed, and updated. */ +/** Strictly used in update requests. */ +export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { + /** Additional attributes of the entity. */ + properties?: PartialBatchDeployment; + /** Resource tags. */ tags?: { [propertyName: string]: string | null }; - /** The asset property dictionary. */ - properties?: { [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; +/** Mutable batch inference settings per deployment. */ +export interface PartialBatchDeployment { + /** Description of the endpoint deployment. */ + description?: string; } -export interface PendingUploadRequestDto { - /** If PendingUploadId = null then random guid will be used. */ - pendingUploadId?: string; - /** TemporaryBlobReference is the only supported type */ - pendingUploadType?: PendingUploadType; +/** Publishing destination registry asset information */ +export interface DestinationAsset { + /** Destination asset name */ + destinationName?: string; + /** Destination asset version */ + destinationVersion?: string; + /** Destination registry name */ + registryName?: string; } -export interface PendingUploadResponseDto { - /** Container level read, write, list SAS */ - blobReferenceForConsumption?: BlobReferenceForConsumptionDto; - /** ID for this upload request */ - pendingUploadId?: string; - /** TemporaryBlobReference is the only supported type */ - pendingUploadType?: PendingUploadType; +/** A paginated list of Datastore entities. */ +export interface DatastoreResourceArmPaginatedResult { + /** The link to the next page of Datastore objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } -export interface BlobReferenceForConsumptionDto { - /** - * Blob URI path for client to upload data. - * 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; +/** Base definition for datastore credentials. */ +export interface DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: + | "AccountKey" + | "Certificate" + | "None" + | "Sas" + | "ServicePrincipal"; } -export interface PendingUploadCredentialDto { +/** Base definition for datastore secrets. */ +export interface DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; + secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; } -/** 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. */ +/** A paginated list of FeaturesetContainer entities. */ +export interface FeaturesetContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } -/** 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. */ +/** A paginated list of Feature entities. */ +export interface FeatureResourceArmPaginatedResult { + /** 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 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. */ +/** A paginated list of FeaturesetVersion entities. */ +export interface FeaturesetVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; } -/** 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; +export interface MaterializationSettings { + /** 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; } -/** BlobReferenceSASRequest for getBlobReferenceSAS API */ -export interface GetBlobReferenceSASRequestDto { - /** Id of the asset to be accessed */ - assetId?: string; - /** Blob uri of the asset to be accessed */ - blobUri?: string; +/** 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 }; } -/** BlobReferenceSASResponse for getBlobReferenceSAS API */ -export interface GetBlobReferenceSASResponseDto { - /** Blob reference for consumption details */ - blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; +/** 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; } -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; +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } -/** DataReferenceCredential base class */ -export interface DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: - | "NoCredentials" - | "DockerCredentials" - | "ManagedIdentity" - | "SAS"; -} - -/** 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; -} - -/** 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; +export interface RecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } -/** Configuration settings for Docker build context */ -export interface BuildContext { +export interface TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence" | "Cron"; /** - * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. - * + * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. + * Recommented format would be "2022-06-01T00:00:01" + * If not present, the schedule will run indefinitely */ - contextUri: string; + endTime?: string; + /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ + startTime?: string; /** - * Path to the Dockerfile in the build context. - * + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 */ - dockerfilePath?: string; + timeZone?: string; } -export interface InferenceContainerProperties { - /** The route to check the liveness of the inference server container. */ - livenessRoute?: Route; - /** The route to check the readiness of the inference server container. */ - readinessRoute?: Route; - /** The port to send the scoring requests to, within the inference server container. */ - scoringRoute?: Route; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } -export interface Route { - /** [Required] The path for the route. */ - path: string; - /** [Required] The port for the route. */ - port: number; +/** Request payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillRequest { + /** 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; + /** Specify the jobId to retry the failed materialization */ + jobId?: string; + /** 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 tags */ + tags?: { [propertyName: string]: string | null }; } -/** 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. */ +/** Specifies the feature window */ +export interface FeatureWindow { + /** Specifies the feature window end time */ + featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; +} + +/** Response payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillResponse { + /** List of jobs submitted as part of the backfill request. */ + jobIds?: string[]; +} + +/** A paginated list of FeaturestoreEntityContainer entities. */ +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; } -/** A paginated list of 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. */ +/** A paginated list of FeaturestoreEntityVersion entities. */ +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; } -export interface FlavorData { - /** Model flavor-specific data. */ - data?: { [propertyName: string]: string | null }; +/** DTO object representing index column */ +export interface IndexColumn { + /** Specifies the column name */ + columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } -/** 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. */ +/** A paginated list of JobBase entities. */ +export interface JobBaseResourceArmPaginatedResult { + /** 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[]; } -/** Batch endpoint default values */ -export interface BatchEndpointDefaults { - /** - * Name of the deployment that will be default for the endpoint. - * This deployment will end up getting 100% traffic when the endpoint scoring URL is invoked. - */ - deploymentName?: string; +/** Base definition for identity configuration. */ +export interface IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken" | "Managed" | "UserIdentity"; } -/** Inference Endpoint base definition */ -export interface EndpointPropertiesBase { - /** Description of the inference endpoint. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; +/** Job endpoint definition */ +export interface JobService { + /** Url for endpoint. */ + endpoint?: string; /** - * Endpoint URI. + * Any error in the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scoringUri?: string; + readonly errorMessage?: string; + /** Endpoint type. */ + jobServiceType?: string; /** - * Endpoint Swagger URI. - * NOTE: This property will not be serialized. It can only be populated by the server. + * 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. */ - 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; + nodes?: NodesUnion; + /** Port for endpoint. */ + port?: number; + /** Additional properties to set on the endpoint. */ + properties?: { [propertyName: string]: string | null }; /** - * EndpointAuthKeys to set initially on an Endpoint. - * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + * Status of endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - keys?: EndpointAuthKeys; + readonly status?: string; } -/** Keys for endpoint authentication. */ -export interface EndpointAuthKeys { - /** The primary key. */ - primaryKey?: string; - /** The secondary key. */ - secondaryKey?: string; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface PartialManagedServiceIdentity { - /** Managed service identity (system assigned and/or user assigned identities) */ - 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]: Record }; +/** A paginated list of MarketplaceSubscription entities. */ +export interface MarketplaceSubscriptionResourceArmPaginatedResult { + /** 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[]; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResource { - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +export interface MarketplaceSubscriptionProperties { + /** + * Marketplace Plan associated with the Marketplace Subscription. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly marketplacePlan?: MarketplacePlan; + /** + * Current status of the Marketplace Subscription. + * 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. + */ + readonly provisioningState?: MarketplaceSubscriptionProvisioningState; } -/** 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; +export interface MarketplacePlan { + /** + * 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. + */ + readonly offerId?: string; + /** + * The identifying name of the Plan of the Marketplace Plan. + * 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; } -/** Properties relevant to different deployment types. */ -export interface BatchDeploymentConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - 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; +/** A paginated list of OnlineEndpoint entities. */ +export interface OnlineEndpointTrackedResourceArmPaginatedResult { + /** 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[]; } -/** Base definition for asset references. */ -export interface AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "Id" | "DataPath" | "OutputPath"; +/** A paginated list of OnlineDeployment entities. */ +export interface OnlineDeploymentTrackedResourceArmPaginatedResult { + /** 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[]; } -export interface ResourceConfiguration { - /** Optional number of instances or nodes used by the compute target. */ - instanceCount?: number; - /** Optional type of VM used as supported by the compute target. */ - instanceType?: string; - /** Additional properties bag. */ - properties?: { [propertyName: string]: Record }; +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/. + * If it's day, all data will be collected in blob path /yyyy/MM/dd/. + * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. + */ + rollingRate?: RollingRateType; } -/** 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; - /** 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 }; +export interface Collection { + /** 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 sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; } -/** Configuration for a scoring code asset. */ -export interface CodeConfiguration { - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The script to execute on startup. eg. "score.py" */ - scoringScript: string; +export interface RequestLogging { + /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ + captureHeaders?: string[]; } -/** Strictly used in update requests. */ -export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { - /** Additional attributes of the entity. */ - properties?: PartialBatchDeployment; - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +/** 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; } -/** Mutable batch inference settings per deployment. */ -export interface PartialBatchDeployment { - /** Description of the endpoint deployment. */ - description?: 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; } -/** Publishing destination registry asset information */ -export interface DestinationAsset { - /** Destination registry name */ - registryName?: string; - /** Destination asset name */ - destinationName?: string; - /** Destination asset version */ - destinationVersion?: string; +/** Online deployment scaling configuration. */ +export interface OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default" | "TargetUtilization"; } -/** 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; +/** 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; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: 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; } -/** Base definition for datastore credentials. */ -export interface DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: - | "AccountKey" - | "Certificate" - | "None" - | "Sas" - | "ServicePrincipal"; +export interface DeploymentLogsRequest { + /** The type of container to retrieve logs from. */ + containerType?: ContainerType; + /** The maximum number of lines to tail. */ + tail?: number; } -/** Base definition for datastore secrets. */ -export interface DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; +export interface DeploymentLogs { + /** The retrieved online deployment logs. */ + content?: string; } -/** 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. */ +/** A paginated list of SkuResource entities. */ +export interface SkuResourceArmPaginatedResult { + /** 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[]; } -/** 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; +/** 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. + */ + readonly resourceType?: string; + /** Gets or sets the Sku. */ + sku?: SkuSetting; } -/** 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; +/** SKU capacity information */ +export interface SkuCapacity { + /** 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; } -/** DTO object representing specification */ -export interface FeaturesetSpecification { - /** Specifies the spec path */ - path?: string; +/** 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 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 spark compute settings */ - sparkConfiguration?: { [propertyName: string]: string | null }; +export interface RegenerateEndpointKeysRequest { + /** [Required] Specification for which type of key to generate. Primary or Secondary. */ + keyType: KeyType; + /** The value the key is set to. */ + keyValue?: string; } -export interface RecurrenceSchedule { - /** [Required] List of hours for the schedule. */ - hours: number[]; - /** [Required] List of minutes for the schedule. */ - minutes: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; - /** List of month days for the schedule */ - monthDays?: number[]; +/** Service Token */ +export interface EndpointAuthToken { + /** Access token for endpoint authentication. */ + accessToken?: string; + /** Access token expiry time (UTC). */ + expiryTimeUtc?: number; + /** Refresh access token after time (UTC). */ + refreshAfterTimeUtc?: number; + /** Access token type. */ + tokenType?: string; } -export interface TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence" | "Cron"; - /** - * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. - * Recommented format would be "2022-06-01T00:00:01" - * If not present, the schedule will run indefinitely - */ - endTime?: string; - /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ - startTime?: string; - /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 - */ - timeZone?: string; -} - -/** 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; -} - -/** Request payload for creating a backfill request for a given feature set version */ -export interface FeaturesetVersionBackfillRequest { - /** Specifies description */ - displayName?: string; - /** Specifies description */ - description?: 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 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 feature window */ -export interface FeatureWindow { - /** Specifies the feature window start time */ - featureWindowStart?: Date; - /** Specifies the feature window end time */ - featureWindowEnd?: Date; -} - -/** Response payload for creating a backfill request for a given feature set version */ -export interface FeaturesetVersionBackfillResponse { - /** List of jobs submitted as part of the backfill request. */ - jobIds?: string[]; -} - -/** 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; -} - -/** 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. */ +/** A paginated list of Schedule entities. */ +export interface ScheduleResourceArmPaginatedResult { + /** The link to the next page of Schedule objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; } -/** DTO object representing index column */ -export interface IndexColumn { - /** Specifies the data type */ - dataType?: FeatureDataType; - /** Specifies the column name */ - columnName?: string; +export interface ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; } -/** 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. */ +/** A paginated list of ServerlessEndpoint entities. */ +export interface ServerlessEndpointTrackedResourceArmPaginatedResult { + /** 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[]; } -/** Job endpoint definition */ -export interface JobService { - /** Endpoint type. */ - jobServiceType?: string; - /** Port for endpoint. */ - port?: number; - /** Url for endpoint. */ - endpoint?: string; +export interface ServerlessEndpointProperties { + /** [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; /** - * Status of endpoint. + * The current state of the ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly status?: string; + readonly endpointState?: ServerlessEndpointState; /** - * Any error in the service. + * 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 errorMessage?: string; - /** Additional properties to set on the endpoint. */ - properties?: { [propertyName: string]: string | null }; + readonly inferenceEndpoint?: ServerlessInferenceEndpoint; /** - * 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. + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - nodes?: NodesUnion; + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; } -/** Abstract Nodes definition */ -export interface Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; +export interface ContentSafety { + /** [Required] Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } -/** Base definition for identity configuration. */ -export interface IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken" | "Managed" | "UserIdentity"; +export interface ServerlessInferenceEndpoint { + /** + * 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; } -/** 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. */ +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; +} + +/** A paginated list of Registry entities. */ +export interface RegistryTrackedResourceArmPaginatedResult { + /** The link to the next page of Registry objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Registry. */ + value?: Registry[]; } -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. - */ - readonly marketplacePlan?: MarketplacePlan; - /** - * Current status of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; +/** ARM ResourceId of a resource */ +export interface ArmResourceId { /** - * Provisioning State of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" + * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" */ - readonly provisioningState?: MarketplaceSubscriptionProvisioningState; + resourceId?: string; } -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; +/** Private endpoint connection definition. */ +export interface RegistryPrivateEndpointConnection { /** - * 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. + * This is the private endpoint connection name created on SRP + * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} */ - readonly offerId?: string; + id?: string; + /** Same as workspace location. */ + location?: string; + /** The group ids */ + groupIds?: string[]; + /** The PE network resource that is linked to this PE connection. */ + privateEndpoint?: PrivateEndpointResource; + /** The connection state. */ + registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; + /** One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null. */ + provisioningState?: string; +} + +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { /** - * The identifying name of the Plan of the Marketplace Plan. + * The ARM identifier for Private Endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly planId?: 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; + readonly id?: string; } -/** 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; +/** The connection state. */ +export interface RegistryPrivateLinkServiceConnectionState { + /** 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; } -/** 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 { - /** - * [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 }; - /** - * 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/. - * If it's day, all data will be collected in blob path /yyyy/MM/dd/. - * 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; - /** 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; +/** Details for each region the registry is in */ +export interface RegistryRegionArmDetails { + /** List of ACR accounts */ + acrDetails?: AcrDetails[]; + /** The location where the registry exists */ + location?: string; + /** List of storage accounts */ + storageAccountDetails?: StorageAccountDetails[]; } -export interface RequestLogging { - /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ - captureHeaders?: string[]; +/** Details of ACR account to be used for the Registry */ +export interface AcrDetails { + /** Details of system created ACR account to be used for the Registry */ + systemCreatedAcrAccount?: SystemCreatedAcrAccount; } -/** Common SKU definition. */ -export interface PartialSku { - /** 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; +export interface SystemCreatedAcrAccount { + /** Name of the ACR account */ + acrAccountName?: string; + /** SKU of the ACR account */ + acrAccountSku?: string; + /** This is populated once the ACR account is created. */ + armResourceId?: ArmResourceId; } -export interface DeploymentLogsRequest { - /** The type of container to retrieve logs from. */ - containerType?: ContainerType; - /** The maximum number of lines to tail. */ - tail?: number; +/** Details of storage account to be used for the Registry */ +export interface StorageAccountDetails { + /** Details of system created storage account to be used for the registry */ + systemCreatedStorageAccount?: SystemCreatedStorageAccount; } -export interface DeploymentLogs { - /** The retrieved online deployment logs. */ - content?: string; +export interface SystemCreatedStorageAccount { + /** Public blob access allowed */ + allowBlobPublicAccess?: boolean; + /** This is populated once the storage account is created. */ + armResourceId?: ArmResourceId; + /** HNS enabled for storage account */ + storageAccountHnsEnabled?: boolean; + /** Name of the storage account */ + storageAccountName?: string; + /** + * Allowed values: + * "Standard_LRS", + * "Standard_GRS", + * "Standard_RAGRS", + * "Standard_ZRS", + * "Standard_GZRS", + * "Standard_RAGZRS", + * "Premium_LRS", + * "Premium_ZRS" + */ + storageAccountType?: string; } -/** 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; +/** Strictly used in update requests. */ +export interface PartialRegistryPartialTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: RegistryPartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } -/** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ -export interface SkuResource { +/** The List Aml user feature operation response. */ +export interface ListAmlUserFeatureResult { /** - * The resource type name. + * The list of AML user facing features. * NOTE: This property will not be serialized. It can only be populated by the server. */ - 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 type of the scale. */ - scaleType?: SkuScaleType; -} - -export interface RegenerateEndpointKeysRequest { - /** [Required] Specification for which type of key to generate. Primary or Secondary. */ - keyType: KeyType; - /** The value the key is set to. */ - keyValue?: string; -} - -/** Service Token */ -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; -} - -/** 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; -} - -export interface ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; + readonly value?: AmlUserFeature[]; + /** + * The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** 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; +/** Features enabled for a workspace */ +export interface AmlUserFeature { + /** Specifies the feature ID */ + id?: string; + /** Specifies the feature name */ + displayName?: string; + /** Describes the feature for user experience */ + description?: string; } -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; +/** 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 inference uri to target when making requests against the serverless endpoint + * List of operations supported by the resource provider * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly inferenceEndpoint?: ServerlessInferenceEndpoint; + readonly value?: Operation[]; /** - * Provisioning state for the endpoint. + * 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 provisioningState?: EndpointProvisioningState; + readonly nextLink?: string; +} + +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * The current state of the ServerlessEndpoint. + * 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 endpointState?: ServerlessEndpointState; + readonly name?: string; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * 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 marketplaceSubscriptionId?: string; - /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ - contentSafety?: ContentSafety; -} - -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; -} - -export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; /** - * Specifies any required headers to target this serverless endpoint. + * 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 headers?: { [propertyName: string]: string | null }; + 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; } -export interface ContentSafety { - /** [Required] Specifies the status of content safety. */ - contentSafetyStatus: ContentSafetyStatus; +/** Localized display information for this particular operation. */ +export interface OperationDisplay { + /** + * 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 provider?: string; + /** + * 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 resource?: string; + /** + * 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 operation?: string; + /** + * 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 description?: string; } -/** A paginated list of Registry entities. */ -export interface RegistryTrackedResourceArmPaginatedResult { - /** The link to the next page of Registry objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type Registry. */ - value?: Registry[]; +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; } -/** ARM ResourceId of a resource */ -export interface ArmResourceId { - /** - * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - */ - resourceId?: string; +/** 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; } -/** Private endpoint connection definition. */ -export interface RegistryPrivateEndpointConnection { - /** - * This is the private endpoint connection name created on SRP - * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} - */ - id?: string; - /** Same as workspace location. */ - location?: string; - /** The group ids */ - groupIds?: string[]; - /** The PE network resource that is linked to this PE connection. */ - privateEndpoint?: PrivateEndpointResource; - /** The connection state. */ - registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; - /** One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null. */ - provisioningState?: 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 connection state. */ -export interface RegistryPrivateLinkServiceConnectionState { - /** 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. */ +/** 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; - /** Connection status of the service consumer with the service provider */ - status?: EndpointServiceConnectionStatus; + /** A message indicating if changes on the service provider require any updates on the consumer. */ + actionsRequired?: string; } -/** Details for each region the registry is in */ -export interface RegistryRegionArmDetails { - /** List of ACR accounts */ - acrDetails?: AcrDetails[]; - /** The location where the registry exists */ - location?: string; - /** List of storage accounts */ - storageAccountDetails?: StorageAccountDetails[]; +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; } -/** Details of ACR account to be used for the Registry */ -export interface AcrDetails { - /** Details of system created ACR account to be used for the Registry */ - systemCreatedAcrAccount?: SystemCreatedAcrAccount; - /** Details of user created ACR account to be used for the Registry */ - userCreatedAcrAccount?: UserCreatedAcrAccount; +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 SystemCreatedAcrAccount { - /** Name of the ACR account */ - acrAccountName?: string; - /** SKU of the ACR account */ - acrAccountSku?: string; - /** This is populated once the ACR account is created. */ - armResourceId?: ArmResourceId; +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 UserCreatedAcrAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; +export interface NotebookPreparationError { + errorMessage?: string; + statusCode?: number; } -/** Details of storage account to be used for the Registry */ -export interface StorageAccountDetails { - /** Details of system created storage account to be used for the registry */ - systemCreatedStorageAccount?: SystemCreatedStorageAccount; - /** Details of user created storage account to be used for the registry */ - userCreatedStorageAccount?: UserCreatedStorageAccount; +export interface ServiceManagedResourcesSettings { + /** The settings for the service managed cosmosdb account. */ + cosmosDb?: CosmosDbSettings; } -export interface SystemCreatedStorageAccount { - /** Public blob access allowed */ - allowBlobPublicAccess?: boolean; - /** This is populated once the storage account is created. */ - armResourceId?: ArmResourceId; - /** HNS enabled for storage account */ - storageAccountHnsEnabled?: boolean; - /** Name of the storage account */ - storageAccountName?: string; - /** - * Allowed values: - * "Standard_LRS", - * "Standard_GRS", - * "Standard_RAGRS", - * "Standard_ZRS", - * "Standard_GZRS", - * "Standard_RAGZRS", - * "Premium_LRS", - * "Premium_ZRS" - */ - storageAccountType?: string; +export interface CosmosDbSettings { + /** The throughput of the collections in cosmosdb database */ + collectionsThroughput?: number; } -export interface UserCreatedStorageAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; +/** 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; + /** Firewall Sku used for FQDN Rules */ + firewallSku?: FirewallSku; } -/** Strictly used in update requests. */ -export interface PartialRegistryPartialTrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: RegistryPartialManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +/** 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; } -/** The List Aml user feature operation response. */ -export interface ListAmlUserFeatureResult { - /** - * The list of AML user facing features. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AmlUserFeature[]; - /** - * The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** 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; } -/** Features enabled for a workspace */ -export interface AmlUserFeature { - /** Specifies the feature ID */ - id?: string; - /** Specifies the feature name */ - displayName?: string; - /** Describes the feature for user experience */ - description?: string; +/** Settings for feature store type workspace. */ +export interface FeatureStoreSettings { + /** Compute runtime config for feature store type workspace. */ + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: 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; +/** Compute runtime config for feature store type workspace. */ +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; } -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: string; } -/** 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; +/** 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; } -/** 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 EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -/** 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; +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: 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; +/** 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; } -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + /** Value of Parameters */ + value?: DiagnoseRequestProperties; } -/** 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 }; +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 }; } -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; } -/** 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 }; +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; } -/** 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; - /** - * 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[]; +/** Result of Diagnose */ +export interface DiagnoseResult { /** - * The number of compute nodes currently assigned to the compute. + * Code for workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly code?: 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. + * Level of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly level?: DiagnoseResultLevel; /** - * Counts of various node states on the compute. + * Message of workspace setup error * 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 message?: 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; +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; } -/** 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; +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[]; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +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; } -/** 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[]; - /** - * Returns metadata about the operating system image for this compute instance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osImageMetadata?: ImageMetadata; - /** - * Describes all connectivity endpoints available for this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - 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; +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; } -/** 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; +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; +} + +/** 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; /** - * Describes the port for connecting through SSH. + * Group based on connection category * 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 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; } -/** 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[]; +/** 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 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 WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { + value?: WorkspaceConnectionPropertiesV2BasicResource[]; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly nextLink?: string; } -/** 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 ExternalFqdnResponse { + value?: FqdnEndpoints[]; } -/** 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 FqdnEndpoints { + properties?: FqdnEndpointsProperties; } -/** 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 */ - 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 FqdnEndpointsProperties { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** 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; +export interface FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; } -/** 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; +export interface FqdnEndpointDetail { + port?: number; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +/** 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[]; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; } -/** 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; +/** 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; } -/** 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 AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; +} + +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * System services * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; -} - -/** 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; + 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; } -/** Describes information on user who created this ComputeInstance. */ -export interface ComputeInstanceCreatedBy { +/** A system service running on a compute. */ +export interface SystemService { /** - * Name of the user. + * The type of this system service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userName?: string; + readonly systemServiceType?: string; /** - * Uniquely identifies user' Azure Active Directory organization. + * Public IP address * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userOrgId?: string; + readonly publicIpAddress?: string; /** - * Uniquely identifies the user within his/her organization. + * The version for this type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userId?: string; -} - -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; + readonly version?: string; } -/** 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 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; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +/** 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; } -/** 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; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -/** 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; +/** 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 }; } -/** 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; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** 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[]; +/** 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 }; } -/** Compute start stop schedule properties */ -export interface ComputeStartStopSchedule { +/** 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; /** - * A system assigned id for the schedule. + * 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 id?: string; + readonly allocationState?: AllocationState; /** - * The current deployment state of schedule. + * 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 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; -} - -/** 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; + readonly allocationStateTransitionTime?: Date; /** - * 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 + * 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. */ - timeZone?: string; - /** [Required] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; + 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; } -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[]; +/** Virtual Machine image for Windows AML Compute */ +export interface VirtualMachineImage { + /** Virtual Machine image path */ + id: string; } -/** The workflow trigger cron for ComputeStartStop schedule type. */ -export interface Cron { - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: 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; +} + +/** Counts of various compute node states on the amlCompute. */ +export interface NodeStateCounts { /** - * 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 + * Number of compute nodes in idle state. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; + readonly idleNodeCount?: number; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * Number of compute nodes which are running jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - expression?: string; + 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; } -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; +/** Properties(top level) of AmlCompute */ +export interface AmlComputeSchema { + /** Properties of AmlCompute */ + properties?: AmlComputeProperties; } -/** 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; +/** 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[]; /** - * services of this containers. + * Returns metadata about the operating system image for this compute instance. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly services?: Record[]; + 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; + /** 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; } -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ +/** 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; +} + +/** 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; - /** version of environment. */ - version?: 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[]; } -/** 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; +/** 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; } -/** 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; +/** 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; } -/** Version of computeInstance. */ -export interface ComputeInstanceVersion { - /** Runtime of compute instance. */ - runtime?: string; +/** 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; } -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +/** 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 */ + 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 VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +/** 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; } -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; +/** 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; } -/** 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; +/** Describes the volume options for the container */ +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; } -/** 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; +/** Describes the tmpfs options for the container */ +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +/** 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; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: string; +/** 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; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** 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; } -export interface DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** 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; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: string; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; } -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; +/** 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; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +/** 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; } -/** 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; +/** 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; } -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: string; +/** 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; } -/** 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; +/** 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[]; } -/** 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; +/** Compute start stop schedule properties */ +export interface ComputeStartStopSchedule { + /** + * A system assigned id for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + 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; } -/** 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; +/** 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; /** - * Optional, if provided, the ServiceTag property will be ignored. - * NOTE: This property will not be serialized. It can only be populated by the server. + * 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 */ - readonly addressPrefixes?: string[]; - portRanges?: string; - protocol?: string; - serviceTag?: string; + timeZone?: string; + /** [Required] The recurrence schedule. */ + schedule?: ComputeRecurrenceSchedule; } -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; +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 WorkspaceConnectionPersonalAccessToken { - pat?: string; +/** The workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression?: string; } -export interface WorkspaceConnectionSharedAccessSignature { - sas?: 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; } -export interface WorkspaceConnectionAccountKey { - key?: 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; + /** + * services of this containers. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly services?: Record[]; } -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: 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; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: string; +/** 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; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: 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; - /** - * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho - * where user needs to get RefreshToken offline - */ - 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; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -export interface WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +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; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ +/** 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; +} + +/** 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 HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; +} + +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; +} + +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; +} + +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; +} + +/** 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; +} + +export interface MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + 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 { - /** [Required] Input Asset URI. */ - uri: string; /** Input Asset Delivery Mode. */ mode?: InputDeliveryMode; + /** [Required] Input Asset URI. */ + uri: string; } /** Asset output type. */ export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; /** Output Asset Delivery Mode. */ mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; } /** The desired maximum forecast horizon in units of time-series frequency. */ @@ -3174,6 +3072,25 @@ export interface ForecastHorizon { mode: "Auto" | "Custom"; } +/** Job output definition container information on where to find job output/logs. */ +export interface JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: + | "custom_model" + | "mlflow_model" + | "mltable" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the output. */ + description?: string; +} + +export interface QueueSettings { + /** Controls the compute job tier */ + jobTier?: JobTier; +} + /** * AutoML vertical class. * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical @@ -3193,13 +3110,13 @@ export interface AutoMLVertical { | "TextNER"; /** Log verbosity for the job. */ logVerbosity?: LogVerbosity; - /** [Required] Training data input. */ - trainingData: MLTableJobInput; /** * Target column name: This is prediction values column. * Also known as label column name in context of classification tasks. */ targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; } /** Command job definition. */ @@ -3217,25 +3134,6 @@ export interface JobInput { description?: string; } -/** Job output definition container information on where to find job output/logs. */ -export interface JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: - | "custom_model" - | "mlflow_model" - | "mltable" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the output. */ - description?: string; -} - -export interface QueueSettings { - /** Controls the compute job tier */ - jobTier?: JobTier; -} - /** N-Cross validations value. */ export interface NCrossValidations { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3262,20 +3160,20 @@ export interface TargetRollingWindowSize { /** Base definition for Azure datastore contents configuration. */ export interface AzureDatastore { - /** Azure Subscription Id */ - subscriptionId?: string; /** Azure Resource Group name */ resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; } /** Early termination policies enable canceling poor-performing runs before they complete */ export interface EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ 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; + /** Interval (number of runs) between policy evaluations. */ + evaluationInterval?: number; } /** @@ -3315,10 +3213,12 @@ export interface PredictionDriftMetricThresholdBase { /** 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; - /** Stack ensemble settings for stack ensemble run. */ - stackEnsembleSettings?: StackEnsembleSettings; /** Enable stack ensemble run. */ enableStackEnsemble?: boolean; /** Enable voting ensemble run. */ @@ -3328,24 +3228,26 @@ export interface TrainingSettings { * Configure this parameter with a higher value than 300 secs, if more time is needed. */ ensembleModelDownloadTimeout?: string; - /** Flag to turn on explainability on best model. */ - enableModelExplainability?: boolean; - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; } /** 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; + /** 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; /** @@ -3353,46 +3255,24 @@ export interface TableVertical { * when validation dataset is not provided. */ 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; /** - * The fraction of training dataset that needs to be set aside for validation purpose. + * 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. */ - validationDataSize?: number; + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; /** - * The fraction of test dataset that needs to be set aside for validation purpose. + * 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. */ - testDataSize?: number; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: TableVerticalFeaturizationSettings; -} - -/** 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; + 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. */ @@ -3412,25 +3292,43 @@ export interface FeaturizationSettings { datasetLanguage?: string; } -/** Base definition for job distribution configuration. */ -export interface DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi" | "PyTorch" | "TensorFlow"; -} - -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; -} - -/** Resource requirements for each container instance within an online deployment. */ -export interface ContainerResourceRequirements { - /** Container resource request info: */ - containerResourceRequests?: ContainerResourceSettings; +/** Job execution constraints. */ +export interface TableVerticalLimitSettings { + /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ + enableEarlyTermination?: boolean; + /** Exit score for the AutoML job. */ + exitScore?: number; + /** Maximum Concurrent iterations. */ + maxConcurrentTrials?: number; + /** Max cores per iteration. */ + maxCoresPerTrial?: number; + /** Number of iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; + /** Iteration timeout. */ + trialTimeout?: string; +} + +/** Base definition for job distribution configuration. */ +export interface DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "Mpi" | "PyTorch" | "TensorFlow"; +} + +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; +} + +/** 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; } export interface ContainerResourceSettings { @@ -3440,34 +3338,50 @@ export interface ContainerResourceSettings { */ cpu?: string; /** - * Memory size request/limit for container. More info: + * Number of Nvidia GPU cards request/limit for container. More info: * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - memory?: string; + gpu?: string; /** - * Number of Nvidia GPU cards request/limit for container. More info: + * Memory size request/limit for container. More info: * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - gpu?: string; + memory?: string; } 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 }; - /** [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 MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; +} + +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; +} + +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; } /** 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; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; /** [Required] The machine learning task type of the monitored model. */ taskType: ModelTaskType; } @@ -3486,41 +3400,25 @@ export interface MonitoringSignalBase { properties?: { [propertyName: string]: string | null }; } -/** Monitor compute configuration base definition. */ -export interface MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; -} - -export interface MonitorNotificationSettings { - /** The AML notification email settings. */ - emailNotificationSettings?: MonitorEmailNotificationSettings; -} - -export interface MonitorEmailNotificationSettings { - /** The email recipient list which has a limitation of 499 characters in total. */ - emails?: 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; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } /** Monitoring input data base definition. */ export interface MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ 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; - /** Mapping of column names to special uses. */ - columns?: { [propertyName: string]: string | null }; } export interface FeatureImportanceSettings { @@ -3531,10 +3429,10 @@ export interface FeatureImportanceSettings { } 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 threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } /** Forecasting specific parameters. */ @@ -3544,23 +3442,18 @@ export interface ForecastingSettings { * 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. + * 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. */ - 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; + cvStepSize?: number; /** Flag for generating lags for the numeric features with 'auto' or null. */ featureLags?: FeatureLags; + /** The desired maximum forecast horizon in units of time-series frequency. */ + forecastHorizon?: ForecastHorizonUnion; + /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ + frequency?: string; /** * Set time series seasonality as an integer multiple of the series frequency. * If seasonality is set to 'auto', it will be inferred. @@ -3568,19 +3461,24 @@ export interface ForecastingSettings { 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; + /** 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; /** - * 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. + * 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. */ - cvStepSize?: number; + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; } /** @@ -3589,10 +3487,10 @@ export interface ForecastingSettings { * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ export interface ImageModelSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: boolean; /** 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]. */ @@ -3601,10 +3499,10 @@ export interface ImageModelSettings { 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; + /** 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. */ @@ -3619,10 +3517,10 @@ export interface ImageModelSettings { * 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; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; /** * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without * updating the model weights while accumulating the gradients of those steps, and then using @@ -3713,10 +3611,10 @@ export interface ImageModelDistributionSettings { * 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; + /** 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 @@ -3789,20 +3687,20 @@ export interface ImageVertical { /** 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; - /** Maximum number of concurrent AutoML iterations. */ - maxConcurrentTrials?: number; } /** 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; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; } /** OneLake artifact (data source) configuration. */ @@ -3818,30 +3716,36 @@ export interface OneLakeArtifact { * NLP - Natural Language Processing. */ export interface NlpVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: NlpVerticalLimitSettings; /** Featurization inputs needed for AutoML job. */ featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; /** Validation data inputs. */ validationData?: MLTableJobInput; } /** Job execution constraints. */ export interface NlpVerticalLimitSettings { - /** AutoML job timeout. */ - timeout?: string; - /** Number of AutoML iterations. */ - maxTrials?: number; /** Maximum Concurrent AutoML iterations. */ maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; } /** Optimization objective. */ export interface Objective { - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; /** [Required] Defines supported metric goals for hyperparameter tuning */ goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; +} + +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; } export interface SparkResourceConfiguration { @@ -3851,81 +3755,188 @@ export interface SparkResourceConfiguration { runtimeVersion?: string; } -/** Spark job entry point definition. */ -export interface SparkJobEntry { - /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; -} - /** 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 }; - /** 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; } -/** 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; +/** 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; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface RegistryPartialManagedServiceIdentity - extends ManagedServiceIdentity {} - -/** 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; +/** 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; /** - * The provisioning state of the private endpoint connection resource. + * 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 provisioningState?: PrivateEndpointConnectionProvisioningState; + readonly addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; } -/** 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; +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; +} + +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; +} + +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; +} + +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [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; + /** + * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho + * where user needs to get RefreshToken offline + */ + 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 WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; +} + +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity + extends ManagedServiceIdentity {} + +/** 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; +} + +/** 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; +} + +/** 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; +} + +/** 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. */ @@ -4005,18 +4016,6 @@ export interface Workspace extends Resource { workspaceHubConfig?: WorkspaceHubConfig; } -/** 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. */ @@ -4051,40 +4050,6 @@ export interface OutboundRuleBasicResource extends Resource { 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 */ @@ -4170,216 +4135,97 @@ export interface DatabricksComputeSecrets computeType: "Databricks"; } -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; -} - -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; } -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; +/** 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; } -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"; - /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ - 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; - /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly latestVersion?: string; - /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** 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; - /** - * 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; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; -} - -/** DTO object representing feature */ -export interface FeatureProperties extends ResourceBase { - /** Specifies name */ - featureName?: string; - /** Specifies type */ - dataType?: FeatureDataType; +/** DTO object representing feature */ +export interface FeatureProperties extends ResourceBase { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; } /** Base definition for a job. */ export interface JobBaseProperties extends ResourceBase { - /** [Required] Specifies the type of job. */ - jobType: JobType; + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; /** Display name of job. */ displayName?: string; - /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - 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; - /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - */ - services?: { [propertyName: string]: JobService | null }; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Is the asset archived? */ - isArchived?: boolean; /** * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. * Defaults to AmlToken if null. */ identity?: IdentityConfigurationUnion; - /** ARM resource ID of the component resource. */ - componentId?: string; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; /** Notification setting for the job */ notificationSetting?: NotificationSetting; + /** + * List of JobEndpoints. + * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + */ + services?: { [propertyName: string]: JobService | null }; + /** + * Status of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobStatus; } /** Base definition of a schedule */ export interface ScheduleProperties extends ResourceBase { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; /** Display name of schedule. */ displayName?: string; /** Is the schedule enabled? */ isEnabled?: boolean; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; /** * 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; } export interface SASCredentialDto extends PendingUploadCredentialDto { @@ -4399,10 +4245,10 @@ export interface AnonymousAccessCredential extends DataReferenceCredential { 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; + /** DockerCredential user name */ + userName?: string; } /** Credential for user managed identity */ @@ -4411,12 +4257,12 @@ export interface ManagedIdentityCredential extends DataReferenceCredential { 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; + /** 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; } @@ -4442,22 +4288,22 @@ export interface BatchEndpointProperties extends EndpointPropertiesBase { /** Online endpoint configuration */ export interface OnlineEndpointProperties extends EndpointPropertiesBase { - /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: EndpointProvisioningState; /** * 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 }; - /** 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. */ @@ -4477,10 +4323,10 @@ export interface PartialMinimalTrackedResourceWithSku /** 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; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } /** Properties for a Batch Pipeline Component Deployment. */ @@ -4510,30 +4356,30 @@ export interface IdAssetReference extends AssetReferenceBase { 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; + /** The path of the file/directory in the datastore. */ + path?: string; } /** Reference to an asset via its path in a job output. */ export interface OutputPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "OutputPath"; - /** The path of the file/directory in the job output. */ - path?: string; /** ARM resource ID of the job. */ jobId?: string; + /** The path of the file/directory in the job output. */ + path?: 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; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; } /** Batch inference settings per deployment. */ @@ -4551,73 +4397,73 @@ export interface BatchDeploymentProperties * 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; + /** Logging level for batch inference operation. */ + loggingLevel?: BatchLoggingLevel; + /** Indicates maximum number of parallelism per instance. */ + maxConcurrencyPerInstance?: number; /** * 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; + /** + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DeploymentProvisioningState; /** * 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. + * Retry Settings for the batch inference operation. + * If not provided, will default to the defaults defined in BatchRetrySettings. */ - readonly provisioningState?: DeploymentProvisioningState; + retrySettings?: BatchRetrySettings; } 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; + /** 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. Default: Standard_F4s_v2. */ + instanceType?: string; /** 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; + /** The URI path to the model. */ + model?: string; + /** The path to mount the model in custom container. */ + modelMountPath?: string; /** * 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. */ - 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; + /** 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; + /** + * 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; } /** Account key datastore credentials configuration. */ @@ -4634,16 +4480,16 @@ export interface CertificateDatastoreCredentials extends DatastoreCredentials { 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] Service principal client ID. */ - clientId: string; /** [Required] Thumbprint of the certificate used for authentication. */ thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; } /** Empty/none datastore credentials. */ @@ -4667,14 +4513,14 @@ export interface ServicePrincipalDatastoreCredentials 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; + /** 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; } /** Datastore account key secrets. */ @@ -4709,6 +4555,12 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { clientSecret?: 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"; +} + export interface RecurrenceTrigger extends TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ triggerType: "Recurrence"; @@ -4730,18 +4582,6 @@ export interface CronTrigger extends TriggerBase { 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 */ @@ -4766,6 +4606,12 @@ export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; } +/** All nodes means the service will be running on all of the nodes of the job */ +export interface AllNodes extends Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; +} + export interface DefaultScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "Default"; @@ -4774,14 +4620,14 @@ export interface DefaultScaleSettings extends OnlineScaleSettings { 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; - /** 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 { @@ -4808,6 +4654,154 @@ export interface JobScheduleAction extends ScheduleActionBase { jobDefinition: JobBasePropertiesUnion; } +/** 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; +} + +/** 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; +} + +export interface PATAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; +} + +export interface SASAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; +} + +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; +} + +export interface NoneAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "None"; +} + +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"; + /** + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. + */ + credentials?: WorkspaceConnectionOAuth2; +} + +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; +} + export interface AllFeatures extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ filterType: "AllFeatures"; @@ -4919,22 +4913,22 @@ export interface CustomForecastHorizon extends ForecastHorizon { 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; - /** Positive label for binary metrics calculation. */ - positiveLabel?: 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; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; /** Inputs for training phase for an AutoML Job. */ trainingSettings?: ForecastingTrainingSettings; } @@ -5128,10 +5122,10 @@ export interface AzureDataLakeGen1Datastore DatastoreProperties { /** 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; + /** [Required] Azure Data Lake store name. */ + storeName: string; } /** Azure Data Lake Gen2 datastore configuration. */ @@ -5140,12 +5134,12 @@ export interface AzureDataLakeGen2Datastore DatastoreProperties { /** 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; + /** [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. */ @@ -5160,10 +5154,10 @@ export interface AzureFileDatastore 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; + /** [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. */ @@ -5174,10 +5168,10 @@ export interface AzureFileDatastore 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; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } /** Defines an early termination policy based on running averages of the primary metric of all runs */ @@ -5210,10 +5204,10 @@ export interface GridSamplingAlgorithm extends SamplingAlgorithm { export interface RandomSamplingAlgorithm extends SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ samplingAlgorithmType: "Random"; - /** An optional integer to use as the seed for random number generation */ - seed?: number; /** The specific type of random algorithm */ rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } export interface CategoricalDataDriftMetricThreshold @@ -5291,20 +5285,20 @@ export interface RegressionTrainingSettings extends TrainingSettings { /** 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; - /** 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; } export interface NlpVerticalFeaturizationSettings @@ -5330,10 +5324,10 @@ export interface PyTorch extends DistributionConfiguration { 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; + /** Number of workers. If not specified, will default to the instance count. */ + workerCount?: number; } /** Command Job limit class. */ @@ -5346,23 +5340,36 @@ export interface CommandJobLimits extends JobLimits { export interface SweepJobLimits extends JobLimits { /** 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 max total trials. */ + maxTotalTrials?: number; /** Sweep Job Trial timeout value. */ trialTimeout?: 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; +} + 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] 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[]; } @@ -5370,85 +5377,72 @@ export interface CustomMonitoringSignal extends MonitoringSignalBase { export interface DataDriftMonitoringSignal extends MonitoringSignalBase { /** 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; + /** 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; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface DataQualityMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; + /** 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; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } 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; + /** 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; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } 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; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; -} - -/** 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. */ @@ -5461,24 +5455,24 @@ export interface FixedInputData extends MonitoringInputDataBase { 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; - /** 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; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; } /** @@ -5830,56 +5824,56 @@ export interface Schedule extends ProxyResource { } 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; + /** 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; } 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; + /** 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; } 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; + /** 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; } 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; + /** 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; } 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; + /** 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; } @@ -6007,6 +6001,15 @@ export interface DataVersionBaseProperties extends AssetBase { /** 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 * @@ -6018,19 +6021,10 @@ export interface EnvironmentVersionProperties extends AssetBase { * */ 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; + /** 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. @@ -6044,12 +6038,12 @@ export interface EnvironmentVersionProperties extends AssetBase { 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; - /** 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. @@ -6061,32 +6055,32 @@ export interface ModelVersionProperties extends AssetBase { /** 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[]; + /** 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[]; - /** 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; + /** Specifies the asset stage */ + stage?: string; } /** OneLake (Trident) datastore configuration. */ @@ -6095,10 +6089,10 @@ export interface OneLakeDatastore extends DatastoreProperties { 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; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } @@ -6111,8 +6105,6 @@ export interface OneLakeDatastore extends DatastoreProperties { export interface AutoMLJob extends JobBaseProperties { /** 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. @@ -6120,36 +6112,36 @@ export interface AutoMLJob extends JobBaseProperties { 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; + /** 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"; - /** 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; + /** 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 }; - /** 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 }; + /** 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. @@ -6157,20 +6149,22 @@ export interface CommandJob extends JobBaseProperties { readonly parameters?: Record; /** Queue settings for the job */ queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; } /** 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"; - /** 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 }; + /** 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; } @@ -6179,58 +6173,58 @@ export interface PipelineJob extends JobBaseProperties { export interface SparkJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Spark"; - /** Compute Resource configuration for the job. */ - resources?: SparkResourceConfiguration; + /** 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[]; - /** 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 }; + /** 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"; - /** [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 }; + /** 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. */ @@ -6267,46 +6261,6 @@ export interface UriFolderDataVersion extends DataVersionBaseProperties { dataType: "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; -} - -/** 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; -} - -/** 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_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 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 Compute_createOrUpdate operation. */ export interface ComputeCreateOrUpdateHeaders { /** URI to poll for asynchronous operation status. */ @@ -6321,28 +6275,6 @@ export interface ComputeDeleteHeaders { location?: string; } -/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ -export interface ManagedNetworkSettingsRuleDeleteHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; -} - -/** 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; -} - /** Defines headers for RegistryCodeContainers_delete operation. */ export interface RegistryCodeContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ @@ -6873,161 +6805,210 @@ export interface RegistriesRemoveRegionsHeaders { retryAfter?: number; } -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** User */ - User = "user", - /** System */ - System = "system", - /** UserSystem */ - UserSystem = "user,system", +/** 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 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** - */ -export type Origin = string; +/** 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; +} -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +/** 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; +} + +/** 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_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 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 ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** 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 ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, + * 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 - * **Internal** + * **Count** */ -export type ActionType = string; +export type UsageUnit = 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", +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", } /** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * 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 - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **USD** */ -export type ProvisioningState = string; +export type BillingCurrency = string; -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", } /** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, + * 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 - * **Enabled** \ - * **Disabled** + * **OneHour** */ -export type EncryptionStatus = string; +export type UnitOfMeasure = string; -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * 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 - * **Enabled** \ - * **Disabled** + * **Linux** \ + * **Windows** */ -export type PublicNetworkAccess = string; +export type VMPriceOSType = 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", +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", } /** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * 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 - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** + * **Standard** \ + * **LowPriority** \ + * **Spot** */ -export type PrivateEndpointServiceConnectionStatus = string; +export type VMTier = 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", +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", } /** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * 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 - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** + * **Count** */ -export type PrivateEndpointConnectionProvisioningState = string; +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 { @@ -7077,1622 +7058,1343 @@ export enum KnownCreatedByType { */ export type CreatedByType = string; -/** Known values of {@link IsolationMode} that the service accepts. */ -export enum KnownIsolationMode { - /** Disabled */ - Disabled = "Disabled", - /** AllowInternetOutbound */ - AllowInternetOutbound = "AllowInternetOutbound", - /** AllowOnlyApprovedOutbound */ - AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", +/** 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 IsolationMode. \ - * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, + * 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 - * **Disabled** \ - * **AllowInternetOutbound** \ - * **AllowOnlyApprovedOutbound** + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** */ -export type IsolationMode = string; +export type ComputeType = string; -/** Known values of {@link RuleCategory} that the service accepts. */ -export enum KnownRuleCategory { - /** Required */ - Required = "Required", - /** Recommended */ - Recommended = "Recommended", - /** UserDefined */ - UserDefined = "UserDefined", - /** Dependency */ - Dependency = "Dependency", +/** 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 RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, + * 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 - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type RuleCategory = string; +export type ProvisioningState = string; -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", } /** - * Defines values for RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, + * 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 - * **Inactive** \ - * **Active** + * **Delete** \ + * **Detach** */ -export type RuleStatus = string; +export type UnderlyingResourceAction = string; -/** Known values of {@link RuleType} that the service accepts. */ -export enum KnownRuleType { - /** Fqdn */ - Fqdn = "FQDN", - /** PrivateEndpoint */ - PrivateEndpoint = "PrivateEndpoint", - /** ServiceTag */ - ServiceTag = "ServiceTag", +/** 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 RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, + * 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 - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** */ -export type RuleType = string; +export type NodeState = string; -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** 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 ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, + * 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 - * **Inactive** \ - * **Active** + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** */ -export type ManagedNetworkStatus = string; +export type AssetProvisioningState = string; -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information", +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", } /** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, + * 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 - * **Warning** \ - * **Error** \ - * **Information** + * **None** \ + * **TemporaryBlobReference** */ -export type DiagnoseResultLevel = string; +export type PendingUploadType = string; -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", } /** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * 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 - * **Count** + * **SAS** */ -export type UsageUnit = string; +export type PendingUploadCredentialType = string; -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", } /** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * 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 - * **USD** + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** */ -export type BillingCurrency = string; +export type ListViewType = string; -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +/** 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 UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * 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 - * **OneHour** + * **uri_file** \ + * **uri_folder** \ + * **mltable** */ -export type UnitOfMeasure = string; +export type DataType = string; -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** 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 VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * 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 - * **Linux** \ - * **Windows** + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** */ -export type VMPriceOSType = string; +export type DataReferenceCredentialType = string; -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot", +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", } /** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, + * 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 - * **Standard** \ - * **LowPriority** \ - * **Spot** + * **Disabled** \ + * **OnBaseImageUpdate** */ -export type VMTier = string; +export type AutoRebuildSetting = string; -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", } /** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * 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 - * **Count** + * **Curated** \ + * **UserCreated** */ -export type QuotaUnit = string; +export type EnvironmentType = 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", +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, + * 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 - * **Undefined** \ - * **Success** \ - * **Failure** \ - * **InvalidQuotaBelowClusterMinimum** \ - * **InvalidQuotaExceedsSubscriptionLimit** \ - * **InvalidVMFamilyName** \ - * **OperationNotSupportedForSku** \ - * **OperationNotEnabledForRegion** + * **Linux** \ + * **Windows** */ -export type Status = string; +export type OperatingSystemType = 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", +/** 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 ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, + * 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 - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** */ -export type ComputeType = string; +export type EndpointProvisioningState = string; -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", } /** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * 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 - * **Delete** \ - * **Detach** + * **AMLToken** \ + * **Key** \ + * **AADToken** */ -export type UnderlyingResourceAction = string; +export type EndpointAuthMode = 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", +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", } /** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, + * 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 - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** + * **Model** \ + * **PipelineComponent** */ -export type NodeState = string; +export type BatchDeploymentConfigurationType = 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", +/** 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", - /** AccessKey */ - AccessKey = "AccessKey", - /** ApiKey */ - ApiKey = "ApiKey", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** OAuth2 */ - OAuth2 = "OAuth2", - /** AAD */ - AAD = "AAD", } /** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, + * 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 - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** */ -export type ConnectionAuthType = string; +export type CredentialsType = 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", +/** 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", - /** 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", -} - -/** - * 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 - * **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** - */ -export type ConnectionCategory = 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", -} - -/** - * 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 - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** - */ -export type ConnectionGroup = string; - -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", -} - -/** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JSON** - */ -export type ValueFormat = 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", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * 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 - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** */ -export type AssetProvisioningState = string; +export type DatastoreType = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** 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 PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * 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 - * **None** \ - * **TemporaryBlobReference** + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** */ -export type PendingUploadType = string; +export type SecretsType = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** 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 PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * 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 - * **SAS** + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** \ + * **Boolean** */ -export type PendingUploadCredentialType = string; +export type FeatureDataType = 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 EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * 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 - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** */ -export type ListViewType = string; +export type EmailNotificationEnableType = 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 WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * 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 - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **AzureDevOps** */ -export type DataType = string; +export type WebhookType = 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 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 DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * 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 - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type DataReferenceCredentialType = string; +export type RecurrenceFrequency = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** 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 EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * 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 - * **Curated** \ - * **UserCreated** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type EnvironmentType = string; +export type WeekDay = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * 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 - * **Linux** \ - * **Windows** + * **Recurrence** \ + * **Cron** */ -export type OperatingSystemType = string; +export type TriggerType = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** 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 AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * 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 - * **Disabled** \ - * **OnBaseImageUpdate** + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** */ -export type AutoRebuildSetting = string; +export type MaterializationStoreType = 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", +/** 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 EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * 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 - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Updating** \ - * **Canceled** + * **None** \ + * **Pending** \ + * **Incomplete** \ + * **Complete** */ -export type EndpointProvisioningState = string; +export type DataAvailabilityStatus = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", /** AMLToken */ AMLToken = "AMLToken", - /** Key */ - Key = "Key", - /** AADToken */ - AADToken = "AADToken", + /** UserIdentity */ + UserIdentity = "UserIdentity", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * 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** \ - * **Key** \ - * **AADToken** + * **UserIdentity** */ -export type EndpointAuthMode = string; +export type IdentityConfigurationType = string; -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", +/** 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", } /** - * Defines values for BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * 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 - * **Model** \ - * **PipelineComponent** + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** */ -export type BatchDeploymentConfigurationType = string; +export type JobType = 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 NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", } /** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * 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 - * **Info** \ - * **Warning** \ - * **Debug** + * **All** */ -export type BatchLoggingLevel = string; +export type NodesValueType = 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 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 ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * 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 - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **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 ReferenceType = string; +export type JobStatus = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** 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 BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * 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 - * **SummaryOnly** \ - * **AppendRow** + * **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 BatchOutputAction = string; +export type MarketplaceSubscriptionStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { - /** Creating */ +/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ +export enum KnownMarketplaceSubscriptionProvisioningState { + /** MarketplaceSubscription is being created. */ Creating = "Creating", - /** Deleting */ + /** MarketplaceSubscription is being deleted. */ Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ + /** MarketplaceSubscription is successfully provisioned. */ Succeeded = "Succeeded", - /** Failed */ + /** MarketplaceSubscription provisioning failed. */ Failed = "Failed", + /** MarketplaceSubscription is being updated. */ + Updating = "Updating", /** Canceled */ Canceled = "Canceled", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * 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 - * **Creating** \ - * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ + * **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 DeploymentProvisioningState = string; +export type MarketplaceSubscriptionProvisioningState = 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 EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * 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 - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** */ -export type DatastoreType = string; +export type EndpointComputeType = 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 OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** */ -export type CredentialsType = string; +export type OrderString = 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 PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Enabled** \ + * **Disabled** */ -export type SecretsType = string; +export type PublicNetworkAccessType = 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 DataCollectionMode} that the service accepts. */ +export enum KnownDataCollectionMode { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * 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 - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** + * **Enabled** \ + * **Disabled** */ -export type FeatureDataType = string; +export type DataCollectionMode = 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 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 MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * 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 - * **None** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** */ -export type MaterializationStoreType = string; +export type RollingRateType = 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 EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * 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 - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Enabled** \ + * **Disabled** */ -export type RecurrenceFrequency = string; +export type EgressPublicNetworkAccessType = 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 ScaleType} that the service accepts. */ +export enum KnownScaleType { + /** Default */ + Default = "Default", + /** TargetUtilization */ + TargetUtilization = "TargetUtilization", } /** - * Defines values for WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * 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 - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **Default** \ + * **TargetUtilization** */ -export type WeekDay = string; +export type ScaleType = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * 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 - * **Recurrence** \ - * **Cron** + * **StorageInitializer** \ + * **InferenceServer** */ -export type TriggerType = string; +export type ContainerType = 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 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 EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * 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 - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. */ -export type EmailNotificationEnableType = string; +export type SkuScaleType = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * 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 - * **AzureDevOps** + * **Primary** \ + * **Secondary** */ -export type WebhookType = string; +export type KeyType = 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", +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * 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 - * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type DataAvailabilityStatus = string; +export type ScheduleListViewType = 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", +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * 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 - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type JobType = string; +export type ScheduleActionType = 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. */ +/** 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", - /** Following cancellation request, the job is now successfully canceled. */ + /** 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 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 - * **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 + * **Creating** \ + * **Updating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type JobStatus = string; +export type ScheduleProvisioningStatus = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ +export enum KnownServerlessInferenceEndpointAuthMode { + /** Key */ + Key = "Key", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * 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 - * **All** + * **Key** */ -export type NodesValueType = string; +export type ServerlessInferenceEndpointAuthMode = 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 ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * 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 - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **Enabled** \ + * **Disabled** */ -export type IdentityConfigurationType = string; +export type ContentSafetyStatus = 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. - */ +/** 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", - /** - * 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", + /** CreationFailed */ + CreationFailed = "CreationFailed", + /** DeletionFailed */ + DeletionFailed = "DeletionFailed", } /** - * Defines values for MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * 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 - * **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. + * **Unknown** \ + * **Creating** \ + * **Deleting** \ + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type MarketplaceSubscriptionStatus = string; +export type ServerlessEndpointState = 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", +/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * 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 - * **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** + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type EndpointServiceConnectionStatus = 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 Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * 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 - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **user** \ + * **system** \ + * **user,system** */ -export type EndpointComputeType = string; +export type Origin = 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 ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * 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 - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Internal** */ -export type OrderString = string; +export type ActionType = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { +/** Known values of {@link EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8700,320 +8402,647 @@ export enum KnownPublicNetworkAccessType { } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * 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 PublicNetworkAccessType = string; +export type EncryptionStatus = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * 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 - * **Default** \ - * **TargetUtilization** + * **Enabled** \ + * **Disabled** */ -export type ScaleType = string; +export type PublicNetworkAccess = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** 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", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * 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 - * **Enabled** \ - * **Disabled** + * **Pending** \ + * **Approved** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type EgressPublicNetworkAccessType = string; +export type PrivateEndpointServiceConnectionStatus = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** 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 DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * 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 - * **Enabled** \ - * **Disabled** + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** */ -export type DataCollectionMode = string; +export type PrivateEndpointConnectionProvisioningState = 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 IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for RollingRateType. \ - * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * 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 - * **Year** \ - * **Month** \ - * **Day** \ - * **Hour** \ - * **Minute** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type RollingRateType = string; +export type IsolationMode = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** 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 ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * 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 - * **StorageInitializer** \ - * **InferenceServer** + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** */ -export type ContainerType = string; +export type RuleCategory = 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 RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * 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 - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **Inactive** \ + * **Active** */ -export type SkuScaleType = string; +export type RuleStatus = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * 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 - * **Primary** \ - * **Secondary** + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type KeyType = string; +export type RuleType = 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 ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * 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 - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **Inactive** \ + * **Active** */ -export type ScheduleListViewType = string; +export type ManagedNetworkStatus = 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 FirewallSku} that the service accepts. */ +export enum KnownFirewallSku { + /** Standard */ + Standard = "Standard", + /** Basic */ + Basic = "Basic", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * 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 - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **Standard** \ + * **Basic** */ -export type ScheduleActionType = string; +export type FirewallSku = 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 DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * 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 - * **Creating** \ - * **Updating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Warning** \ + * **Error** \ + * **Information** */ -export type ScheduleProvisioningStatus = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** 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", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * 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 - * **Key** + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ + * **None** \ + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type ConnectionAuthType = 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 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 ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * 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 - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **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 ServerlessEndpointState = string; +export type ConnectionCategory = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** 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 ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * 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 - * **Enabled** \ - * **Disabled** + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** */ -export type ContentSafetyStatus = string; +export type ConnectionGroup = 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 ValueFormat} that the service accepts. */ +export enum KnownValueFormat { + /** Json */ + Json = "JSON", } /** - * Defines values for EndpointServiceConnectionStatus. \ - * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, + * Defines values for ValueFormat. \ + * {@link KnownValueFormat} can be used interchangeably with ValueFormat, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** + * **JSON** */ -export type EndpointServiceConnectionStatus = string; +export type ValueFormat = string; /** Known values of {@link ClusterPurpose} that the service accepts. */ export enum KnownClusterPurpose { @@ -9726,24 +9755,6 @@ export enum KnownMountState { */ export type MountState = 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; - /** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ export enum KnownMonitoringFeatureFilterType { /** Includes all features. */ @@ -9832,25 +9843,112 @@ export enum KnownOutputDeliveryMode { * **Upload** \ * **Direct** */ -export type OutputDeliveryMode = string; +export type OutputDeliveryMode = string; + +/** Known values of {@link ForecastHorizonMode} that the service accepts. */ +export enum KnownForecastHorizonMode { + /** Forecast horizon to be determined automatically. */ + Auto = "Auto", + /** Use the custom forecast horizon. */ + Custom = "Custom", +} + +/** + * Defines values for ForecastHorizonMode. \ + * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. + */ +export type ForecastHorizonMode = string; + +/** Known values of {@link JobOutputType} that the service accepts. */ +export enum KnownJobOutputType { + /** UriFile */ + 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 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 + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** + */ +export type JobTier = 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 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 ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * 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 - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **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 ForecastHorizonMode = string; +export type LogVerbosity = string; /** Known values of {@link TaskType} that the service accepts. */ export enum KnownTaskType { @@ -9926,36 +10024,6 @@ export enum KnownTaskType { */ export type TaskType = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical", -} - -/** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NotSet**: No logs emitted. \ - * **Debug**: Debug and above log statements logged. \ - * **Info**: Info and above log statements logged. \ - * **Warning**: Warning and above log statements logged. \ - * **Error**: Error and above log statements logged. \ - * **Critical**: Only critical statements logged. - */ -export type LogVerbosity = string; - /** Known values of {@link JobInputType} that the service accepts. */ export enum KnownJobInputType { /** Literal */ @@ -9989,63 +10057,6 @@ export enum KnownJobInputType { */ export type JobInputType = 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", -} - -/** - * 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 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 - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** - */ -export type JobTier = 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. */ @@ -10347,7 +10358,7 @@ export enum KnownClassificationModels { DecisionTree = "DecisionTree", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", @@ -10385,7 +10396,7 @@ export enum KnownClassificationModels { * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ @@ -10430,27 +10441,6 @@ export enum KnownStackMetaLearnerType { */ 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. */ @@ -10493,6 +10483,27 @@ export enum KnownBlockedTransformers { */ export type BlockedTransformers = string; +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", +} + +/** + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. + */ +export type FeaturizationMode = string; + /** Known values of {@link DistributionType} that the service accepts. */ export enum KnownDistributionType { /** PyTorch */ @@ -10532,6 +10543,21 @@ export enum KnownJobLimitsType { */ export type JobLimitsType = string; +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", +} + +/** + * 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 + * **ServerlessSpark**: Serverless Spark compute. + */ +export type MonitorComputeType = string; + /** Known values of {@link ModelTaskType} that the service accepts. */ export enum KnownModelTaskType { /** Classification */ @@ -10550,6 +10576,21 @@ export enum KnownModelTaskType { */ export type ModelTaskType = string; +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", +} + +/** + * 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 + * **AmlNotification**: Enables email notifications through AML notifications. + */ +export type MonitoringNotificationType = 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. */ @@ -10577,36 +10618,6 @@ export enum KnownMonitoringSignalType { */ export type MonitoringSignalType = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", -} - -/** - * 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 - * **AmlNotification**: Enables email notifications through AML notifications. - */ -export type MonitoringNotificationType = string; - -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", -} - -/** - * 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 - * **ServerlessSpark**: Serverless Spark compute. - */ -export type MonitorComputeType = string; - /** Known values of {@link MonitoringInputDataType} that the service accepts. */ export enum KnownMonitoringInputDataType { /** An input data with a fixed window size. */ @@ -10642,48 +10653,24 @@ export enum KnownFeatureImportanceMode { * 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. - */ -export type FeatureImportanceMode = string; - -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", -} - -/** - * 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 - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. - */ -export type FeatureAttributionMetric = 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", + * **Enabled**: Enables computing feature importance within a signal. + */ +export type FeatureImportanceMode = string; + +/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ +export enum KnownFeatureAttributionMetric { + /** The Normalized Discounted Cumulative Gain metric. */ + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * 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 - * **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. + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. */ -export type ForecastingPrimaryMetrics = string; +export type FeatureAttributionMetric = string; /** Known values of {@link FeatureLags} that the service accepts. */ export enum KnownFeatureLags { @@ -10727,6 +10714,33 @@ export enum KnownShortSeriesHandlingConfiguration { */ export type ShortSeriesHandlingConfiguration = 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", +} + +/** + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** + */ +export type TargetAggregationFunction = string; + /** Known values of {@link UseStl} that the service accepts. */ export enum KnownUseStl { /** No stl decomposition. */ @@ -10748,32 +10762,29 @@ export enum KnownUseStl { */ export type UseStl = 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 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 TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * 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 - * **None**: Represent no value set. \ - * **Sum** \ - * **Max** \ - * **Min** \ - * **Mean** + * **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 TargetAggregationFunction = string; +export type ForecastingPrimaryMetrics = string; /** Known values of {@link ForecastingModels} that the service accepts. */ export enum KnownForecastingModels { @@ -10828,7 +10839,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", @@ -10868,7 +10879,7 @@ export enum KnownForecastingModels { * to find the model parameters that correspond to the best fit between predicted and actual outputs. * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ @@ -11077,7 +11088,7 @@ export enum KnownNumericalDataDriftMetric { PopulationStabilityIndex = "PopulationStabilityIndex", /** The Normalized Wasserstein Distance metric. */ NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } @@ -11089,7 +11100,7 @@ export enum KnownNumericalDataDriftMetric { * **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. + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ export type NumericalDataDriftMetric = string; @@ -11122,7 +11133,7 @@ export enum KnownNumericalPredictionDriftMetric { PopulationStabilityIndex = "PopulationStabilityIndex", /** The Normalized Wasserstein Distance metric. */ NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } @@ -11134,7 +11145,7 @@ export enum KnownNumericalPredictionDriftMetric { * **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. + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ export type NumericalPredictionDriftMetric = string; @@ -11219,222 +11230,84 @@ export enum KnownRegressionModels { /** * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor", -} - -/** - * Defines values for RegressionModels. \ - * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type RegressionModels = string; - -/** Known values of {@link SparkJobEntryType} that the service accepts. */ -export enum KnownSparkJobEntryType { - /** SparkJobPythonEntry */ - SparkJobPythonEntry = "SparkJobPythonEntry", - /** SparkJobScalaEntry */ - SparkJobScalaEntry = "SparkJobScalaEntry", -} - -/** - * Defines values for SparkJobEntryType. \ - * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SparkJobPythonEntry** \ - * **SparkJobScalaEntry** - */ -export type SparkJobEntryType = string; -/** Defines values for SkuTier. */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; - -/** Optional parameters. */ -export interface OperationsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResult; - -/** Optional parameters. */ -export interface WorkspacesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; - -/** Optional parameters. */ -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 createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; - -/** Optional parameters. */ -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. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams - 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 WorkspacesUpdateResponse = Workspace; - -/** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} - -/** Contains response data for the listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams - 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 - extends coreClient.OperationOptions {} - -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; - -/** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams - 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 WorkspacesListBySubscriptionOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: 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; - -/** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams - 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; + * 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", } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; - -/** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; - -/** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +/** + * 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; -/** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", +} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** + * 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; -/** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} -/** Contains response data for the listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** + * 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 {} @@ -11552,172 +11425,31 @@ export interface ComputeStopOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ComputeRestartOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; - -/** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = - PrivateEndpointConnectionListResult; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = - PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; - -/** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} - -/** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams - 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 ManagedNetworkSettingsRuleGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams - 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 ManagedNetworkSettingsRuleCreateOrUpdateResponse = - OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; + resumeFrom?: string; +} /** Optional parameters. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams +export interface ComputeRestartOptionalParams 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 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 RegistryCodeContainersListOptionalParams @@ -13542,14 +13274,244 @@ export interface SchedulesDeleteOptionalParams } /** Optional parameters. */ -export interface SchedulesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; - -/** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams +export interface SchedulesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type SchedulesGetResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type SchedulesCreateOrUpdateResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ServerlessEndpointsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** 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 ServerlessEndpointsUpdateOptionalParams + 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 ServerlessEndpointsUpdateResponse = ServerlessEndpoint; + +/** Optional parameters. */ +export interface ServerlessEndpointsCreateOrUpdateOptionalParams + 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 ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; + +/** Optional parameters. */ +export interface ServerlessEndpointsListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface ServerlessEndpointsRegenerateKeysOptionalParams + 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 regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface ServerlessEndpointsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistriesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistriesGetResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type RegistriesCreateOrUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesRemoveRegionsOptionalParams + 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 removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistriesListNextResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface WorkspaceFeaturesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; + +/** Optional parameters. */ +export interface WorkspaceFeaturesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; + +/** Optional parameters. */ +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; + +/** Optional parameters. */ +export interface WorkspacesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspacesGetResponse = Workspace; + +/** Optional parameters. */ +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 createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; + +/** Optional parameters. */ +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. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13557,49 +13519,42 @@ export interface SchedulesCreateOrUpdateOptionalParams 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 update operation. */ +export type WorkspacesUpdateResponse = Workspace; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams +export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } -/** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams +export interface WorkspacesDiagnoseOptionalParams 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 delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +/** Contains response data for the diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams +export interface WorkspacesListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams +export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13607,30 +13562,26 @@ export interface ServerlessEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; - /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams +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; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams +export interface WorkspacesListNotebookAccessTokenOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = + NotebookAccessTokenResult; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams +export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13638,108 +13589,199 @@ export interface ServerlessEndpointsRegenerateKeysOptionalParams resumeFrom?: string; } -/** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +/** Contains response data for the prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = + ListStorageAccountKeysResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface WorkspacesListNotebookKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; /** Optional parameters. */ -export interface RegistriesListOptionalParams +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = + ExternalFqdnResponse; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface WorkspacesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface RegistriesGetOptionalParams +export interface WorkspacesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = + PrivateEndpointConnectionListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = + PrivateEndpointConnection; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceConnectionsGetResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceConnectionsUpdateOptionalParams 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; + /** Parameters for workspace connection update. */ + body?: WorkspaceConnectionUpdateParameter; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistriesCreateOrUpdateResponse = Registry; +/** Contains response data for the update operation. */ +export type WorkspaceConnectionsUpdateResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface RegistriesRemoveRegionsOptionalParams +export interface WorkspaceConnectionsListOptionalParams 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; + /** 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 removeRegions operation. */ -export type RegistriesRemoveRegionsResponse = Registry; +/** Contains response data for the list operation. */ +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams +export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams +export interface ManagedNetworkSettingsRuleDeleteOptionalParams + 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 ManagedNetworkSettingsRuleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams + 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 ManagedNetworkSettingsRuleCreateOrUpdateResponse = + OutboundRuleBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; + +/** 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 diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index f7208e80909a..18deec9e560c 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,110 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { }, }; -export const EncryptionProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EncryptionProperty", - modelProperties: { - status: { - serializedName: "status", - required: true, - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityForCmk", - }, - }, - keyVaultProperties: { - serializedName: "keyVaultProperties", - type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", - }, - }, - }, - }, -}; - -export const IdentityForCmk: coreClient.CompositeMapper = { +export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityForCmk", + className: "VirtualMachineSizeListResult", modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineSize", + }, + }, }, }, }, }, }; -export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { +export const VirtualMachineSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultProperties", + className: "VirtualMachineSize", modelProperties: { - keyVaultArmId: { - serializedName: "keyVaultArmId", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - keyIdentifier: { - serializedName: "keyIdentifier", - required: true, + family: { + serializedName: "family", + readOnly: true, type: { name: "String", }, }, - identityClientId: { - serializedName: "identityClientId", + vCPUs: { + serializedName: "vCPUs", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - serializedName: "id", + gpus: { + serializedName: "gpus", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + osVhdSizeMB: { + serializedName: "osVhdSizeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + maxResourceVolumeMB: { + serializedName: "maxResourceVolumeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - actionsRequired: { - serializedName: "actionsRequired", + memoryGB: { + serializedName: "memoryGB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const ManagedServiceIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedServiceIdentity", - modelProperties: { - principalId: { - serializedName: "principalId", + lowPriorityCapable: { + serializedName: "lowPriorityCapable", readOnly: true, type: { - name: "Uuid", + name: "Boolean", }, }, - tenantId: { - serializedName: "tenantId", + premiumIO: { + serializedName: "premiumIO", readOnly: true, type: { - name: "Uuid", + name: "Boolean", }, }, - type: { - serializedName: "type", - required: true, + estimatedVMPrices: { + serializedName: "estimatedVMPrices", type: { - name: "String", + name: "Composite", + className: "EstimatedVMPrices", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + supportedComputeTypes: { + serializedName: "supportedComputeTypes", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" }, + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, @@ -370,204 +325,275 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrices: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "EstimatedVMPrices", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + billingCurrency: { + serializedName: "billingCurrency", + required: true, type: { - name: "Uuid", + name: "String", }, }, - clientId: { - serializedName: "clientId", - readOnly: true, + unitOfMeasure: { + serializedName: "unitOfMeasure", + required: true, type: { - name: "Uuid", + name: "String", }, }, - }, - }, -}; + values: { + serializedName: "values", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EstimatedVMPrice", + }, + }, + }, + }, + }, + }, +}; -export const Sku: coreClient.CompositeMapper = { +export const EstimatedVMPrice: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "EstimatedVMPrice", modelProperties: { - name: { - serializedName: "name", + retailPrice: { + serializedName: "retailPrice", required: true, type: { - name: "String", + name: "Number", }, }, - tier: { - serializedName: "tier", + osType: { + serializedName: "osType", + required: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + vmTier: { + serializedName: "vmTier", + required: true, type: { name: "String", }, }, - family: { - serializedName: "family", + }, + }, +}; + +export const QuotaUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QuotaUpdateParameters", + modelProperties: { + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaBaseProperties", + }, + }, }, }, - capacity: { - serializedName: "capacity", + location: { + serializedName: "location", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const Resource: coreClient.CompositeMapper = { +export const QuotaBaseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "QuotaBaseProperties", modelProperties: { id: { serializedName: "id", - readOnly: true, type: { name: "String", }, }, - name: { - serializedName: "name", - readOnly: true, + type: { + serializedName: "type", type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + limit: { + serializedName: "limit", type: { - name: "String", + name: "Number", }, }, - systemData: { - serializedName: "systemData", + unit: { + serializedName: "unit", type: { - name: "Composite", - className: "SystemData", + name: "String", }, }, }, }, }; -export const SystemData: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UpdateWorkspaceQuotasResult", modelProperties: { - createdBy: { - serializedName: "createdBy", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + }, + }, }, }, - createdByType: { - serializedName: "createdByType", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - createdAt: { - serializedName: "createdAt", + }, + }, +}; + +export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + limit: { + serializedName: "limit", + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", + status: { + serializedName: "status", type: { - name: "DateTime", + name: "String", }, }, }, }, }; -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,420 +602,428 @@ 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", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Composite", - className: "CosmosDbSettings", + 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", - 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", + provisioningErrors: { + serializedName: "provisioningErrors", + readOnly: true, + nullable: true, 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", + }, + }, +}; + +export const ClusterUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ClusterUpdateParameters", + modelProperties: { + properties: { + serializedName: "properties.properties", type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ScaleSettingsInformation", }, }, }, }, }; -export const EncryptionUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettingsInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ScaleSettingsInformation", modelProperties: { - keyVaultProperties: { - serializedName: "keyVaultProperties", + scaleSettings: { + serializedName: "scaleSettings", type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettings", }, }, }, }, }; -export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettings", modelProperties: { - keyIdentifier: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "keyIdentifier", + maxNodeCount: { + serializedName: "maxNodeCount", required: true, type: { - name: "String", + name: "Number", + }, + }, + minNodeCount: { + defaultValue: 0, + serializedName: "minNodeCount", + type: { + name: "Number", + }, + }, + nodeIdleTimeBeforeScaleDown: { + serializedName: "nodeIdleTimeBeforeScaleDown", + type: { + name: "TimeSpan", }, }, }, }, }; -export const WorkspaceListResult: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceListResult", + className: "AmlComputeNodesInformation", modelProperties: { - value: { - serializedName: "value", + nodes: { + serializedName: "nodes", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Workspace", + className: "AmlComputeNodeInformation", }, }, }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -998,267 +1032,183 @@ export const WorkspaceListResult: coreClient.CompositeMapper = { }, }; -export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseWorkspaceParameters", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Composite", - className: "DiagnoseRequestProperties", - }, - }, - }, - }, -}; - -export const DiagnoseRequestProperties: coreClient.CompositeMapper = { +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseRequestProperties", + className: "AmlComputeNodeInformation", modelProperties: { - udr: { - serializedName: "udr", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - nsg: { - serializedName: "nsg", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - resourceLock: { - serializedName: "resourceLock", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - dnsResolution: { - serializedName: "dnsResolution", + nodeId: { + serializedName: "nodeId", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - storageAccount: { - serializedName: "storageAccount", + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - keyVault: { - serializedName: "keyVault", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - containerRegistry: { - serializedName: "containerRegistry", + port: { + serializedName: "port", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Number", }, }, - applicationInsights: { - serializedName: "applicationInsights", + nodeState: { + serializedName: "nodeState", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - others: { - serializedName: "others", + runId: { + serializedName: "runId", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResponseResult: coreClient.CompositeMapper = { +export const ComputeSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResult", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - value: { - serializedName: "value", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "DiagnoseResponseResultValue", + name: "String", }, }, }, }, }; -export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseResponseResultValue", - modelProperties: { - userDefinedRouteResults: { - serializedName: "userDefinedRouteResults", - 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", - }, +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - dnsResolutionResults: { - serializedName: "dnsResolutionResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeContainer", + }, }, }, }, }, - storageAccountResults: { - serializedName: "storageAccountResults", + }, + }; + +export const ResourceBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceBase", + modelProperties: { + description: { + serializedName: "description", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - keyVaultResults: { - serializedName: "keyVaultResults", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - containerRegistryResults: { - serializedName: "containerRegistryResults", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - applicationInsightsResults: { - serializedName: "applicationInsightsResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, + }, + }, +}; + +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - otherResults: { - serializedName: "otherResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion", + }, }, }, }, }, }, - }, -}; + }; -export const DiagnoseResult: coreClient.CompositeMapper = { +export const PendingUploadRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResult", + className: "PendingUploadRequestDto", modelProperties: { - code: { - serializedName: "code", - readOnly: true, - type: { - name: "String", - }, - }, - level: { - serializedName: "level", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - message: { - serializedName: "message", - readOnly: true, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1267,100 +1217,78 @@ export const DiagnoseResult: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceKeysResult", + className: "PendingUploadResponseDto", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "String", + name: "Composite", + className: "BlobReferenceForConsumptionDto", }, }, - userStorageResourceId: { - serializedName: "userStorageResourceId", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - appInsightsInstrumentationKey: { - serializedName: "appInsightsInstrumentationKey", - readOnly: true, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, }, - containerRegistryCredentials: { - serializedName: "containerRegistryCredentials", - type: { - name: "Composite", - className: "RegistryListCredentialsResult", - }, - }, - notebookAccessKeys: { - serializedName: "notebookAccessKeys", - type: { - name: "Composite", - className: "ListNotebookKeysResult", - }, - }, }, }, }; -export const RegistryListCredentialsResult: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "BlobReferenceForConsumptionDto", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - username: { - serializedName: "username", - readOnly: true, + credential: { + serializedName: "credential", type: { - name: "String", + name: "Composite", + className: "PendingUploadCredentialDto", }, }, - passwords: { - serializedName: "passwords", + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Password", - }, - }, + name: "String", }, }, }, }, }; -export const Password: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Password", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -1369,131 +1297,179 @@ export const Password: coreClient.CompositeMapper = { }, }; -export const ListNotebookKeysResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListNotebookKeysResult", - modelProperties: { - primaryAccessKey: { - serializedName: "primaryAccessKey", - readOnly: true, - type: { - name: "String", +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", + }, + }, + }, }, }, - secondaryAccessKey: { - serializedName: "secondaryAccessKey", - readOnly: true, - type: { - name: "String", + }, + }; + +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 ListUsagesResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListUsagesResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Usage", +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", + }, + }; + +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataVersionBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, + }, }, }, }, - }, -}; + }; -export const Usage: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, + assetId: { + serializedName: "assetId", + nullable: true, type: { name: "String", }, }, - unit: { - serializedName: "unit", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - currentValue: { - serializedName: "currentValue", - readOnly: true, - type: { - name: "Number", - }, - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number", - }, - }, - name: { - serializedName: "name", + }, + }, +}; + +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GetBlobReferenceSASResponseDto", + modelProperties: { + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { name: "Composite", - className: "UsageName", + className: "GetBlobReferenceForConsumptionDto", }, }, }, }, }; -export const UsageName: coreClient.CompositeMapper = { +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UsageName", + className: "GetBlobReferenceForConsumptionDto", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + credential: { + serializedName: "credential", + type: { + name: "Composite", + className: "DataReferenceCredential", + }, + }, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { name: "String", }, @@ -1502,175 +1478,102 @@ export const UsageName: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSizeListResult", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - value: { - serializedName: "value", + credentialType: { + serializedName: "credentialType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineSize", - }, - }, + name: "String", }, }, }, }, }; -export const VirtualMachineSize: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSize", - modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - family: { - serializedName: "family", - readOnly: true, - type: { - name: "String", - }, - }, - vCPUs: { - serializedName: "vCPUs", - readOnly: true, - type: { - name: "Number", - }, - }, - gpus: { - serializedName: "gpus", - readOnly: true, - type: { - name: "Number", - }, - }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, - type: { - name: "Number", - }, - }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, - type: { - name: "Number", - }, - }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, - type: { - name: "Number", - }, - }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, - type: { - name: "Boolean", - }, - }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, - type: { - name: "Boolean", - }, - }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", - type: { - name: "Composite", - className: "EstimatedVMPrices", +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", - type: { - name: "Sequence", - element: { - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, }, }, }, }, }, - }, -}; + }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EstimatedVMPrices", - modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, - type: { - name: "String", - }, - }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, - type: { - name: "String", +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - values: { - serializedName: "values", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EstimatedVMPrice", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, }, }, }, }, }, - }, -}; + }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const BuildContext: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "BuildContext", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - osType: { - serializedName: "osType", + serializedName: "contextUri", required: true, type: { name: "String", }, }, - vmTier: { - serializedName: "vmTier", - required: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, @@ -1679,158 +1582,172 @@ export const EstimatedVMPrice: coreClient.CompositeMapper = { }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { +export const InferenceContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaUpdateParameters", + className: "InferenceContainerProperties", modelProperties: { - value: { - serializedName: "value", + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaBaseProperties", - }, - }, + name: "Composite", + className: "Route", }, }, - location: { - serializedName: "location", + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "String", + name: "Composite", + className: "Route", + }, + }, + scoringRoute: { + serializedName: "scoringRoute", + type: { + name: "Composite", + className: "Route", }, }, }, }, }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "Route", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - type: { - serializedName: "type", + serializedName: "path", + required: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", + port: { + serializedName: "port", + required: true, type: { name: "Number", }, }, - unit: { - serializedName: "unit", - 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 ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer", + }, + }, + }, }, }, - limit: { - serializedName: "limit", - type: { - name: "Number", + }, + }; + +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - unit: { - serializedName: "unit", - readOnly: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", + }, + }, + }, }, }, - status: { - serializedName: "status", + }, + }; + +export const FlavorData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FlavorData", + modelProperties: { + data: { + serializedName: "data", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListWorkspaceQuotas", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceQuota", +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", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + }, + }; + +export const BatchEndpointDefaults: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointDefaults", + modelProperties: { + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, @@ -1839,49 +1756,52 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "EndpointPropertiesBase", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "EndpointAuthKeys", }, }, - name: { - serializedName: "name", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Composite", - className: "ResourceName", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - limit: { - serializedName: "limit", + scoringUri: { + serializedName: "scoringUri", readOnly: true, + nullable: true, type: { - name: "Number", + name: "String", }, }, - unit: { - serializedName: "unit", + swaggerUri: { + serializedName: "swaggerUri", readOnly: true, + nullable: true, type: { name: "String", }, @@ -1890,21 +1810,21 @@ export const ResourceQuota: coreClient.CompositeMapper = { }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const EndpointAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "EndpointAuthKeys", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { name: "String", }, @@ -1913,360 +1833,278 @@ export const ResourceName: coreClient.CompositeMapper = { }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PaginatedComputeResourcesList", + className: "PartialManagedServiceIdentity", modelProperties: { - value: { - serializedName: "value", + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeResource", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResourceSchema", + className: "PartialMinimalTrackedResource", modelProperties: { - properties: { - serializedName: "properties", + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "Compute", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -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", +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + 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", - }, - }, - 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: "BatchDeployment", + }, }, }, }, }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, - type: { - name: "Boolean", - }, - }, - disableLocalAuth: { - serializedName: "disableLocalAuth", - type: { - name: "Boolean", - }, - }, }, - }, -}; + }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: { + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", + }, modelProperties: { - properties: { - serializedName: "properties.properties", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", + required: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: { + serializedName: "referenceType", + clientName: "referenceType", + }, modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + referenceType: { + serializedName: "referenceType", + required: true, type: { - name: "Composite", - className: "ScaleSettings", + name: "String", }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "ResourceConfiguration", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", type: { name: "Number", }, }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + instanceType: { + serializedName: "instanceType", + nullable: true, type: { - name: "Number", + name: "String", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "TimeSpan", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "BatchRetrySettings", modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodeInformation", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, + codeConfiguration: { + serializedName: "codeConfiguration", type: { - name: "String", + name: "Composite", + className: "CodeConfiguration", }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String", }, }, - port: { - serializedName: "port", - readOnly: true, - type: { - name: "Number", - }, - }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - runId: { - serializedName: "runId", - readOnly: true, + properties: { + serializedName: "properties", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "CodeConfiguration", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, - type: { - name: "String", - }, - }, - hostName: { - serializedName: "hostName", - readOnly: true, - type: { - name: "String", - }, - }, - publicDns: { - serializedName: "publicDns", - readOnly: true, + codeId: { + serializedName: "codeId", + nullable: true, type: { name: "String", }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, - type: { - name: "String", + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + serializedName: "scoringScript", + required: true, type: { name: "String", }, }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, - type: { - name: "Number", - }, - }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, - type: { - name: "String", + }, + }, +}; + +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PartialBatchDeployment", + }, }, - }, - scope: { - serializedName: "scope", - readOnly: true, - type: { - name: "String", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, }, }, - }, -}; + }; -export const ComputeSecrets: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "PartialBatchDeployment", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, @@ -2275,32 +2113,47 @@ export const ComputeSecrets: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "DestinationAsset", modelProperties: { - value: { - serializedName: "value", + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "String", + }, + }, + destinationVersion: { + serializedName: "destinationVersion", + nullable: true, + type: { + name: "String", + }, + }, + registryName: { + serializedName: "registryName", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2308,7 +2161,7 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkResource", + className: "Datastore", }, }, }, @@ -2317,14 +2170,19 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { }, }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: { + serializedName: "credentialsType", + clientName: "credentialsType", + }, modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + credentialsType: { + serializedName: "credentialsType", + required: true, type: { name: "String", }, @@ -2333,102 +2191,39 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", + serializedName: "secretsType", + clientName: "secretsType", }, modelProperties: { - authType: { - serializedName: "authType", + secretsType: { + serializedName: "secretsType", required: true, type: { name: "String", }, }, - category: { - serializedName: "category", - type: { - name: "String", - }, - }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, - type: { - name: "String", - }, - }, - expiryTime: { - serializedName: "expiryTime", - type: { - name: "DateTime", - }, - }, - group: { - serializedName: "group", - readOnly: true, - type: { - name: "String", - }, - }, - isSharedToAll: { - serializedName: "isSharedToAll", - type: { - name: "Boolean", - }, - }, - target: { - serializedName: "target", - type: { - name: "String", - }, - }, - metadata: { - serializedName: "metadata", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sharedUserList: { - serializedName: "sharedUserList", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - value: { - serializedName: "value", - type: { - name: "String", - }, - }, - valueFormat: { - serializedName: "valueFormat", - type: { - name: "String", - }, - }, }, }, }; -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + className: "FeaturesetContainerResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2436,27 +2231,26 @@ export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: cor element: { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "FeaturesetContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "FeatureResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2464,7 +2258,7 @@ export const ExternalFqdnResponse: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "FqdnEndpoints", + className: "Feature", }, }, }, @@ -2473,235 +2267,270 @@ export const ExternalFqdnResponse: coreClient.CompositeMapper = { }, }; -export const FqdnEndpoints: coreClient.CompositeMapper = { +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetVersion", + }, + }, + }, + }, + }, + }, + }; + +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoints", + className: "MaterializationSettings", modelProperties: { - properties: { - serializedName: "properties", + notification: { + serializedName: "notification", type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "NotificationSetting", + }, + }, + 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", }, }, }, }, }; -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "NotificationSetting", modelProperties: { - category: { - serializedName: "category", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - endpoints: { - serializedName: "endpoints", + emails: { + serializedName: "emails", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "FqdnEndpoint", + name: "String", }, }, }, }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, + }, + }, }, }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "Webhook", + uberParent: "Webhook", + polymorphicDiscriminator: { + serializedName: "webhookType", + clientName: "webhookType", + }, modelProperties: { - domainName: { - serializedName: "domainName", + eventType: { + serializedName: "eventType", + nullable: true, type: { name: "String", }, }, - endpointDetails: { - serializedName: "endpointDetails", + webhookType: { + serializedName: "webhookType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpointDetail", - }, - }, + name: "String", }, }, }, }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "MaterializationComputeResource", modelProperties: { - port: { - serializedName: "port", + instanceType: { + serializedName: "instanceType", + nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const OutboundRuleListResult: coreClient.CompositeMapper = { +export const RecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleListResult", + className: "RecurrenceSchedule", modelProperties: { - nextLink: { - serializedName: "nextLink", + hours: { + serializedName: "hours", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - value: { - serializedName: "value", + minutes: { + serializedName: "minutes", + required: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "OutboundRuleBasicResource", + name: "Number", }, }, }, }, - }, - }, -}; - -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedNetworkProvisionOptions", - modelProperties: { - includeSpark: { - serializedName: "includeSpark", + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "Boolean", - }, - }, - }, - }, -}; - -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeContainer", - }, + 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 ResourceBase: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - description: { - serializedName: "description", + endTime: { + serializedName: "endTime", nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + startTime: { + serializedName: "startTime", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - }, - }, -}; - -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + triggerType: { + serializedName: "triggerType", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const FeaturesetSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "FeaturesetSpecification", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", - nullable: true, - type: { - name: "String", - }, - }, - pendingUploadType: { - serializedName: "pendingUploadType", + path: { + serializedName: "path", + nullable: true, type: { name: "String", }, @@ -2710,120 +2539,135 @@ export const PendingUploadRequestDto: coreClient.CompositeMapper = { }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { - name: "Composite", - className: "BlobReferenceForConsumptionDto", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - pendingUploadId: { - serializedName: "pendingUploadId", - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + featureWindow: { + serializedName: "featureWindow", + type: { + name: "Composite", + className: "FeatureWindow", + }, + }, + jobId: { + serializedName: "jobId", type: { name: "String", }, }, + properties: { + serializedName: "properties", + 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" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, }, }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "FeatureWindow", modelProperties: { - blobUri: { - serializedName: "blobUri", + featureWindowEnd: { + serializedName: "featureWindowEnd", nullable: true, type: { - name: "String", + name: "DateTime", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + featureWindowStart: { + serializedName: "featureWindowStart", nullable: true, type: { - name: "String", - }, - }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "PendingUploadCredentialDto", + name: "DateTime", }, }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "FeaturesetVersionBackfillResponse", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + jobIds: { + serializedName: "jobIds", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -2831,55 +2675,27 @@ export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMap element: { type: { name: "Composite", - className: "ComponentVersion", + className: "FeaturestoreEntityContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerResourceArmPaginatedResult", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -2887,36 +2703,29 @@ export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapp element: { type: { name: "Composite", - className: "DataVersionBase", + className: "FeaturestoreEntityVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "IndexColumn", modelProperties: { - assetId: { - serializedName: "assetId", + columnName: { + serializedName: "columnName", nullable: true, type: { name: "String", }, }, - blobUri: { - serializedName: "blobUri", - nullable: true, + dataType: { + serializedName: "dataType", type: { name: "String", }, @@ -2925,64 +2734,127 @@ export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { }, }; -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASResponseDto", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobBase", + }, + }, }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, modelProperties: { - blobUri: { - serializedName: "blobUri", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + identityType: { + serializedName: "identityType", + required: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "DataReferenceCredential", - }, - }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", + className: "JobService", + modelProperties: { + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String", + }, + }, + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, + type: { + name: "String", + }, + }, + nodes: { + serializedName: "nodes", + type: { + name: "Composite", + className: "Nodes", + }, + }, + port: { + serializedName: "port", + nullable: true, + type: { + name: "Number", + }, + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Nodes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Nodes", + uberParent: "Nodes", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "nodesValueType", + clientName: "nodesValueType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + nodesValueType: { + serializedName: "nodesValueType", required: true, type: { name: "String", @@ -2992,40 +2864,18 @@ export const DataReferenceCredential: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -3033,40 +2883,48 @@ export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeM element: { type: { name: "Composite", - className: "EnvironmentVersion", + className: "MarketplaceSubscription", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const BuildContext: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "MarketplaceSubscriptionProperties", modelProperties: { - contextUri: { + marketplacePlan: { + serializedName: "marketplacePlan", + type: { + name: "Composite", + className: "MarketplacePlan", + }, + }, + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", + readOnly: true, + type: { + name: "String", + }, + }, + modelId: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "contextUri", + serializedName: "modelId", required: true, type: { name: "String", }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -3075,69 +2933,51 @@ export const BuildContext: coreClient.CompositeMapper = { }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "MarketplacePlan", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", - type: { - name: "Composite", - className: "Route", - }, - }, - readinessRoute: { - serializedName: "readinessRoute", - type: { - name: "Composite", - className: "Route", - }, - }, - scoringRoute: { - serializedName: "scoringRoute", + offerId: { + serializedName: "offerId", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "Route", + name: "String", }, }, - }, - }, -}; - -export const Route: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Route", - modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "path", - required: true, + planId: { + serializedName: "planId", + readOnly: true, + nullable: true, type: { name: "String", }, }, - port: { - serializedName: "port", - required: true, + publisherId: { + serializedName: "publisherId", + readOnly: true, + nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3145,27 +2985,27 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer", + className: "OnlineEndpoint", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3173,263 +3013,168 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ModelVersion", + className: "OnlineDeployment", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FlavorData: coreClient.CompositeMapper = { +export const DataCollector: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "DataCollector", modelProperties: { - data: { - serializedName: "data", - nullable: true, + collections: { + serializedName: "collections", + required: true, type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "Composite", className: "Collection" } }, + }, + }, + requestLogging: { + serializedName: "requestLogging", + type: { + name: "Composite", + className: "RequestLogging", + }, + }, + rollingRate: { + serializedName: "rollingRate", + 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", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const BatchEndpointDefaults: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpointDefaults", - modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "Collection", modelProperties: { - description: { - serializedName: "description", + clientId: { + serializedName: "clientId", nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - scoringUri: { - serializedName: "scoringUri", - readOnly: true, - nullable: true, + dataCollectionMode: { + serializedName: "dataCollectionMode", type: { name: "String", }, }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String", }, }, - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String", - }, - }, - keys: { - serializedName: "keys", + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", type: { - name: "Composite", - className: "EndpointAuthKeys", + name: "Number", }, }, }, }, }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const RequestLogging: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "RequestLogging", modelProperties: { - primaryKey: { - serializedName: "primaryKey", - nullable: true, - type: { - name: "String", - }, - }, - secondaryKey: { - serializedName: "secondaryKey", + captureHeaders: { + serializedName: "captureHeaders", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "ProbeSettings", modelProperties: { - type: { - serializedName: "type", + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String", + name: "Number", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + initialDelay: { + serializedName: "initialDelay", + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "TimeSpan", }, }, - }, - }, -}; - -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialMinimalTrackedResource", - modelProperties: { - tags: { - serializedName: "tags", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, - }, - }, -}; - -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchDeployment", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", + type: { + name: "Number", }, }, - }, - }; - -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", - }, - modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", - required: true, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const OnlineRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "OnlineRequestSettings", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { name: "Number", }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", + type: { + name: "TimeSpan", + }, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { name: "TimeSpan", }, @@ -3438,18 +3183,18 @@ export const BatchRetrySettings: coreClient.CompositeMapper = { }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", + serializedName: "scaleType", + clientName: "scaleType", }, modelProperties: { - referenceType: { - serializedName: "referenceType", + scaleType: { + serializedName: "scaleType", required: true, type: { name: "String", @@ -3459,104 +3204,170 @@ export const AssetReferenceBase: coreClient.CompositeMapper = { }, }; -export const ResourceConfiguration: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceConfiguration", + className: "PartialSku", modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", + capacity: { + serializedName: "capacity", type: { name: "Number", }, }, - instanceType: { - serializedName: "instanceType", - nullable: true, + family: { + serializedName: "family", type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - }, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + }, }, }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "DeploymentLogsRequest", modelProperties: { - description: { - serializedName: "description", - nullable: true, + containerType: { + serializedName: "containerType", type: { name: "String", }, }, - properties: { - serializedName: "properties", + tail: { + serializedName: "tail", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - codeConfiguration: { - serializedName: "codeConfiguration", + }, + }, +}; + +export const DeploymentLogs: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentLogs", + modelProperties: { + content: { + serializedName: "content", + nullable: true, type: { - name: "Composite", - className: "CodeConfiguration", + name: "String", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + }, + }, +}; + +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuResource", + }, + }, }, }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "SkuResource", modelProperties: { - codeId: { - serializedName: "codeId", + capacity: { + serializedName: "capacity", + type: { + name: "Composite", + className: "SkuCapacity", + }, + }, + resourceType: { + serializedName: "resourceType", + readOnly: true, nullable: true, type: { name: "String", }, }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "SkuSetting", }, - serializedName: "scoringScript", - required: true, + }, + }, + }, +}; + +export const SkuCapacity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuCapacity", + modelProperties: { + default: { + defaultValue: 0, + serializedName: "default", + type: { + name: "Number", + }, + }, + maximum: { + defaultValue: 0, + serializedName: "maximum", + type: { + name: "Number", + }, + }, + minimum: { + defaultValue: 0, + serializedName: "minimum", + type: { + name: "Number", + }, + }, + scaleType: { + serializedName: "scaleType", type: { name: "String", }, @@ -3565,38 +3376,47 @@ export const CodeConfiguration: coreClient.CompositeMapper = { }, }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "PartialBatchDeployment", - }, +export const SkuSetting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuSetting", + modelProperties: { + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + serializedName: "name", + required: true, + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, - }; + }, +}; -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "RegenerateEndpointKeysRequest", modelProperties: { - description: { - serializedName: "description", + keyType: { + serializedName: "keyType", + required: true, + type: { + name: "String", + }, + }, + keyValue: { + serializedName: "keyValue", nullable: true, type: { name: "String", @@ -3606,27 +3426,34 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "EndpointAuthToken", modelProperties: { - registryName: { - serializedName: "registryName", + accessToken: { + serializedName: "accessToken", nullable: true, type: { name: "String", }, }, - destinationName: { - serializedName: "destinationName", - nullable: true, + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "String", + name: "Number", }, }, - destinationVersion: { - serializedName: "destinationVersion", + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", + type: { + name: "Number", + }, + }, + tokenType: { + serializedName: "tokenType", nullable: true, type: { name: "String", @@ -3636,11 +3463,17 @@ export const DestinationAsset: coreClient.CompositeMapper = { }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3648,33 +3481,27 @@ export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Datastore", + className: "Schedule", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const ScheduleActionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", + serializedName: "actionType", + clientName: "actionType", }, modelProperties: { - credentialsType: { - serializedName: "credentialsType", + actionType: { + serializedName: "actionType", required: true, type: { name: "String", @@ -3684,33 +3511,18 @@ export const DatastoreCredentials: 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 = +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainerResourceArmPaginatedResult", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3718,40 +3530,66 @@ export const FeaturesetContainerResourceArmPaginatedResult: coreClient.Composite element: { type: { name: "Composite", - className: "FeaturesetContainer", + className: "ServerlessEndpoint", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureResourceArmPaginatedResult", + className: "ServerlessEndpointProperties", modelProperties: { - value: { - serializedName: "value", + authMode: { + serializedName: "authMode", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Feature", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ContentSafety", + }, + }, + endpointState: { + serializedName: "endpointState", + readOnly: true, + type: { + name: "String", + }, + }, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ModelSettings", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -3760,12 +3598,75 @@ export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const ContentSafety: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContentSafety", + modelProperties: { + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessInferenceEndpoint", + modelProperties: { + headers: { + serializedName: "headers", + readOnly: true, + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + uri: { + serializedName: "uri", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelSettings", + modelProperties: { + modelId: { + serializedName: "modelId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3773,28 +3674,22 @@ export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMa element: { type: { name: "Composite", - className: "FeaturesetVersion", + className: "Registry", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FeaturesetSpecification: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetSpecification", + className: "ArmResourceId", modelProperties: { - path: { - serializedName: "path", + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String", @@ -3804,99 +3699,142 @@ export const FeaturesetSpecification: coreClient.CompositeMapper = { }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "RegistryPrivateEndpointConnection", modelProperties: { - storeType: { - serializedName: "storeType", + id: { + serializedName: "id", + nullable: true, type: { name: "String", }, }, - schedule: { - serializedName: "schedule", + location: { + serializedName: "location", + nullable: true, type: { - name: "Composite", - className: "RecurrenceTrigger", + name: "String", }, }, - notification: { - serializedName: "notification", + groupIds: { + serializedName: "properties.groupIds", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { name: "Composite", - className: "NotificationSetting", + className: "PrivateEndpointResource", }, }, - resource: { - serializedName: "resource", + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { name: "Composite", - className: "MaterializationComputeResource", + className: "RegistryPrivateLinkServiceConnectionState", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + provisioningState: { + serializedName: "properties.provisioningState", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "PrivateEndpoint", modelProperties: { - hours: { - serializedName: "hours", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, - }, - }, - minutes: { - serializedName: "minutes", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - weekDays: { - serializedName: "weekDays", - nullable: true, - type: { + }, + }, +}; + +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 = { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + modelProperties: { + acrDetails: { + serializedName: "acrDetails", + nullable: true, + type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "AcrDetails", }, }, }, }, - monthDays: { - serializedName: "monthDays", + location: { + serializedName: "location", + nullable: true, + type: { + name: "String", + }, + }, + storageAccountDetails: { + serializedName: "storageAccountDetails", nullable: true, type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "StorageAccountDetails", }, }, }, @@ -3905,108 +3843,101 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const AcrDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "AcrDetails", modelProperties: { - triggerType: { - serializedName: "triggerType", - required: true, + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "String", + name: "Composite", + className: "SystemCreatedAcrAccount", }, }, - endTime: { - serializedName: "endTime", + }, + }, +}; + +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemCreatedAcrAccount", + modelProperties: { + acrAccountName: { + serializedName: "acrAccountName", nullable: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", + acrAccountSku: { + serializedName: "acrAccountSku", nullable: true, type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, }, }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const StorageAccountDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "StorageAccountDetails", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - emailOn: { - serializedName: "emailOn", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - webhooks: { - serializedName: "webhooks", - nullable: true, + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, + name: "Composite", + className: "SystemCreatedStorageAccount", }, }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", - polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", - }, + className: "SystemCreatedStorageAccount", modelProperties: { - webhookType: { - serializedName: "webhookType", - required: true, + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", + type: { + name: "Boolean", + }, + }, + armResourceId: { + serializedName: "armResourceId", + type: { + name: "Composite", + className: "ArmResourceId", + }, + }, + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", + type: { + name: "Boolean", + }, + }, + storageAccountName: { + serializedName: "storageAccountName", + nullable: true, type: { name: "String", }, }, - eventType: { - serializedName: "eventType", + storageAccountType: { + serializedName: "storageAccountType", nullable: true, type: { name: "String", @@ -4016,14 +3947,58 @@ export const Webhook: coreClient.CompositeMapper = { }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { +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 = { type: { name: "Composite", - className: "MaterializationComputeResource", + className: "ListAmlUserFeatureResult", modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlUserFeature", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -4032,11 +4007,17 @@ export const MaterializationComputeResource: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillRequest", + className: "AmlUserFeature", modelProperties: { + id: { + serializedName: "id", + type: { + name: "String", + }, + }, displayName: { serializedName: "displayName", type: { @@ -4049,176 +4030,157 @@ export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { name: "String", }, }, - featureWindow: { - serializedName: "featureWindow", - type: { - name: "Composite", - className: "FeatureWindow", - }, - }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + }, + }, +}; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "Operation", }, }, }, }, - jobId: { - serializedName: "jobId", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - resource: { - serializedName: "resource", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, + type: { + name: "Boolean", + }, + }, + display: { + serializedName: "display", type: { name: "Composite", - className: "MaterializationComputeResource", + className: "OperationDisplay", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - properties: { - serializedName: "properties", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const FeatureWindow: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureWindow", + className: "OperationDisplay", modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", - nullable: true, + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - featureWindowEnd: { - serializedName: "featureWindowEnd", - nullable: true, + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "DateTime", + name: "String", + }, + }, + operation: { + serializedName: "operation", + readOnly: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const EncryptionProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "EncryptionProperty", modelProperties: { - jobIds: { - serializedName: "jobIds", - nullable: true, + status: { + serializedName: "status", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityForCmk", }, }, - }, - }; - -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "EncryptionKeyVaultProperties", }, }, }, - }; + }, +}; -export const IndexColumn: coreClient.CompositeMapper = { +export const IdentityForCmk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IndexColumn", + className: "IdentityForCmk", modelProperties: { - dataType: { - serializedName: "dataType", - type: { - name: "String", - }, - }, - columnName: { - serializedName: "columnName", - nullable: true, + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String", }, @@ -4227,25 +4189,27 @@ export const IndexColumn: coreClient.CompositeMapper = { }, }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "EncryptionKeyVaultProperties", modelProperties: { - value: { - serializedName: "value", + keyVaultArmId: { + serializedName: "keyVaultArmId", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobBase", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + keyIdentifier: { + serializedName: "keyIdentifier", + required: true, + type: { + name: "String", + }, + }, + identityClientId: { + serializedName: "identityClientId", type: { name: "String", }, @@ -4254,170 +4218,208 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const JobService: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "PrivateLinkServiceConnectionState", modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - port: { - serializedName: "port", - nullable: true, + description: { + serializedName: "description", type: { - name: "Number", + name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + actionsRequired: { + serializedName: "actionsRequired", type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, - nullable: true, + }, + }, +}; + +export const ServerlessComputeSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessComputeSettings", + modelProperties: { + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { name: "String", }, }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, - nullable: true, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + modelProperties: { + name: { + serializedName: "name", type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - nodes: { - serializedName: "nodes", + groupId: { + serializedName: "properties.groupId", type: { - name: "Composite", - className: "Nodes", + name: "String", + }, + }, + requestMessage: { + serializedName: "properties.requestMessage", + type: { + name: "String", + }, + }, + status: { + serializedName: "properties.status", + type: { + name: "String", }, }, }, }, }; -export const Nodes: coreClient.CompositeMapper = { +export const NotebookResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Nodes", - uberParent: "Nodes", - polymorphicDiscriminator: { - serializedName: "nodesValueType", - clientName: "nodesValueType", - }, + className: "NotebookResourceInfo", modelProperties: { - nodesValueType: { - serializedName: "nodesValueType", - required: true, + fqdn: { + serializedName: "fqdn", + type: { + name: "String", + }, + }, + resourceId: { + serializedName: "resourceId", type: { name: "String", }, }, + notebookPreparationError: { + serializedName: "notebookPreparationError", + type: { + name: "Composite", + className: "NotebookPreparationError", + }, + }, }, }, }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const NotebookPreparationError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, + className: "NotebookPreparationError", modelProperties: { - identityType: { - serializedName: "identityType", - required: true, + errorMessage: { + serializedName: "errorMessage", type: { name: "String", }, }, + statusCode: { + serializedName: "statusCode", + type: { + name: "Number", + }, + }, }, }, }; -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MarketplaceSubscription", - }, - }, - }, +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + modelProperties: { + cosmosDb: { + serializedName: "cosmosDb", + type: { + name: "Composite", + className: "CosmosDbSettings", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + }, + }, +}; + +export const CosmosDbSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CosmosDbSettings", + modelProperties: { + collectionsThroughput: { + serializedName: "collectionsThroughput", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const ManagedNetworkSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "ManagedNetworkSettings", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + isolationMode: { + serializedName: "isolationMode", + type: { + name: "String", }, - serializedName: "modelId", - required: true, + }, + networkId: { + serializedName: "networkId", + readOnly: true, type: { name: "String", }, }, - marketplacePlan: { - serializedName: "marketplacePlan", + outboundRules: { + serializedName: "outboundRules", + nullable: true, type: { - name: "Composite", - className: "MarketplacePlan", + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, }, }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, + status: { + serializedName: "status", type: { - name: "String", + name: "Composite", + className: "ManagedNetworkProvisionStatus", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + firewallSku: { + serializedName: "firewallSku", type: { name: "String", }, @@ -4426,31 +4428,31 @@ export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const OutboundRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - publisherId: { - serializedName: "publisherId", - readOnly: true, - nullable: true, + category: { + serializedName: "category", type: { name: "String", }, }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - planId: { - serializedName: "planId", - readOnly: true, - nullable: true, + type: { + serializedName: "type", + required: true, type: { name: "String", }, @@ -4459,75 +4461,62 @@ export const MarketplacePlan: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineEndpoint", - }, - }, - }, +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionStatus", + modelProperties: { + sparkReady: { + serializedName: "sparkReady", + type: { + name: "Boolean", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + status: { + serializedName: "status", + type: { + name: "String", }, }, }, - }; + }, +}; -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineDeployment", - }, - }, - }, +export const FeatureStoreSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureStoreSettings", + modelProperties: { + computeRuntime: { + serializedName: "computeRuntime", + type: { + name: "Composite", + className: "ComputeRuntimeDto", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", + type: { + name: "String", + }, + }, + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", + type: { + name: "String", }, }, }, - }; + }, +}; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const ComputeRuntimeDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType", - }, + className: "ComputeRuntimeDto", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { name: "String", }, @@ -4536,237 +4525,179 @@ export const OnlineScaleSettings: coreClient.CompositeMapper = { }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const WorkspaceHubConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "WorkspaceHubConfig", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", - type: { - name: "TimeSpan", - }, - }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "WorkspaceUpdateParameters", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", - type: { - name: "Number", - }, - }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", + tags: { + serializedName: "tags", type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + sku: { + serializedName: "sku", type: { - name: "TimeSpan", + name: "Composite", + className: "Sku", }, }, - period: { - defaultValue: "PT10S", - serializedName: "period", + identity: { + serializedName: "identity", type: { - name: "TimeSpan", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + description: { + serializedName: "properties.description", type: { - name: "TimeSpan", + name: "String", }, }, - }, - }, -}; - -export const DataCollector: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataCollector", - modelProperties: { - collections: { - serializedName: "collections", - required: true, + friendlyName: { + serializedName: "properties.friendlyName", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, + name: "String", }, }, - rollingRate: { - serializedName: "rollingRate", + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", type: { name: "String", }, }, - requestLogging: { - serializedName: "requestLogging", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "RequestLogging", + className: "ServiceManagedResourcesSettings", }, }, - }, - }, -}; - -export const Collection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Collection", - modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { - name: "Number", + name: "String", }, }, - dataCollectionMode: { - serializedName: "dataCollectionMode", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { - name: "String", + name: "Composite", + className: "ServerlessComputeSettings", }, }, - dataId: { - serializedName: "dataId", - nullable: true, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", - nullable: true, + applicationInsights: { + serializedName: "properties.applicationInsights", type: { name: "String", }, }, - }, - }, -}; - -export const RequestLogging: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RequestLogging", - modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + containerRegistry: { + serializedName: "properties.containerRegistry", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const PartialSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialSku", - modelProperties: { - name: { - serializedName: "name", + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { - name: "String", + name: "Composite", + className: "FeatureStoreSettings", }, }, - tier: { - serializedName: "tier", + managedNetwork: { + serializedName: "properties.managedNetwork", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "Composite", + className: "ManagedNetworkSettings", }, }, - size: { - serializedName: "size", + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", type: { - name: "String", + name: "Boolean", }, }, - family: { - serializedName: "family", + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", type: { - name: "String", + name: "Boolean", }, }, - capacity: { - serializedName: "capacity", + encryption: { + serializedName: "properties.encryption", type: { - name: "Number", + name: "Composite", + className: "EncryptionUpdateProperties", }, }, }, }, }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "EncryptionUpdateProperties", modelProperties: { - containerType: { - serializedName: "containerType", - type: { - name: "String", - }, - }, - tail: { - serializedName: "tail", - nullable: true, + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "Number", + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", }, }, }, }, }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "EncryptionKeyVaultUpdateProperties", modelProperties: { - content: { - serializedName: "content", - nullable: true, + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, @@ -4775,10 +4706,10 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const WorkspaceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "WorkspaceListResult", modelProperties: { value: { serializedName: "value", @@ -4787,7 +4718,7 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SkuResource", + className: "Workspace", }, }, }, @@ -4802,388 +4733,392 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "DiagnoseWorkspaceParameters", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "SkuSetting", - }, - }, - capacity: { - serializedName: "capacity", + value: { + serializedName: "value", type: { name: "Composite", - className: "SkuCapacity", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const SkuSetting: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuSetting", + className: "DiagnoseRequestProperties", modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + udr: { + serializedName: "udr", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, - serializedName: "name", - required: true, + }, + nsg: { + serializedName: "nsg", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - tier: { - serializedName: "tier", + resourceLock: { + serializedName: "resourceLock", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - }, - }, -}; - -export const SkuCapacity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuCapacity", - modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + storageAccount: { + serializedName: "storageAccount", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - default: { - defaultValue: 0, - serializedName: "default", + keyVault: { + serializedName: "keyVault", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - scaleType: { - serializedName: "scaleType", + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + applicationInsights: { + serializedName: "applicationInsights", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + others: { + serializedName: "others", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const DiagnoseResponseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "DiagnoseResponseResult", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, - type: { - name: "String", - }, - }, - keyValue: { - serializedName: "keyValue", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Composite", + className: "DiagnoseResponseResultValue", }, }, }, }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "DiagnoseResponseResultValue", modelProperties: { - accessToken: { - serializedName: "accessToken", - nullable: true, + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + resourceLockResults: { + serializedName: "resourceLockResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + dnsResolutionResults: { + serializedName: "dnsResolutionResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + storageAccountResults: { + serializedName: "storageAccountResults", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Schedule", + className: "DiagnoseResult", }, }, }, }, - nextLink: { - serializedName: "nextLink", + keyVaultResults: { + serializedName: "keyVaultResults", type: { - name: "String", - }, - }, - }, - }, -}; - -export const ScheduleActionBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", - }, - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + containerRegistryResults: { + serializedName: "containerRegistryResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + otherResults: { + serializedName: "otherResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, }, }, }, }, - }; + }, +}; -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { +export const DiagnoseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "DiagnoseResult", modelProperties: { - modelSettings: { - serializedName: "modelSettings", + code: { + serializedName: "code", + readOnly: true, type: { - name: "Composite", - className: "ModelSettings", + name: "String", }, }, - authMode: { - serializedName: "authMode", - required: true, + level: { + serializedName: "level", + readOnly: true, type: { name: "String", }, }, - inferenceEndpoint: { - serializedName: "inferenceEndpoint", + message: { + serializedName: "message", + readOnly: true, type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", + }, + }, +}; + +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListWorkspaceKeysResult", + modelProperties: { + userStorageKey: { + serializedName: "userStorageKey", readOnly: true, type: { name: "String", }, }, - endpointState: { - serializedName: "endpointState", + userStorageResourceId: { + serializedName: "userStorageResourceId", readOnly: true, type: { name: "String", }, }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", readOnly: true, - nullable: true, type: { name: "String", }, }, - contentSafety: { - serializedName: "contentSafety", + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", type: { name: "Composite", - className: "ContentSafety", + className: "RegistryListCredentialsResult", + }, + }, + notebookAccessKeys: { + serializedName: "notebookAccessKeys", + type: { + name: "Composite", + className: "ListNotebookKeysResult", }, }, }, }, }; -export const ModelSettings: coreClient.CompositeMapper = { +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelSettings", + className: "RegistryListCredentialsResult", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + location: { + serializedName: "location", + readOnly: true, + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, }, + passwords: { + serializedName: "passwords", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, + }, + }, }, }, }; -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { +export const Password: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessInferenceEndpoint", + className: "Password", modelProperties: { - uri: { - serializedName: "uri", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - headers: { - serializedName: "headers", + value: { + serializedName: "value", readOnly: true, - nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ContentSafety: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSafety", + className: "ListNotebookKeysResult", modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: true, + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, 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", - }, - }, - }, - }, - }, - }, - }; - -export const ArmResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ArmResourceId", - modelProperties: { - resourceId: { - serializedName: "resourceId", - nullable: true, + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, type: { name: "String", }, @@ -5192,126 +5127,105 @@ export const ArmResourceId: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryPrivateEndpointConnection", + className: "NotebookAccessTokenResult", modelProperties: { - id: { - serializedName: "id", - nullable: true, + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - location: { - serializedName: "location", - nullable: true, + hostName: { + serializedName: "hostName", + readOnly: true, type: { name: "String", }, }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + accessToken: { + serializedName: "accessToken", + readOnly: true, type: { - name: "Composite", - className: "PrivateEndpointResource", + name: "String", }, }, - registryPrivateLinkServiceConnectionState: { - serializedName: "properties.registryPrivateLinkServiceConnectionState", + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { - name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", + name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - nullable: true, + expiresIn: { + serializedName: "expiresIn", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -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", - }, + refreshToken: { + serializedName: "refreshToken", + readOnly: true, + type: { + name: "String", }, - status: { - serializedName: "status", - type: { - name: "String", - }, + }, + scope: { + serializedName: "scope", + readOnly: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryRegionArmDetails", + className: "PrivateEndpointConnectionListResult", modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AcrDetails", + className: "PrivateEndpointConnection", }, }, }, }, - location: { - serializedName: "location", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + }, + }, +}; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "StorageAccountDetails", + className: "PrivateLinkResource", }, }, }, @@ -5320,132 +5234,103 @@ export const RegistryRegionArmDetails: coreClient.CompositeMapper = { }, }; -export const AcrDetails: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AcrDetails", + className: "ListStorageAccountKeysResult", modelProperties: { - systemCreatedAcrAccount: { - serializedName: "systemCreatedAcrAccount", - type: { - name: "Composite", - className: "SystemCreatedAcrAccount", - }, - }, - userCreatedAcrAccount: { - serializedName: "userCreatedAcrAccount", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { - name: "Composite", - className: "UserCreatedAcrAccount", + name: "String", }, }, }, }, }; -export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedAcrAccount", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - acrAccountName: { - serializedName: "acrAccountName", - nullable: true, + authType: { + serializedName: "authType", + required: true, type: { name: "String", }, }, - acrAccountSku: { - serializedName: "acrAccountSku", - nullable: true, + category: { + serializedName: "category", type: { name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", + readOnly: true, type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, - }, - }, -}; - -export const UserCreatedAcrAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserCreatedAcrAccount", - modelProperties: { - armResourceId: { - serializedName: "armResourceId", + expiryTime: { + serializedName: "expiryTime", type: { - name: "Composite", - className: "ArmResourceId", + name: "DateTime", }, }, - }, - }, -}; - -export const StorageAccountDetails: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StorageAccountDetails", - modelProperties: { - systemCreatedStorageAccount: { - serializedName: "systemCreatedStorageAccount", + group: { + serializedName: "group", + readOnly: true, type: { - name: "Composite", - className: "SystemCreatedStorageAccount", + name: "String", }, }, - userCreatedStorageAccount: { - serializedName: "userCreatedStorageAccount", + isSharedToAll: { + serializedName: "isSharedToAll", type: { - name: "Composite", - className: "UserCreatedStorageAccount", + name: "Boolean", }, }, - }, - }, -}; - -export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SystemCreatedStorageAccount", - modelProperties: { - allowBlobPublicAccess: { - serializedName: "allowBlobPublicAccess", + target: { + serializedName: "target", type: { - name: "Boolean", + name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + metadata: { + serializedName: "metadata", type: { - name: "Composite", - className: "ArmResourceId", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - storageAccountHnsEnabled: { - serializedName: "storageAccountHnsEnabled", + sharedUserList: { + serializedName: "sharedUserList", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - storageAccountName: { - serializedName: "storageAccountName", - nullable: true, + value: { + serializedName: "value", type: { name: "String", }, }, - storageAccountType: { - serializedName: "storageAccountType", - nullable: true, + valueFormat: { + serializedName: "valueFormat", type: { name: "String", }, @@ -5454,105 +5339,196 @@ export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { }, }; -export const UserCreatedStorageAccount: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedStorageAccount", + className: "WorkspaceConnectionUpdateParameter", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ArmResourceId", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialRegistryPartialTrackedResource", + className: + "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", modelProperties: { - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", + value: { + serializedName: "value", type: { - name: "Composite", - className: "PartialSku", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, }, }, - tags: { - serializedName: "tags", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const ExternalFqdnResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "ExternalFqdnResponse", modelProperties: { value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlUserFeature", + className: "FqdnEndpoints", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + }, + }, +}; + +export const FqdnEndpoints: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpoints", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "FqdnEndpointsProperties", }, }, }, }, }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const FqdnEndpointsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "FqdnEndpointsProperties", modelProperties: { - id: { - serializedName: "id", + category: { + serializedName: "category", type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpoint", + }, + }, + }, + }, + }, + }, +}; + +export const FqdnEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpoint", + modelProperties: { + domainName: { + serializedName: "domainName", type: { name: "String", }, }, - description: { - serializedName: "description", + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, + }, + }, + }, + }, +}; + +export const FqdnEndpointDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + modelProperties: { + port: { + serializedName: "port", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const OutboundRuleListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRuleListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + }, + }, + }, + }, + }, + }, +}; + +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionOptions", + modelProperties: { + includeSpark: { + serializedName: "includeSpark", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -7786,31 +7762,19 @@ export const IdleShutdownSetting: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointDestination: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: { + serializedName: "filterType", + clientName: "filterType", + }, modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", - type: { - name: "String", - }, - }, - sparkEnabled: { - serializedName: "sparkEnabled", - type: { - name: "Boolean", - }, - }, - sparkStatus: { - serializedName: "sparkStatus", - type: { - name: "String", - }, - }, - subresourceTarget: { - serializedName: "subresourceTarget", + filterType: { + serializedName: "filterType", + required: true, type: { name: "String", }, @@ -7819,43 +7783,45 @@ export const PrivateEndpointDestination: coreClient.CompositeMapper = { }, }; -export const ServiceTagDestination: coreClient.CompositeMapper = { +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagDestination", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, modelProperties: { - action: { - serializedName: "action", + computeIdentityType: { + serializedName: "computeIdentityType", + required: true, type: { name: "String", }, }, - addressPrefixes: { - serializedName: "addressPrefixes", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - portRanges: { - serializedName: "portRanges", + }, + }, +}; + +export const AssetJobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobInput", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, }, - protocol: { - serializedName: "protocol", - type: { - name: "String", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - serviceTag: { - serializedName: "serviceTag", + serializedName: "uri", + required: true, type: { name: "String", }, @@ -7864,25 +7830,20 @@ export const ServiceTagDestination: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword", + className: "AssetJobOutput", modelProperties: { - username: { - serializedName: "username", - type: { - name: "String", - }, - }, - password: { - serializedName: "password", + mode: { + serializedName: "mode", type: { name: "String", }, }, - securityToken: { - serializedName: "securityToken", + uri: { + serializedName: "uri", + nullable: true, type: { name: "String", }, @@ -7891,66 +7852,19 @@ export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccountKey", - modelProperties: { - key: { - serializedName: "key", - type: { - name: "String", - }, - }, + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", }, - }, -}; - -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", modelProperties: { - resourceId: { - serializedName: "resourceId", - type: { - name: "String", - }, - }, - clientId: { - serializedName: "clientId", + mode: { + serializedName: "mode", + required: true, type: { name: "String", }, @@ -7959,19 +7873,26 @@ export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccessKey", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + jobOutputType: { + serializedName: "jobOutputType", + required: true, type: { name: "String", }, @@ -7980,13 +7901,13 @@ export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionApiKey", + className: "QueueSettings", modelProperties: { - key: { - serializedName: "key", + jobTier: { + serializedName: "jobTier", type: { name: "String", }, @@ -7995,98 +7916,67 @@ export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { }, }; -export const CustomKeys: coreClient.CompositeMapper = { +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomKeys", - modelProperties: { - keys: { - serializedName: "keys", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", }, - }, -}; - -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", + logVerbosity: { + serializedName: "logVerbosity", type: { name: "String", }, }, - refreshToken: { - serializedName: "refreshToken", + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + taskType: { + serializedName: "taskType", + required: true, type: { name: "String", }, }, - username: { - serializedName: "username", + trainingData: { + serializedName: "trainingData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, }, }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const JobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, modelProperties: { - clientId: { - serializedName: "clientId", - type: { - name: "String", - }, - }, - clientSecret: { - serializedName: "clientSecret", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, @@ -8095,18 +7985,18 @@ export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { }, }; -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", + className: "NCrossValidations", + uberParent: "NCrossValidations", polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", + serializedName: "mode", + clientName: "mode", }, modelProperties: { - filterType: { - serializedName: "filterType", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -8116,18 +8006,18 @@ export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { }, }; -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { +export const Seasonality: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", + className: "Seasonality", + uberParent: "Seasonality", polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", + serializedName: "mode", + clientName: "mode", }, modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -8137,24 +8027,40 @@ export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { }, }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", + mode: { + serializedName: "mode", required: true, 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, type: { name: "String", }, @@ -8163,20 +8069,21 @@ export const AssetJobInput: coreClient.CompositeMapper = { }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const AzureDatastore: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "AzureDatastore", modelProperties: { - uri: { - serializedName: "uri", + resourceGroup: { + serializedName: "resourceGroup", nullable: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, type: { name: "String", }, @@ -8185,261 +8092,21 @@ export const AssetJobOutput: coreClient.CompositeMapper = { }, }; -export const ForecastHorizon: coreClient.CompositeMapper = { +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", + serializedName: "policyType", + clientName: "policyType", }, modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const AutoMLVertical: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, - modelProperties: { - taskType: { - serializedName: "taskType", - required: true, - type: { - name: "String", - }, - }, - logVerbosity: { - serializedName: "logVerbosity", - type: { - name: "String", - }, - }, - trainingData: { - serializedName: "trainingData", - type: { - name: "Composite", - className: "MLTableJobInput", - }, - }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const JobInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType", - }, - modelProperties: { - jobInputType: { - serializedName: "jobInputType", - required: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, - modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const QueueSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QueueSettings", - modelProperties: { - jobTier: { - serializedName: "jobTier", - type: { - name: "String", - }, - }, - }, - }, -}; - -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", - }, - }, - }, - }, -}; - -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", - }, - }, - }, - }, -}; - -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", - }, - }, - }, - }, -}; - -export const TargetRollingWindowSize: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const AzureDatastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureDatastore", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType", - }, - modelProperties: { - policyType: { - serializedName: "policyType", - required: true, + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "String", + name: "Number", }, }, evaluationInterval: { @@ -8449,11 +8116,11 @@ export const EarlyTerminationPolicy: coreClient.CompositeMapper = { name: "Number", }, }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + policyType: { + serializedName: "policyType", + required: true, type: { - name: "Number", + name: "String", }, }, }, @@ -8586,18 +8253,25 @@ export const TrainingSettings: coreClient.CompositeMapper = { name: "Composite", className: "TrainingSettings", modelProperties: { - enableOnnxCompatibleModels: { + enableDnnTraining: { defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + serializedName: "enableDnnTraining", type: { name: "Boolean", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "Composite", - className: "StackEnsembleSettings", + name: "Boolean", + }, + }, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", + type: { + name: "Boolean", }, }, enableStackEnsemble: { @@ -8621,18 +8295,11 @@ export const TrainingSettings: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", - type: { - name: "Boolean", - }, - }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "Boolean", + name: "Composite", + className: "StackEnsembleSettings", }, }, }, @@ -8644,10 +8311,12 @@ export const StackEnsembleSettings: coreClient.CompositeMapper = { name: "Composite", className: "StackEnsembleSettings", modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, stackMetaLearnerTrainPercentage: { @@ -8657,12 +8326,10 @@ export const StackEnsembleSettings: coreClient.CompositeMapper = { name: "Number", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, }, @@ -8674,20 +8341,6 @@ export const TableVertical: coreClient.CompositeMapper = { name: "Composite", className: "TableVertical", modelProperties: { - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - }, - }, - nCrossValidations: { - serializedName: "nCrossValidations", - type: { - name: "Composite", - className: "NCrossValidations", - }, - }, cvSplitColumnNames: { serializedName: "cvSplitColumnNames", nullable: true, @@ -8700,32 +8353,32 @@ export const TableVertical: coreClient.CompositeMapper = { }, }, }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalFeaturizationSettings", }, }, - validationData: { - serializedName: "validationData", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "MLTableJobInput", + className: "TableVerticalLimitSettings", }, }, - testData: { - serializedName: "testData", + nCrossValidations: { + serializedName: "nCrossValidations", type: { name: "Composite", - className: "MLTableJobInput", + className: "NCrossValidations", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + testData: { + serializedName: "testData", type: { - name: "Number", + name: "Composite", + className: "MLTableJobInput", }, }, testDataSize: { @@ -8735,69 +8388,25 @@ export const TableVertical: coreClient.CompositeMapper = { name: "Number", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + validationData: { + serializedName: "validationData", type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", - }, - }, - }, - }, -}; - -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", - type: { - name: "Number", - }, - }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", - type: { - name: "TimeSpan", - }, - }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", - }, - }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", - type: { - name: "Number", + className: "MLTableJobInput", }, }, - exitScore: { - serializedName: "exitScore", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { name: "Number", }, }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, }, @@ -8849,6 +8458,64 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { }, }; +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", + type: { + name: "Boolean", + }, + }, + exitScore: { + serializedName: "exitScore", + nullable: true, + type: { + name: "Number", + }, + }, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + export const DistributionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8903,15 +8570,15 @@ export const ContainerResourceRequirements: coreClient.CompositeMapper = { name: "Composite", className: "ContainerResourceRequirements", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { name: "Composite", className: "ContainerResourceSettings", }, }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + containerResourceRequests: { + serializedName: "containerResourceRequests", type: { name: "Composite", className: "ContainerResourceSettings", @@ -8933,15 +8600,15 @@ export const ContainerResourceSettings: coreClient.CompositeMapper = { name: "String", }, }, - memory: { - serializedName: "memory", + gpu: { + serializedName: "gpu", nullable: true, type: { name: "String", }, }, - gpu: { - serializedName: "gpu", + memory: { + serializedName: "memory", nullable: true, type: { name: "String", @@ -8956,6 +8623,20 @@ export const MonitorDefinition: coreClient.CompositeMapper = { name: "Composite", className: "MonitorDefinition", modelProperties: { + alertNotificationSettings: { + serializedName: "alertNotificationSettings", + type: { + name: "Composite", + className: "MonitorNotificationSettings", + }, + }, + computeConfiguration: { + serializedName: "computeConfiguration", + type: { + name: "Composite", + className: "MonitorComputeConfigurationBase", + }, + }, monitoringTarget: { serializedName: "monitoringTarget", type: { @@ -8973,73 +8654,33 @@ export const MonitorDefinition: coreClient.CompositeMapper = { }, }, }, - computeConfiguration: { - serializedName: "computeConfiguration", - type: { - name: "Composite", - className: "MonitorComputeConfigurationBase", - }, - }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", - type: { - name: "Composite", - className: "MonitorNotificationSettings", - }, - }, }, }, }; -export const MonitoringTarget: coreClient.CompositeMapper = { +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringTarget", + className: "MonitorNotificationSettings", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, - type: { - name: "String", - }, - }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, - type: { - name: "String", - }, - }, - taskType: { - serializedName: "taskType", - required: true, + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { - name: "String", + name: "Composite", + className: "MonitorEmailNotificationSettings", }, }, }, }, }; -export const MonitoringSignalBase: coreClient.CompositeMapper = { +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, + className: "MonitorEmailNotificationSettings", modelProperties: { - signalType: { - serializedName: "signalType", - required: true, - type: { - name: "String", - }, - }, - notificationTypes: { - serializedName: "notificationTypes", + emails: { + serializedName: "emails", nullable: true, type: { name: "Sequence", @@ -9050,14 +8691,6 @@ export const MonitoringSignalBase: coreClient.CompositeMapper = { }, }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -9083,29 +8716,48 @@ export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { }, }; -export const MonitorNotificationSettings: coreClient.CompositeMapper = { +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorNotificationSettings", + className: "MonitoringTarget", modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", + name: "String", + }, + }, + modelId: { + serializedName: "modelId", + nullable: true, + type: { + name: "String", + }, + }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", }, }, }, }, }; -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", + }, modelProperties: { - emails: { - serializedName: "emails", + notificationTypes: { + serializedName: "notificationTypes", nullable: true, type: { name: "Sequence", @@ -9116,6 +8768,21 @@ export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { }, }, }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + signalType: { + serializedName: "signalType", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9125,13 +8792,6 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "CustomMetricThreshold", modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, metric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9143,6 +8803,13 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { name: "String", }, }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; @@ -9157,11 +8824,12 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { clientName: "inputDataType", }, modelProperties: { - inputDataType: { - serializedName: "inputDataType", - required: true, + columns: { + serializedName: "columns", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, dataContext: { @@ -9171,6 +8839,13 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, + inputDataType: { + serializedName: "inputDataType", + required: true, + type: { + name: "String", + }, + }, jobInputType: { serializedName: "jobInputType", required: true, @@ -9189,14 +8864,6 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, - columns: { - serializedName: "columns", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -9228,13 +8895,6 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "FeatureAttributionMetricThreshold", modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, metric: { serializedName: "metric", required: true, @@ -9242,6 +8902,13 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { name: "String", }, }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; @@ -9258,25 +8925,17 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", + cvStepSize: { + serializedName: "cvStepSize", nullable: true, type: { - name: "String", - }, - }, - targetLags: { - serializedName: "targetLags", - type: { - name: "Composite", - className: "TargetLags", + name: "Number", }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + featureLags: { + serializedName: "featureLags", type: { - name: "Composite", - className: "TargetRollingWindowSize", + name: "String", }, }, forecastHorizon: { @@ -9286,18 +8945,6 @@ export const ForecastingSettings: coreClient.CompositeMapper = { className: "ForecastHorizon", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, frequency: { serializedName: "frequency", nullable: true, @@ -9305,12 +8952,6 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - featureLags: { - serializedName: "featureLags", - type: { - name: "String", - }, - }, seasonality: { serializedName: "seasonality", type: { @@ -9324,23 +8965,49 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - useStl: { - serializedName: "useStl", + targetAggregateFunction: { + serializedName: "targetAggregateFunction", type: { name: "String", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + targetLags: { + serializedName: "targetLags", + type: { + name: "Composite", + className: "TargetLags", + }, + }, + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", + type: { + name: "Composite", + className: "TargetRollingWindowSize", + }, + }, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, type: { name: "String", }, }, - cvStepSize: { - serializedName: "cvStepSize", + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + useStl: { + serializedName: "useStl", + type: { + name: "String", }, }, }, @@ -9352,18 +9019,18 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageModelSettings", modelProperties: { - amsGradient: { - serializedName: "amsGradient", + advancedSettings: { + serializedName: "advancedSettings", nullable: true, type: { - name: "Boolean", + name: "String", }, }, - advancedSettings: { - serializedName: "advancedSettings", + amsGradient: { + serializedName: "amsGradient", nullable: true, type: { - name: "String", + name: "Boolean", }, }, augmentations: { @@ -9394,18 +9061,18 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Number", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, + checkpointModel: { + serializedName: "checkpointModel", type: { - name: "String", + name: "Composite", + className: "MLFlowModelJobInput", }, }, - checkpointModel: { - serializedName: "checkpointModel", + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, type: { - name: "Composite", - className: "MLFlowModelJobInput", + name: "String", }, }, distributed: { @@ -9436,18 +9103,18 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Number", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", nullable: true, type: { - name: "Number", + name: "Boolean", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", + evaluationFrequency: { + serializedName: "evaluationFrequency", nullable: true, type: { - name: "Boolean", + name: "Number", }, }, gradientAccumulationStep: { @@ -9639,15 +9306,15 @@ export const ImageModelDistributionSettings: coreClient.CompositeMapper = { name: "String", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", nullable: true, type: { name: "String", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", + evaluationFrequency: { + serializedName: "evaluationFrequency", nullable: true, type: { name: "String", @@ -9825,6 +9492,13 @@ export const ImageLimitSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageLimitSettings", modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, maxTrials: { defaultValue: 1, serializedName: "maxTrials", @@ -9839,13 +9513,6 @@ export const ImageLimitSettings: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", - }, - }, }, }, }; @@ -9855,13 +9522,6 @@ export const ImageSweepSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageSweepSettings", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, - type: { - name: "String", - }, - }, earlyTermination: { serializedName: "earlyTermination", type: { @@ -9869,6 +9529,13 @@ export const ImageSweepSettings: coreClient.CompositeMapper = { className: "EarlyTerminationPolicy", }, }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9883,13 +9550,6 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { clientName: "artifactType", }, modelProperties: { - artifactType: { - serializedName: "artifactType", - required: true, - type: { - name: "String", - }, - }, artifactName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9901,6 +9561,13 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { name: "String", }, }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9910,18 +9577,18 @@ export const NlpVertical: coreClient.CompositeMapper = { name: "Composite", className: "NlpVertical", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + featurizationSettings: { + serializedName: "featurizationSettings", type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "NlpVerticalFeaturizationSettings", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "NlpVerticalFeaturizationSettings", + className: "NlpVerticalLimitSettings", }, }, validationData: { @@ -9940,11 +9607,11 @@ export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { name: "Composite", className: "NlpVerticalLimitSettings", modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "TimeSpan", + name: "Number", }, }, maxTrials: { @@ -9954,11 +9621,11 @@ export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { name: "Number", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + timeout: { + defaultValue: "P7D", + serializedName: "timeout", type: { - name: "Number", + name: "TimeSpan", }, }, }, @@ -9970,6 +9637,13 @@ export const Objective: coreClient.CompositeMapper = { name: "Composite", className: "Objective", modelProperties: { + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, primaryMetric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9981,8 +9655,22 @@ export const Objective: coreClient.CompositeMapper = { name: "String", }, }, - goal: { - serializedName: "goal", + }, + }, +}; + +export const SparkJobEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", + }, + modelProperties: { + sparkJobEntryType: { + serializedName: "sparkJobEntryType", required: true, type: { name: "String", @@ -10015,27 +9703,6 @@ export const SparkResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const SparkJobEntry: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SparkJobEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: { - serializedName: "sparkJobEntryType", - clientName: "sparkJobEntryType", - }, - modelProperties: { - sparkJobEntryType: { - serializedName: "sparkJobEntryType", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - export const TrialComponent: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10059,6 +9726,13 @@ export const TrialComponent: coreClient.CompositeMapper = { name: "String", }, }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, environmentId: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -10078,13 +9752,6 @@ export const TrialComponent: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration", - }, - }, resources: { serializedName: "resources", type: { @@ -10096,84 +9763,76 @@ export const TrialComponent: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const PrivateEndpointDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "PrivateEndpointDestination", modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + serviceResourceId: { + serializedName: "serviceResourceId", type: { name: "String", }, }, - }, - }, -}; - -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, + sparkEnabled: { + serializedName: "sparkEnabled", + type: { + name: "Boolean", + }, }, - }, - }; - -export const PrivateEndpointConnection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + sparkStatus: { + serializedName: "sparkStatus", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + subresourceTarget: { + serializedName: "subresourceTarget", type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const ServiceTagDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceTagDestination", + modelProperties: { + action: { + serializedName: "action", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + addressPrefixes: { + serializedName: "addressPrefixes", + readOnly: true, type: { - name: "Composite", - className: "Sku", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + portRanges: { + serializedName: "portRanges", type: { - name: "Composite", - className: "PrivateEndpoint", + name: "String", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + protocol: { + serializedName: "protocol", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", + name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + serviceTag: { + serializedName: "serviceTag", type: { name: "String", }, @@ -10182,284 +9841,327 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { }, }; -export const Workspace: coreClient.CompositeMapper = { +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "WorkspaceConnectionUsernamePassword", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + username: { + serializedName: "username", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - kind: { - serializedName: "kind", + password: { + serializedName: "password", type: { name: "String", }, }, - location: { - serializedName: "location", + securityToken: { + serializedName: "securityToken", type: { name: "String", }, }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + }, + }, +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", + type: { + name: "String", + }, }, }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", + }, + }; + +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", + type: { + name: "String", + }, }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + }, + }; + +export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + modelProperties: { + key: { + serializedName: "key", type: { name: "String", }, }, - description: { - serializedName: "properties.description", + }, + }, +}; + +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + resourceId: { + serializedName: "resourceId", type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + clientId: { + serializedName: "clientId", type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + modelProperties: { + accessKeyId: { + serializedName: "accessKeyId", type: { name: "String", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + secretAccessKey: { + serializedName: "secretAccessKey", type: { name: "String", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", - nullable: true, + }, + }, +}; + +export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + modelProperties: { + key: { + serializedName: "key", type: { name: "String", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + }, + }, +}; + +export const CustomKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomKeys", + modelProperties: { + keys: { + serializedName: "keys", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + }, + }, +}; + +export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + modelProperties: { + authUrl: { + serializedName: "authUrl", type: { name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + clientId: { + serializedName: "clientId", + type: { + name: "Uuid", + }, + }, + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - encryption: { - serializedName: "properties.encryption", + developerToken: { + serializedName: "developerToken", type: { - name: "Composite", - className: "EncryptionProperty", + name: "String", }, }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", + password: { + serializedName: "password", type: { - name: "Boolean", + name: "String", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + refreshToken: { + serializedName: "refreshToken", type: { name: "String", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + tenantId: { + serializedName: "tenantId", type: { - name: "Number", + name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + username: { + serializedName: "username", type: { name: "String", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + }, + }, +}; + +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + modelProperties: { + clientId: { + serializedName: "clientId", type: { - name: "Boolean", + name: "String", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + tenantId: { + serializedName: "tenantId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + }, + }, +}; + +export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + modelProperties: { + ...ManagedServiceIdentity.type.modelProperties, + }, + }, + }; + +export const ComputeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResource", + modelProperties: { + ...Resource.type.modelProperties, + ...ComputeResourceSchema.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ManagedServiceIdentity", }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource", - }, - }, - }, - }, - notebookInfo: { - serializedName: "properties.notebookInfo", - type: { - name: "Composite", - className: "NotebookResourceInfo", - }, - }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", - type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", - }, - }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, - type: { - name: "String", - }, - }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, - type: { - name: "Boolean", - }, - }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + location: { + serializedName: "location", type: { name: "String", }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", - type: { - name: "Boolean", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "FeatureStoreSettings", - }, - }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + className: "Sku", }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - hubResourceId: { - serializedName: "properties.hubResourceId", + location: { + serializedName: "location", + required: true, type: { name: "String", }, }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", - type: { - name: "Composite", - className: "WorkspaceHubConfig", - }, - }, }, }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "PrivateEndpointConnection", modelProperties: { ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, identity: { serializedName: "identity", type: { @@ -10475,7 +10177,6 @@ export const ComputeResource: coreClient.CompositeMapper = { }, tags: { serializedName: "tags", - nullable: true, type: { name: "Dictionary", value: { type: { name: "String" } }, @@ -10488,14 +10189,35 @@ export const ComputeResource: coreClient.CompositeMapper = { className: "Sku", }, }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, }, }, }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const Workspace: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "Workspace", modelProperties: { ...Resource.type.modelProperties, identity: { @@ -10505,6 +10227,12 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { className: "ManagedServiceIdentity", }, }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, location: { serializedName: "location", type: { @@ -10525,162 +10253,334 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { className: "Sku", }, }, - groupId: { - serializedName: "properties.groupId", + workspaceId: { + serializedName: "properties.workspaceId", readOnly: true, type: { name: "String", }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + friendlyName: { + serializedName: "properties.friendlyName", 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", - }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "String", }, }, - }, - }; - -export const OutboundRuleBasicResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + applicationInsights: { + serializedName: "properties.applicationInsights", type: { - name: "Composite", - className: "OutboundRule", + name: "String", }, }, - }, - }, -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties, - }, - }, -}; - -export const TrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + containerRegistry: { + serializedName: "properties.containerRegistry", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - location: { - serializedName: "location", - required: true, + storageAccount: { + serializedName: "properties.storageAccount", 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", + discoveryUrl: { + serializedName: "properties.discoveryUrl", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "EncryptionProperty", + }, + }, + hbiWorkspace: { + defaultValue: false, + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean", + }, + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String", + }, + }, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, + type: { + name: "Number", + }, + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + allowPublicAccessWhenBehindVnet: { + defaultValue: false, + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean", + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String", + }, + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, + }, + }, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", + type: { + name: "Composite", + className: "ServerlessComputeSettings", + }, + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, + }, + }, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo", + }, + }, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean", + }, + }, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, + type: { + name: "String", + }, + }, + v1LegacyMode: { + defaultValue: false, + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + managedNetwork: { + serializedName: "properties.managedNetwork", + type: { + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + associatedWorkspaces: { + serializedName: "properties.associatedWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + hubResourceId: { + serializedName: "properties.hubResourceId", + type: { + name: "String", + }, + }, + workspaceHubConfig: { + serializedName: "properties.workspaceHubConfig", + type: { + name: "Composite", + className: "WorkspaceHubConfig", }, }, }, }, }; -export const ServiceTagOutboundRule: coreClient.CompositeMapper = { - serializedName: "ServiceTag", +export const PrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "PrivateLinkResource", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ServiceTagDestination", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", + }, + }, + }, + }, + }; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "OutboundRuleBasicResource", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "OutboundRule", }, }, }, @@ -10770,359 +10670,109 @@ export const HDInsight: coreClient.CompositeMapper = { }, }, }; - -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", - type: { - name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - }, - }, -}; - -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", - type: { - name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties, - }, - }, -}; - -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", - type: { - name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties, - }, - }, -}; - -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", - type: { - name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "SynapseSparkProperties", - }, - }, - }, - }, -}; - -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", - type: { - name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties, - }, - }, -}; - -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", - type: { - name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties, - }, - }, -}; - -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", - type: { - name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties, - }, - }, -}; - -export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "PAT", - type: { - name: "Composite", - className: "PATAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - }, - }, - }, - }, - }; - -export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "SAS", - type: { - name: "Composite", - className: "SASAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - }, - }, - }, - }, - }; - -export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "UsernamePassword", - type: { - name: "Composite", - className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword", - }, - }, - }, - }, - }; - -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "None", - type: { - name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - }, - }, - }; - -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - }, - }, - }, - }, - }; - -export const 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 DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", + type: { + name: "Composite", + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, }, - }; + }, +}; -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 Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties, }, - }; + }, +}; -export const 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 DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", + type: { + name: "Composite", + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DataLakeAnalyticsSchema.type.modelProperties, }, - }; + }, +}; -export const 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 SynapseSpark: coreClient.CompositeMapper = { + serializedName: "SynapseSpark", + type: { + name: "Composite", + className: "SynapseSpark", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "SynapseSparkProperties", }, }, }, - }; + }, +}; -export const 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 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 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 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: { @@ -11163,16 +10813,16 @@ export const AssetBase: coreClient.CompositeMapper = { className: "AssetBase", modelProperties: { ...ResourceBase.type.modelProperties, - isArchived: { + isAnonymous: { defaultValue: false, - serializedName: "isArchived", + serializedName: "isAnonymous", type: { name: "Boolean", }, }, - isAnonymous: { + isArchived: { defaultValue: false, - serializedName: "isAnonymous", + serializedName: "isArchived", type: { name: "Boolean", }, @@ -11193,6 +10843,13 @@ export const DatastoreProperties: coreClient.CompositeMapper = { }, modelProperties: { ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials", + }, + }, datastoreType: { serializedName: "datastoreType", required: true, @@ -11207,13 +10864,6 @@ export const DatastoreProperties: coreClient.CompositeMapper = { name: "Boolean", }, }, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "DatastoreCredentials", - }, - }, }, }, }; @@ -11224,15 +10874,15 @@ export const FeatureProperties: coreClient.CompositeMapper = { className: "FeatureProperties", modelProperties: { ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", - nullable: true, + dataType: { + serializedName: "dataType", type: { name: "String", }, }, - dataType: { - serializedName: "dataType", + featureName: { + serializedName: "featureName", + nullable: true, type: { name: "String", }, @@ -11253,54 +10903,32 @@ export const JobBaseProperties: coreClient.CompositeMapper = { }, modelProperties: { ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", - required: true, - type: { - name: "String", - }, - }, - displayName: { - serializedName: "displayName", + componentId: { + serializedName: "componentId", nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, - type: { - name: "String", - }, - }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", - type: { - name: "String", - }, - }, - services: { - serializedName: "services", + computeId: { + serializedName: "computeId", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, + name: "String", }, }, - computeId: { - serializedName: "computeId", + displayName: { + serializedName: "displayName", nullable: true, type: { name: "String", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", type: { - name: "Boolean", + name: "String", }, }, identity: { @@ -11310,9 +10938,16 @@ export const JobBaseProperties: coreClient.CompositeMapper = { className: "IdentityConfiguration", }, }, - componentId: { - serializedName: "componentId", - nullable: true, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + jobType: { + serializedName: "jobType", + required: true, type: { name: "String", }, @@ -11324,6 +10959,21 @@ export const JobBaseProperties: coreClient.CompositeMapper = { className: "NotificationSetting", }, }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, }, }, }; @@ -11334,6 +10984,13 @@ export const ScheduleProperties: coreClient.CompositeMapper = { className: "ScheduleProperties", modelProperties: { ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", + }, + }, displayName: { serializedName: "displayName", nullable: true, @@ -11348,20 +11005,6 @@ export const ScheduleProperties: coreClient.CompositeMapper = { name: "Boolean", }, }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase", - }, - }, - action: { - serializedName: "action", - type: { - name: "Composite", - className: "ScheduleActionBase", - }, - }, provisioningState: { serializedName: "provisioningState", readOnly: true, @@ -11369,6 +11012,13 @@ export const ScheduleProperties: coreClient.CompositeMapper = { name: "String", }, }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", + }, + }, }, }, }; @@ -11418,15 +11068,15 @@ export const DockerCredential: coreClient.CompositeMapper = { DataReferenceCredential.type.polymorphicDiscriminator, modelProperties: { ...DataReferenceCredential.type.modelProperties, - userName: { - serializedName: "userName", + password: { + serializedName: "password", nullable: true, type: { name: "String", }, }, - password: { - serializedName: "password", + userName: { + serializedName: "userName", nullable: true, type: { name: "String", @@ -11453,22 +11103,22 @@ export const ManagedIdentityCredential: coreClient.CompositeMapper = { name: "String", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", nullable: true, type: { name: "String", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", nullable: true, type: { name: "String", }, }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", nullable: true, type: { name: "String", @@ -11536,16 +11186,24 @@ export const OnlineEndpointProperties: coreClient.CompositeMapper = { className: "OnlineEndpointProperties", modelProperties: { ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + compute: { + serializedName: "compute", + nullable: true, type: { name: "String", }, }, - compute: { - serializedName: "compute", + mirrorTraffic: { + serializedName: "mirrorTraffic", nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -11564,14 +11222,6 @@ export const OnlineEndpointProperties: coreClient.CompositeMapper = { value: { type: { name: "Number" } }, }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Number" } }, - }, - }, }, }, }; @@ -11619,18 +11269,18 @@ export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.Composi className: "PartialMinimalTrackedResourceWithSkuAndIdentity", modelProperties: { ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "PartialSku", + className: "PartialManagedServiceIdentity", }, }, - identity: { - serializedName: "identity", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "PartialSku", }, }, }, @@ -11715,15 +11365,15 @@ export const DataPathAssetReference: coreClient.CompositeMapper = { polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, modelProperties: { ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", + datastoreId: { + serializedName: "datastoreId", nullable: true, type: { name: "String", }, }, - datastoreId: { - serializedName: "datastoreId", + path: { + serializedName: "path", nullable: true, type: { name: "String", @@ -11742,15 +11392,15 @@ export const OutputPathAssetReference: coreClient.CompositeMapper = { polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, modelProperties: { ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", + jobId: { + serializedName: "jobId", nullable: true, type: { name: "String", }, }, - jobId: { - serializedName: "jobId", + path: { + serializedName: "path", nullable: true, type: { name: "String", @@ -11776,6 +11426,13 @@ export const JobResourceConfiguration: coreClient.CompositeMapper = { className: "JobResourceConfiguration", modelProperties: { ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", + nullable: true, + type: { + name: "String", + }, + }, shmSize: { defaultValue: "2g", constraints: { @@ -11786,13 +11443,6 @@ export const JobResourceConfiguration: coreClient.CompositeMapper = { name: "String", }, }, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -11824,24 +11474,24 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { name: "Number", }, }, - retrySettings: { - serializedName: "retrySettings", + loggingLevel: { + serializedName: "loggingLevel", type: { - name: "Composite", - className: "BatchRetrySettings", + name: "String", }, }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", type: { name: "Number", }, }, - loggingLevel: { - serializedName: "loggingLevel", + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", type: { - name: "String", + name: "Number", }, }, model: { @@ -11851,13 +11501,6 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { className: "AssetReferenceBase", }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", - type: { - name: "Number", - }, - }, outputAction: { serializedName: "outputAction", type: { @@ -11871,6 +11514,13 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { name: "String", }, }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, resources: { serializedName: "resources", type: { @@ -11878,11 +11528,11 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { className: "DeploymentResourceConfiguration", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + retrySettings: { + serializedName: "retrySettings", type: { - name: "String", + name: "Composite", + className: "BatchRetrySettings", }, }, }, @@ -11901,39 +11551,39 @@ export const OnlineDeploymentProperties: coreClient.CompositeMapper = { }, modelProperties: { ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", type: { - name: "String", + name: "Boolean", }, }, - scaleSettings: { - serializedName: "scaleSettings", + dataCollector: { + serializedName: "dataCollector", type: { name: "Composite", - className: "OnlineScaleSettings", + className: "DataCollector", }, }, - requestSettings: { - serializedName: "requestSettings", + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", type: { - name: "Composite", - className: "OnlineRequestSettings", + name: "String", }, }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, type: { name: "String", }, }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", + instanceType: { + defaultValue: "Standard_F4s_v2", + serializedName: "instanceType", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, livenessProbe: { @@ -11943,45 +11593,46 @@ export const OnlineDeploymentProperties: coreClient.CompositeMapper = { className: "ProbeSettings", }, }, - readinessProbe: { - serializedName: "readinessProbe", + model: { + serializedName: "model", + nullable: true, type: { - name: "Composite", - className: "ProbeSettings", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, type: { name: "String", }, }, - instanceType: { - serializedName: "instanceType", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - model: { - serializedName: "model", - nullable: true, + readinessProbe: { + serializedName: "readinessProbe", type: { - name: "String", + name: "Composite", + className: "ProbeSettings", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + requestSettings: { + serializedName: "requestSettings", type: { - name: "String", + name: "Composite", + className: "OnlineRequestSettings", }, }, - dataCollector: { - serializedName: "dataCollector", + scaleSettings: { + serializedName: "scaleSettings", type: { name: "Composite", - className: "DataCollector", + className: "OnlineScaleSettings", }, }, }, @@ -12026,6 +11677,13 @@ export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { name: "String", }, }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, resourceUrl: { serializedName: "resourceUrl", nullable: true, @@ -12033,15 +11691,15 @@ export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { name: "String", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + secrets: { + serializedName: "secrets", type: { - name: "Uuid", + name: "Composite", + className: "CertificateDatastoreSecrets", }, }, - clientId: { - serializedName: "clientId", + tenantId: { + serializedName: "tenantId", required: true, type: { name: "Uuid", @@ -12058,13 +11716,6 @@ export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { name: "String", }, }, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets", - }, - }, }, }, }; @@ -12122,25 +11773,18 @@ export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = name: "String", }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", + clientId: { + serializedName: "clientId", required: true, type: { name: "Uuid", }, }, - clientId: { - serializedName: "clientId", - required: true, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, type: { - name: "Uuid", + name: "String", }, }, secrets: { @@ -12150,6 +11794,13 @@ export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = className: "ServicePrincipalDatastoreSecrets", }, }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, }, }, }; @@ -12234,6 +11885,19 @@ export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { }, }; +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: { @@ -12292,15 +11956,65 @@ export const CronTrigger: coreClient.CompositeMapper = { }, }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", type: { name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Webhook.type.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, }, }, }; @@ -12318,46 +12032,129 @@ export const AllNodes: coreClient.CompositeMapper = { }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.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 ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const PrivateEndpointResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "PrivateEndpointResource", modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", - nullable: true, - type: { - name: "Uuid", - }, - }, - objectId: { - serializedName: "objectId", - nullable: true, - type: { - name: "Uuid", - }, - }, - resourceId: { - serializedName: "resourceId", + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", nullable: true, type: { name: "String", @@ -12367,134 +12164,314 @@ export const ManagedIdentity: coreClient.CompositeMapper = { }, }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, }, }, }; -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", type: { name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ServiceTagDestination", + }, + }, }, }, }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", type: { - name: "TimeSpan", + name: "String", }, }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", - type: { - name: "Number", + }, + }, +}; + +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", + }, }, }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", - type: { - name: "Number", + }, + }; + +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, + }, + }, + }, + }; + +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "UsernamePassword", + type: { + name: "Composite", + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + }, + }, + }, + }, + }; + +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + }, + }, + }, + }, + }; + +export const 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", + }, }, }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", - type: { - name: "Number", + }, + }; + +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 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 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 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 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 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 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 AllFeatures: coreClient.CompositeMapper = { serializedName: "AllFeatures", @@ -12803,6 +12780,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 +12800,6 @@ export const Classification: coreClient.CompositeMapper = { className: "ClassificationTrainingSettings", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -12837,12 +12814,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 +12821,12 @@ export const Forecasting: coreClient.CompositeMapper = { className: "ForecastingSettings", }, }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, trainingSettings: { serializedName: "trainingSettings", type: { @@ -13311,6 +13288,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 +13305,6 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String", - }, - }, }, }, }; @@ -13342,17 +13319,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 +13337,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 +13386,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 +13404,6 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, protocol: { serializedName: "protocol", nullable: true, @@ -13454,16 +13431,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 +13519,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 +13532,6 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { name: "Number", }, }, - rule: { - serializedName: "rule", - type: { - name: "String", - }, - }, }, }, }; @@ -13796,12 +13773,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 +13793,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, @@ -13830,18 +13814,11 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { value: { type: { name: "Sequence", - element: { - type: { name: "Composite", className: "ColumnTransformer" }, - }, - }, - }, - }, - }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", - type: { - name: "Boolean", + element: { + type: { name: "Composite", className: "ColumnTransformer" }, + }, + }, + }, }, }, }, @@ -13910,16 +13887,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,15 +13927,15 @@ export const SweepJobLimits: coreClient.CompositeMapper = { polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { ...JobLimits.type.modelProperties, - maxTotalTrials: { - serializedName: "maxTotalTrials", + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", nullable: true, type: { name: "Number", }, }, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", + maxTotalTrials: { + serializedName: "maxTotalTrials", nullable: true, type: { name: "Number", @@ -13975,6 +13952,49 @@ export const SweepJobLimits: coreClient.CompositeMapper = { }, }; +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", + }, + }, + }, + }, +}; + export const CustomMonitoringSignal: coreClient.CompositeMapper = { serializedName: "Custom", type: { @@ -13985,6 +14005,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 +14034,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 +14061,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 +14076,13 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14082,14 +14110,6 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14104,11 +14124,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 +14139,13 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14145,14 +14173,6 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14168,11 +14188,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 +14203,13 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "FeatureImportanceSettings", }, }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, productionData: { serializedName: "productionData", required: true, @@ -14202,14 +14230,6 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14224,6 +14244,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 +14279,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 +14307,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 +14328,6 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14365,11 +14342,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 +14356,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 +15035,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 +15048,11 @@ export const BatchEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchEndpointProperties", }, }, sku: { @@ -15095,11 +15072,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 +15085,11 @@ export const BatchDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchDeploymentProperties", }, }, sku: { @@ -15132,11 +15109,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 +15122,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineEndpointProperties", }, }, sku: { @@ -15169,11 +15146,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 +15159,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineDeploymentProperties", }, }, sku: { @@ -15206,11 +15183,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 +15196,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ServerlessEndpointProperties", }, }, sku: { @@ -15537,17 +15514,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 +15533,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 +15553,8 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "InferenceContainerProperties", }, }, - autoRebuild: { - serializedName: "autoRebuild", + osType: { + serializedName: "osType", type: { name: "String", }, @@ -15614,22 +15591,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 +15636,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 +15655,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 +15699,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 +15733,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 +15751,6 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, serviceDataAccessAuthIdentity: { serializedName: "serviceDataAccessAuthIdentity", type: { @@ -15793,13 +15770,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 +15785,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 +15800,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 +15827,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 +15845,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 +15863,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 +15886,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 +15910,13 @@ export const CommandJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, }, }, }; @@ -15953,12 +15930,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 +15948,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 +15984,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 +16010,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 +16032,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 +16052,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 +16072,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 +16092,6 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - conf: { - serializedName: "conf", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, queueSettings: { serializedName: "queueSettings", type: { @@ -16121,12 +16099,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 +16119,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 +16141,6 @@ export const SweepJob: coreClient.CompositeMapper = { className: "SweepJobLimits", }, }, - earlyTermination: { - serializedName: "earlyTermination", - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - }, - }, objective: { serializedName: "objective", type: { @@ -16178,21 +16148,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 +16163,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 +16255,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,74 +16314,6 @@ 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 RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", @@ -17151,14 +16935,167 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + 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 BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsUpdateHeaders", + 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 BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + 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: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + 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: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17179,10 +17116,10 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "FeaturesetContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17210,11 +17147,11 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "FeaturesetContainersCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17232,11 +17169,17 @@ export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = }, }; -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17257,10 +17200,32 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: 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: "ComponentVersionsPublishHeaders", + className: "FeaturesetVersionsBackfillHeaders", modelProperties: { location: { serializedName: "location", @@ -17282,36 +17247,125 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataVersionsPublishHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", +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", + }, }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, + }, + }; + +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, }, - serializedName: "retry-after", - type: { - name: "Number", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, }, }, }, - }, -}; + }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +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: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "JobsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17332,17 +17386,11 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "JobsCancelHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17363,11 +17411,43 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersCreateOrUpdateHeaders", + 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", @@ -17385,10 +17465,35 @@ export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "ModelVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17416,33 +17521,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 OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17463,43 +17552,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 OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + className: "OnlineEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17517,18 +17574,12 @@ export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.Compo }, }; -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", + className: "OnlineEndpointsRegenerateKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17549,32 +17600,10 @@ export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper }, }; -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "OnlineDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17602,11 +17631,17 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17627,43 +17662,11 @@ export const JobsCancelHeaders: 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 = +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + className: "OnlineDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17681,11 +17684,17 @@ export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.Composite }, }; -export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "SchedulesDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17706,10 +17715,31 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "SchedulesCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17737,10 +17767,10 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17768,11 +17798,11 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17790,11 +17820,11 @@ export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = }, }; -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", + className: "ServerlessEndpointsRegenerateKeysHeaders", modelProperties: { location: { serializedName: "location", @@ -17816,10 +17846,41 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + 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", @@ -17847,17 +17908,36 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +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 WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "WorkspacesDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17865,10 +17945,6 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17878,39 +17954,11 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "WorkspacesUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17931,38 +17979,36 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "WorkspacesDiagnoseHeaders", 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 ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "WorkspacesResyncKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17983,17 +18029,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "WorkspacesPrepareNotebookHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18014,20 +18054,14 @@ 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", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", type: { name: "String", }, @@ -18036,11 +18070,11 @@ export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMappe }, }; -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", modelProperties: { location: { serializedName: "location", @@ -18062,91 +18096,55 @@ 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: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + 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, MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, JobInput: JobInput, - JobOutput: JobOutput, NCrossValidations: NCrossValidations, Seasonality: Seasonality, TargetLags: TargetLags, @@ -18158,14 +18156,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 +18174,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,18 +18197,45 @@ 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.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "OutboundRule.FQDN": FqdnOutboundRule, + "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, "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, @@ -18302,14 +18300,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, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 6cd7aad4495b..1546eed19258 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -12,16 +12,9 @@ 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, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, PendingUploadRequestDto as PendingUploadRequestDtoMapper, @@ -57,6 +50,14 @@ import { ServerlessEndpoint as ServerlessEndpointMapper, PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, Registry as RegistryMapper, + Workspace as WorkspaceMapper, + WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, + DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, + WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, + WorkspaceConnectionUpdateParameter as WorkspaceConnectionUpdateParameterMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -86,7 +87,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2024-10-01", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +110,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 +124,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,71 +150,48 @@ 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: { @@ -228,12 +203,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,85 +224,6 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", - mapper: { - serializedName: "privateEndpointConnectionName", - 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", - }, - }, -}; - -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 body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, -}; - -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, -}; - export const registryName: OperationURLParameter = { parameterPath: "registryName", mapper: { @@ -356,7 +252,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +288,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 +312,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 +343,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +372,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 +396,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 +420,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body10: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +455,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +465,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +491,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +510,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,7 +526,7 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, @@ -650,7 +546,7 @@ export const deploymentName1: OperationURLParameter = { }, }; -export const body17: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", mapper: BatchDeploymentMapper, }; @@ -675,7 +571,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body16: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +644,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -795,7 +691,7 @@ export const createdBy: OperationQueryParameter = { }, }; -export const body20: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: FeaturesetContainerMapper, }; @@ -880,22 +776,22 @@ export const stage: OperationQueryParameter = { }, }; -export const body21: OperationParameter = { +export const body19: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionMapper, }; -export const body22: OperationParameter = { +export const body20: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionBackfillRequestMapper, }; -export const body23: OperationParameter = { +export const body21: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityContainerMapper, }; -export const body24: OperationParameter = { +export const body22: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityVersionMapper, }; @@ -931,7 +827,7 @@ export const id: OperationURLParameter = { }, }; -export const body25: OperationParameter = { +export const body23: OperationParameter = { parameterPath: "body", mapper: JobBaseMapper, }; @@ -950,7 +846,7 @@ export const id1: OperationURLParameter = { }, }; -export const body26: OperationParameter = { +export const body24: OperationParameter = { parameterPath: "body", mapper: MarketplaceSubscriptionMapper, }; @@ -995,27 +891,27 @@ export const orderBy2: OperationQueryParameter = { }, }; -export const body27: OperationParameter = { +export const body25: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper, }; -export const body28: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper, }; -export const body29: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper, }; -export const body30: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper, }; -export const body31: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper, }; @@ -1030,17 +926,17 @@ export const listViewType1: OperationQueryParameter = { }, }; -export const body32: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper, }; -export const body33: OperationParameter = { +export const body31: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, }; -export const body34: OperationParameter = { +export const body32: OperationParameter = { parameterPath: "body", mapper: ServerlessEndpointMapper, }; @@ -1059,12 +955,133 @@ export const name3: OperationURLParameter = { }, }; -export const body35: OperationParameter = { +export const body33: OperationParameter = { parameterPath: "body", mapper: PartialRegistryPartialTrackedResourceMapper, }; -export const body36: OperationParameter = { +export const body34: OperationParameter = { parameterPath: "body", mapper: RegistryMapper, }; + +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: WorkspaceMapper, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, +}; + +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: WorkspaceUpdateParametersMapper, +}; + +export const parameters5: OperationParameter = { + parameterPath: ["options", "parameters"], + mapper: DiagnoseWorkspaceParametersMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const properties1: 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 body35: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionUpdateParameterMapper, +}; + +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 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 body36: OperationParameter = { + parameterPath: "body", + mapper: OutboundRuleBasicResourceMapper, +}; + +export const body37: 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..36763a56b940 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -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..347f27e3c63b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -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..f81300f99937 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -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..7ff36126e5cc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -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..e552013a843e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -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..19ed761a7d68 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -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..63fa9ad10ef0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -982,7 +982,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +1015,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1178,9 +1178,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1199,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/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 37f06f8f83fa..9f6edc42678a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -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..6e45024518f6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -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..b53770e148e3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -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, @@ -370,9 +370,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/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index b2b05c13bcb2..728285abaf15 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -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..cbaf1fa6a609 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -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..e07abcbe0220 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts @@ -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..d88d47eeff6e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -461,7 +461,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body20, + requestBody: Parameters.body18, 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..8636f5b9c57c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -607,7 +607,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body21, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -641,7 +641,7 @@ const backfillOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body22, + requestBody: Parameters.body20, 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..b6e6e9f2e2bd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -463,7 +463,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body23, + requestBody: Parameters.body21, 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..2ff1be3ac555 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -501,7 +501,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body24, + requestBody: Parameters.body22, 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..0fd133c3d003 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,10 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./workspaceConnections"; +export * from "./managedNetworkSettingsRule"; +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..7ced4741927d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -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.body23, 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..ee03682cd7fe 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -147,7 +147,7 @@ const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body37, 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..d7c13db8bd3d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -455,7 +455,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +482,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..6a13929b9efc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts @@ -469,7 +469,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body26, + requestBody: Parameters.body24, 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..eeffd29767e4 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -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..389b93d3a6a7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -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..cf35fa91a5f1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -823,7 +823,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body29, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -857,7 +857,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +882,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body29, 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..a35623b3ecb6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -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.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +779,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body26, 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/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index eae9b01889d7..c9f265b9c313 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -248,7 +248,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, + requestBody: Parameters.properties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 3817e12372b9..2aaf9e77506e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -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/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts index 5ca82fb9f095..5d4c4bf22f80 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -631,7 +631,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body35, + requestBody: Parameters.body33, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +663,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +695,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body34, 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..51b2fb324d39 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -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..9cdb2cbdb8f7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -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..5a909e4b5416 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -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..762a4f25245e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -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..a5198a000ae9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -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..1075118a1ccf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts @@ -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..ae6122b427ed 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -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..1c857127e0fd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -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..84290936c9ea 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -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..5ae115d9aa06 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -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..1d58e9bbb813 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -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..db1563245b8e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body32, + requestBody: Parameters.body30, 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..624c18223c25 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts @@ -695,7 +695,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body33, + requestBody: Parameters.body31, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +728,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body32, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +783,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body26, 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..2c49f59ef419 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -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/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index 62fbf5ade938..60f0d97021ad 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -23,6 +23,8 @@ import { WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, WorkspaceConnectionsListNextResponse, @@ -172,6 +174,25 @@ 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 connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + update( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + updateOperationSpec, + ); + } + /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. @@ -296,6 +317,30 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body35, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + 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", @@ -312,6 +357,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.target, Parameters.category, + Parameters.includeAll, ], urlParameters: [ Parameters.$host, @@ -359,9 +405,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..6921ada2cdc2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -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..4d9350811efd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -358,6 +358,7 @@ export class WorkspacesImpl implements Workspaces { const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -930,7 +931,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters, + requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -984,7 +985,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.parameters4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1036,7 +1037,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1236,8 +1237,8 @@ const listByResourceGroupNextOperationSpec: 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/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 1ab888709948..0fd133c3d003 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,10 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./workspaceConnections"; +export * from "./managedNetworkSettingsRule"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index a0dbe0ddd6ca..1c357b569928 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -15,6 +15,8 @@ import { WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, } from "../models"; @@ -70,6 +72,19 @@ export interface WorkspaceConnections { connectionName: string, options?: WorkspaceConnectionsDeleteOptionalParams, ): 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 connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + update( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise; /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. 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..b35d05ad6e9d 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" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "node_modules"