diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 085053ae5602..ee6655fc613e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10902,6 +10902,37 @@ packages: yn: 3.1.1 dev: false + /ts-node@10.9.2(@types/node@18.19.50)(typescript@5.5.4): + resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 18.19.50 + acorn: 8.12.1 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.5.4 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: false + /ts-node@10.9.2(@types/node@18.19.50)(typescript@5.6.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -16507,7 +16538,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-4ouvVQUeU++VLv++AIepntQvXHoNspilDl3+v5hTFvHefl8PZCGRiL+NJhQTFGhkYnYQ48zwixOcXA2aWfCv3w==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-1wU9aOybLqge0HiNB1q1/5qGsqedCf8Hn+GU2Y4bxGzAsDNZE9zpMdDQ1QlchpTTm6BXRJVy23I6ziqkCc6NYQ==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -16526,10 +16557,10 @@ packages: mkdirp: 3.0.1 mocha: 10.7.3 rimraf: 5.0.10 - ts-node: 10.9.2(@types/node@18.19.50)(typescript@5.6.2) + ts-node: 10.9.2(@types/node@18.19.50)(typescript@5.5.4) tslib: 2.7.0 tsx: 4.19.1 - typescript: 5.6.2 + typescript: 5.5.4 uglify-js: 3.19.3 transitivePeerDependencies: - '@swc/core' diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index 0042b67f7c55..28556deea362 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -6,7 +6,7 @@ These APIs allow end users to operate on Azure Machine Learning Workspace resour [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearning) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 857e6795e82d..4ab5db382b96 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "c4da225cb951aaf7579afbec7d2a29559e0f74ae", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.11", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.14", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 544878aa2b34..38736e6e2072 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -3,13 +3,13 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "version": "1.0.0-beta.1", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/core-lro": "^2.5.4", - "@azure/abort-controller": "^1.0.0", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", "@azure/core-auth": "^1.6.0", @@ -30,12 +30,12 @@ "devDependencies": { "@microsoft/api-extractor": "^7.31.1", "mkdirp": "^3.0.1", - "typescript": "~5.6.2", + "typescript": "~5.5.3", "uglify-js": "^3.4.9", "rimraf": "^5.0.0", "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", + "@azure/identity": "^4.2.1", "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", @@ -106,13 +106,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/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts index c23752c7fa1d..799e5bcd0ec7 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, @@ -35,6 +28,7 @@ import { RegistryDataReferencesImpl, RegistryEnvironmentContainersImpl, RegistryEnvironmentVersionsImpl, + MarketplaceSubscriptionsImpl, RegistryModelContainersImpl, RegistryModelVersionsImpl, BatchEndpointsImpl, @@ -54,7 +48,6 @@ import { FeaturestoreEntityContainersImpl, FeaturestoreEntityVersionsImpl, JobsImpl, - MarketplaceSubscriptionsImpl, ModelContainersImpl, ModelVersionsImpl, OnlineEndpointsImpl, @@ -63,19 +56,30 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + WorkspaceConnectionsImpl, + ConnectionImpl, + ConnectionRaiBlocklistsImpl, + ConnectionRaiBlocklistImpl, + ConnectionRaiBlocklistItemImpl, + ConnectionRaiBlocklistItemsImpl, + ConnectionRaiPoliciesImpl, + ConnectionRaiPolicyImpl, + EndpointDeploymentImpl, + EndpointOperationsImpl, + RaiPoliciesImpl, + RaiPolicyImpl, + ManagedNetworkSettingsRuleImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + ManagedNetworkProvisionsImpl, } from "./operations"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -85,6 +89,7 @@ import { RegistryDataReferences, RegistryEnvironmentContainers, RegistryEnvironmentVersions, + MarketplaceSubscriptions, RegistryModelContainers, RegistryModelVersions, BatchEndpoints, @@ -104,7 +109,6 @@ import { FeaturestoreEntityContainers, FeaturestoreEntityVersions, Jobs, - MarketplaceSubscriptions, ModelContainers, ModelVersions, OnlineEndpoints, @@ -113,6 +117,24 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + WorkspaceConnections, + Connection, + ConnectionRaiBlocklists, + ConnectionRaiBlocklist, + ConnectionRaiBlocklistItem, + ConnectionRaiBlocklistItems, + ConnectionRaiPolicies, + ConnectionRaiPolicy, + EndpointDeployment, + EndpointOperations, + RaiPolicies, + RaiPolicy, + ManagedNetworkSettingsRule, + PrivateEndpointConnections, + PrivateLinkResources, + ManagedNetworkProvisions, } from "./operationsInterfaces"; import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models"; @@ -149,7 +171,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser credential: credentials, }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/1.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -203,18 +225,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-07-01-preview"; this.usages = new UsagesImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); this.quotas = new QuotasImpl(this); this.computeOperations = new ComputeOperationsImpl(this); - this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); - this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.workspaceConnections = new WorkspaceConnectionsImpl(this); - this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); - this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.registryCodeContainers = new RegistryCodeContainersImpl(this); this.registryCodeVersions = new RegistryCodeVersionsImpl(this); this.registryComponentContainers = new RegistryComponentContainersImpl( @@ -230,6 +245,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl( this, ); + this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this); this.registryModelContainers = new RegistryModelContainersImpl(this); this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); @@ -251,7 +267,6 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser ); this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this); this.jobs = new JobsImpl(this); - this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this); this.modelContainers = new ModelContainersImpl(this); this.modelVersions = new ModelVersionsImpl(this); this.onlineEndpoints = new OnlineEndpointsImpl(this); @@ -260,6 +275,26 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.serverlessEndpoints = new ServerlessEndpointsImpl(this); this.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); + this.operations = new OperationsImpl(this); + this.workspaces = new WorkspacesImpl(this); + this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.connection = new ConnectionImpl(this); + this.connectionRaiBlocklists = new ConnectionRaiBlocklistsImpl(this); + this.connectionRaiBlocklist = new ConnectionRaiBlocklistImpl(this); + this.connectionRaiBlocklistItem = new ConnectionRaiBlocklistItemImpl(this); + this.connectionRaiBlocklistItems = new ConnectionRaiBlocklistItemsImpl( + this, + ); + this.connectionRaiPolicies = new ConnectionRaiPoliciesImpl(this); + this.connectionRaiPolicy = new ConnectionRaiPolicyImpl(this); + this.endpointDeployment = new EndpointDeploymentImpl(this); + this.endpointOperations = new EndpointOperationsImpl(this); + this.raiPolicies = new RaiPoliciesImpl(this); + this.raiPolicy = new RaiPolicyImpl(this); + this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); + this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -291,17 +326,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; @@ -311,6 +339,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser registryDataReferences: RegistryDataReferences; registryEnvironmentContainers: RegistryEnvironmentContainers; registryEnvironmentVersions: RegistryEnvironmentVersions; + marketplaceSubscriptions: MarketplaceSubscriptions; registryModelContainers: RegistryModelContainers; registryModelVersions: RegistryModelVersions; batchEndpoints: BatchEndpoints; @@ -330,7 +359,6 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser featurestoreEntityContainers: FeaturestoreEntityContainers; featurestoreEntityVersions: FeaturestoreEntityVersions; jobs: Jobs; - marketplaceSubscriptions: MarketplaceSubscriptions; modelContainers: ModelContainers; modelVersions: ModelVersions; onlineEndpoints: OnlineEndpoints; @@ -339,4 +367,22 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser serverlessEndpoints: ServerlessEndpoints; registries: Registries; workspaceFeatures: WorkspaceFeatures; + operations: Operations; + workspaces: Workspaces; + workspaceConnections: WorkspaceConnections; + connection: Connection; + connectionRaiBlocklists: ConnectionRaiBlocklists; + connectionRaiBlocklist: ConnectionRaiBlocklist; + connectionRaiBlocklistItem: ConnectionRaiBlocklistItem; + connectionRaiBlocklistItems: ConnectionRaiBlocklistItems; + connectionRaiPolicies: ConnectionRaiPolicies; + connectionRaiPolicy: ConnectionRaiPolicy; + endpointDeployment: EndpointDeployment; + endpointOperations: EndpointOperations; + raiPolicies: RaiPolicies; + raiPolicy: RaiPolicy; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; + managedNetworkProvisions: ManagedNetworkProvisions; } diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..2e02a7db06f6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -8,11 +8,6 @@ import * as coreClient from "@azure/core-client"; -export type OutboundRuleUnion = - | OutboundRule - | PrivateEndpointOutboundRule - | ServiceTagOutboundRule - | FqdnOutboundRule; export type ComputeUnion = | Compute | Aks @@ -30,20 +25,6 @@ export type ComputeSecretsUnion = | AksComputeSecrets | VirtualMachineSecrets | DatabricksComputeSecrets; -export type WorkspaceConnectionPropertiesV2Union = - | WorkspaceConnectionPropertiesV2 - | PATAuthTypeWorkspaceConnectionProperties - | SASAuthTypeWorkspaceConnectionProperties - | UsernamePasswordAuthTypeWorkspaceConnectionProperties - | NoneAuthTypeWorkspaceConnectionProperties - | ManagedIdentityAuthTypeWorkspaceConnectionProperties - | AADAuthTypeWorkspaceConnectionProperties - | AccessKeyAuthTypeWorkspaceConnectionProperties - | AccountKeyAuthTypeWorkspaceConnectionProperties - | ApiKeyAuthWorkspaceConnectionProperties - | CustomKeysWorkspaceConnectionProperties - | OAuth2AuthTypeWorkspaceConnectionProperties - | ServicePrincipalAuthTypeWorkspaceConnectionProperties; export type PendingUploadCredentialDtoUnion = | PendingUploadCredentialDto | SASCredentialDto; @@ -74,14 +55,14 @@ export type DatastoreSecretsUnion = | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type WebhookUnion = Webhook | AzureDevOpsWebhook; -export type NodesUnion = Nodes | AllNodes; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings @@ -91,6 +72,38 @@ export type ScheduleActionBaseUnion = | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; +export type OutboundRuleUnion = + | OutboundRule + | FqdnOutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule; +export type WorkspaceConnectionPropertiesV2Union = + | WorkspaceConnectionPropertiesV2 + | AADAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | AccountKeyAuthTypeWorkspaceConnectionProperties + | ApiKeyAuthWorkspaceConnectionProperties + | CustomKeysWorkspaceConnectionProperties + | ManagedIdentityAuthTypeWorkspaceConnectionProperties + | NoneAuthTypeWorkspaceConnectionProperties + | OAuth2AuthTypeWorkspaceConnectionProperties + | PATAuthTypeWorkspaceConnectionProperties + | SASAuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties + | UsernamePasswordAuthTypeWorkspaceConnectionProperties; +export type EndpointDeploymentResourcePropertiesUnion = + | EndpointDeploymentResourceProperties + | ContentSafetyEndpointDeploymentResourceProperties + | ManagedOnlineEndpointDeploymentResourceProperties + | OpenAIEndpointDeploymentResourceProperties + | SpeechEndpointDeploymentResourceProperties; +export type EndpointResourcePropertiesUnion = + | EndpointResourceProperties + | ContentSafetyEndpointResourceProperties + | ManagedOnlineEndpointResourceProperties + | OpenAIEndpointResourceProperties + | ServerlessEndpointResourceProperties + | SpeechEndpointResourceProperties; export type MonitoringFeatureFilterBaseUnion = | MonitoringFeatureFilterBase | AllFeatures @@ -104,6 +117,14 @@ export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -119,20 +140,12 @@ export type AutoMLVerticalUnion = export type JobInputUnion = | JobInput | MLTableJobInput - | CustomModelJobInput | MLFlowModelJobInput + | CustomModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations @@ -146,6 +159,10 @@ export type TargetRollingWindowSizeUnion = | TargetRollingWindowSize | AutoTargetRollingWindowSize | CustomTargetRollingWindowSize; +export type FineTuningVerticalUnion = + | FineTuningVertical + | AzureOpenAiFineTuning + | CustomModelFineTuning; export type EarlyTerminationPolicyUnion = | EarlyTerminationPolicy | BanditPolicy @@ -174,6 +191,9 @@ export type DistributionConfigurationUnion = | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,9 +201,6 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData @@ -205,6 +222,7 @@ export type JobBasePropertiesUnion = | JobBaseProperties | AutoMLJob | CommandJob + | FineTuningJob | PipelineJob | SparkJob | SweepJob; @@ -218,68 +236,71 @@ export type DataVersionBasePropertiesUnion = | UriFileDataVersion | UriFolderDataVersion; -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export interface OperationListResult { +/** The List Usages operation response. */ +export interface ListUsagesResult { /** - * List of operations supported by the resource provider + * The list of AML resource usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Operation[]; + readonly value?: Usage[]; /** - * URL to get the next set of operation list results (if there are any). + * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface Operation { +/** Describes AML Resource Usage. */ +export interface Usage { /** - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly id?: string; /** - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * Region of the AML workspace in the id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - display?: OperationDisplay; + readonly amlWorkspaceLocation?: string; /** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly origin?: Origin; + readonly type?: string; /** - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * An enum describing the unit of usage measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly actionType?: ActionType; -} - -/** Localized display information for this particular operation. */ -export interface OperationDisplay { + readonly unit?: UsageUnit; /** - * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * The current usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provider?: string; + readonly currentValue?: number; /** - * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * The maximum permitted usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resource?: string; + readonly limit?: number; /** - * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * The name of the type of usage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operation?: string; + readonly name?: UsageName; +} + +/** The Usage Names. */ +export interface UsageName { /** - * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly description?: string; + readonly value?: string; + /** + * The localized name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ @@ -331,391 +352,158 @@ export interface ErrorAdditionalInfo { readonly info?: Record; } -export interface EncryptionProperty { - /** Indicates whether or not the encryption is enabled for the workspace. */ - status: EncryptionStatus; - /** The identity that will be used to access the key vault for encryption at rest. */ - identity?: IdentityForCmk; - /** Customer Key vault properties. */ - keyVaultProperties: EncryptionKeyVaultProperties; -} - -/** Identity that will be used to access key vault for encryption at rest */ -export interface IdentityForCmk { - /** The ArmId of the user assigned identity that will be used to access the customer managed key vault */ - userAssignedIdentity?: string; -} - -export interface EncryptionKeyVaultProperties { - /** The ArmId of the keyVault where the customer owned encryption key is present. */ - keyVaultArmId: string; - /** Key vault uri to access the encryption key. */ - keyIdentifier: string; - /** For future use - The client id of the identity which will be used to access key vault. */ - identityClientId?: string; +/** The List Virtual Machine size operation response. */ +export interface VirtualMachineSizeListResult { + /** The list of virtual machine sizes supported by AmlCompute. */ + value?: VirtualMachineSize[]; } -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { +/** Describes the properties of a VM size. */ +export interface VirtualMachineSize { /** - * The ARM identifier for Private Endpoint + * The name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface ManagedServiceIdentity { + readonly name?: string; /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The family name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly family?: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The number of vCPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - type: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; -} - -/** User assigned identity properties */ -export interface UserAssignedIdentity { + readonly vCPUs?: number; /** - * The principal ID of the assigned identity. + * The number of gPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly gpus?: number; /** - * The client ID of the assigned identity. + * The OS VHD disk size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; -} - -/** The resource model definition representing SKU */ -export interface Sku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource { + readonly osVhdSizeMB?: number; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The resource volume size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly maxResourceVolumeMB?: number; /** - * The name of the resource + * The amount of memory, in GB, supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly memoryGB?: number; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Specifies if the virtual machine size supports low priority VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly lowPriorityCapable?: boolean; /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Specifies if the virtual machine size supports premium IO. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; + readonly premiumIO?: boolean; + /** The estimated price information for using a VM. */ + estimatedVMPrices?: EstimatedVMPrices; + /** Specifies the compute types supported by the virtual machine size. */ + supportedComputeTypes?: string[]; } -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; +/** The estimated price info for using a VM. */ +export interface EstimatedVMPrices { + /** Three lettered code specifying the currency of the VM price. Example: USD */ + billingCurrency: BillingCurrency; + /** The unit of time measurement for the specified VM price. Example: OneHour */ + unitOfMeasure: UnitOfMeasure; + /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ + values: EstimatedVMPrice[]; } -export interface ServerlessComputeSettings { - /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ - serverlessComputeCustomSubnet?: string; - /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ - serverlessComputeNoPublicIP?: boolean; +/** The estimated price info for using a VM of a particular OS type, tier, etc. */ +export interface EstimatedVMPrice { + /** The price charged for using the VM. */ + retailPrice: number; + /** Operating system type used by the VM. */ + osType: VMPriceOSType; + /** The type of the VM. */ + vmTier: VMTier; } -export interface SharedPrivateLinkResource { - /** Unique name of the private link. */ - name?: string; - /** The resource id that private link links to. */ - privateLinkResourceId?: string; - /** The private link resource group id. */ - groupId?: string; - /** Request message. */ - requestMessage?: string; - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; -} - -export interface NotebookResourceInfo { - fqdn?: string; - /** the data plane resourceId that used to initialize notebook component */ - resourceId?: string; - /** The error that occurs when preparing notebook. */ - notebookPreparationError?: NotebookPreparationError; -} - -export interface NotebookPreparationError { - errorMessage?: string; - statusCode?: number; -} - -export interface ServiceManagedResourcesSettings { - /** The settings for the service managed cosmosdb account. */ - cosmosDb?: CosmosDbSettings; -} - -export interface CosmosDbSettings { - /** The throughput of the collections in cosmosdb database */ - collectionsThroughput?: number; -} - -/** Managed Network settings for a machine learning workspace. */ -export interface ManagedNetworkSettings { - /** Isolation mode for the managed network of a machine learning workspace. */ - isolationMode?: IsolationMode; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkId?: string; - /** Dictionary of */ - outboundRules?: { [propertyName: string]: OutboundRuleUnion }; - /** Status of the Provisioning for the managed network of a machine learning workspace. */ - status?: ManagedNetworkProvisionStatus; -} - -/** Outbound Rule for the managed network of a machine learning workspace. */ -export interface OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; - /** Category of a managed network Outbound Rule of a machine learning workspace. */ - category?: RuleCategory; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - status?: RuleStatus; -} - -/** Status of the Provisioning for the managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionStatus { - sparkReady?: boolean; - /** Status for the managed network of a machine learning workspace. */ - status?: ManagedNetworkStatus; -} - -/** Settings for feature store type workspace. */ -export interface FeatureStoreSettings { - /** Compute runtime config for feature store type workspace. */ - computeRuntime?: ComputeRuntimeDto; - offlineStoreConnectionName?: string; - onlineStoreConnectionName?: string; -} - -/** Compute runtime config for feature store type workspace. */ -export interface ComputeRuntimeDto { - sparkRuntimeVersion?: string; -} - -/** WorkspaceHub's configuration object. */ -export interface WorkspaceHubConfig { - additionalWorkspaceStorageAccounts?: string[]; - defaultWorkspaceResourceGroup?: string; -} - -/** The parameters for updating a machine learning workspace. */ -export interface WorkspaceUpdateParameters { - /** The resource tags for the machine learning workspace. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. */ - friendlyName?: string; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - enableDataIsolation?: boolean; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - encryption?: EncryptionUpdateProperties; -} - -export interface EncryptionUpdateProperties { - keyVaultProperties: EncryptionKeyVaultUpdateProperties; -} - -export interface EncryptionKeyVaultUpdateProperties { - keyIdentifier: string; -} - -/** The result of a request to list machine learning workspaces. */ -export interface WorkspaceListResult { - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: Workspace[]; - /** The URI that can be used to request the next list of machine learning workspaces. */ - nextLink?: string; -} - -/** Parameters to diagnose a workspace */ -export interface DiagnoseWorkspaceParameters { - /** Value of Parameters */ - value?: DiagnoseRequestProperties; -} - -export interface DiagnoseRequestProperties { - /** Setting for diagnosing user defined routing */ - udr?: { [propertyName: string]: Record }; - /** Setting for diagnosing network security group */ - nsg?: { [propertyName: string]: Record }; - /** Setting for diagnosing resource lock */ - resourceLock?: { [propertyName: string]: Record }; - /** Setting for diagnosing dns resolution */ - dnsResolution?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent storage account */ - storageAccount?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent key vault */ - keyVault?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent container registry */ - containerRegistry?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent application insights */ - applicationInsights?: { [propertyName: string]: Record }; - /** Setting for diagnosing unclassified category of problems */ - others?: { [propertyName: string]: Record }; +/** Quota update parameters. */ +export interface QuotaUpdateParameters { + /** The list for update quota. */ + value?: QuotaBaseProperties[]; + /** Region of workspace quota to be updated. */ + location?: string; } -export interface DiagnoseResponseResult { - value?: DiagnoseResponseResultValue; +/** The properties for Quota update or retrieval. */ +export interface QuotaBaseProperties { + /** Specifies the resource ID. */ + id?: string; + /** Specifies the resource type. */ + type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; + /** An enum describing the unit of quota measurement. */ + unit?: QuotaUnit; } -export interface DiagnoseResponseResultValue { - userDefinedRouteResults?: DiagnoseResult[]; - networkSecurityRuleResults?: DiagnoseResult[]; - resourceLockResults?: DiagnoseResult[]; - dnsResolutionResults?: DiagnoseResult[]; - storageAccountResults?: DiagnoseResult[]; - keyVaultResults?: DiagnoseResult[]; - containerRegistryResults?: DiagnoseResult[]; - applicationInsightsResults?: DiagnoseResult[]; - otherResults?: DiagnoseResult[]; +/** The result of update workspace quota. */ +export interface UpdateWorkspaceQuotasResult { + /** + * The list of workspace quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: UpdateWorkspaceQuotas[]; + /** + * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Result of Diagnose */ -export interface DiagnoseResult { +/** The properties for update Quota response. */ +export interface UpdateWorkspaceQuotas { /** - * Code for workspace setup error + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly code?: string; + readonly id?: string; /** - * Level of workspace setup error + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly level?: DiagnoseResultLevel; + readonly type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; /** - * Message of workspace setup error + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; -} - -export interface ListWorkspaceKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly appInsightsInstrumentationKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookAccessKeys?: ListNotebookKeysResult; -} - -export interface RegistryListCredentialsResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly username?: string; - passwords?: Password[]; -} - -export interface Password { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; -} - -export interface ListNotebookKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly primaryAccessKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly secondaryAccessKey?: string; + readonly unit?: QuotaUnit; + /** Status of update workspace quota. */ + status?: Status; } -/** The List Usages operation response. */ -export interface ListUsagesResult { +/** The List WorkspaceQuotasByVMFamily operation response. */ +export interface ListWorkspaceQuotas { /** - * The list of AML resource usages. + * The list of Workspace Quotas by VM Family * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Usage[]; + readonly value?: ResourceQuota[]; /** - * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. + * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Describes AML Resource Usage. */ -export interface Usage { +/** The quota assigned to a resource. */ +export interface ResourceQuota { /** * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -732,29 +520,24 @@ export interface Usage { */ readonly type?: string; /** - * An enum describing the unit of usage measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: UsageUnit; - /** - * The current usage of the resource. + * Name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly name?: ResourceName; /** - * The maximum permitted usage of the resource. + * The maximum permitted quota of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly limit?: number; /** - * The name of the type of usage. + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: UsageName; + readonly unit?: QuotaUnit; } -/** The Usage Names. */ -export interface UsageName { +/** The Resource Name. */ +export interface ResourceName { /** * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -767,210 +550,98 @@ export interface UsageName { readonly localizedValue?: string; } -/** The List Virtual Machine size operation response. */ -export interface VirtualMachineSizeListResult { - /** The list of virtual machine sizes supported by AmlCompute. */ - value?: VirtualMachineSize[]; -} - -/** Describes the properties of a VM size. */ -export interface VirtualMachineSize { - /** - * The name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The family name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly family?: string; - /** - * The number of vCPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly vCPUs?: number; - /** - * The number of gPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly gpus?: number; - /** - * The OS VHD disk size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osVhdSizeMB?: number; - /** - * The resource volume size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maxResourceVolumeMB?: number; - /** - * The amount of memory, in GB, supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly memoryGB?: number; - /** - * Specifies if the virtual machine size supports low priority VMs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lowPriorityCapable?: boolean; - /** - * Specifies if the virtual machine size supports premium IO. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly premiumIO?: boolean; - /** The estimated price information for using a VM. */ - estimatedVMPrices?: EstimatedVMPrices; - /** Specifies the compute types supported by the virtual machine size. */ - supportedComputeTypes?: string[]; -} - -/** The estimated price info for using a VM. */ -export interface EstimatedVMPrices { - /** Three lettered code specifying the currency of the VM price. Example: USD */ - billingCurrency: BillingCurrency; - /** The unit of time measurement for the specified VM price. Example: OneHour */ - unitOfMeasure: UnitOfMeasure; - /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ - values: EstimatedVMPrice[]; -} - -/** The estimated price info for using a VM of a particular OS type, tier, etc. */ -export interface EstimatedVMPrice { - /** The price charged for using the VM. */ - retailPrice: number; - /** Operating system type used by the VM. */ - osType: VMPriceOSType; - /** The type of the VM. */ - vmTier: VMTier; -} - -/** Quota update parameters. */ -export interface QuotaUpdateParameters { - /** The list for update quota. */ - value?: QuotaBaseProperties[]; - /** Region of workspace quota to be updated. */ - location?: string; -} - -/** The properties for Quota update or retrieval. */ -export interface QuotaBaseProperties { - /** Specifies the resource ID. */ - id?: string; - /** Specifies the resource type. */ - type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; - /** An enum describing the unit of quota measurement. */ - unit?: QuotaUnit; +/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ +export interface PaginatedComputeResourcesList { + /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ + value?: ComputeResource[]; + /** A continuation link (absolute URI) to the next page of results in the list. */ + nextLink?: string; } -/** The result of update workspace quota. */ -export interface UpdateWorkspaceQuotasResult { +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { /** - * The list of workspace quota update result. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: UpdateWorkspaceQuotas[]; + readonly principalId?: string; /** - * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; + readonly tenantId?: string; + /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ + type: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; } -/** The properties for update Quota response. */ -export interface UpdateWorkspaceQuotas { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; +/** User assigned identity properties */ +export interface UserAssignedIdentity { /** - * Specifies the resource type. + * The principal ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; + readonly principalId?: string; /** - * An enum describing the unit of quota measurement. + * The client ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: QuotaUnit; - /** Status of update workspace quota. */ - status?: Status; + readonly clientId?: string; } -/** The List WorkspaceQuotasByVMFamily operation response. */ -export interface ListWorkspaceQuotas { - /** - * The list of Workspace Quotas by VM Family - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: ResourceQuota[]; - /** - * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** The resource model definition representing SKU */ +export interface Sku { + /** The name of the SKU. Ex - P3. It is typically a letter+number code */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: string; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; } -/** The quota assigned to a resource. */ -export interface ResourceQuota { +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { /** - * Specifies the resource ID. + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** - * Region of the AML workspace in the id. + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly amlWorkspaceLocation?: string; + readonly name?: string; /** - * Specifies the resource type. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** - * Name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: ResourceName; - /** - * The maximum permitted quota of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly limit?: number; - /** - * An enum describing the unit of quota measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: QuotaUnit; -} - -/** The Resource Name. */ -export interface ResourceName { - /** - * The name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: string; - /** - * The localized name of the resource. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly localizedValue?: string; + readonly systemData?: SystemData; } -/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ -export interface PaginatedComputeResourcesList { - /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ - value?: ComputeResource[]; - /** A continuation link (absolute URI) to the next page of results in the list. */ - nextLink?: string; +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; } export interface ComputeResourceSchema { @@ -1049,24 +720,132 @@ export interface ScaleSettings { nodeIdleTimeBeforeScaleDown?: string; } -/** Result of AmlCompute Nodes */ -export interface AmlComputeNodesInformation { - /** - * The collection of returned AmlCompute nodes details. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nodes?: AmlComputeNodeInformation[]; - /** - * The continuation token. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** Specifies the custom service configuration */ +export interface CustomService { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Custom Service */ + name?: string; + /** Describes the Image Specifications */ + image?: Image; + /** Environment Variable for the container */ + environmentVariables?: { [propertyName: string]: EnvironmentVariable }; + /** Describes the docker settings for the image */ + docker?: Docker; + /** Configuring the endpoints for the container */ + endpoints?: Endpoint[]; + /** Configuring the volumes for the container */ + volumes?: VolumeDefinition[]; + /** Describes the jupyter kernel settings for the image if its a custom environment */ + kernel?: JupyterKernelConfig; } -/** Compute node information related to a AmlCompute. */ -export interface AmlComputeNodeInformation { - /** - * ID of the compute node. +export interface Image { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML Environment images (custom and curated) */ + type?: ImageType; + /** Image reference URL if type is docker. Environment name if type is azureml */ + reference?: string; + /** Version of image being used. If latest then skip this field */ + version?: string; +} + +export interface EnvironmentVariable { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the Environment Variable. Possible values are: local - For local variable */ + type?: EnvironmentVariableType; + /** Value of the Environment variable */ + value?: string; +} + +export interface Docker { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Indicate whether container shall run in privileged or non-privileged mode. */ + privileged?: boolean; +} + +export interface Endpoint { + /** Protocol over which communication will happen over this endpoint */ + protocol?: Protocol; + /** Name of the Endpoint */ + name?: string; + /** Application port inside the container. */ + target?: number; + /** Port over which the application is exposed from container. */ + published?: number; + /** Host IP over which the application is exposed from the container */ + hostIp?: string; +} + +export interface VolumeDefinition { + /** Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe */ + type?: VolumeDefinitionType; + /** Indicate whether to mount volume as readOnly. Default value for this is false. */ + readOnly?: boolean; + /** Source of the mount. For bind mounts this is the host path. */ + source?: string; + /** Target of the mount. For bind mounts this is the path in the container. */ + target?: string; + /** Consistency of the volume */ + consistency?: string; + /** Bind Options of the mount */ + bind?: BindOptions; + /** Volume Options of the mount */ + volume?: VolumeOptions; + /** tmpfs option of the mount */ + tmpfs?: TmpfsOptions; +} + +export interface BindOptions { + /** Type of Bind Option */ + propagation?: string; + /** Indicate whether to create host path. */ + createHostPath?: boolean; + /** Mention the selinux options. */ + selinux?: string; +} + +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; +} + +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; +} + +/** Jupyter kernel configuration. */ +export interface JupyterKernelConfig { + /** Argument to the the runtime */ + argv?: string[]; + /** Display name of the kernel */ + displayName?: string; + /** Language of the kernel [Example value: python] */ + language?: string; +} + +/** Result of AmlCompute Nodes */ +export interface AmlComputeNodesInformation { + /** + * The collection of returned AmlCompute nodes details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nodes?: AmlComputeNodeInformation[]; + /** + * The continuation token. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Compute node information related to a AmlCompute. */ +export interface AmlComputeNodeInformation { + /** + * ID of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nodeId?: string; @@ -1097,148 +876,71 @@ export interface AmlComputeNodeInformation { readonly runId?: string; } -export interface NotebookAccessTokenResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hostName?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicDns?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly accessToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tokenType?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly expiresIn?: number; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly refreshToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scope?: string; -} - /** Secrets related to a Machine Learning compute. Might differ for every type of compute. */ export interface ComputeSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "AKS" | "VirtualMachine" | "Databricks"; } -/** List of private endpoint connection associated with the specified workspace */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; -} - -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; -} - -export interface ListStorageAccountKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; -} - -export interface WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: - | "PAT" - | "SAS" - | "UsernamePassword" - | "None" - | "ManagedIdentity" - | "AAD" - | "AccessKey" - | "AccountKey" - | "ApiKey" - | "CustomKeys" - | "OAuth2" - | "ServicePrincipal"; - /** Category of the connection */ - category?: ConnectionCategory; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdByWorkspaceArmId?: string; - expiryTime?: Date; - /** - * Group based on connection category - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly group?: ConnectionGroup; - isSharedToAll?: boolean; - target?: string; - /** Store user metadata for this connection */ - metadata?: { [propertyName: string]: string }; - sharedUserList?: string[]; - /** Value details of the workspace connection. */ - value?: string; - /** format for the workspace connection value */ - valueFormat?: ValueFormat; -} - -export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - value?: WorkspaceConnectionPropertiesV2BasicResource[]; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; -} - -export interface ExternalFqdnResponse { - value?: FqdnEndpoints[]; -} - -export interface FqdnEndpoints { - properties?: FqdnEndpointsProperties; -} - -export interface FqdnEndpointsProperties { - category?: string; - endpoints?: FqdnEndpoint[]; -} - -export interface FqdnEndpoint { - domainName?: string; - endpointDetails?: FqdnEndpointDetail[]; -} - -export interface FqdnEndpointDetail { - port?: number; +/** Defines an Aml Instance DataMount. */ +export interface ComputeInstanceDataMount { + /** Source of the ComputeInstance data mount. */ + source?: string; + /** Data source type. */ + sourceType?: SourceType; + /** name of the ComputeInstance data mount. */ + mountName?: string; + /** Mount Action. */ + mountAction?: MountAction; + /** Mount Mode. */ + mountMode?: MountMode; + /** who this data mount created by. */ + createdBy?: string; + /** Path of this data mount. */ + mountPath?: string; + /** Mount state. */ + mountState?: MountState; + /** The time when the disk mounted. */ + mountedOn?: Date; + /** Error of this data mount. */ + error?: string; } -/** List of outbound rules for the managed network of a machine learning workspace. */ -export interface OutboundRuleListResult { - /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ - nextLink?: string; - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: OutboundRuleBasicResource[]; +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +/** Schema for Compute Instance resize. */ +export interface ResizeSchema { + /** The name of the virtual machine size. */ + targetVMSize?: string; } /** A paginated list of CodeContainer entities. */ export interface CodeContainerResourceArmPaginatedResult { - /** An array of objects of type CodeContainer. */ - value?: CodeContainer[]; /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; } export interface ResourceBase { /** The asset description text. */ description?: string; - /** Tag dictionary. Tags can be added, removed, and updated. */ - tags?: { [propertyName: string]: string | null }; /** The asset property dictionary. */ properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; } /** A paginated list of CodeVersion entities. */ export interface CodeVersionResourceArmPaginatedResult { - /** An array of objects of type CodeVersion. */ - value?: CodeVersion[]; /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; } export interface PendingUploadRequestDto { @@ -1263,10 +965,10 @@ export interface BlobReferenceForConsumptionDto { * Example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** Arm ID of the storage account to use */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; } export interface PendingUploadCredentialDto { @@ -1276,34 +978,34 @@ export interface PendingUploadCredentialDto { /** A paginated list of ComponentContainer entities. */ export interface ComponentContainerResourceArmPaginatedResult { - /** An array of objects of type ComponentContainer. */ - value?: ComponentContainer[]; /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; } /** A paginated list of ComponentVersion entities. */ export interface ComponentVersionResourceArmPaginatedResult { - /** An array of objects of type ComponentVersion. */ - value?: ComponentVersion[]; /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; } /** A paginated list of DataContainer entities. */ export interface DataContainerResourceArmPaginatedResult { - /** An array of objects of type DataContainer. */ - value?: DataContainer[]; /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; } /** A paginated list of DataVersionBase entities. */ export interface DataVersionBaseResourceArmPaginatedResult { - /** An array of objects of type DataVersionBase. */ - value?: DataVersionBase[]; /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; } /** BlobReferenceSASRequest for getBlobReferenceSAS API */ @@ -1323,10 +1025,10 @@ export interface GetBlobReferenceSASResponseDto { export interface GetBlobReferenceForConsumptionDto { /** Blob uri, example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** The ARM id of the storage account */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: DataReferenceCredentialUnion; + /** The ARM id of the storage account */ + storageAccountArmId?: string; } /** DataReferenceCredential base class */ @@ -1341,18 +1043,18 @@ export interface DataReferenceCredential { /** A paginated list of EnvironmentContainer entities. */ export interface EnvironmentContainerResourceArmPaginatedResult { - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; } /** A paginated list of EnvironmentVersion entities. */ export interface EnvironmentVersionResourceArmPaginatedResult { - /** An array of objects of type EnvironmentVersion. */ - value?: EnvironmentVersion[]; /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; } /** Configuration settings for Docker build context */ @@ -1385,20 +1087,66 @@ export interface Route { port: number; } +/** 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[]; +} + +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; +} + +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; +} + /** A paginated list of ModelContainer entities. */ export interface ModelContainerResourceArmPaginatedResult { - /** An array of objects of type ModelContainer. */ - value?: ModelContainer[]; /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; } /** A paginated list of ModelVersion entities. */ export interface ModelVersionResourceArmPaginatedResult { - /** An array of objects of type ModelVersion. */ - value?: ModelVersion[]; /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; } export interface FlavorData { @@ -1408,10 +1156,10 @@ export interface FlavorData { /** A paginated list of BatchEndpoint entities. */ export interface BatchEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchEndpoint. */ - value?: BatchEndpoint[]; /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchEndpoint. */ + value?: BatchEndpoint[]; } /** Batch endpoint default values */ @@ -1425,8 +1173,15 @@ export interface BatchEndpointDefaults { /** Inference Endpoint base definition */ export interface EndpointPropertiesBase { + /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ + authMode: EndpointAuthMode; /** Description of the inference endpoint. */ description?: string; + /** + * EndpointAuthKeys to set initially on an Endpoint. + * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + */ + keys?: EndpointAuthKeys; /** Property dictionary. Properties can be added, but not removed or altered. */ properties?: { [propertyName: string]: string | null }; /** @@ -1439,13 +1194,6 @@ export interface EndpointPropertiesBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly swaggerUri?: string; - /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ - authMode: EndpointAuthMode; - /** - * EndpointAuthKeys to set initially on an Endpoint. - * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. - */ - keys?: EndpointAuthKeys; } /** Keys for endpoint authentication. */ @@ -1472,10 +1220,10 @@ export interface PartialMinimalTrackedResource { /** A paginated list of BatchDeployment entities. */ export interface BatchDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchDeployment. */ - value?: BatchDeployment[]; /** The link to the next page of BatchDeployment objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchDeployment. */ + value?: BatchDeployment[]; } /** Properties relevant to different deployment types. */ @@ -1484,14 +1232,6 @@ export interface BatchDeploymentConfiguration { deploymentConfigurationType: "PipelineComponent"; } -/** Retry settings for a batch inference operation. */ -export interface BatchRetrySettings { - /** Maximum retry count for a mini-batch */ - maxRetries?: number; - /** Invocation timeout for a mini-batch, in ISO 8601 format. */ - timeout?: string; -} - /** Base definition for asset references. */ export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1507,18 +1247,26 @@ export interface ResourceConfiguration { properties?: { [propertyName: string]: Record }; } +/** Retry settings for a batch inference operation. */ +export interface BatchRetrySettings { + /** Maximum retry count for a mini-batch */ + maxRetries?: number; + /** Invocation timeout for a mini-batch, in ISO 8601 format. */ + timeout?: string; +} + /** Base definition for endpoint deployment. */ export interface EndpointDeploymentPropertiesBase { - /** Description of the endpoint deployment. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; /** Code configuration for the endpoint deployment. */ codeConfiguration?: CodeConfiguration; + /** Description of the endpoint deployment. */ + description?: string; /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ environmentId?: string; /** Environment variables configuration for the deployment. */ environmentVariables?: { [propertyName: string]: string | null }; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } /** Configuration for a scoring code asset. */ @@ -1545,20 +1293,20 @@ export interface PartialBatchDeployment { /** Publishing destination registry asset information */ export interface DestinationAsset { - /** Destination registry name */ - registryName?: string; /** Destination asset name */ destinationName?: string; /** Destination asset version */ destinationVersion?: string; + /** Destination registry name */ + registryName?: string; } /** A paginated list of Datastore entities. */ export interface DatastoreResourceArmPaginatedResult { - /** An array of objects of type Datastore. */ - value?: Datastore[]; /** The link to the next page of Datastore objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } /** Base definition for datastore credentials. */ @@ -1572,6 +1320,14 @@ export interface DatastoreCredentials { | "ServicePrincipal"; } +/** Secret expiration configuration. */ +export interface SecretExpiry { + /** Indicates if the secret is expirable. */ + expirableSecret?: boolean; + /** Number of hours after which the secret will expire. */ + expireAfterHours?: number; +} + /** Base definition for datastore secrets. */ export interface DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1580,45 +1336,63 @@ export interface DatastoreSecrets { /** A paginated list of FeaturesetContainer entities. */ export interface FeaturesetContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturesetContainer. */ - value?: FeaturesetContainer[]; /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } /** A paginated list of Feature entities. */ export interface FeatureResourceArmPaginatedResult { - /** An array of objects of type Feature. */ - value?: Feature[]; /** The link to the next page of Feature objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Feature. */ + value?: Feature[]; } /** A paginated list of FeaturesetVersion entities. */ export interface FeaturesetVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturesetVersion. */ - value?: FeaturesetVersion[]; /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; -} - -/** DTO object representing specification */ -export interface FeaturesetSpecification { - /** Specifies the spec path */ - path?: string; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; } export interface MaterializationSettings { - /** Specifies the stores to which materialization should happen */ - storeType?: MaterializationStoreType; - /** Specifies the schedule details */ - schedule?: RecurrenceTrigger; /** Specifies the notification details */ notification?: NotificationSetting; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; + /** Specifies the schedule details */ + schedule?: RecurrenceTrigger; /** Specifies the spark compute settings */ sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the stores to which materialization should happen */ + storeType?: MaterializationStoreType; +} + +/** Configuration for notification. */ +export interface NotificationSetting { + /** Send email notification to user on specified notification type */ + emailOn?: EmailNotificationEnableType[]; + /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ + emails?: string[]; + /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ + webhooks?: { [propertyName: string]: WebhookUnion | null }; +} + +/** Webhook base */ +export interface Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; + /** Send callback on a specified notification event */ + eventType?: string; +} + +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } export interface RecurrenceSchedule { @@ -1626,10 +1400,10 @@ export interface RecurrenceSchedule { hours: number[]; /** [Required] List of minutes for the schedule. */ minutes: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; /** List of month days for the schedule */ monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } export interface TriggerBase { @@ -1650,58 +1424,40 @@ export interface TriggerBase { timeZone?: string; } -/** Configuration for notification. */ -export interface NotificationSetting { - /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ - emails?: string[]; - /** Send email notification to user on specified notification type */ - emailOn?: EmailNotificationEnableType[]; - /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ - webhooks?: { [propertyName: string]: WebhookUnion | null }; -} - -/** Webhook base */ -export interface Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; - /** Send callback on a specified notification event */ - eventType?: string; -} - -/** DTO object representing compute resource */ -export interface MaterializationComputeResource { - /** Specifies the instance type */ - instanceType?: string; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } /** Request payload for creating a backfill request for a given feature set version */ export interface FeaturesetVersionBackfillRequest { - /** Specifies description */ - displayName?: string; + /** Specified the data availability status that you want to backfill */ + dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specifies description */ description?: string; + /** Specifies description */ + displayName?: string; /** Specifies the backfill feature window to be materialized */ featureWindow?: FeatureWindow; - /** Specified the data availability status that you want to backfill */ - dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specify the jobId to retry the failed materialization */ jobId?: string; - /** Specifies the tags */ - tags?: { [propertyName: string]: string | null }; + /** Specifies the properties */ + properties?: { [propertyName: string]: string | null }; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; /** Specifies the spark compute settings */ sparkConfiguration?: { [propertyName: string]: string | null }; - /** Specifies the properties */ - properties?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; } /** Specifies the feature window */ export interface FeatureWindow { - /** Specifies the feature window start time */ - featureWindowStart?: Date; /** Specifies the feature window end time */ featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; } /** Response payload for creating a backfill request for a given feature set version */ @@ -1712,172 +1468,89 @@ export interface FeaturesetVersionBackfillResponse { /** A paginated list of FeaturestoreEntityContainer entities. */ export interface FeaturestoreEntityContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityContainer. */ - value?: FeaturestoreEntityContainer[]; /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; } /** A paginated list of FeaturestoreEntityVersion entities. */ export interface FeaturestoreEntityVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityVersion. */ - value?: FeaturestoreEntityVersion[]; /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; } /** DTO object representing index column */ export interface IndexColumn { - /** Specifies the data type */ - dataType?: FeatureDataType; /** Specifies the column name */ columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } /** A paginated list of JobBase entities. */ export interface JobBaseResourceArmPaginatedResult { - /** An array of objects of type JobBase. */ - value?: JobBase[]; /** The link to the next page of JobBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type JobBase. */ + value?: JobBase[]; +} + +/** Base definition for identity configuration. */ +export interface IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken" | "Managed" | "UserIdentity"; } /** Job endpoint definition */ export interface JobService { - /** Endpoint type. */ - jobServiceType?: string; - /** Port for endpoint. */ - port?: number; /** Url for endpoint. */ endpoint?: string; - /** - * Status of endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: string; /** * Any error in the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errorMessage?: string; - /** Additional properties to set on the endpoint. */ - properties?: { [propertyName: string]: string | null }; + /** Endpoint type. */ + jobServiceType?: string; /** * Nodes that user would like to start the service on. * If Nodes is not set or set to null, the service will only be started on leader node. */ nodes?: NodesUnion; -} - -/** Abstract Nodes definition */ -export interface Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; -} - -/** Base definition for identity configuration. */ -export interface IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken" | "Managed" | "UserIdentity"; -} - -/** A paginated list of MarketplaceSubscription entities. */ -export interface MarketplaceSubscriptionResourceArmPaginatedResult { - /** An array of objects of type MarketplaceSubscription. */ - value?: MarketplaceSubscription[]; - /** The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages. */ - nextLink?: string; -} - -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; + /** Port for endpoint. */ + port?: number; + /** Additional properties to set on the endpoint. */ + properties?: { [propertyName: string]: string | null }; /** - * Provisioning State of the Marketplace Subscription. + * Status of endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: MarketplaceSubscriptionProvisioningState; + readonly status?: 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; - /** - * 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; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } /** A paginated list of OnlineEndpoint entities. */ export interface OnlineEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineEndpoint. */ - value?: OnlineEndpoint[]; /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type OnlineEndpoint. */ + value?: OnlineEndpoint[]; } /** A paginated list of OnlineDeployment entities. */ export interface OnlineDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineDeployment. */ - value?: OnlineDeployment[]; /** The link to the next page of OnlineDeployment objects. If null, there are no additional pages. */ nextLink?: string; -} - -/** 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; + /** An array of objects of type OnlineDeployment. */ + value?: OnlineDeployment[]; } export interface DataCollector { @@ -1886,6 +1559,8 @@ export interface DataCollector { * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. */ collections: { [propertyName: string]: Collection | null }; + /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ + requestLogging?: RequestLogging; /** * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. @@ -1893,19 +1568,17 @@ export interface DataCollector { * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. */ rollingRate?: RollingRateType; - /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ - requestLogging?: RequestLogging; } export interface Collection { - /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ - samplingRate?: number; + /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ + clientId?: string; /** Enable or disable data collection. */ dataCollectionMode?: DataCollectionMode; /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ dataId?: string; - /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ - clientId?: string; + /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; } export interface RequestLogging { @@ -1913,18 +1586,55 @@ export interface RequestLogging { captureHeaders?: string[]; } +/** Deployment container liveness/readiness probe configuration. */ +export interface ProbeSettings { + /** The number of failures to allow before returning an unhealthy status. */ + failureThreshold?: number; + /** The delay before the first probe in ISO 8601 format. */ + initialDelay?: string; + /** The length of time between probes in ISO 8601 format. */ + period?: string; + /** The number of successful probes before returning a healthy status. */ + successThreshold?: number; + /** The probe timeout in ISO 8601 format. */ + timeout?: string; +} + +/** Online deployment scoring requests configuration. */ +export interface OnlineRequestSettings { + /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ + maxConcurrentRequestsPerInstance?: number; + /** + * (Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. + * Defaults to 500ms. + * (Now increase `request_timeout_ms` to account for any networking/queue delays) + */ + maxQueueWait?: string; + /** + * The scoring timeout in ISO 8601 format. + * Defaults to 5000ms. + */ + requestTimeout?: string; +} + +/** Online deployment scaling configuration. */ +export interface OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default" | "TargetUtilization"; +} + /** Common SKU definition. */ export interface PartialSku { + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; /** The name of the SKU. Ex - P3. It is typically a letter+number code. */ name?: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; } export interface DeploymentLogsRequest { @@ -1941,14 +1651,16 @@ export interface DeploymentLogs { /** A paginated list of SkuResource entities. */ export interface SkuResourceArmPaginatedResult { - /** An array of objects of type SkuResource. */ - value?: SkuResource[]; /** The link to the next page of SkuResource objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type SkuResource. */ + value?: SkuResource[]; } /** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ export interface SkuResource { + /** Gets or sets the Sku Capacity. */ + capacity?: SkuCapacity; /** * The resource type name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1956,30 +1668,28 @@ export interface SkuResource { readonly resourceType?: string; /** Gets or sets the Sku. */ sku?: SkuSetting; - /** Gets or sets the Sku Capacity. */ - capacity?: SkuCapacity; -} - -/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ -export interface SkuSetting { - /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; } /** SKU capacity information */ export interface SkuCapacity { - /** Gets or sets the minimum. */ - minimum?: number; - /** Gets or sets the maximum. */ - maximum?: number; /** Gets or sets the default capacity. */ default?: number; + /** Gets or sets the maximum. */ + maximum?: number; + /** Gets or sets the minimum. */ + minimum?: number; /** Gets or sets the type of the scale. */ scaleType?: SkuScaleType; } +/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ +export interface SkuSetting { + /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; +} + export interface RegenerateEndpointKeysRequest { /** [Required] Specification for which type of key to generate. Primary or Secondary. */ keyType: KeyType; @@ -1991,20 +1701,20 @@ export interface RegenerateEndpointKeysRequest { export interface EndpointAuthToken { /** Access token for endpoint authentication. */ accessToken?: string; - /** Access token type. */ - tokenType?: string; /** Access token expiry time (UTC). */ expiryTimeUtc?: number; /** Refresh access token after time (UTC). */ refreshAfterTimeUtc?: number; + /** Access token type. */ + tokenType?: string; } /** A paginated list of Schedule entities. */ export interface ScheduleResourceArmPaginatedResult { - /** An array of objects of type Schedule. */ - value?: Schedule[]; /** The link to the next page of Schedule objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; } export interface ScheduleActionBase { @@ -2014,59 +1724,59 @@ export interface ScheduleActionBase { /** A paginated list of ServerlessEndpoint entities. */ export interface ServerlessEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type ServerlessEndpoint. */ - value?: ServerlessEndpoint[]; /** The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ServerlessEndpoint. */ + value?: ServerlessEndpoint[]; } export interface ServerlessEndpointProperties { - /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ - modelSettings?: ModelSettings; /** [Required] Specifies the authentication mode for the Serverless endpoint. */ authMode: ServerlessInferenceEndpointAuthMode; + /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ + contentSafety?: ContentSafety; /** - * The inference uri to target when making requests against the serverless endpoint + * The current state of the ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly inferenceEndpoint?: ServerlessInferenceEndpoint; + readonly endpointState?: ServerlessEndpointState; /** - * Provisioning state for the endpoint. + * The inference uri to target when making requests against the serverless endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: EndpointProvisioningState; + readonly inferenceEndpoint?: ServerlessInferenceEndpoint; /** - * The current state of the ServerlessEndpoint. + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly endpointState?: ServerlessEndpointState; + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * Provisioning state for the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly marketplaceSubscriptionId?: string; - /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ - contentSafety?: ContentSafety; + readonly provisioningState?: EndpointProvisioningState; } -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; +export interface ContentSafety { + /** [Required] Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; /** * Specifies any required headers to target this serverless endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly headers?: { [propertyName: string]: string | null }; + /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ + uri: string; } -export interface ContentSafety { - /** [Required] Specifies the status of content safety. */ - contentSafetyStatus: ContentSafetyStatus; +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; } /** A paginated list of Registry entities. */ @@ -2086,11 +1796,26 @@ export interface ArmResourceId { resourceId?: string; } -/** Private endpoint connection definition. */ -export interface RegistryPrivateEndpointConnection { +/** Managed resource group settings */ +export interface ManagedResourceGroupSettings { + /** List of assigned identities for the managed resource group */ + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + +/** Details for managed resource group assigned identities. */ +export interface ManagedResourceGroupAssignedIdentities { /** - * This is the private endpoint connection name created on SRP - * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} + * Identity principal Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; +} + +/** Private endpoint connection definition. */ +export interface RegistryPrivateEndpointConnection { + /** + * 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. */ @@ -2105,6 +1830,15 @@ export interface RegistryPrivateEndpointConnection { provisioningState?: string; } +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; +} + /** The connection state. */ export interface RegistryPrivateLinkServiceConnectionState { /** Some RP chose "None". Other RPs use this for region expansion. */ @@ -2217,6764 +1951,8303 @@ export interface AmlUserFeature { description?: string; } -/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ -export interface ResourceId { - /** The ID of the resource */ - id: string; -} - -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; -} - -/** AKS properties */ -export interface AKSSchemaProperties { - /** Cluster full qualified domain name */ - clusterFqdn?: string; +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { /** - * System services + * List of operations supported by the resource provider * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemServices?: SystemService[]; - /** Number of agents */ - agentCount?: number; - /** Agent virtual machine size */ - agentVmSize?: string; - /** Intended usage of the cluster */ - clusterPurpose?: ClusterPurpose; - /** SSL configuration */ - sslConfiguration?: SslConfiguration; - /** AKS networking configuration for vnet */ - aksNetworkingConfiguration?: AksNetworkingConfiguration; - /** Load Balancer Type */ - loadBalancerType?: LoadBalancerType; - /** Load Balancer Subnet */ - loadBalancerSubnet?: string; -} - -/** A system service running on a compute. */ -export interface SystemService { + readonly value?: Operation[]; /** - * The type of this system service. + * 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 systemServiceType?: string; + readonly nextLink?: string; +} + +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * Public IP address + * 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 publicIpAddress?: string; + readonly name?: string; /** - * The version for this type. + * 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 version?: 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; -} - -/** Advance configuration for AKS networking */ -export interface AksNetworkingConfiguration { - /** Virtual network subnet resource ID the compute nodes belong to */ - subnetId?: string; - /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ - serviceCidr?: string; - /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ - dnsServiceIP?: string; - /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ - dockerBridgeCidr?: string; -} - -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; -} - -/** Kubernetes properties */ -export interface KubernetesProperties { - /** Relay connection string. */ - relayConnectionString?: string; - /** ServiceBus connection string. */ - serviceBusConnectionString?: string; - /** Extension principal-id. */ - extensionPrincipalId?: string; - /** Extension instance release train. */ - extensionInstanceReleaseTrain?: string; - /** VC name. */ - vcName?: string; - /** Compute namespace */ - namespace?: string; - /** Default instance type */ - defaultInstanceType?: string; - /** Instance Type Schema */ - instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; -} - -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; -} - -/** Resource requests/limits for this instance type */ -export interface InstanceTypeSchemaResources { - /** Resource requests for this instance type */ - requests?: { [propertyName: string]: string }; - /** Resource limits for this instance type */ - limits?: { [propertyName: string]: string }; -} - -/** AML Compute properties */ -export interface AmlComputeProperties { - /** Compute OS Type */ - osType?: OsType; - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual Machine priority */ - vmPriority?: VmPriority; - /** Virtual Machine image for AML Compute - windows only */ - virtualMachineImage?: VirtualMachineImage; - /** Network is isolated or not */ - isolatedNetwork?: boolean; - /** Scale settings for AML Compute */ - scaleSettings?: ScaleSettings; - /** Credentials for an administrator user account that will be created on each compute node. */ - userAccountCredentials?: UserAccountCredentials; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ - remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; /** - * 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. + * 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 allocationState?: AllocationState; + readonly origin?: Origin; /** - * The time at which the compute entered its current allocation state. + * 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 allocationStateTransitionTime?: Date; + readonly actionType?: ActionType; +} + +/** Localized display information for this particular operation. */ +export interface OperationDisplay { /** - * Collection of errors encountered by various compute nodes during node setup. + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errors?: ErrorResponse[]; + readonly provider?: string; /** - * The number of compute nodes currently assigned to the compute. + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly resource?: string; /** - * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly operation?: string; /** - * Counts of various node states on the compute. + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeStateCounts?: NodeStateCounts; - /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ - enableNodePublicIp?: boolean; - /** A property bag containing additional properties. */ - propertyBag?: Record; -} - -/** Virtual Machine image for Windows AML Compute */ -export interface VirtualMachineImage { - /** Virtual Machine image path */ - id: string; + readonly description?: string; } -/** Settings for user account that gets created on each on the nodes of a compute. */ -export interface UserAccountCredentials { - /** Name of the administrator user account which can be used to SSH to nodes. */ - adminUserName: string; - /** SSH public key of the administrator user account. */ - adminUserSshPublicKey?: string; - /** Password of the administrator user account. */ - adminUserPassword?: string; +/** The result of a request to list machine learning workspaces. */ +export interface WorkspaceListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: Workspace[]; } -/** Counts of various compute node states on the amlCompute. */ -export interface NodeStateCounts { - /** - * Number of compute nodes in idle state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly idleNodeCount?: number; - /** - * Number of compute nodes which are running jobs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly runningNodeCount?: number; - /** - * 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; +export interface EncryptionProperty { /** - * Number of compute nodes which are in unusable state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok cosmosdb account that customer brings to store customer's data + * with encryption */ - readonly unusableNodeCount?: number; + cosmosDbResourceId?: string; + /** Identity to be used with the keyVault */ + identity?: IdentityForCmk; + /** KeyVault details to do the encryption */ + keyVaultProperties: KeyVaultProperties; /** - * Number of compute nodes which are leaving the amlCompute. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok search account that customer brings to store customer's data + * with encryption */ - readonly leavingNodeCount?: number; + searchAccountResourceId?: string; + /** Indicates whether or not the encryption is enabled for the workspace. */ + status: EncryptionStatus; /** - * Number of compute nodes which are in preempted state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok storage account that customer brings to store customer's data + * with encryption */ - readonly preemptedNodeCount?: number; + storageAccountResourceId?: string; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +/** Identity object used for encryption. */ +export interface IdentityForCmk { + /** UserAssignedIdentity to be used to fetch the encryption key from keyVault */ + userAssignedIdentity?: 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; -} - -/** 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; +/** Customer Key vault properties. */ +export interface KeyVaultProperties { /** - * Describes the port for connecting through SSH. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Currently, we support only SystemAssigned MSI. + * We need this when we support UserAssignedIdentities */ - readonly 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; - /** Describes the Image Specifications */ - image?: Image; - /** Environment Variable for the container */ - environmentVariables?: { [propertyName: string]: EnvironmentVariable }; - /** Describes the docker settings for the image */ - docker?: Docker; - /** Configuring the endpoints for the container */ - endpoints?: Endpoint[]; - /** Configuring the volumes for the container */ - volumes?: VolumeDefinition[]; -} - -/** Describes the 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; -} - -/** 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; + identityClientId?: string; + /** KeyVault key identifier to encrypt the data */ + keyIdentifier: string; + /** KeyVault Arm Id that contains the data encryption key */ + keyVaultArmId: 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; +export interface FeatureStoreSettings { + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; } -/** 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 ComputeRuntimeDto { + sparkRuntimeVersion?: string; } -/** 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; +/** 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; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly changeableIsolationModes?: IsolationMode[]; } -/** 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; +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly parentRuleNames?: string[]; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +/** 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; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +export interface NotebookResourceInfo { + fqdn?: string; + isPrivateLinkEnabled?: boolean; + /** The error that occurs when preparing notebook. */ + notebookPreparationError?: NotebookPreparationError; + /** the data plane resourceId that used to initialize notebook component */ + resourceId?: string; } -/** Returns metadata about the operating system image for this compute instance. */ -export interface ImageMetadata { - /** Specifies the current operating system image version this compute instance is running on. */ - currentImageVersion?: string; - /** Specifies the latest available operating system image version. */ - latestImageVersion?: string; - /** Specifies whether this compute instance is running on the latest operating system image. */ - isLatestOsImageVersion?: boolean; +export interface NotebookPreparationError { + errorMessage?: string; + statusCode?: number; } -/** Defines all connectivity endpoints and properties for an ComputeInstance. */ -export interface ComputeInstanceConnectivityEndpoints { +/** The Private Endpoint resource. */ +export interface WorkspacePrivateEndpointResource { /** - * Public IP Address of this ComputeInstance. + * e.g. /subscriptions/{networkSubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName} * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicIpAddress?: string; + readonly id?: string; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * The subnetId that the private endpoint is connected to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; + readonly subnetArmId?: 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; +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** Describes 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 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; } -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; +export interface ServiceManagedResourcesSettings { + cosmosDb?: CosmosDbSettings; } -/** A user that can be assigned to a compute instance. */ -export interface AssignedUser { - /** User’s AAD Object Id. */ - objectId: string; - /** User’s AAD Tenant Id. */ - tenantId: string; +export interface CosmosDbSettings { + collectionsThroughput?: number; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +export interface SharedPrivateLinkResource { + /** Unique name of the private link */ + name?: string; + /** group id of the private link */ + groupId?: string; + /** the resource id that private link links to */ + privateLinkResourceId?: string; + /** Request message */ + requestMessage?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** 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; +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: string; } -/** 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; +/** The parameters for updating a machine learning workspace. */ +export interface WorkspaceUpdateParameters { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** The resource tags for the machine learning workspace. */ + tags?: { [propertyName: string]: string }; + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + enableDataIsolation?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionUpdateProperties; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: string; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; } -/** The last operation on ComputeInstance. */ -export interface ComputeInstanceLastOperation { - /** Name of the last operation. */ - operationName?: OperationName; - /** Time of the last operation. */ - operationTime?: Date; - /** Operation status. */ - operationStatus?: OperationStatus; - /** Trigger of operation. */ - operationTrigger?: OperationTrigger; +export interface EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -/** The list of schedules to be applied on the computes */ -export interface ComputeSchedules { - /** The list of compute start stop schedules to be applied. */ - computeStartStop?: ComputeStartStopSchedule[]; +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: 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; +export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { + nextLink?: string; + value?: WorkspaceConnectionPropertiesV2BasicResource[]; +} + +export interface WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: + | "AAD" + | "AccessKey" + | "AccountKey" + | "ApiKey" + | "CustomKeys" + | "ManagedIdentity" + | "None" + | "OAuth2" + | "PAT" + | "SAS" + | "ServicePrincipal" + | "UsernamePassword"; + /** Category of the connection */ + category?: ConnectionCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly createdByWorkspaceArmId?: string; + error?: string; + expiryTime?: Date; /** - * The current deployment state of schedule. + * Group based on connection category * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningStatus?: ProvisioningStatus; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; - /** [Required] The compute power action. */ - action?: ComputePowerAction; - /** [Required] The schedule trigger type. */ - triggerType?: ComputeTriggerType; - /** Required if triggerType is Recurrence. */ - recurrence?: Recurrence; - /** Required if triggerType is Cron. */ - cron?: Cron; - /** [Deprecated] Not used any more. */ - schedule?: ScheduleBase; + readonly group?: ConnectionGroup; + isSharedToAll?: boolean; + /** Store user metadata for this connection */ + metadata?: { [propertyName: string]: string }; + peRequirement?: ManagedPERequirement; + peStatus?: ManagedPEStatus; + sharedUserList?: string[]; + target?: string; + useWorkspaceManagedIdentity?: boolean; } -/** 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; - /** - * 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] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; +/** 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; } -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 EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointDeploymentResourcePropertiesBasicResource[]; } -/** 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; +export interface EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "Azure.Speech"; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * Read-only provision state status property. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - expression?: string; -} - -export interface ScheduleBase { - /** A system assigned id for the schedule. */ - id?: string; - /** The current deployment state of schedule. */ - provisioningStatus?: ScheduleProvisioningState; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; + readonly provisioningState?: DefaultResourceProvisioningState; } -/** Defines an Aml Instance container. */ -export interface ComputeInstanceContainer { - /** Name of the ComputeInstance container. */ +export interface EndpointModels { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** List of models. */ + value?: EndpointModelProperties[]; +} + +/** Endpoint Model properties. */ +export interface EndpointModelProperties { + /** The capabilities. */ + capabilities?: { [propertyName: string]: string }; + deprecation?: EndpointModelDeprecationProperties; + /** The capabilities for finetune models. */ + finetuneCapabilities?: { [propertyName: string]: string }; + /** Deployment model format. */ + format?: string; + /** If the model is default version. */ + isDefaultVersion?: boolean; + /** Model lifecycle status. */ + lifecycleStatus?: ModelLifecycleStatus; + /** The max capacity. */ + maxCapacity?: number; + /** Deployment model name. */ name?: string; - /** Auto save settings. */ - autosave?: Autosave; - /** Information of GPU. */ - gpu?: string; - /** network of this container. */ - network?: Network; - /** Environment information of this container. */ - environment?: ComputeInstanceEnvironmentInfo; + /** The list of Model Sku. */ + skus?: EndpointModelSkuProperties[]; /** - * services of this containers. + * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly services?: Record[]; + readonly systemData?: SystemData; + /** Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. */ + version?: string; } -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ +export interface EndpointModelDeprecationProperties { + /** The datetime of deprecation of the fineTune Model. */ + fineTune?: Date; + /** The datetime of deprecation of the inference Model. */ + inference?: Date; +} + +export interface EndpointModelSkuProperties { + capacity?: EndpointModelSkuCapacityProperties; + /** The list of ARM id for the connection support this SKU. */ + connectionIds?: string[]; + /** The datetime of deprecation of the model SKU. */ + deprecationDate?: Date; + /** The name of the model SKU. */ name?: string; - /** version of environment. */ - version?: string; + rateLimits?: EndpointModelSkuRateLimitProperties[]; + /** The usage name of the model SKU. */ + usageName?: 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; +export interface EndpointModelSkuCapacityProperties { + /** The default capacity. */ + default?: number; + /** The maximum capacity. */ + maximum?: number; } -/** Defines an Aml Instance DataMount. */ -export interface ComputeInstanceDataMount { - /** Source of the ComputeInstance data mount. */ - source?: string; - /** Data source type. */ - sourceType?: SourceType; - /** name of the ComputeInstance data mount. */ - mountName?: string; - /** Mount Action. */ - mountAction?: MountAction; - /** 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; -} - -/** Version of computeInstance. */ -export interface ComputeInstanceVersion { - /** Runtime of compute instance. */ - runtime?: string; +export interface EndpointModelSkuRateLimitProperties { + /** The count value of Call Rate Limit. */ + count?: number; + /** The renewal period in seconds of Call Rate Limit. */ + renewalPeriod?: number; + /** The call rate limit for the model. */ + rules?: EndpointModelSkuRateLimitRuleProperties[]; } -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +export interface EndpointModelSkuRateLimitRuleProperties { + count?: number; + /** If the dynamic throttling is enabled. */ + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + minCount?: number; + renewalPeriod?: number; } -export interface VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +export interface EndpointModelSkuRateLimitRulePatternProperties { + method?: string; + path?: string; } -export interface VirtualMachineSchemaProperties { - /** Virtual Machine size */ - virtualMachineSize?: string; - /** Port open for ssh connections. */ - sshPort?: number; - /** Notebook server port open for ssh connections. */ - notebookServerPort?: number; - /** Public IP address of the virtual machine. */ - address?: string; - /** Admin credentials for virtual machine */ - administratorAccount?: VirtualMachineSshCredentials; - /** Indicates whether this compute will be used for running notebooks. */ - isNotebookInstanceCompute?: boolean; +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistPropertiesBasicResource[]; } -/** 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; +/** RAI Custom Blocklist properties. */ +export interface RaiBlocklistProperties { + /** Description of the block list. */ + description?: 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; +/** The Cognitive Services RaiBlocklist Item request body. */ +export interface RaiBlocklistItemBulkRequest { + name?: string; + /** Properties of Cognitive Services RaiBlocklist Item. */ + properties?: RaiBlocklistItemProperties; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +/** RAI Custom Blocklist Item properties. */ +export interface RaiBlocklistItemProperties { + /** If the pattern is a regex pattern. */ + isRegex?: boolean; + /** Pattern to match against. */ + pattern?: string; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: string; +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistItemPropertiesBasicResource[]; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** Azure OpenAI Content Filters resource list. */ +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiPolicyPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters properties. */ +export interface RaiPolicyProperties { + /** Name of the base Content Filters. */ + basePolicyName?: string; + completionBlocklists?: RaiBlocklistConfig[]; + contentFilters?: RaiPolicyContentFilter[]; + /** Content Filters mode. */ + mode?: RaiPolicyMode; + promptBlocklists?: RaiBlocklistConfig[]; + /** Content Filters policy type. */ + type?: RaiPolicyType; +} + +/** Azure OpenAI blocklist config. */ +export interface RaiBlocklistConfig { + /** If blocking would occur. */ + blocking?: boolean; + /** Name of ContentFilter. */ + blocklistName?: string; +} + +/** Azure OpenAI Content Filter. */ +export interface RaiPolicyContentFilter { + /** Level at which content is filtered. */ + allowedContentLevel?: AllowedContentLevel; + /** If blocking would occur. */ + blocking?: boolean; + /** If the ContentFilter is enabled. */ + enabled?: boolean; + /** Name of ContentFilter. */ + name?: string; + /** Content source to apply the Content Filters. */ + source?: RaiPolicyContentSource; } -export interface DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + value?: DiagnoseRequestProperties; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: string; +export interface DiagnoseRequestProperties { + /** Setting for diagnosing dependent application insights */ + applicationInsights?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent container registry */ + containerRegistry?: { [propertyName: string]: any }; + /** Setting for diagnosing dns resolution */ + dnsResolution?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent key vault */ + keyVault?: { [propertyName: string]: any }; + /** Setting for diagnosing network security group */ + nsg?: { [propertyName: string]: any }; + /** Setting for diagnosing unclassified category of problems */ + others?: { [propertyName: string]: any }; + /** Setting for diagnosing the presence of required resource providers in the workspace. */ + requiredResourceProviders?: { [propertyName: string]: any }; + /** Setting for diagnosing resource lock */ + resourceLock?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent storage account */ + storageAccount?: { [propertyName: string]: any }; + /** Setting for diagnosing user defined routing */ + udr?: { [propertyName: string]: any }; } -export interface 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; +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +/** Result of Diagnose */ +export interface DiagnoseResult { + /** + * Code for workspace setup error + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * Level of workspace setup error + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly level?: DiagnoseResultLevel; + /** + * Message of workspace setup error + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; } -/** 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 EndpointResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointResourcePropertiesBasicResource[]; +} + +export interface EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "serverlessEndpoint" + | "Azure.Speech"; + /** Byo resource id for creating the built-in model service endpoints. */ + associatedResourceId?: string; + /** Deployments info. */ + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + /** Uri of the endpoint. */ + endpointUri?: string; + /** The failure reason if the creation failed. */ + failureReason?: string; + /** + * Location of the endpoint. + * Since input dto and when parse endpoint resource share the same contract + * this Location field is just for parse the endpoint resource info + * we won't let customer specify the endpoint resource location since we will create it the same location as workspace + */ + location?: string; + /** Name of the endpoint. */ + name?: string; + /** + * Read-only provision state status property. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DefaultResourceProvisioningState; + /** Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. */ + shouldCreateAiServicesEndpoint?: boolean; } -export interface VirtualMachineSecretsSchema { - /** Admin credentials for virtual machine. */ - administratorAccount?: VirtualMachineSshCredentials; +export interface EndpointKeys { + /** Dictionary of Keys for the endpoint. */ + keys?: AccountApiKeys; } -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: string; +export interface AccountApiKeys { + key1?: string; + key2?: 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 RegenerateServiceAccountKeyContent { + keyName?: ServiceAccountKeyName; } -/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointDestination { - serviceResourceId?: string; - sparkEnabled?: boolean; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - sparkStatus?: RuleStatus; - subresourceTarget?: string; +export interface ListWorkspaceKeysResult { + /** + * The access key of the workspace app insights + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly appInsightsInstrumentationKey?: string; + containerRegistryCredentials?: RegistryListCredentialsResult; + notebookAccessKeys?: ListNotebookKeysResult; + /** + * The arm Id key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageArmId?: string; + /** + * The access key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -/** 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; +export interface RegistryListCredentialsResult { /** - * Optional, if provided, the ServiceTag property will be ignored. + * The location of the workspace ACR * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly addressPrefixes?: string[]; - portRanges?: string; - protocol?: string; - serviceTag?: string; + readonly location?: string; + passwords?: Password[]; + /** + * The username of the workspace ACR + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly username?: string; } -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; +export interface Password { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly name?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly value?: string; } -export interface WorkspaceConnectionPersonalAccessToken { - pat?: string; +export interface ListNotebookKeysResult { + /** + * The primary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryAccessKey?: string; + /** + * The secondary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly secondaryAccessKey?: string; } -export interface WorkspaceConnectionSharedAccessSignature { - sas?: string; +export interface NotebookAccessTokenResult { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly accessToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly expiresIn?: number; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly hostName?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly notebookResourceId?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly publicDns?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly refreshToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly scope?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly tokenType?: string; } -export interface WorkspaceConnectionAccountKey { - key?: string; +export interface ListStorageAccountKeysResult { + /** + * The access key of the storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +export interface ExternalFqdnResponse { + value?: FqdnEndpointsPropertyBag[]; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: string; +/** Property bag for FQDN endpoints result */ +export interface FqdnEndpointsPropertyBag { + properties?: FqdnEndpoints; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: string; +export interface FqdnEndpoints { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +export interface FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; } -/** - * 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 FqdnEndpointDetail { + port?: number; } -export interface WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; +/** List of outbound rules for the managed network of a machine learning workspace. */ +export interface OutboundRuleListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: OutboundRuleBasicResource[]; } -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +/** List of private endpoint connection associated with the specified workspace */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken" | "ManagedIdentity"; +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } -/** Asset input type. */ -export interface AssetJobInput { - /** [Required] Input Asset URI. */ - uri: string; - /** Input Asset Delivery Mode. */ - mode?: InputDeliveryMode; +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; } -/** Asset output type. */ -export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; - /** Output Asset Delivery Mode. */ - mode?: OutputDeliveryMode; +/** 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; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +export interface AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; } -/** - * AutoML vertical class. - * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical - */ -export interface AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: - | "Classification" - | "Forecasting" - | "ImageClassification" - | "ImageClassificationMultilabel" - | "ImageInstanceSegmentation" - | "ImageObjectDetection" - | "Regression" - | "TextClassification" - | "TextClassificationMultilabel" - | "TextNER"; - /** Log verbosity for the job. */ - logVerbosity?: LogVerbosity; - /** [Required] Training data input. */ - trainingData: MLTableJobInput; +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; /** - * Target column name: This is prediction values column. - * Also known as label column name in context of classification tasks. + * System services + * NOTE: This property will not be serialized. It can only be populated by the server. */ - targetColumnName?: 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; } -/** Command job definition. */ -export interface JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: - | "mltable" - | "custom_model" - | "mlflow_model" - | "literal" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the input. */ - description?: string; +/** 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; } -/** 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; +/** 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 QueueSettings { - /** Controls the compute job tier */ - jobTier?: JobTier; +/** 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; } -/** N-Cross validations value. */ -export interface NCrossValidations { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -/** Forecasting seasonality. */ -export interface Seasonality { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** 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 number of past periods to lag from the target column. */ -export interface TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** Forecasting target rolling window size. */ -export interface TargetRollingWindowSize { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; -} - -/** Base definition for Azure datastore contents configuration. */ -export interface AzureDatastore { - /** Azure Subscription Id */ - subscriptionId?: string; - /** Azure Resource Group name */ - resourceGroup?: 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; -} - -/** - * The Sampling Algorithm used to generate hyperparameter values, along with properties to - * configure the algorithm - */ -export interface SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; -} - -export interface DataDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; -} - -export interface MonitoringThreshold { - /** The threshold value. If null, the set default is dependent on the metric type. */ - value?: number; -} - -export interface DataQualityMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; -} - -export interface PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** 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 }; } -/** Training related configuration. */ -export interface TrainingSettings { - /** Flag for enabling onnx compatible models. */ - enableOnnxCompatibleModels?: boolean; - /** Stack ensemble settings for stack ensemble run. */ - stackEnsembleSettings?: StackEnsembleSettings; - /** Enable stack ensemble run. */ - enableStackEnsemble?: boolean; - /** Enable voting ensemble run. */ - enableVoteEnsemble?: boolean; +/** 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; /** - * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. - * Configure this parameter with a higher value than 300 secs, if more time is needed. + * 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. */ - ensembleModelDownloadTimeout?: string; - /** Flag to turn on explainability on best model. */ - enableModelExplainability?: boolean; - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; -} - -/** Advances setting to customize StackEnsemble run. */ -export interface StackEnsembleSettings { - /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ - stackMetaLearnerType?: StackMetaLearnerType; - /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ - stackMetaLearnerTrainPercentage?: number; - /** Optional parameters to pass to the initializer of the meta-learner. */ - stackMetaLearnerKWargs?: Record; -} - -/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ -export interface TableVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: TableVerticalLimitSettings; + readonly allocationState?: AllocationState; /** - * Number of cross validation folds to be applied on training dataset - * when validation dataset is not provided. + * 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. */ - 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; + readonly allocationStateTransitionTime?: Date; /** - * 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. + * 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. */ - validationDataSize?: number; + readonly errors?: ErrorResponse[]; /** - * 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. + * 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. */ - 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; -} - -/** Column transformer parameters. */ -export interface ColumnTransformer { - /** Fields to apply transformer logic on. */ - fields?: string[]; + readonly currentNodeCount?: number; /** - * Different properties to be passed to transformer. - * Input expected is dictionary of key,value pairs in JSON format. + * 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. */ - parameters?: Record; -} - -/** Featurization Configuration. */ -export interface FeaturizationSettings { - /** Dataset language, useful for the text data. */ - 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"; + 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 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; +/** Virtual Machine image for Windows AML Compute */ +export interface VirtualMachineImage { + /** Virtual Machine image path */ + id: string; } -/** Resource requirements for each container instance within an online deployment. */ -export interface ContainerResourceRequirements { - /** Container resource request info: */ - containerResourceRequests?: ContainerResourceSettings; - /** Container resource limit info: */ - containerResourceLimits?: ContainerResourceSettings; +/** 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 ContainerResourceSettings { +/** Counts of various compute node states on the amlCompute. */ +export interface NodeStateCounts { /** - * Number of vCPUs request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + * Number of compute nodes in idle state. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - cpu?: string; + readonly idleNodeCount?: number; /** - * Memory size request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + * Number of compute nodes which are running jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - memory?: string; + readonly runningNodeCount?: number; /** - * Number of Nvidia GPU cards request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + * Number of compute nodes which are being prepared. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - gpu?: string; + 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 MonitorDefinition { - /** The entities targeted by the monitor. */ - monitoringTarget?: MonitoringTarget; - /** [Required] The signals to monitor. */ - signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; - /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ - computeConfiguration: MonitorComputeConfigurationBaseUnion; - /** The monitor's notification settings. */ - alertNotificationSettings?: MonitorNotificationSettings; -} - -/** Monitoring target definition. */ -export interface MonitoringTarget { - /** Reference to the model asset targeted by this monitor. */ - modelId?: string; - /** Reference to the deployment asset targeted by this monitor. */ - deploymentId?: string; - /** [Required] The machine learning task type of the monitored model. */ - taskType: ModelTaskType; -} - -export interface MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: - | "Custom" - | "DataDrift" - | "DataQuality" - | "FeatureAttributionDrift" - | "PredictionDrift"; - /** The current notification mode for this signal. */ - notificationTypes?: MonitoringNotificationType[]; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; -} - -/** 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; +/** Properties(top level) of AmlCompute */ +export interface AmlComputeSchema { + /** Properties of AmlCompute */ + properties?: AmlComputeProperties; } -export interface MonitorEmailNotificationSettings { - /** The email recipient list which has a limitation of 499 characters in total. */ - emails?: 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 settings for autologger. */ + autologgerSettings?: ComputeInstanceAutologgerSettings; + /** Specifies policy and settings for SSH access. */ + sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; + /** + * Returns metadata about the operating system image for this compute instance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osImageMetadata?: ImageMetadata; + /** + * Describes all connectivity endpoints available for this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; + /** + * Describes available applications and their endpoints on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly applications?: ComputeInstanceApplication[]; + /** + * Describes information on user who created this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ComputeInstanceCreatedBy; + /** + * Collection of errors encountered on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The current state of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: ComputeInstanceState; + /** The Compute Instance Authorization type. Available values are personal (default). */ + computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; + /** Enable Auto OS Patching. Possible values are: true, false. */ + enableOSPatching?: boolean; + /** Enable root access. Possible values are: true, false. */ + enableRootAccess?: boolean; + /** Enable SSO (single sign on). Possible values are: true, false. */ + enableSSO?: boolean; + /** Release quota if compute instance stopped. Possible values are: true - release quota if compute instance stopped. false - don't release quota when compute instance stopped. */ + releaseQuotaOnStop?: boolean; + /** Settings for a personal compute instance. */ + personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + /** Details of customized scripts to execute for setting up the cluster. */ + setupScripts?: SetupScripts; + /** + * The last operation on ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastOperation?: ComputeInstanceLastOperation; + /** The list of schedules to be applied on the computes. */ + schedules?: ComputeSchedules; + /** Stops compute instance after user defined period of inactivity. Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; + /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ + enableNodePublicIp?: boolean; + /** + * Describes informations of containers on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containers?: ComputeInstanceContainer[]; + /** + * Describes informations of dataDisks on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataDisks?: ComputeInstanceDataDisk[]; + /** + * Describes informations of dataMounts on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataMounts?: ComputeInstanceDataMount[]; + /** + * ComputeInstance version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly versions?: ComputeInstanceVersion; } -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; +/** Specifies settings for autologger. */ +export interface ComputeInstanceAutologgerSettings { + /** Indicates whether mlflow autologger is enabled for notebooks. */ + mlflowAutologger?: MlflowAutologger; } -/** Monitoring input data base definition. */ -export interface MonitoringInputDataBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed" | "Rolling" | "Static"; - /** The context metadata of the data source. */ - dataContext?: string; - /** [Required] Specifies the type of job. */ - jobInputType: JobInputType; - /** [Required] Input Asset URI. */ - uri: string; - /** Mapping of column names to special uses. */ - columns?: { [propertyName: string]: string | null }; +/** Specifies policy and settings for SSH access. */ +export interface ComputeInstanceSshSettings { + /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable. */ + sshPublicAccess?: SshPublicAccess; + /** + * Describes the admin user name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly adminUserName?: string; + /** + * Describes the port for connecting through SSH. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sshPort?: number; + /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ + adminPublicKey?: string; } -export interface FeatureImportanceSettings { - /** The mode of operation for computing feature importance. */ - mode?: FeatureImportanceMode; - /** The name of the target column within the input data asset. */ - targetColumn?: string; +/** Returns metadata about the operating system image for this compute instance. */ +export interface ImageMetadata { + /** Specifies the current operating system image version this compute instance is running on. */ + currentImageVersion?: string; + /** Specifies the latest available operating system image version. */ + latestImageVersion?: string; + /** Specifies whether this compute instance is running on the latest operating system image. */ + isLatestOsImageVersion?: boolean; + /** + * Metadata about the os patching. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osPatchingStatus?: OsPatchingStatus; } -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; +/** Returns metadata about the os patching. */ +export interface OsPatchingStatus { + /** The os patching status. */ + patchStatus?: PatchStatus; + /** Time of the latest os patching. */ + latestPatchTime?: string; + /** Specifies whether this compute instance is pending for reboot to finish os patching. */ + rebootPending?: boolean; + /** Time of scheduled reboot. */ + scheduledRebootTime?: string; + /** Collection of errors encountered when doing os patching. */ + osPatchingErrors?: ErrorResponse[]; } -/** Forecasting specific parameters. */ -export interface ForecastingSettings { +/** Defines all connectivity endpoints and properties for an ComputeInstance. */ +export interface ComputeInstanceConnectivityEndpoints { /** - * Country or region for holidays for forecasting tasks. - * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. + * Public IP Address of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - 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; + readonly publicIpAddress?: string; /** - * The names of columns used to group a timeseries. It can be used to create multiple series. - * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. + * 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. */ - timeSeriesIdColumnNames?: string[]; - /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ - frequency?: string; - /** Flag for generating lags for the numeric features with 'auto' or null. */ - featureLags?: FeatureLags; + 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; +} + +/** Describes information on user who created this ComputeInstance. */ +export interface ComputeInstanceCreatedBy { /** - * Set time series seasonality as an integer multiple of the series frequency. - * If seasonality is set to 'auto', it will be inferred. + * Name of the user. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - 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; + readonly userName?: string; /** - * 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". + * Uniquely identifies user' Azure Active Directory organization. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - targetAggregateFunction?: TargetAggregationFunction; + readonly userOrgId?: 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. + * Uniquely identifies the user within his/her organization. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - cvStepSize?: number; + readonly userId?: string; } -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: boolean; - /** Settings for advanced scenarios. */ - advancedSettings?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: number; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: number; - /** Frequency to store model checkpoints. Must be a positive integer. */ - checkpointFrequency?: number; - /** The id of a previous run that has a pretrained checkpoint for incremental training. */ - checkpointRunId?: string; - /** The pretrained checkpoint model for incremental training. */ - checkpointModel?: MLFlowModelJobInput; - /** Whether to use distributed training. */ - distributed?: boolean; - /** Enable early stopping logic during training. */ - earlyStopping?: boolean; - /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. - */ - earlyStoppingDelay?: number; - /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. - */ - earlyStoppingPatience?: number; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: number; - /** Enable normalization when exporting ONNX model. */ - enableOnnxNormalization?: boolean; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; +} + +/** 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; +} + +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; +} + +/** 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; +} + +/** Script reference */ +export interface ScriptReference { + /** The storage source of the script: inline, workspace. */ + scriptSource?: string; + /** The location of scripts in the mounted volume. */ + scriptData?: string; + /** Optional command line arguments passed to the script to run. */ + scriptArguments?: string; + /** Optional time period passed to timeout command. */ + timeout?: string; +} + +/** 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; +} + +/** 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[]; +} + +/** Compute start stop schedule properties */ +export interface ComputeStartStopSchedule { /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. + * A system assigned id for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - gradientAccumulationStep?: number; + readonly id?: string; /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * The current deployment state of schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - layersToFreeze?: number; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: number; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: LearningRateScheduler; + 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; /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * 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 */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: number; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: boolean; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: number; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: number; - /** Type of optimizer. */ - optimizer?: StochasticOptimizer; - /** Random seed to be used when using deterministic training. */ - randomSeed?: number; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: number; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: number; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: number; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: number; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: number; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: number; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: number; + timeZone?: string; + /** [Required] The recurrence schedule. */ + schedule?: ComputeRecurrenceSchedule; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) - * where distribution name can be: uniform, quniform, loguniform, etc - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: string; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: string; - /** Whether to use distributer training. */ - distributed?: string; - /** Enable early stopping logic during training. */ - earlyStopping?: string; +export interface ComputeRecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: ComputeWeekDay[]; +} + +/** The workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. + * 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 */ - earlyStoppingDelay?: string; + timeZone?: string; /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. */ - 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; + expression?: string; +} + +export interface ScheduleBase { + /** A system assigned id for the schedule. */ + id?: string; + /** The current deployment state of schedule. */ + provisioningStatus?: ScheduleProvisioningState; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; +} + +/** 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; /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. + * services of this containers. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - gradientAccumulationStep?: string; - /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - layersToFreeze?: string; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: string; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: string; - /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: string; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: string; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: string; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: string; - /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ - optimizer?: string; - /** Random seed to be used when using deterministic training. */ - randomSeed?: string; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: string; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: string; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: string; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: string; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: string; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: string; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: string; + readonly services?: Record[]; } -/** - * Abstract class for AutoML tasks that train image (computer vision) models - - * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. - */ -export interface ImageVertical { - /** [Required] Limit settings for the AutoML job. */ - limitSettings: ImageLimitSettings; - /** Model sweeping and hyperparameter sweeping related settings. */ - sweepSettings?: ImageSweepSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; - /** - * The fraction of training dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. - */ - validationDataSize?: number; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -/** Limit settings for the AutoML job. */ -export interface ImageLimitSettings { - /** Maximum number of AutoML iterations. */ - maxTrials?: number; - /** AutoML job timeout. */ - timeout?: string; - /** Maximum number of concurrent AutoML iterations. */ - maxConcurrentTrials?: number; +/** 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; } -/** 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; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: string; } -/** OneLake artifact (data source) configuration. */ -export interface OneLakeArtifact { - /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; - /** [Required] OneLake artifact name */ - artifactName: string; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -/** - * Abstract class for NLP related AutoML tasks. - * NLP - Natural Language Processing. - */ -export interface NlpVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: NlpVerticalLimitSettings; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: NlpVerticalFeaturizationSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -/** Job execution constraints. */ -export interface NlpVerticalLimitSettings { - /** AutoML job timeout. */ - timeout?: string; - /** Number of AutoML iterations. */ - maxTrials?: number; - /** Maximum Concurrent AutoML iterations. */ - maxConcurrentTrials?: number; +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; } -/** Optimization objective. */ -export interface Objective { - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; - /** [Required] Defines supported metric goals for hyperparameter tuning */ - goal: Goal; +/** Admin credentials for virtual machine */ +export interface VirtualMachineSshCredentials { + /** Username of admin account */ + username?: string; + /** Password of admin account */ + password?: string; + /** Public key data */ + publicKeyData?: string; + /** Private key data */ + privateKeyData?: string; } -export interface SparkResourceConfiguration { - /** Optional type of VM used as supported by the compute target. */ - instanceType?: string; - /** Version of spark runtime used for the job. */ - runtimeVersion?: 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; } -/** Spark job entry point definition. */ -export interface SparkJobEntry { - /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +export interface HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; } -/** Trial component definition. */ -export interface TrialComponent { - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [Required] The ARM resource ID of the Environment specification for the job. */ - environmentId: string; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; } -/** The PE network resource that is linked to this PE connection. */ -export interface PrivateEndpointResource extends PrivateEndpoint { - /** The subnetId that the private endpoint is connected to. */ - subnetArmId?: string; +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface RegistryPartialManagedServiceIdentity - extends ManagedServiceIdentity {} +export interface DataLakeAnalyticsSchema { + properties?: DataLakeAnalyticsSchemaProperties; +} -/** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - /** - * The provisioning state of the private endpoint connection resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +export interface DataLakeAnalyticsSchemaProperties { + /** DataLake Store Account Name */ + dataLakeStoreAccountName?: 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; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ - storageAccount?: string; - /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ - discoveryUrl?: string; - /** - * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** The encryption settings of Azure ML workspace. */ - encryption?: EncryptionProperty; - /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ - hbiWorkspace?: boolean; - /** - * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serviceProvisionedResourceGroup?: string; - /** - * Count of private connections in the workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateLinkCount?: number; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The flag to indicate whether to allow public access when behind VNet. */ - allowPublicAccessWhenBehindVnet?: boolean; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** - * The list of private endpoint connections in the workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateEndpointConnections?: PrivateEndpointConnection[]; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** The list of shared private link resources in this workspace. */ - sharedPrivateLinkResources?: SharedPrivateLinkResource[]; - /** - * The notebook info of Azure ML workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly notebookInfo?: NotebookResourceInfo; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** - * The tenant id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** - * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly storageHnsEnabled?: boolean; - /** - * The URI associated with this workspace that machine learning flow must point at to set up tracking. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly mlFlowTrackingUri?: string; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - associatedWorkspaces?: string[]; - enableDataIsolation?: boolean; - hubResourceId?: string; - /** WorkspaceHub's configuration object. */ - workspaceHubConfig?: WorkspaceHubConfig; +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; } -/** 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; +/** Auto scale properties */ +export interface AutoScaleProperties { + minNodeCount?: number; + enabled?: boolean; + maxNodeCount?: number; } -/** A private link resource */ -export interface PrivateLinkResource extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The private link resource group id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly groupId?: string; - /** - * The private link resource required member names. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly requiredMembers?: string[]; - /** The private link resource Private link DNS zone name. */ - requiredZoneNames?: string[]; +/** Auto pause properties */ +export interface AutoPauseProperties { + delayInMinutes?: number; + enabled?: boolean; } -export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { - properties: WorkspaceConnectionPropertiesV2Union; +/** 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; } -/** Outbound Rule Basic Resource for the managed network of a machine learning workspace. */ -export interface OutboundRuleBasicResource extends Resource { - /** Outbound Rule for the managed network of a machine learning workspace. */ - properties: OutboundRuleUnion; +export interface VirtualMachineSecretsSchema { + /** Admin credentials for virtual machine. */ + administratorAccount?: VirtualMachineSshCredentials; } -/** 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; +/** Properties of Databricks Compute Secrets */ +export interface DatabricksComputeSecretsProperties { + /** access token for databricks account. */ + databricksAccessToken?: string; } -/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointOutboundRule extends OutboundRule { +export interface MonitoringFeatureFilterBase { /** 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; + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; } -/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ -export interface ServiceTagOutboundRule extends OutboundRule { +/** Monitor compute identity base definition. */ +export interface MonitorComputeIdentityBase { /** 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; + computeIdentityType: "AmlToken" | "ManagedIdentity"; } -/** 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; +/** Asset input type. */ +export interface AssetJobInput { + /** Input Asset Delivery Mode. */ + mode?: InputDeliveryMode; + /** [Required] Input Asset URI. */ + uri: string; } -/** A Machine Learning compute based on AKS. */ -export interface Aks extends Compute, AKSSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; +/** Asset output type. */ +export interface AssetJobOutput { + /** Output Asset Name. */ + assetName?: string; + /** Output Asset Delivery Mode. */ + mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; } -/** A Machine Learning compute based on Kubernetes Compute. */ -export interface Kubernetes extends Compute, KubernetesSchema { +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface ForecastHorizon { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Kubernetes"; + mode: "Auto" | "Custom"; } -/** An Azure Machine Learning compute. */ -export interface AmlCompute extends Compute, AmlComputeSchema { +/** 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 */ - computeType: "AmlCompute"; + jobOutputType: + | "custom_model" + | "mlflow_model" + | "mltable" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the output. */ + description?: string; } -/** An Azure Machine Learning compute instance. */ -export interface ComputeInstance extends Compute, ComputeInstanceSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ComputeInstance"; +export interface QueueSettings { + /** Controls the compute job tier */ + jobTier?: JobTier; } -/** A Machine Learning compute based on Azure Virtual Machines. */ -export interface VirtualMachine extends Compute, VirtualMachineSchema { +/** + * AutoML vertical class. + * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical + */ +export interface AutoMLVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; + taskType: + | "Classification" + | "Forecasting" + | "ImageClassification" + | "ImageClassificationMultilabel" + | "ImageInstanceSegmentation" + | "ImageObjectDetection" + | "Regression" + | "TextClassification" + | "TextClassificationMultilabel" + | "TextNER"; + /** Log verbosity for the job. */ + logVerbosity?: LogVerbosity; + /** + * Target column name: This is prediction values column. + * Also known as label column name in context of classification tasks. + */ + targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; } -/** A HDInsight compute. */ -export interface HDInsight extends Compute, HDInsightSchema { +/** Command job definition. */ +export interface JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "HDInsight"; + jobInputType: + | "mltable" + | "mlflow_model" + | "custom_model" + | "literal" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the input. */ + description?: string; } -/** A DataFactory compute. */ -export interface DataFactory extends Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataFactory"; -} - -/** A DataFactory compute. */ -export interface Databricks extends Compute, DatabricksSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; -} - -/** A DataLakeAnalytics compute. */ -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataLakeAnalytics"; -} - -/** A SynapseSpark compute. */ -export interface SynapseSpark extends Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "SynapseSpark"; - properties?: SynapseSparkProperties; -} - -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface AksComputeSecrets - extends ComputeSecrets, - AksComputeSecretsProperties { +/** N-Cross validations value. */ +export interface NCrossValidations { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; + mode: "Auto" | "Custom"; } -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface VirtualMachineSecrets - extends ComputeSecrets, - VirtualMachineSecretsSchema { +/** Forecasting seasonality. */ +export interface Seasonality { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; + mode: "Auto" | "Custom"; } -/** Secrets related to a Machine Learning compute based on Databricks. */ -export interface DatabricksComputeSecrets - extends ComputeSecrets, - DatabricksComputeSecretsProperties { +/** The number of past periods to lag from the target column. */ +export interface TargetLags { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; + mode: "Auto" | "Custom"; } -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +/** Forecasting target rolling window size. */ +export interface TargetRollingWindowSize { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; + mode: "Auto" | "Custom"; } -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; +/** Base definition for Azure datastore contents configuration. */ +export interface AzureDatastore { + /** Azure Resource Group name */ + resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; } -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; +/** Azure Open AI hyperparameters for fine tuning. */ +export interface AzureOpenAiHyperParameters { + /** Scaling factor for the learning rate. A smaller learning rate may be useful to avoid over fitting. */ + learningRateMultiplier?: number; + /** Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. */ + batchSize?: number; + /** The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. */ + nEpochs?: number; } -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export interface FineTuningVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; + modelProvider: "AzureOpenAI" | "Custom"; + /** [Required] Fine tuning task type. */ + taskType: FineTuningTaskType; + /** [Required] Training data for fine tuning. */ + trainingData: JobInputUnion; + /** Validation data for fine tuning. */ + validationData?: JobInputUnion; + /** [Required] Input model for fine tuning. */ + model: MLFlowModelJobInput; } -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +/** 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 */ - authType: "ManagedIdentity"; - credentials?: WorkspaceConnectionManagedIdentity; + policyType: "Bandit" | "MedianStopping" | "TruncationSelection"; + /** Number of intervals by which to delay the first evaluation. */ + delayEvaluation?: number; + /** Interval (number of runs) between policy evaluations. */ + evaluationInterval?: number; } -/** This connection type covers the AAD auth for any applicable Azure service */ -export interface AADAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +/** + * The Sampling Algorithm used to generate hyperparameter values, along with properties to + * configure the algorithm + */ +export interface SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AAD"; + samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; } -export interface AccessKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export interface DataDriftMetricThresholdBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccessKey"; - credentials?: WorkspaceConnectionAccessKey; + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -/** 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; +export interface MonitoringThreshold { + /** The threshold value. If null, the set default is dependent on the metric type. */ + value?: number; } -/** - * 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 { +export interface DataQualityMetricThresholdBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ApiKey"; - /** Api key object for workspace connection credential. */ - credentials?: WorkspaceConnectionApiKey; + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -/** - * 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 { +export interface PredictionDriftMetricThresholdBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "CustomKeys"; - /** Custom Keys credential object */ - credentials?: CustomKeys; + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -export interface OAuth2AuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "OAuth2"; +/** Training related configuration. */ +export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ + enableModelExplainability?: boolean; + /** Flag for enabling onnx compatible models. */ + enableOnnxCompatibleModels?: boolean; + /** Enable stack ensemble run. */ + enableStackEnsemble?: boolean; + /** Enable voting ensemble run. */ + enableVoteEnsemble?: boolean; /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. + * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. + * Configure this parameter with a higher value than 300 secs, if more time is needed. */ - credentials?: WorkspaceConnectionOAuth2; + ensembleModelDownloadTimeout?: string; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; } -export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ServicePrincipal"; - credentials?: WorkspaceConnectionServicePrincipal; +/** Advances setting to customize StackEnsemble run. */ +export interface StackEnsembleSettings { + /** Optional parameters to pass to the initializer of the meta-learner. */ + stackMetaLearnerKWargs?: Record; + /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ + stackMetaLearnerTrainPercentage?: number; + /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ + stackMetaLearnerType?: StackMetaLearnerType; } -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; +/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ +export interface TableVertical { + /** Columns to use for CVSplit data. */ + cvSplitColumnNames?: string[]; + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: TableVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: TableVerticalLimitSettings; /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of cross validation folds to be applied on training dataset + * when validation dataset is not provided. */ - readonly latestVersion?: string; + nCrossValidations?: NCrossValidationsUnion; + /** Test data input. */ + testData?: MLTableJobInput; /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. + * The fraction of test dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; + /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ + weightColumnName?: string; } -/** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { - /** [Required] Storage type backing the datastore. */ - datastoreType: DatastoreType; +/** Column transformer parameters. */ +export interface ColumnTransformer { + /** Fields to apply transformer logic on. */ + fields?: string[]; /** - * 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. + * Different properties to be passed to transformer. + * Input expected is dictionary of key,value pairs in JSON format. */ - readonly isDefault?: boolean; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; + parameters?: Record; } -/** DTO object representing feature */ -export interface FeatureProperties extends ResourceBase { - /** Specifies name */ - featureName?: string; - /** Specifies type */ - dataType?: FeatureDataType; -} - -/** Base definition for a job. */ -export interface JobBaseProperties extends ResourceBase { - /** [Required] Specifies the type of job. */ - jobType: JobType; - /** 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; - /** Notification setting for the job */ - notificationSetting?: NotificationSetting; -} - -/** Base definition of a schedule */ -export interface ScheduleProperties extends ResourceBase { - /** Display name of schedule. */ - displayName?: string; - /** Is the schedule enabled? */ - isEnabled?: boolean; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; - /** - * Provisioning state for the schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ScheduleProvisioningStatus; -} - -export interface SASCredentialDto extends PendingUploadCredentialDto { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; +/** Featurization Configuration. */ +export interface FeaturizationSettings { + /** Dataset language, useful for the text data. */ + datasetLanguage?: string; } -/** Access credential with no credentials */ -export interface AnonymousAccessCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "NoCredentials"; +/** 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; } -/** Credential for docker with username and password */ -export interface DockerCredential extends DataReferenceCredential { +/** Base definition for job distribution configuration. */ +export interface DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "DockerCredentials"; - /** DockerCredential user name */ - userName?: string; - /** DockerCredential user password */ - password?: string; + distributionType: "Mpi" | "PyTorch" | "TensorFlow"; } -/** Credential for user managed identity */ -export interface ManagedIdentityCredential extends DataReferenceCredential { +export interface JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "ManagedIdentity"; - /** ManagedIdentityCredential identity type */ - managedIdentityType?: string; - /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityResourceId?: string; - /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityClientId?: string; - /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityPrincipalId?: string; - /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityTenantId?: string; + 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; } -/** Access with full SAS uri */ -export interface SASCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; +/** 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; } -/** Batch endpoint configuration. */ -export interface BatchEndpointProperties extends EndpointPropertiesBase { - /** Default values for Batch Endpoint */ - defaults?: BatchEndpointDefaults; +export interface ContainerResourceSettings { /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of vCPUs request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - readonly provisioningState?: EndpointProvisioningState; -} - -/** Online endpoint configuration */ -export interface OnlineEndpointProperties extends EndpointPropertiesBase { + cpu?: string; /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of Nvidia GPU cards request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - readonly provisioningState?: EndpointProvisioningState; + gpu?: string; /** - * ARM resource ID of the compute if it exists. - * optional + * Memory size request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - compute?: string; - /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ - publicNetworkAccess?: PublicNetworkAccessType; - /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ - traffic?: { [propertyName: string]: number }; - /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ - mirrorTraffic?: { [propertyName: string]: number }; + memory?: string; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithIdentity - extends PartialMinimalTrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; +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 }; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku - extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; +export interface MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; } -/** 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; +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; } -/** Properties for a Batch Pipeline Component Deployment. */ -export interface BatchPipelineComponentDeploymentConfiguration - extends BatchDeploymentConfiguration { +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - deploymentConfigurationType: "PipelineComponent"; - /** The ARM id of the component to be run. */ - componentId?: IdAssetReference; - /** The description which will be applied to the job. */ - description?: string; - /** Run-time settings for the pipeline job. */ - settings?: { [propertyName: string]: string | null }; - /** The tags which will be applied to the job. */ - tags?: { [propertyName: string]: string | null }; + computeType: "ServerlessSpark"; } -/** Reference to an asset via its ARM resource ID. */ -export interface IdAssetReference extends AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "Id"; - /** [Required] ARM resource ID of the asset. */ - assetId: string; +/** Monitoring target definition. */ +export interface MonitoringTarget { + /** Reference to the deployment asset targeted by this monitor. */ + deploymentId?: string; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; + /** [Required] The machine learning task type of the monitored model. */ + taskType: ModelTaskType; } -/** Reference to an asset via its path in a datastore. */ -export interface DataPathAssetReference extends AssetReferenceBase { +export interface MonitoringSignalBase { /** 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; + signalType: + | "Custom" + | "DataDrift" + | "DataQuality" + | "FeatureAttributionDrift" + | "PredictionDrift"; + /** The current notification mode for this signal. */ + notificationTypes?: MonitoringNotificationType[]; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } -/** 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; +export interface CustomMetricThreshold { + /** [Required] The user-defined metric to calculate. */ + metric: string; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -export interface 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; +/** 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; } -/** Batch inference settings per deployment. */ -export interface BatchDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** Compute target for batch inference operation. */ - compute?: string; - /** Properties relevant to different deployment types. */ - deploymentConfiguration?: BatchDeploymentConfigurationUnion; +export interface FeatureImportanceSettings { + /** The mode of operation for computing feature importance. */ + mode?: FeatureImportanceMode; + /** The name of the target column within the input data asset. */ + targetColumn?: string; +} + +export interface FeatureAttributionMetricThreshold { + /** [Required] The feature attribution metric to calculate. */ + metric: FeatureAttributionMetric; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +export interface JobResources { + /** List of instance types to choose from. */ + instanceTypes?: string[]; +} + +/** Forecasting specific parameters. */ +export interface ForecastingSettings { /** - * Error threshold, if the error count for the entire input goes above this value, - * the batch inference will be aborted. Range is [-1, int.MaxValue]. - * For FileDataset, this value is the count of file failures. - * For TabularDataset, this value is the count of record failures. - * If set to -1 (the lower bound), all failures during batch inference will be ignored. + * Country or region for holidays for forecasting tasks. + * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. */ - errorThreshold?: number; + countryOrRegionForHolidays?: string; /** - * Retry Settings for the batch inference operation. - * If not provided, will default to the defaults defined in BatchRetrySettings. + * 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. */ - retrySettings?: BatchRetrySettings; + 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; /** - * 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. + * Set time series seasonality as an integer multiple of the series frequency. + * If seasonality is set to 'auto', it will be inferred. */ - 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; + seasonality?: SeasonalityUnion; + /** The parameter defining how if AutoML should handle short time series. */ + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; /** - * Indicates compute configuration for the job. - * If not provided, will default to the defaults defined in ResourceConfiguration. + * 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". */ - resources?: DeploymentResourceConfiguration; + 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; /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. + * 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. */ - readonly provisioningState?: DeploymentProvisioningState; + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; } -export interface OnlineDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** [Required] The compute type of the endpoint. */ - endpointComputeType: EndpointComputeType; +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelSettings { + /** Settings for advanced scenarios. */ + advancedSettings?: string; + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: boolean; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: number; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: number; + /** Frequency to store model checkpoints. Must be a positive integer. */ + checkpointFrequency?: number; + /** The pretrained checkpoint model for incremental training. */ + checkpointModel?: MLFlowModelJobInput; + /** The id of a previous run that has a pretrained checkpoint for incremental training. */ + checkpointRunId?: string; + /** Whether to use distributed training. */ + distributed?: boolean; + /** Enable early stopping logic during training. */ + earlyStopping?: boolean; /** - * Scale settings for the deployment. - * If it is null or not provided, - * it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment - * and to DefaultScaleSettings for ManagedOnlineDeployment. + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. */ - scaleSettings?: OnlineScaleSettingsUnion; - /** Request settings for the deployment. */ - requestSettings?: OnlineRequestSettings; - /** The path to mount the model in custom container. */ - modelMountPath?: string; - /** If true, enables Application Insights logging. */ - appInsightsEnabled?: boolean; - /** Liveness probe monitors the health of the container regularly. */ - livenessProbe?: ProbeSettings; - /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ - readinessProbe?: ProbeSettings; + earlyStoppingDelay?: number; /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. */ - 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; -} - -/** Account key datastore credentials configuration. */ -export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "AccountKey"; - /** [Required] Storage account secrets. */ - secrets: AccountKeyDatastoreSecrets; -} - -/** Certificate datastore credentials configuration. */ -export interface CertificateDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Certificate"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Thumbprint of the certificate used for authentication. */ - thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; -} - -/** Empty/none datastore credentials. */ -export interface NoneDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "None"; -} - -/** SAS datastore credentials configuration. */ -export interface SasDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Sas"; - /** [Required] Storage container secrets. */ - secrets: SasDatastoreSecrets; + earlyStoppingPatience?: number; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: boolean; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: number; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: number; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: number; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: LearningRateScheduler; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: number; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: boolean; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: number; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: number; + /** Type of optimizer. */ + optimizer?: StochasticOptimizer; + /** Random seed to be used when using deterministic training. */ + randomSeed?: number; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: number; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: number; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: number; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: number; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: number; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: number; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: number; } -/** Service Principal datastore credentials configuration. */ -export interface ServicePrincipalDatastoreCredentials - extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "ServicePrincipal"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Service principal secrets. */ - secrets: ServicePrincipalDatastoreSecrets; +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) + * where distribution name can be: uniform, quniform, loguniform, etc + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelDistributionSettings { + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: string; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: string; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: string; + /** Whether to use distributer training. */ + distributed?: string; + /** Enable early stopping logic during training. */ + earlyStopping?: string; + /** + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. + */ + earlyStoppingDelay?: string; + /** + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. + */ + earlyStoppingPatience?: string; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: string; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: string; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: string; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: string; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: string; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: string; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: string; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: string; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: string; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: string; + /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ + optimizer?: string; + /** Random seed to be used when using deterministic training. */ + randomSeed?: string; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: string; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: string; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: string; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: string; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: string; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: string; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: string; } -/** Datastore account key secrets. */ -export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey"; - /** Storage account key. */ - key?: string; +/** + * Abstract class for AutoML tasks that train image (computer vision) models - + * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. + */ +export interface ImageVertical { + /** [Required] Limit settings for the AutoML job. */ + limitSettings: ImageLimitSettings; + /** Model sweeping and hyperparameter sweeping related settings. */ + sweepSettings?: ImageSweepSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; } -/** Datastore certificate secrets. */ -export interface CertificateDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Certificate"; - /** Service principal certificate. */ - certificate?: string; +/** 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; } -/** Datastore SAS secrets. */ -export interface SasDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Sas"; - /** Storage container SAS token. */ - sasToken?: string; +/** Model sweeping and hyperparameter sweeping related settings. */ +export interface ImageSweepSettings { + /** Type of early termination policy. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; } -/** Datastore Service Principal secrets. */ -export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { +/** OneLake artifact (data source) configuration. */ +export interface OneLakeArtifact { /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "ServicePrincipal"; - /** Service principal secret. */ - clientSecret?: string; + artifactType: "LakeHouse"; + /** [Required] OneLake artifact name */ + artifactName: string; } -export interface RecurrenceTrigger extends TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence"; - /** [Required] The frequency to trigger schedule. */ - frequency: RecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval: number; - /** The recurrence schedule. */ - schedule?: RecurrenceSchedule; +/** + * Abstract class for NLP related AutoML tasks. + * NLP - Natural Language Processing. + */ +export interface NlpVertical { + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; } -export interface CronTrigger extends TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Cron"; - /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. - */ - expression: string; +/** Job execution constraints. */ +export interface NlpVerticalLimitSettings { + /** Maximum Concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: 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"; +/** Optimization objective. */ +export interface Objective { + /** [Required] Defines supported metric goals for hyperparameter tuning */ + goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; } -/** All nodes means the service will be running on all of the nodes of the job */ -export interface AllNodes extends Nodes { +/** Spark job entry point definition. */ +export interface SparkJobEntry { /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; } -/** AML Token identity configuration. */ -export interface AmlToken extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken"; +export interface SparkResourceConfiguration { + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Version of spark runtime used for the job. */ + runtimeVersion?: string; } -/** Managed identity configuration. */ -export interface ManagedIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "Managed"; - /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ - clientId?: string; - /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ - objectId?: string; - /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ - resourceId?: string; +/** Trial component definition. */ +export interface TrialComponent { + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; } -/** User identity configuration. */ -export interface UserIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "UserIdentity"; +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; } -export interface DefaultScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default"; -} - -export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "TargetUtilization"; - /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ - pollingInterval?: string; - /** Target CPU usage for the autoscaler. */ - targetUtilizationPercentage?: number; - /** The minimum number of instances to always be present. */ - minInstances?: number; - /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ - maxInstances?: number; -} - -export interface CreateMonitorAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor"; - /** [Required] Defines the monitor. */ - monitorDefinition: MonitorDefinition; +/** Account key object for workspace connection credential. */ +export interface WorkspaceConnectionAccountKey { + key?: string; } -export interface EndpointScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "InvokeBatchEndpoint"; - /** - * [Required] Defines Schedule action definition details. - * - */ - endpointInvocationDefinition: Record; +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; } -export interface JobScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateJob"; - /** [Required] Defines Schedule action definition details. */ - jobDefinition: JobBasePropertiesUnion; +/** The capacity configuration. */ +export interface CapacityConfig { + /** The minimum capacity. */ + minimum?: number; + /** The maximum capacity. */ + maximum?: number; + /** The minimal incremental between allowed values for capacity. */ + step?: number; + /** The default capacity. */ + default?: number; + /** The array of allowed values for capacity. */ + allowedValues?: number[]; } -export interface AllFeatures extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures"; +export interface CognitiveServiceEndpointDeploymentResourceProperties { + /** Model used for the endpoint deployment. */ + model: EndpointDeploymentModel; + /** The name of RAI policy. */ + raiPolicyName?: string; + /** Deployment model version upgrade option. */ + versionUpgradeOption?: DeploymentModelVersionUpgradeOption; } -export interface FeatureSubset extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "FeatureSubset"; - /** [Required] The list of features to include. */ - features: string[]; +export interface EndpointDeploymentModel { + /** Model format */ + format?: string; + /** Model name. */ + name?: string; + /** Optional. Deployment model source ARM resource ID. */ + source?: string; + /** Model version. */ + version?: string; } -export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "TopNByAttribution"; - /** The number of top features to include. */ - top?: number; +export interface CognitiveServicesSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: string; } -/** AML token compute identity definition. */ -export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken"; +export interface ServerlessEndpointContentSafety { + /** Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } -/** Managed compute identity definition. */ -export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "ManagedIdentity"; - /** The identity which will be leveraged by the monitoring jobs. */ - identity?: ManagedServiceIdentity; +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [propertyName: string]: string }; } -export interface MLTableJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "mltable"; +export interface WorkspaceConnectionManagedIdentity { + clientId?: string; + resourceId?: string; } -export interface CustomModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "custom_model"; +export interface ServerlessEndpointModelSettings { + modelId: string; } -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "mlflow_model"; +/** + * 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 TritonModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "triton_model"; +export interface WorkspaceConnectionPersonalAccessToken { + pat?: string; } -export interface UriFileJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_file"; +/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointDestination { + serviceResourceId?: string; + sparkEnabled?: boolean; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + sparkStatus?: RuleStatus; + subresourceTarget?: string; } -export interface UriFolderJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_folder"; +export interface WorkspaceConnectionSharedAccessSignature { + sas?: string; } -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "custom_model"; +export interface ServerlessEndpointCapacityReservation { + capacityReservationGroupId: string; + endpointReservedCapacity?: number; } -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mlflow_model"; +export interface ServerlessEndpointInferenceEndpoint { + /** + * Dictionary of + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly headers?: { [propertyName: string]: string }; + uri: string; } -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mltable"; +export interface ServerlessOffer { + offerName: string; + publisher: string; } -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "triton_model"; +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; } -export interface UriFileJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_file"; +/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagDestination { + /** The action enum for networking rule. */ + action?: RuleAction; + /** Optional, if provided, the ServiceTag property will be ignored. */ + addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; } -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_folder"; +export interface WorkspaceConnectionUsernamePassword { + password?: string; + /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ + securityToken?: string; + username?: string; } -/** Forecast horizon determined automatically by system. */ -export interface AutoForecastHorizon extends ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; -} +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity + extends ManagedServiceIdentity {} -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface CustomForecastHorizon extends ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Forecast horizon value. */ - value: number; +/** 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; } -/** Classification task in AutoML Table vertical. */ -export interface Classification extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Classification"; - /** Primary metric for the task. */ - primaryMetric?: ClassificationPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ClassificationTrainingSettings; - /** Positive label for binary metrics calculation. */ - positiveLabel?: string; -} +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource extends Resource {} -/** Forecasting task in AutoML Table vertical. */ -export interface Forecasting extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Forecasting"; - /** Primary metric for forecasting task. */ - primaryMetric?: ForecastingPrimaryMetrics; - /** Forecasting task specific inputs. */ - forecastingSettings?: ForecastingSettings; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ForecastingTrainingSettings; +/** 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; } -/** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. - */ -export interface ImageClassification - extends ImageClassificationBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassification"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationPrimaryMetrics; +/** The Private Endpoint Connection resource. */ +export interface PrivateEndpointConnection extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The Private Endpoint resource. */ + privateEndpoint?: WorkspacePrivateEndpointResource; + /** The connection state. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** The current provisioning state. */ + provisioningState?: PrivateEndpointConnectionProvisioningState; } -/** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. - */ -export interface ImageClassificationMultilabel - extends ImageClassificationBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassificationMultilabel"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationMultilabelPrimaryMetrics; +/** An object that represents a machine learning workspace. */ +export interface Workspace extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + kind?: string; + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The flag to indicate whether to allow public access when behind VNet. */ + allowPublicAccessWhenBehindVnet?: boolean; + /** The flag to indicate whether we will do role assignment for the workspace MSI on resource group level. */ + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + associatedWorkspaces?: string[]; + containerRegistries?: string[]; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ + discoveryUrl?: string; + enableDataIsolation?: boolean; + enableServiceSideCMKEncryption?: boolean; + /** Flag to tell if simplified CMK should be enabled for this workspace. */ + enableSimplifiedCmk?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace. */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionProperty; + existingWorkspaces?: string[]; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ + hbiWorkspace?: boolean; + hubResourceId?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ + keyVault?: string; + keyVaults?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** + * The URI associated with this workspace that machine learning flow must point at to set up tracking. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mlFlowTrackingUri?: string; + /** + * The notebook info of Azure ML workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly notebookInfo?: NotebookResourceInfo; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** + * The list of private endpoint connections in the workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * Count of private connections in the workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateLinkCount?: number; + /** + * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** + * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serviceProvisionedResourceGroup?: string; + /** The list of shared private link resources in this workspace. */ + sharedPrivateLinkResources?: SharedPrivateLinkResource[]; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ + storageAccount?: string; + storageAccounts?: string[]; + /** + * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly storageHnsEnabled?: boolean; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: string; + /** + * The tenant id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; + /** WorkspaceHub's configuration object. */ + workspaceHubConfig?: WorkspaceHubConfig; + /** + * The immutable id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly workspaceId?: string; } -/** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. - */ -export interface ImageInstanceSegmentation - extends ImageObjectDetectionBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageInstanceSegmentation"; - /** Primary metric to optimize for this task. */ - primaryMetric?: InstanceSegmentationPrimaryMetrics; +export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { + properties: WorkspaceConnectionPropertiesV2Union; } -/** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. - */ -export interface ImageObjectDetection - extends ImageObjectDetectionBase, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageObjectDetection"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ObjectDetectionPrimaryMetrics; +export interface EndpointDeploymentResourcePropertiesBasicResource + extends Resource { + properties: EndpointDeploymentResourcePropertiesUnion; } -/** Regression task in AutoML Table vertical. */ -export interface Regression extends TableVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Regression"; - /** Primary metric for regression task. */ - primaryMetric?: RegressionPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: RegressionTrainingSettings; +export interface RaiBlocklistPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist properties. */ + properties: RaiBlocklistProperties; } -/** - * Text Classification task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassification extends NlpVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassification"; - /** Primary metric for Text-Classification task. */ - primaryMetric?: ClassificationPrimaryMetrics; +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist Item properties. */ + properties: RaiBlocklistItemProperties; } -/** - * Text Classification Multilabel task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassificationMultilabel - extends NlpVertical, - AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassificationMultilabel"; - /** - * Primary metric for Text-Classification-Multilabel task. - * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; +/** Azure OpenAI Content Filters resource. */ +export interface RaiPolicyPropertiesBasicResource extends Resource { + /** Azure OpenAI Content Filters properties. */ + properties: RaiPolicyProperties; } -/** - * Text-NER task in AutoML NLP vertical. - * NER - Named Entity Recognition. - * NLP - Natural Language Processing. - */ -export interface TextNer extends NlpVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextNER"; - /** - * Primary metric for Text-NER task. - * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationPrimaryMetrics; +export interface EndpointResourcePropertiesBasicResource extends Resource { + properties: EndpointResourcePropertiesUnion; } -/** Literal input type. */ -export interface LiteralJobInput extends JobInput { +export interface OutboundRuleBasicResource extends Resource { + /** Outbound Rule for the managed network of a machine learning workspace. */ + properties: OutboundRuleUnion; +} + +/** A private link resource */ +export interface PrivateLinkResource extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The private link resource group id. */ + groupId?: string; + /** The private link resource required member names. */ + requiredMembers?: string[]; + /** The private link resource Private link DNS zone name. */ + requiredZoneNames?: string[]; +} + +/** A Machine Learning compute based on AKS. */ +export interface Aks extends Compute, AKSSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "literal"; - /** [Required] Literal value for the input. */ - value: string; + computeType: "AKS"; } -/** N-Cross validations determined automatically. */ -export interface AutoNCrossValidations extends NCrossValidations { +/** A Machine Learning compute based on Kubernetes Compute. */ +export interface Kubernetes extends Compute, KubernetesSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "Kubernetes"; } -/** N-Cross validations are specified by user. */ -export interface CustomNCrossValidations extends NCrossValidations { +/** An Azure Machine Learning compute. */ +export interface AmlCompute extends Compute, AmlComputeSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] N-Cross validations value. */ - value: number; + computeType: "AmlCompute"; } -export interface AutoSeasonality extends Seasonality { +/** An Azure Machine Learning compute instance. */ +export interface ComputeInstance extends Compute, ComputeInstanceSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "ComputeInstance"; } -export interface CustomSeasonality extends Seasonality { +/** A Machine Learning compute based on Azure Virtual Machines. */ +export interface VirtualMachine extends Compute, VirtualMachineSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Seasonality value. */ - value: number; + computeType: "VirtualMachine"; } -export interface AutoTargetLags extends TargetLags { +/** A HDInsight compute. */ +export interface HDInsight extends Compute, HDInsightSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "HDInsight"; } -export interface CustomTargetLags extends TargetLags { +/** A DataFactory compute. */ +export interface DataFactory extends Compute { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Set target lags values. */ - values: number[]; + computeType: "DataFactory"; } -/** Target lags rolling window determined automatically. */ -export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { +/** A DataFactory compute. */ +export interface Databricks extends Compute, DatabricksSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "Databricks"; } -export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { +/** A DataLakeAnalytics compute. */ +export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] TargetRollingWindowSize value. */ - value: number; + computeType: "DataLakeAnalytics"; } -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore - extends AzureDatastore, - DatastoreProperties { +/** A SynapseSpark compute. */ +export interface SynapseSpark extends Compute { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureBlob"; - /** Storage account name. */ - accountName?: string; - /** Storage account container name. */ - containerName?: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + computeType: "SynapseSpark"; + properties?: SynapseSparkProperties; } -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface AksComputeSecrets + extends ComputeSecrets, + AksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen1"; - /** [Required] Azure Data Lake store name. */ - storeName: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + computeType: "AKS"; } -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface VirtualMachineSecrets + extends ComputeSecrets, + VirtualMachineSecretsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen2"; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + computeType: "VirtualMachine"; } -/** Azure File datastore configuration. */ -export interface AzureFileDatastore - extends AzureDatastore, - DatastoreProperties { +/** Secrets related to a Machine Learning compute based on Databricks. */ +export interface DatabricksComputeSecrets + extends ComputeSecrets, + DatabricksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureFile"; - /** [Required] Storage account name. */ - accountName: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + computeType: "Databricks"; } -/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ -export interface BanditPolicy extends EarlyTerminationPolicy { - /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "Bandit"; - /** Ratio of the allowed distance from the best performing run. */ - slackFactor?: number; - /** Absolute distance allowed from the best performing run. */ - slackAmount?: number; +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; } -/** Defines an early termination policy based on running averages of the primary metric of all runs */ -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { - /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "MedianStopping"; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } -/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ -export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { - /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "TruncationSelection"; - /** The percentage of runs to cancel at each evaluation interval. */ - truncationPercentage?: number; +/** Base definition for datastore contents configuration. */ +export interface DatastoreProperties extends ResourceBase { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; + /** [Required] Storage type backing the datastore. */ + datastoreType: DatastoreType; + /** + * Readonly property to indicate if datastore is the workspace default datastore + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDefault?: boolean; } -/** Defines a Sampling Algorithm that generates values based on previous values */ -export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian"; +/** DTO object representing feature */ +export interface FeatureProperties extends ResourceBase { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; } -/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Grid"; +/** Base definition for a job. */ +export interface JobBaseProperties extends ResourceBase { + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; + /** Display name of job. */ + displayName?: string; + /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ + experimentName?: string; + /** + * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + * Defaults to AmlToken if null. + */ + identity?: IdentityConfigurationUnion; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; + /** Notification setting for the job */ + notificationSetting?: NotificationSetting; + /** + * List of JobEndpoints. + * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + */ + services?: { [propertyName: string]: JobService | null }; + /** + * Status of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobStatus; } -/** Defines a Sampling Algorithm that generates values randomly */ -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; +/** Base definition of a schedule */ +export interface ScheduleProperties extends ResourceBase { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; + /** Display name of schedule. */ + displayName?: string; + /** Is the schedule enabled? */ + isEnabled?: boolean; + /** + * Provisioning state for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ScheduleProvisioningStatus; + /** [Required] Specifies the trigger details */ + trigger: TriggerBaseUnion; } -export interface CategoricalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +export interface SASCredentialDto extends PendingUploadCredentialDto { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data drift metric to calculate. */ - metric: CategoricalDataDriftMetric; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -export interface NumericalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +/** Access credential with no credentials */ +export interface AnonymousAccessCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data drift metric to calculate. */ - metric: NumericalDataDriftMetric; + credentialType: "NoCredentials"; } -export interface CategoricalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Credential for docker with username and password */ +export interface DockerCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data quality metric to calculate. */ - metric: CategoricalDataQualityMetric; + credentialType: "DockerCredentials"; + /** DockerCredential user password */ + password?: string; + /** DockerCredential user name */ + userName?: string; } -export interface NumericalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Credential for user managed identity */ +export interface ManagedIdentityCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data quality metric to calculate. */ - metric: NumericalDataQualityMetric; + credentialType: "ManagedIdentity"; + /** ManagedIdentityCredential identity type */ + managedIdentityType?: string; + /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityClientId?: string; + /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; + /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityTenantId?: string; } -export interface CategoricalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { +/** Access with full SAS uri */ +export interface SASCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical prediction drift metric to calculate. */ - metric: CategoricalPredictionDriftMetric; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -export interface NumericalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical prediction drift metric to calculate. */ - metric: NumericalPredictionDriftMetric; +/** Batch endpoint configuration. */ +export interface BatchEndpointProperties extends EndpointPropertiesBase { + /** Default values for Batch Endpoint */ + defaults?: BatchEndpointDefaults; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; } -/** Classification Training related configuration. */ -export interface ClassificationTrainingSettings extends TrainingSettings { - /** Allowed models for classification task. */ - allowedTrainingAlgorithms?: ClassificationModels[]; - /** Blocked models for classification task. */ - blockedTrainingAlgorithms?: ClassificationModels[]; +/** Online endpoint configuration */ +export interface OnlineEndpointProperties extends EndpointPropertiesBase { + /** + * ARM resource ID of the compute if it exists. + * optional + */ + compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; + /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ + traffic?: { [propertyName: string]: number }; } -/** Forecasting Training related configuration. */ -export interface ForecastingTrainingSettings extends TrainingSettings { - /** Allowed models for forecasting task. */ - allowedTrainingAlgorithms?: ForecastingModels[]; - /** Blocked models for forecasting task. */ - blockedTrainingAlgorithms?: ForecastingModels[]; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithIdentity + extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; } -/** Regression Training related configuration. */ -export interface RegressionTrainingSettings extends TrainingSettings { - /** Allowed models for regression task. */ - allowedTrainingAlgorithms?: RegressionModels[]; - /** Blocked models for regression task. */ - blockedTrainingAlgorithms?: RegressionModels[]; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSku + extends PartialMinimalTrackedResource { + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -/** Featurization Configuration. */ -export interface TableVerticalFeaturizationSettings - extends FeaturizationSettings { - /** - * 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; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSkuAndIdentity + extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -export interface NlpVerticalFeaturizationSettings - extends FeaturizationSettings {} - -/** MPI distribution configuration. */ -export interface Mpi extends DistributionConfiguration { +/** Properties for a Batch Pipeline Component Deployment. */ +export interface BatchPipelineComponentDeploymentConfiguration + extends BatchDeploymentConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi"; - /** Number of processes per MPI node. */ - processCountPerInstance?: number; + deploymentConfigurationType: "PipelineComponent"; + /** The ARM id of the component to be run. */ + componentId?: IdAssetReference; + /** The description which will be applied to the job. */ + description?: string; + /** Run-time settings for the pipeline job. */ + settings?: { [propertyName: string]: string | null }; + /** The tags which will be applied to the job. */ + tags?: { [propertyName: string]: string | null }; } -/** PyTorch distribution configuration. */ -export interface PyTorch extends DistributionConfiguration { +/** Reference to an asset via its ARM resource ID. */ +export interface IdAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "PyTorch"; - /** Number of processes per node. */ - processCountPerInstance?: number; + referenceType: "Id"; + /** [Required] ARM resource ID of the asset. */ + assetId: string; } -/** TensorFlow distribution configuration. */ -export interface TensorFlow extends DistributionConfiguration { +/** Reference to an asset via its path in a datastore. */ +export interface DataPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "TensorFlow"; - /** Number of workers. If not specified, will default to the instance count. */ - workerCount?: number; - /** Number of parameter server tasks. */ - parameterServerCount?: number; + referenceType: "DataPath"; + /** ARM resource ID of the datastore where the asset is located. */ + datastoreId?: string; + /** The path of the file/directory in the datastore. */ + path?: string; } -/** Command Job limit class. */ -export interface CommandJobLimits extends JobLimits { +/** 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 */ - jobLimitsType: "Command"; + referenceType: "OutputPath"; + /** ARM resource ID of the job. */ + jobId?: string; + /** The path of the file/directory in the job output. */ + path?: string; } -/** Sweep Job limit class. */ -export interface SweepJobLimits extends JobLimits { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Sweep"; - /** Sweep Job max total trials. */ - maxTotalTrials?: number; - /** Sweep Job max concurrent trials. */ - maxConcurrentTrials?: number; - /** Sweep Job Trial timeout value. */ - trialTimeout?: string; +export interface DeploymentResourceConfiguration + extends ResourceConfiguration {} + +export interface JobResourceConfiguration extends ResourceConfiguration { + /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ + dockerArgs?: string; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; } -export interface CustomMonitoringSignal extends MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "Custom"; - /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ - inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; - /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** [Required] Reference to the component asset used to calculate the custom metrics. */ - componentId: string; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: CustomMetricThreshold[]; +/** Batch inference settings per deployment. */ +export interface BatchDeploymentProperties + extends EndpointDeploymentPropertiesBase { + /** Compute target for batch inference operation. */ + compute?: string; + /** Properties relevant to different deployment types. */ + deploymentConfiguration?: BatchDeploymentConfigurationUnion; + /** + * Error threshold, if the error count for the entire input goes above this value, + * the batch inference will be aborted. Range is [-1, int.MaxValue]. + * For FileDataset, this value is the count of file failures. + * For TabularDataset, this value is the count of record failures. + * If set to -1 (the lower bound), all failures during batch inference will be ignored. + */ + errorThreshold?: number; + /** 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; + /** Reference to the model asset for the endpoint deployment. */ + model?: AssetReferenceBaseUnion; + /** Indicates how the output will be organized. */ + outputAction?: BatchOutputAction; + /** Customized output file name for append_row output action. */ + outputFileName?: string; + /** + * 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; + /** + * Retry Settings for the batch inference operation. + * If not provided, will default to the defaults defined in BatchRetrySettings. + */ + retrySettings?: BatchRetrySettings; } -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; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; +export interface OnlineDeploymentProperties + extends EndpointDeploymentPropertiesBase { + /** If true, enables Application Insights logging. */ + appInsightsEnabled?: boolean; + /** The mdc configuration, we disable mdc when it's null. */ + dataCollector?: DataCollector; + /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; + /** [Required] The compute type of the endpoint. */ + endpointComputeType: EndpointComputeType; + /** Compute instance type. */ + instanceType?: string; + /** Liveness probe monitors the health of the container regularly. */ + livenessProbe?: ProbeSettings; + /** The URI path to the model. */ + model?: string; + /** The path to mount the model in custom container. */ + modelMountPath?: string; + /** + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DeploymentProvisioningState; + /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ + readinessProbe?: ProbeSettings; + /** Request settings for the deployment. */ + requestSettings?: OnlineRequestSettings; + /** + * 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; } -export interface DataQualityMonitoringSignal extends MonitoringSignalBase { +/** Account key datastore credentials configuration. */ +export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataQualityMetricThresholdBaseUnion[]; - /** [Required] The data produced by the production service which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + credentialsType: "AccountKey"; + /** [Required] Storage account secrets. */ + secrets: AccountKeyDatastoreSecrets; } -export interface FeatureAttributionDriftMonitoringSignal - extends MonitoringSignalBase { +/** Certificate datastore credentials configuration. */ +export interface CertificateDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "FeatureAttributionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThreshold: FeatureAttributionMetricThreshold; - /** [Required] The settings for computing feature importance. */ - featureImportanceSettings: FeatureImportanceSettings; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion[]; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + credentialsType: "Certificate"; + /** Authority URL used for authentication. */ + authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: CertificateDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; + /** [Required] Thumbprint of the certificate used for authentication. */ + thumbprint: string; } -export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { +/** Empty/none datastore credentials. */ +export interface NoneDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "PredictionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + credentialsType: "None"; } -/** Monitor serverless spark compute definition. */ -export interface MonitorServerlessSparkCompute - extends MonitorComputeConfigurationBase { +/** SAS datastore credentials configuration. */ +export interface SasDatastoreCredentials extends DatastoreCredentials { /** 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; + credentialsType: "Sas"; + /** [Required] Storage container secrets. */ + secrets: SasDatastoreSecrets; } -/** Fixed input data definition. */ -export interface FixedInputData extends MonitoringInputDataBase { +/** Service Principal datastore credentials configuration. */ +export interface ServicePrincipalDatastoreCredentials + extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed"; + credentialsType: "ServicePrincipal"; + /** Authority URL used for authentication. */ + authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: ServicePrincipalDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; } -/** Rolling input data definition. */ -export interface RollingInputData extends MonitoringInputDataBase { +/** Datastore account key secrets. */ +export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Rolling"; - /** [Required] The time offset between the end of the data window and the monitor's current run time. */ - windowOffset: string; - /** [Required] The size of the rolling data window. */ - windowSize: string; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; + secretsType: "AccountKey"; + /** Storage account key. */ + key?: string; } -/** Static input data definition. */ -export interface StaticInputData extends MonitoringInputDataBase { +/** Datastore certificate secrets. */ +export interface CertificateDatastoreSecrets extends DatastoreSecrets { /** 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; + secretsType: "Certificate"; + /** Service principal certificate. */ + certificate?: string; } -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsClassification extends ImageModelSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: number; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: number; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: number; - /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. - */ - weightedLoss?: number; +/** Datastore SAS secrets. */ +export interface SasDatastoreSecrets extends DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "Sas"; + /** Storage container SAS token. */ + sasToken?: string; } -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsObjectDetection extends ImageModelSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: number; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: number; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: number; - /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - maxSize?: number; - /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - minSize?: number; - /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - modelSize?: ModelSize; - /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - multiScale?: boolean; - /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ - nmsIouThreshold?: number; - /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileGridSize?: string; - /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileOverlapRatio?: number; - /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tilePredictionsNmsThreshold?: number; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: number; - /** Metric computation method to use for validation metrics. */ - validationMetricType?: ValidationMetricType; +/** Datastore Service Principal secrets. */ +export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "ServicePrincipal"; + /** Service principal secret. */ + clientSecret?: string; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsClassification - extends ImageModelDistributionSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: string; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: string; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: string; - /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. - */ - weightedLoss?: string; +/** Webhook details specific for Azure DevOps */ +export interface AzureDevOpsWebhook extends Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsObjectDetection - extends ImageModelDistributionSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: string; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: string; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: string; - /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - maxSize?: string; - /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - minSize?: string; - /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - modelSize?: string; - /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - multiScale?: string; - /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ - nmsIouThreshold?: string; - /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileGridSize?: string; - /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileOverlapRatio?: string; - /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. - * NMS: Non-maximum suppression - */ - tilePredictionsNmsThreshold?: string; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: string; - /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ - validationMetricType?: string; -} - -export interface ImageClassificationBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsClassification; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsClassification[]; -} - -export interface ImageObjectDetectionBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsObjectDetection; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +export interface RecurrenceTrigger extends TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence"; + /** [Required] The frequency to trigger schedule. */ + frequency: RecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval: number; + /** The recurrence schedule. */ + schedule?: RecurrenceSchedule; } -export interface LakeHouseArtifact extends OneLakeArtifact { +export interface CronTrigger extends TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; + triggerType: "Cron"; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression: string; } -export interface SparkJobPythonEntry extends SparkJobEntry { +/** AML Token identity configuration. */ +export interface AmlToken extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry"; - /** [Required] Relative python file path for job entry point. */ - file: string; + identityType: "AMLToken"; } -export interface SparkJobScalaEntry extends SparkJobEntry { +/** Managed identity configuration. */ +export interface ManagedIdentity extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobScalaEntry"; - /** [Required] Scala class name used as entry point. */ - className: string; + identityType: "Managed"; + /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ + clientId?: string; + /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ + objectId?: string; + /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ + resourceId?: string; } -/** Azure Resource Manager resource envelope. */ -export interface CodeContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeContainerProperties; +/** User identity configuration. */ +export interface UserIdentity extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "UserIdentity"; } -/** Azure Resource Manager resource envelope. */ -export interface CodeVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeVersionProperties; +/** All nodes means the service will be running on all of the nodes of the job */ +export interface AllNodes extends Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentContainerProperties; +export interface DefaultScaleSettings extends OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default"; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentVersionProperties; +export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "TargetUtilization"; + /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ + maxInstances?: number; + /** The minimum number of instances to always be present. */ + minInstances?: number; + /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ + pollingInterval?: string; + /** Target CPU usage for the autoscaler. */ + targetUtilizationPercentage?: number; } -/** Azure Resource Manager resource envelope. */ -export interface DataContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataContainerProperties; +export interface CreateMonitorAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor"; + /** [Required] Defines the monitor. */ + monitorDefinition: MonitorDefinition; } -/** Azure Resource Manager resource envelope. */ -export interface DataVersionBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataVersionBasePropertiesUnion; +export interface EndpointScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "InvokeBatchEndpoint"; + /** + * [Required] Defines Schedule action definition details. + * + */ + endpointInvocationDefinition: Record; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentContainerProperties; +export interface JobScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateJob"; + /** [Required] Defines Schedule action definition details. */ + jobDefinition: JobBasePropertiesUnion; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentVersionProperties; +/** The PE network resource that is linked to this PE connection. */ +export interface PrivateEndpointResource extends PrivateEndpoint { + /** The subnetId that the private endpoint is connected to. */ + subnetArmId?: string; } -/** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelContainerProperties; +/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ +export interface FqdnOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN"; + destination?: string; } -/** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelVersionProperties; +/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; + fqdns?: string[]; } -/** Azure Resource Manager resource envelope. */ -export interface Datastore extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DatastorePropertiesUnion; +/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetContainerProperties; +/** 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"; } -/** Azure Resource Manager resource envelope. */ -export interface Feature extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeatureProperties; +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetVersionProperties; +/** This connection type covers the account key connection for Azure storage */ +export interface AccountKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccountKey"; + /** Account key object for workspace connection credential. */ + credentials?: WorkspaceConnectionAccountKey; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityContainerProperties; -} - -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityVersionProperties; +/** + * 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; } -/** Azure Resource Manager resource envelope. */ -export interface JobBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: JobBasePropertiesUnion; +/** + * 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; } -/** Azure Resource Manager resource envelope. */ -export interface MarketplaceSubscription extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: MarketplaceSubscriptionProperties; +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ManagedIdentity"; + credentials?: WorkspaceConnectionManagedIdentity; } -/** Azure Resource Manager resource envelope. */ -export interface Schedule extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ScheduleProperties; +export interface NoneAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "None"; } -export interface BatchEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface 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 BatchDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchDeploymentProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface PATAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; } -export interface OnlineEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface SASAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; } -export interface OnlineDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineDeploymentPropertiesUnion; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; } -export interface ServerlessEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: ServerlessEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; } -export interface Registry extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; - /** Discovery URL for the Registry */ - discoveryUrl?: string; - /** IntellectualPropertyPublisher for the registry */ - intellectualPropertyPublisher?: string; - /** ResourceId of the managed RG if the registry has system created resources */ - managedResourceGroup?: ArmResourceId; - /** MLFlow Registry URI for the Registry */ - mlFlowRegistryUri?: string; - /** Private endpoint connections info used for pending connections in private link portal */ - registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; - /** - * Is the Registry accessible from the internet? - * Possible values: "Enabled" or "Disabled" - */ - publicNetworkAccess?: string; - /** Details of each region the registry is in */ - regionDetails?: RegistryRegionArmDetails[]; +export interface ContentSafetyEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.ContentSafety"; } -/** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer { - /** - * Provisioning state for the code container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ManagedOnlineEndpointDeploymentResourceProperties + extends EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "managedOnlineEndpoint"; + /** Enum to determine endpoint compute type. */ + endpointComputeType?: EndpointComputeType; + model?: string; } -/** - * Component container definition. - * - */ -export interface ComponentContainerProperties extends AssetContainer { - /** - * Provisioning state for the component container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface OpenAIEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.OpenAI"; } -/** Container for data asset versions. */ -export interface DataContainerProperties extends AssetContainer { - /** [Required] Specifies the type of data. */ - dataType: DataType; +export interface SpeechEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.Speech"; } -/** Container for environment specification versions. */ -export interface EnvironmentContainerProperties extends AssetContainer { - /** - * Provisioning state for the environment container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ContentSafetyEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.ContentSafety"; } -export interface ModelContainerProperties extends AssetContainer { - /** - * Provisioning state for the model container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ManagedOnlineEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "managedOnlineEndpoint"; + /** Enum to determine endpoint authentication mode. */ + authMode?: EndpointAuthMode; + compute?: string; + description?: string; + /** Dictionary of */ + mirrorTraffic?: { [propertyName: string]: number }; + scoringUri?: string; + /** Dictionary of */ + traffic?: { [propertyName: string]: number }; } -/** DTO object representing feature set */ -export interface FeaturesetContainerProperties extends AssetContainer { - /** - * Provisioning state for the featureset container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface OpenAIEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.OpenAI"; } -/** DTO object representing feature entity */ -export interface FeaturestoreEntityContainerProperties extends AssetContainer { - /** - * Provisioning state for the featurestore entity container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ServerlessEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "serverlessEndpoint"; + authMode?: ServerlessInferenceEndpointAuthMode; + capacityReservation?: ServerlessEndpointCapacityReservation; + contentSafety?: ServerlessEndpointContentSafety; + /** State of the Serverless Endpoint. */ + endpointState?: ServerlessEndpointState; + inferenceEndpoint?: ServerlessEndpointInferenceEndpoint; + marketplaceSubscriptionId?: string; + /** Anything */ + metadata?: any; + modelSettings?: ServerlessEndpointModelSettings; + offer?: ServerlessOffer; } -/** Code asset version details. */ -export interface CodeVersionProperties extends AssetBase { - /** Uri where code is located */ - codeUri?: string; - /** - * Provisioning state for the code version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface SpeechEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.Speech"; } -/** Definition of a component version: defines resources that span component types. */ -export interface ComponentVersionProperties extends AssetBase { - /** - * Defines Component definition details. - * - */ - componentSpec?: Record; - /** - * Provisioning state for the component version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface AllFeatures extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "AllFeatures"; } -/** Data version base definition */ -export interface DataVersionBaseProperties extends AssetBase { - /** [Required] Specifies the type of data. */ - dataType: DataType; - /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ - dataUri: string; +export interface FeatureSubset extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "FeatureSubset"; + /** [Required] The list of features to include. */ + features: string[]; } -/** Environment version details. */ -export interface EnvironmentVersionProperties extends AssetBase { - /** - * Environment type is either user managed or curated by the Azure ML service - * - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly environmentType?: EnvironmentType; - /** - * Name of the image that will be used for the environment. - * - */ - image?: string; - /** - * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. - * - */ - condaFile?: string; - /** Configuration settings for Docker build context. */ - build?: BuildContext; - /** The OS type of the environment. */ - osType?: OperatingSystemType; - /** Defines configuration specific to inference. */ - inferenceConfig?: InferenceContainerProperties; - /** Defines if image needs to be rebuilt based on base image changes. */ - autoRebuild?: AutoRebuildSetting; - /** - * Provisioning state for the environment version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; - /** Stage in the environment lifecycle assigned to this environment */ - stage?: string; +export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "TopNByAttribution"; + /** The number of top features to include. */ + top?: number; } -/** Model asset version details. */ -export interface ModelVersionProperties extends AssetBase { - /** Mapping of model flavors to their properties. */ - flavors?: { [propertyName: string]: FlavorData | null }; - /** The storage format for this entity. Used for NCD. */ - modelType?: string; - /** The URI path to the model contents. */ - modelUri?: string; - /** Name of the training job which produced this model */ - jobName?: string; - /** - * Provisioning state for the model version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; - /** Stage in the model lifecycle assigned to this model */ - stage?: string; +/** AML token compute identity definition. */ +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken"; } -/** DTO object representing feature set version */ -export interface FeaturesetVersionProperties extends AssetBase { - /** Specifies the feature spec details */ - specification?: FeaturesetSpecification; - /** Specifies the materialization settings */ - materializationSettings?: MaterializationSettings; - /** Specifies the asset stage */ - stage?: string; - /** Specifies list of entities */ - entities?: string[]; - /** - * Provisioning state for the featureset version container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +/** Managed compute identity definition. */ +export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "ManagedIdentity"; + /** The identity which will be leveraged by the monitoring jobs. */ + identity?: ManagedServiceIdentity; } -/** DTO object representing feature entity version */ -export interface FeaturestoreEntityVersionProperties extends AssetBase { - /** Specifies index columns */ - indexColumns?: IndexColumn[]; - /** Specifies the asset stage */ - stage?: string; - /** - * Provisioning state for the featurestore entity version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface MLTableJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "mltable"; } -/** OneLake (Trident) datastore configuration. */ -export interface OneLakeDatastore extends DatastoreProperties { +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "OneLake"; - /** [Required] OneLake artifact backing the datastore. */ - artifact: OneLakeArtifactUnion; - /** [Required] OneLake workspace name. */ - oneLakeWorkspaceName: string; - /** OneLake endpoint to use for the datastore. */ - endpoint?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + jobInputType: "mlflow_model"; } -/** - * AutoMLJob class. - * Use this class for executing AutoML tasks like Classification/Regression etc. - * See TaskType enum for all the tasks supported. - */ -export interface AutoMLJob extends JobBaseProperties { +export interface CustomModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "AutoML"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** - * The ARM resource ID of the Environment specification for the job. - * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. - */ - environmentId?: string; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** [Required] This represents scenario which can be one of Tables/NLP/Image */ - taskDetails: AutoMLVerticalUnion; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobInputType: "custom_model"; } -/** Command job definition. */ -export interface CommandJob extends JobBaseProperties { +export interface TritonModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Command"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [Required] The ARM resource ID of the Environment specification for the job. */ - environmentId: string; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; - /** Command Job limit. */ - limits?: CommandJobLimits; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** - * Input parameters. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly parameters?: Record; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobInputType: "triton_model"; } -/** Pipeline Job definition: defines generic to MFE attributes. */ -export interface PipelineJob extends JobBaseProperties { +export interface UriFileJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Pipeline"; - /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ - settings?: Record; - /** Jobs construct the Pipeline Job. */ - jobs?: { [propertyName: string]: Record }; - /** Inputs for the pipeline job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Outputs for the pipeline job */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** ARM resource ID of source job. */ - sourceJobId?: string; + jobInputType: "uri_file"; } -/** Spark job definition. */ -export interface SparkJob extends JobBaseProperties { +export interface UriFolderJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Spark"; - /** Compute Resource configuration for the job. */ - resources?: SparkResourceConfiguration; - /** Arguments for the job. */ - args?: string; - /** [Required] arm-id of the code asset. */ - codeId: string; - /** [Required] The entry to execute on startup of the job. */ - entry: SparkJobEntryUnion; - /** The ARM resource ID of the Environment specification for the job. */ - environmentId?: string; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Python files used in the job. */ - pyFiles?: string[]; - /** Jar files used in the job. */ - jars?: string[]; - /** Files used in the job. */ - files?: string[]; - /** Archive files used in the job. */ - archives?: string[]; - /** Spark configured properties. */ - conf?: { [propertyName: string]: string | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; + jobInputType: "uri_folder"; } -/** Sweep job definition. */ -export interface SweepJob extends JobBaseProperties { +export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Sweep"; - /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ - searchSpace: Record; - /** [Required] The hyperparameter sampling algorithm */ - samplingAlgorithm: SamplingAlgorithmUnion; - /** Sweep Job limit. */ - limits?: SweepJobLimits; - /** Early termination policies enable canceling poor-performing runs before they complete */ - earlyTermination?: EarlyTerminationPolicyUnion; - /** [Required] Optimization objective. */ - objective: Objective; - /** [Required] Trial component definition. */ - trial: TrialComponent; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobOutputType: "custom_model"; } -/** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Kubernetes"; - /** The resource requirements for the container (cpu and memory). */ - containerResourceRequirements?: ContainerResourceRequirements; + jobOutputType: "mlflow_model"; } -/** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Managed"; + jobOutputType: "mltable"; } -/** MLTable data definition */ -export interface MLTableData extends DataVersionBaseProperties { +export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "mltable"; - /** Uris referenced in the MLTable definition (required for lineage) */ - referencedUris?: string[]; + jobOutputType: "triton_model"; } -/** uri-file data version entity */ -export interface UriFileDataVersion extends DataVersionBaseProperties { +export interface UriFileJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "uri_file"; + jobOutputType: "uri_file"; } -/** uri-folder data version entity */ -export interface UriFolderDataVersion extends DataVersionBaseProperties { +export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "uri_folder"; + jobOutputType: "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; +/** Forecast horizon determined automatically by system. */ +export interface AutoForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for 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; +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface CustomForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Forecast horizon value. */ + value: number; } -/** Defines headers for 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; +/** Classification task in AutoML Table vertical. */ +export interface Classification extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Classification"; + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; + /** Primary metric for the task. */ + primaryMetric?: ClassificationPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ClassificationTrainingSettings; } -/** Defines headers for 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; +/** Forecasting task in AutoML Table vertical. */ +export interface Forecasting extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Forecasting"; + /** Forecasting task specific inputs. */ + forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ForecastingTrainingSettings; } -/** Defines headers for 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; +/** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ +export interface ImageClassification + extends ImageClassificationBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassification"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ +export interface ImageClassificationMultilabel + extends ImageClassificationBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassificationMultilabel"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** Defines headers for Compute_delete operation. */ -export interface ComputeDeleteHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; +/** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ +export interface ImageInstanceSegmentation + extends ImageObjectDetectionBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageInstanceSegmentation"; + /** Primary metric to optimize for this task. */ + primaryMetric?: InstanceSegmentationPrimaryMetrics; } -/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ -export interface ManagedNetworkSettingsRuleDeleteHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; +/** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ +export interface ImageObjectDetection + extends ImageObjectDetectionBase, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageObjectDetection"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ObjectDetectionPrimaryMetrics; } -/** Defines headers for 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; +/** Regression task in AutoML Table vertical. */ +export interface Regression extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Regression"; + /** Primary metric for regression task. */ + primaryMetric?: RegressionPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: RegressionTrainingSettings; } -/** Defines headers for 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; +/** + * Text Classification task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassification extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassification"; + /** Primary metric for Text-Classification task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for RegistryCodeContainers_delete operation. */ -export interface RegistryCodeContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Text Classification Multilabel task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassificationMultilabel + extends NlpVertical, + AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassificationMultilabel"; + /** + * Primary metric for Text-Classification-Multilabel task. + * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ -export interface RegistryCodeContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** + * Text-NER task in AutoML NLP vertical. + * NER - Named Entity Recognition. + * NLP - Natural Language Processing. + */ +export interface TextNer extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextNER"; + /** + * Primary metric for Text-NER task. + * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for RegistryCodeVersions_delete operation. */ -export interface RegistryCodeVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Literal input type. */ +export interface LiteralJobInput extends JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "literal"; + /** [Required] Literal value for the input. */ + value: string; } -/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ -export interface RegistryCodeVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** N-Cross validations determined automatically. */ +export interface AutoNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryComponentContainers_delete operation. */ -export interface RegistryComponentContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** N-Cross validations are specified by user. */ +export interface CustomNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] N-Cross validations value. */ + value: number; } -/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ -export interface RegistryComponentContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface AutoSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryComponentVersions_delete operation. */ -export interface RegistryComponentVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ -export interface RegistryComponentVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CustomSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Seasonality value. */ + value: number; } -/** Defines headers for RegistryDataContainers_delete operation. */ -export interface RegistryDataContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface AutoTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ -export interface RegistryDataContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CustomTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Set target lags values. */ + values: number[]; } -/** Defines headers for RegistryDataVersions_delete operation. */ -export interface RegistryDataVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Target lags rolling window determined automatically. */ +export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ -export interface RegistryDataVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] TargetRollingWindowSize value. */ + value: number; } -/** Defines headers for RegistryEnvironmentContainers_delete operation. */ -export interface RegistryEnvironmentContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure Blob datastore configuration. */ +export interface AzureBlobDatastore + extends AzureDatastore, + DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureBlob"; + /** Storage account name. */ + accountName?: string; + /** Storage account container name. */ + containerName?: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ -export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Azure Data Lake Gen1 datastore configuration. */ +export interface AzureDataLakeGen1Datastore + extends AzureDatastore, + DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureDataLakeGen1"; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; } -/** Defines headers for RegistryEnvironmentVersions_delete operation. */ -export interface RegistryEnvironmentVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure Data Lake Gen2 datastore configuration. */ +export interface AzureDataLakeGen2Datastore + extends AzureDatastore, + DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureDataLakeGen2"; + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Azure File datastore configuration. */ +export interface AzureFileDatastore + extends AzureDatastore, + DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureFile"; + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryModelContainers_delete operation. */ -export interface RegistryModelContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface AzureOpenAiFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI"; + /** HyperParameters for fine tuning Azure Open AI model. */ + hyperParameters?: AzureOpenAiHyperParameters; } -/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ -export interface RegistryModelContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CustomModelFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "Custom"; + /** HyperParameters for fine tuning custom model. */ + hyperParameters?: { [propertyName: string]: string | null }; } -/** Defines headers for RegistryModelVersions_delete operation. */ -export interface RegistryModelVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ +export interface BanditPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "Bandit"; + /** Absolute distance allowed from the best performing run. */ + slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } -/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ -export interface RegistryModelVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines an early termination policy based on running averages of the primary metric of all runs */ +export interface MedianStoppingPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "MedianStopping"; } -/** Defines headers for BatchEndpoints_delete operation. */ -export interface BatchEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ +export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "TruncationSelection"; + /** The percentage of runs to cancel at each evaluation interval. */ + truncationPercentage?: number; } -/** Defines headers for BatchEndpoints_update operation. */ -export interface BatchEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values based on previous values */ +export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Bayesian"; } -/** Defines headers for BatchEndpoints_createOrUpdate operation. */ -export interface BatchEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ +export interface GridSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Grid"; } -/** Defines headers for BatchDeployments_delete operation. */ -export interface BatchDeploymentsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values randomly */ +export interface RandomSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Random"; + /** The specific type of random algorithm */ + rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } -/** Defines headers for BatchDeployments_update operation. */ -export interface BatchDeploymentsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CategoricalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data drift metric to calculate. */ + metric: CategoricalDataDriftMetric; } -/** Defines headers for BatchDeployments_createOrUpdate operation. */ -export interface BatchDeploymentsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface NumericalDataDriftMetricThreshold + extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data drift metric to calculate. */ + metric: NumericalDataDriftMetric; } -/** Defines headers for CodeVersions_publish operation. */ -export interface CodeVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CategoricalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data quality metric to calculate. */ + metric: CategoricalDataQualityMetric; } -/** Defines headers for ComponentVersions_publish operation. */ -export interface ComponentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface NumericalDataQualityMetricThreshold + extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data quality metric to calculate. */ + metric: NumericalDataQualityMetric; } -/** Defines headers for DataVersions_publish operation. */ -export interface DataVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CategoricalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical prediction drift metric to calculate. */ + metric: CategoricalPredictionDriftMetric; } -/** Defines headers for EnvironmentVersions_publish operation. */ -export interface EnvironmentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface NumericalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical prediction drift metric to calculate. */ + metric: NumericalPredictionDriftMetric; } -/** Defines headers for FeaturesetContainers_delete operation. */ -export interface FeaturesetContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Classification Training related configuration. */ +export interface ClassificationTrainingSettings extends TrainingSettings { + /** Allowed models for classification task. */ + allowedTrainingAlgorithms?: ClassificationModels[]; + /** Blocked models for classification task. */ + blockedTrainingAlgorithms?: ClassificationModels[]; } -/** Defines headers for FeaturesetContainers_createOrUpdate operation. */ -export interface FeaturesetContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Forecasting Training related configuration. */ +export interface ForecastingTrainingSettings extends TrainingSettings { + /** Allowed models for forecasting task. */ + allowedTrainingAlgorithms?: ForecastingModels[]; + /** Blocked models for forecasting task. */ + blockedTrainingAlgorithms?: ForecastingModels[]; } -/** Defines headers for FeaturesetVersions_delete operation. */ -export interface FeaturesetVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Regression Training related configuration. */ +export interface RegressionTrainingSettings extends TrainingSettings { + /** Allowed models for regression task. */ + allowedTrainingAlgorithms?: RegressionModels[]; + /** Blocked models for regression task. */ + blockedTrainingAlgorithms?: RegressionModels[]; } -/** Defines headers for FeaturesetVersions_createOrUpdate operation. */ -export interface FeaturesetVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Featurization Configuration. */ +export interface TableVerticalFeaturizationSettings + extends FeaturizationSettings { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; + /** + * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. + * If 'Off' is selected then no featurization is done. + * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + */ + mode?: FeaturizationMode; + /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ + transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; } -/** Defines headers for FeaturesetVersions_backfill operation. */ -export interface FeaturesetVersionsBackfillHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface NlpVerticalFeaturizationSettings + extends FeaturizationSettings {} + +/** MPI distribution configuration. */ +export interface Mpi extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "Mpi"; + /** Number of processes per MPI node. */ + processCountPerInstance?: number; } -/** Defines headers for FeaturestoreEntityContainers_delete operation. */ -export interface FeaturestoreEntityContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** PyTorch distribution configuration. */ +export interface PyTorch extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "PyTorch"; + /** Number of processes per node. */ + processCountPerInstance?: number; } -/** Defines headers for FeaturestoreEntityContainers_createOrUpdate operation. */ -export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** TensorFlow distribution configuration. */ +export interface TensorFlow extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "TensorFlow"; + /** Number of parameter server tasks. */ + parameterServerCount?: number; + /** Number of workers. If not specified, will default to the instance count. */ + workerCount?: number; } -/** Defines headers for FeaturestoreEntityVersions_delete operation. */ -export interface FeaturestoreEntityVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Command Job limit class. */ +export interface CommandJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Command"; } -/** Defines headers for FeaturestoreEntityVersions_createOrUpdate operation. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Sweep Job limit class. */ +export interface SweepJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Sweep"; + /** Sweep Job max concurrent trials. */ + maxConcurrentTrials?: number; + /** Sweep Job max total trials. */ + maxTotalTrials?: number; + /** Sweep Job Trial timeout value. */ + trialTimeout?: string; } -/** Defines headers for Jobs_delete operation. */ -export interface JobsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute + extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: string; } -/** Defines headers for Jobs_cancel operation. */ -export interface JobsCancelHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; + /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ + inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; + /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: CustomMetricThreshold[]; } -/** Defines headers for MarketplaceSubscriptions_delete operation. */ -export interface MarketplaceSubscriptionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface DataDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for MarketplaceSubscriptions_createOrUpdate operation. */ -export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for ModelVersions_publish operation. */ -export interface ModelVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_delete operation. */ -export interface OnlineEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_update operation. */ -export interface OnlineEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ -export interface OnlineEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ -export interface OnlineEndpointsRegenerateKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_delete operation. */ -export interface OnlineDeploymentsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_update operation. */ -export interface OnlineDeploymentsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_createOrUpdate operation. */ -export interface OnlineDeploymentsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for Schedules_delete operation. */ -export interface SchedulesDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Schedules_createOrUpdate operation. */ -export interface SchedulesCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for ServerlessEndpoints_delete operation. */ -export interface ServerlessEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for ServerlessEndpoints_update operation. */ -export interface ServerlessEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface DataQualityMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataQuality"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataQualityMetricThresholdBaseUnion[]; + /** [Required] The data produced by the production service which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_createOrUpdate operation. */ -export interface ServerlessEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface FeatureAttributionDriftMonitoringSignal + extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "FeatureAttributionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] The settings for computing feature importance. */ + featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion[]; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ServerlessEndpoints_regenerateKeys operation. */ -export interface ServerlessEndpointsRegenerateKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for Registries_delete operation. */ -export interface RegistriesDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Fixed input data definition. */ +export interface FixedInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Fixed"; } -/** Defines headers for Registries_removeRegions operation. */ -export interface RegistriesRemoveRegionsHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Rolling input data definition. */ +export interface RollingInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Rolling"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The time offset between the end of the data window and the monitor's current run time. */ + windowOffset: string; + /** [Required] The size of the rolling data window. */ + windowSize: string; } -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** User */ - User = "user", - /** System */ - System = "system", - /** UserSystem */ - UserSystem = "user,system", +/** Static input data definition. */ +export interface StaticInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Static"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; } /** - * Defines values for Origin. \ - * {@link KnownOrigin} can be used interchangeably with Origin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **user** \ - * **system** \ - * **user,system** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type Origin = string; - -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +export interface ImageModelSettingsClassification extends ImageModelSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: number; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: number; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: number; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: number; } /** - * Defines values for ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Internal** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ActionType = string; - -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Unknown */ - Unknown = "Unknown", - /** Updating */ - Updating = "Updating", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +export interface ImageModelSettingsObjectDetection extends ImageModelSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: number; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: number; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: number; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: number; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: number; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: ModelSize; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: boolean; + /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ + nmsIouThreshold?: number; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: number; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tilePredictionsNmsThreshold?: number; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: number; + /** Metric computation method to use for validation metrics. */ + validationMetricType?: ValidationMetricType; } /** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ProvisioningState = string; - -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +export interface ImageModelDistributionSettingsClassification + extends ImageModelDistributionSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: string; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: string; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: string; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: string; } /** - * Defines values for 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** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type EncryptionStatus = string; - -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +export interface ImageModelDistributionSettingsObjectDetection + extends ImageModelDistributionSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: string; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: string; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: string; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: string; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: string; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: string; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: string; + /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ + nmsIouThreshold?: string; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: string; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + * NMS: Non-maximum suppression + */ + tilePredictionsNmsThreshold?: string; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: string; + /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ + validationMetricType?: string; } -/** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type PublicNetworkAccess = string; +export interface ImageClassificationBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsClassification; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsClassification[]; +} -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", - /** Timeout */ - Timeout = "Timeout", +export interface ImageObjectDetectionBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsObjectDetection; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; } -/** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** - */ -export type PrivateEndpointServiceConnectionStatus = string; +export interface LakeHouseArtifact extends OneLakeArtifact { + /** Polymorphic discriminator, which specifies the different types this object can be */ + artifactType: "LakeHouse"; +} -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed", +export interface SparkJobPythonEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry"; + /** [Required] Relative python file path for job entry point. */ + file: string; } -/** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** - */ -export type PrivateEndpointConnectionProvisioningState = string; - -/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ -export enum KnownManagedServiceIdentityType { - /** None */ - None = "None", - /** SystemAssigned */ - SystemAssigned = "SystemAssigned", - /** UserAssigned */ - UserAssigned = "UserAssigned", - /** SystemAssignedUserAssigned */ - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +export interface SparkJobScalaEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobScalaEntry"; + /** [Required] Scala class name used as entry point. */ + className: string; } -/** - * Defines values for ManagedServiceIdentityType. \ - * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **SystemAssigned** \ - * **UserAssigned** \ - * **SystemAssigned,UserAssigned** - */ -export type ManagedServiceIdentityType = string; +/** Azure Resource Manager resource envelope. */ +export interface CodeContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeContainerProperties; +} -/** Known values of {@link CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key", +/** Azure Resource Manager resource envelope. */ +export interface CodeVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeVersionProperties; } -/** - * Defines values for CreatedByType. \ - * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **User** \ - * **Application** \ - * **ManagedIdentity** \ - * **Key** - */ -export type CreatedByType = string; +/** Azure Resource Manager resource envelope. */ +export interface ComponentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentContainerProperties; +} -/** Known values of {@link IsolationMode} that the service accepts. */ -export enum KnownIsolationMode { - /** Disabled */ - Disabled = "Disabled", - /** AllowInternetOutbound */ - AllowInternetOutbound = "AllowInternetOutbound", - /** AllowOnlyApprovedOutbound */ - AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", +/** Azure Resource Manager resource envelope. */ +export interface ComponentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentVersionProperties; } -/** - * Defines values for IsolationMode. \ - * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Disabled** \ - * **AllowInternetOutbound** \ - * **AllowOnlyApprovedOutbound** - */ -export type IsolationMode = string; +/** Azure Resource Manager resource envelope. */ +export interface DataContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataContainerProperties; +} -/** Known values of {@link RuleCategory} that the service accepts. */ -export enum KnownRuleCategory { - /** Required */ - Required = "Required", - /** Recommended */ - Recommended = "Recommended", - /** UserDefined */ - UserDefined = "UserDefined", - /** Dependency */ - Dependency = "Dependency", +/** Azure Resource Manager resource envelope. */ +export interface DataVersionBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataVersionBasePropertiesUnion; } -/** - * Defines values for RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** - */ -export type RuleCategory = string; +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentContainerProperties; +} -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentVersionProperties; } -/** - * Defines values for RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type RuleStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface MarketplaceSubscription extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: MarketplaceSubscriptionProperties; +} -/** Known values of {@link RuleType} that the service accepts. */ -export enum KnownRuleType { - /** Fqdn */ - Fqdn = "FQDN", - /** PrivateEndpoint */ - PrivateEndpoint = "PrivateEndpoint", - /** ServiceTag */ - ServiceTag = "ServiceTag", +/** Azure Resource Manager resource envelope. */ +export interface ModelContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelContainerProperties; } -/** - * Defines values for RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** - */ -export type RuleType = string; +/** Azure Resource Manager resource envelope. */ +export interface ModelVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelVersionProperties; +} -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface Datastore extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DatastorePropertiesUnion; } -/** - * Defines values for ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type ManagedNetworkStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetContainerProperties; +} -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information", +/** Azure Resource Manager resource envelope. */ +export interface Feature extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeatureProperties; } -/** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** - */ -export type DiagnoseResultLevel = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetVersionProperties; +} -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityContainerProperties; } -/** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type UsageUnit = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityVersionProperties; +} -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +/** Azure Resource Manager resource envelope. */ +export interface JobBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: JobBasePropertiesUnion; } -/** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **USD** - */ -export type BillingCurrency = string; +/** Azure Resource Manager resource envelope. */ +export interface Schedule extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ScheduleProperties; +} -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +export interface BatchEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **OneHour** - */ -export type UnitOfMeasure = string; +export interface BatchDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchDeploymentProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +export interface OnlineEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Linux** \ - * **Windows** - */ -export type VMPriceOSType = string; +export interface OnlineDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineDeploymentPropertiesUnion; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot", +export interface ServerlessEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: ServerlessEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Standard** \ - * **LowPriority** \ - * **Spot** - */ -export type VMTier = string; +export interface Registry extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; + /** Discovery URL for the Registry */ + discoveryUrl?: string; + /** IntellectualPropertyPublisher for the registry */ + intellectualPropertyPublisher?: string; + /** ResourceId of the managed RG if the registry has system created resources */ + managedResourceGroup?: ArmResourceId; + /** Managed resource group specific settings */ + managedResourceGroupSettings?: ManagedResourceGroupSettings; + /** MLFlow Registry URI for the Registry */ + mlFlowRegistryUri?: string; + /** Private endpoint connections info used for pending connections in private link portal */ + registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; + /** + * Is the Registry accessible from the internet? + * Possible values: "Enabled" or "Disabled" + */ + publicNetworkAccess?: string; + /** Details of each region the registry is in */ + regionDetails?: RegistryRegionArmDetails[]; +} -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +/** Container for code asset versions. */ +export interface CodeContainerProperties extends AssetContainer { + /** + * Provisioning state for the code container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** + * Component container definition. + * */ -export type QuotaUnit = string; +export interface ComponentContainerProperties extends AssetContainer { + /** + * Provisioning state for the component container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -/** Known values of {@link 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", +/** Container for data asset versions. */ +export interface DataContainerProperties extends AssetContainer { + /** [Required] Specifies the type of data. */ + dataType: DataType; } -/** - * 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; +/** Container for environment specification versions. */ +export interface EnvironmentContainerProperties extends AssetContainer { + /** + * Provisioning state for the environment container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -/** Known values of {@link 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", +export interface ModelContainerProperties extends AssetContainer { + /** + * Provisioning state for the model container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } -/** - * Defines values for ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** - */ -export type ComputeType = string; +/** DTO object representing feature set */ +export interface FeaturesetContainerProperties extends AssetContainer { + /** + * Provisioning state for the featureset container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +/** DTO object representing feature entity */ +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + /** + * Provisioning state for the featurestore entity container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } -/** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Delete** \ - * **Detach** - */ -export type UnderlyingResourceAction = string; +/** Code asset version details. */ +export interface CodeVersionProperties extends AssetBase { + /** Uri where code is located */ + codeUri?: string; + /** + * Provisioning state for the code version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -/** Known values of {@link 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", +/** Definition of a component version: defines resources that span component types. */ +export interface ComponentVersionProperties extends AssetBase { + /** + * Defines Component definition details. + * + */ + componentSpec?: Record; + /** + * Provisioning state for the component version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } -/** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** - */ -export type NodeState = string; +/** Data version base definition */ +export interface DataVersionBaseProperties extends AssetBase { + /** [Required] Specifies the type of data. */ + dataType: DataType; + /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ + dataUri: string; +} -/** Known values of {@link 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", +/** Environment version details. */ +export interface EnvironmentVersionProperties extends AssetBase { + /** Defines if image needs to be rebuilt based on base image changes. */ + autoRebuild?: AutoRebuildSetting; + /** Configuration settings for Docker build context. */ + build?: BuildContext; + /** + * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. + * + */ + condaFile?: string; + /** + * Environment type is either user managed or curated by the Azure ML service + * + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly environmentType?: EnvironmentType; + /** + * Name of the image that will be used for the environment. + * + */ + image?: string; + /** Defines configuration specific to inference. */ + inferenceConfig?: InferenceContainerProperties; + /** The OS type of the environment. */ + osType?: OperatingSystemType; + /** + * Provisioning state for the environment version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the environment lifecycle assigned to this environment */ + stage?: string; +} + +/** Model asset version details. */ +export interface ModelVersionProperties extends AssetBase { + /** Mapping of model flavors to their properties. */ + flavors?: { [propertyName: string]: FlavorData | null }; + /** Name of the training job which produced this model */ + jobName?: string; + /** The storage format for this entity. Used for NCD. */ + modelType?: string; + /** The URI path to the model contents. */ + modelUri?: string; + /** + * Provisioning state for the model version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the model lifecycle assigned to this model */ + stage?: string; +} + +/** DTO object representing feature set version */ +export interface FeaturesetVersionProperties extends AssetBase { + /** Specifies list of entities */ + entities?: string[]; + /** Specifies the materialization settings */ + materializationSettings?: MaterializationSettings; + /** + * Provisioning state for the featureset version container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the feature spec details */ + specification?: FeaturesetSpecification; + /** Specifies the asset stage */ + stage?: string; +} + +/** DTO object representing feature entity version */ +export interface FeaturestoreEntityVersionProperties extends AssetBase { + /** Specifies index columns */ + indexColumns?: IndexColumn[]; + /** + * Provisioning state for the featurestore entity version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the asset stage */ + stage?: string; +} + +/** OneLake (Trident) datastore configuration. */ +export interface OneLakeDatastore extends DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "OneLake"; + /** [Required] OneLake artifact backing the datastore. */ + artifact: OneLakeArtifactUnion; + /** OneLake endpoint to use for the datastore. */ + endpoint?: string; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } /** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ - * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * AutoMLJob class. + * Use this class for executing AutoML tasks like Classification/Regression etc. + * See TaskType enum for all the tasks supported. */ -export type ConnectionAuthType = string; - -/** Known values of {@link ConnectionCategory} that the service accepts. */ -export enum KnownConnectionCategory { - /** PythonFeed */ - PythonFeed = "PythonFeed", - /** ContainerRegistry */ - ContainerRegistry = "ContainerRegistry", - /** Git */ - Git = "Git", - /** S3 */ - S3 = "S3", - /** Snowflake */ - Snowflake = "Snowflake", - /** AzureSqlDb */ - AzureSqlDb = "AzureSqlDb", - /** AzureSynapseAnalytics */ - AzureSynapseAnalytics = "AzureSynapseAnalytics", - /** AzureMySqlDb */ - AzureMySqlDb = "AzureMySqlDb", - /** AzurePostgresDb */ - AzurePostgresDb = "AzurePostgresDb", - /** AdlsGen2 */ - AdlsGen2 = "ADLSGen2", - /** Redis */ - Redis = "Redis", - /** ApiKey */ - ApiKey = "ApiKey", - /** AzureOpenAI */ - AzureOpenAI = "AzureOpenAI", - /** CognitiveSearch */ - CognitiveSearch = "CognitiveSearch", - /** CognitiveService */ - CognitiveService = "CognitiveService", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** 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", +export interface AutoMLJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "AutoML"; + /** + * The ARM resource ID of the Environment specification for the job. + * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. + */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; + /** [Required] This represents scenario which can be one of Tables/NLP/Image */ + taskDetails: AutoMLVerticalUnion; +} + +/** Command job definition. */ +export interface CommandJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Command"; + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Command Job limit. */ + limits?: CommandJobLimits; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** + * Input parameters. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly parameters?: Record; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; +} + +/** FineTuning Job definition. */ +export interface FineTuningJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "FineTuning"; + /** [Required] */ + fineTuningDetails: FineTuningVerticalUnion; + /** Instance types and other resources for the job */ + resources?: JobResources; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** [Required] */ + outputs: { [propertyName: string]: JobOutputUnion | null }; +} + +/** Pipeline Job definition: defines generic to MFE attributes. */ +export interface PipelineJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Pipeline"; + /** Inputs for the pipeline job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jobs construct the Pipeline Job. */ + jobs?: { [propertyName: string]: Record }; + /** Outputs for the pipeline job */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ + settings?: Record; + /** ARM resource ID of source job. */ + sourceJobId?: string; +} + +/** Spark job definition. */ +export interface SparkJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Spark"; + /** Archive files used in the job. */ + archives?: string[]; + /** Arguments for the job. */ + args?: string; + /** [Required] arm-id of the code asset. */ + codeId: string; + /** Spark configured properties. */ + conf?: { [propertyName: string]: string | null }; + /** [Required] The entry to execute on startup of the job. */ + entry: SparkJobEntryUnion; + /** The ARM resource ID of the Environment specification for the job. */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Files used in the job. */ + files?: string[]; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jar files used in the job. */ + jars?: string[]; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Python files used in the job. */ + pyFiles?: string[]; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; +} + +/** Sweep job definition. */ +export interface SweepJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Sweep"; + /** Early termination policies enable canceling poor-performing runs before they complete */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Sweep Job limit. */ + limits?: SweepJobLimits; + /** [Required] Optimization objective. */ + objective: Objective; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** [Required] The hyperparameter sampling algorithm */ + samplingAlgorithm: SamplingAlgorithmUnion; + /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ + searchSpace: Record; + /** [Required] Trial component definition. */ + trial: TrialComponent; +} + +/** Properties specific to a KubernetesOnlineDeployment. */ +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Kubernetes"; + /** The resource requirements for the container (cpu and memory). */ + containerResourceRequirements?: ContainerResourceRequirements; +} + +/** Properties specific to a ManagedOnlineDeployment. */ +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Managed"; +} + +/** MLTable data definition */ +export interface MLTableData extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "mltable"; + /** Uris referenced in the MLTable definition (required for lineage) */ + referencedUris?: string[]; +} + +/** uri-file data version entity */ +export interface UriFileDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_file"; +} + +/** uri-folder data version entity */ +export interface UriFolderDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_folder"; +} + +/** Defines headers for Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Compute_delete operation. */ +export interface ComputeDeleteHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for Compute_resize operation. */ +export interface ComputeResizeHeaders { + location?: string; +} + +/** Defines headers for RegistryCodeContainers_delete operation. */ +export interface RegistryCodeContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ +export interface RegistryCodeContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryCodeVersions_delete operation. */ +export interface RegistryCodeVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ +export interface RegistryCodeVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryComponentContainers_delete operation. */ +export interface RegistryComponentContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ +export interface RegistryComponentContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryComponentVersions_delete operation. */ +export interface RegistryComponentVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ +export interface RegistryComponentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataContainers_delete operation. */ +export interface RegistryDataContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ +export interface RegistryDataContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataVersions_delete operation. */ +export interface RegistryDataVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ +export interface RegistryDataVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryEnvironmentContainers_delete operation. */ +export interface RegistryEnvironmentContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryEnvironmentVersions_delete operation. */ +export interface RegistryEnvironmentVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for MarketplaceSubscriptions_delete operation. */ +export interface MarketplaceSubscriptionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for MarketplaceSubscriptions_createOrUpdate operation. */ +export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelContainers_delete operation. */ +export interface RegistryModelContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ +export interface RegistryModelContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelVersions_delete operation. */ +export interface RegistryModelVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ +export interface RegistryModelVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for BatchEndpoints_delete operation. */ +export interface BatchEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchEndpoints_update operation. */ +export interface BatchEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchEndpoints_createOrUpdate operation. */ +export interface BatchEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for BatchDeployments_delete operation. */ +export interface BatchDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchDeployments_update operation. */ +export interface BatchDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchDeployments_createOrUpdate operation. */ +export interface BatchDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for CodeVersions_publish operation. */ +export interface CodeVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ComponentVersions_publish operation. */ +export interface ComponentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for DataVersions_publish operation. */ +export interface DataVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EnvironmentVersions_publish operation. */ +export interface EnvironmentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetContainers_delete operation. */ +export interface FeaturesetContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetContainers_createOrUpdate operation. */ +export interface FeaturesetContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturesetVersions_delete operation. */ +export interface FeaturesetVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetVersions_createOrUpdate operation. */ +export interface FeaturesetVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturesetVersions_backfill operation. */ +export interface FeaturesetVersionsBackfillHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityContainers_delete operation. */ +export interface FeaturestoreEntityContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityContainers_createOrUpdate operation. */ +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturestoreEntityVersions_delete operation. */ +export interface FeaturestoreEntityVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityVersions_createOrUpdate operation. */ +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Jobs_delete operation. */ +export interface JobsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Jobs_cancel operation. */ +export interface JobsCancelHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ModelVersions_publish operation. */ +export interface ModelVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_delete operation. */ +export interface OnlineEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_update operation. */ +export interface OnlineEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ +export interface OnlineEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ +export interface OnlineEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_delete operation. */ +export interface OnlineDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_update operation. */ +export interface OnlineDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_createOrUpdate operation. */ +export interface OnlineDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Schedules_delete operation. */ +export interface SchedulesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Schedules_createOrUpdate operation. */ +export interface SchedulesCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for ServerlessEndpoints_delete operation. */ +export interface ServerlessEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ServerlessEndpoints_update operation. */ +export interface ServerlessEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ServerlessEndpoints_createOrUpdate operation. */ +export interface ServerlessEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for ServerlessEndpoints_regenerateKeys operation. */ +export interface ServerlessEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Registries_delete operation. */ +export interface RegistriesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Registries_removeRegions operation. */ +export interface RegistriesRemoveRegionsHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_delete operation. */ +export interface WorkspacesDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_createOrUpdate operation. */ +export interface WorkspacesCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_diagnose operation. */ +export interface WorkspacesDiagnoseHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_prepareNotebook operation. */ +export interface WorkspacesPrepareNotebookHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_resyncKeys operation. */ +export interface WorkspacesResyncKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for WorkspaceConnections_testConnection operation. */ +export interface WorkspaceConnectionsTestConnectionHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Connection_deleteDeployment operation. */ +export interface ConnectionDeleteDeploymentHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklist_delete operation. */ +export interface ConnectionRaiBlocklistDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_addBulk operation. */ +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_delete operation. */ +export interface ConnectionRaiBlocklistItemDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiPolicy_delete operation. */ +export interface ConnectionRaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_delete operation. */ +export interface EndpointDeploymentDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_createOrUpdate operation. */ +export interface EndpointDeploymentCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Endpoint_createOrUpdate operation. */ +export interface EndpointCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RaiPolicy_delete operation. */ +export interface RaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type UsageUnit = string; + +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", +} + +/** + * Defines values for BillingCurrency. \ + * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **USD** + */ +export type BillingCurrency = string; + +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", +} + +/** + * Defines values for UnitOfMeasure. \ + * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OneHour** + */ +export type UnitOfMeasure = string; + +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", +} + +/** + * Defines values for VMPriceOSType. \ + * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type VMPriceOSType = string; + +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", +} + +/** + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard** \ + * **LowPriority** \ + * **Spot** + */ +export type VMTier = string; + +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type QuotaUnit = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** + */ +export type Status = string; + +/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ +export enum KnownManagedServiceIdentityType { + /** None */ + None = "None", + /** SystemAssigned */ + SystemAssigned = "SystemAssigned", + /** UserAssigned */ + UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +} + +/** + * Defines values for ManagedServiceIdentityType. \ + * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **SystemAssigned** \ + * **UserAssigned** \ + * **SystemAssigned,UserAssigned** + */ +export type ManagedServiceIdentityType = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key", +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link ComputeType} that the service accepts. */ +export enum KnownComputeType { + /** AKS */ + AKS = "AKS", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AmlCompute */ + AmlCompute = "AmlCompute", + /** ComputeInstance */ + ComputeInstance = "ComputeInstance", + /** DataFactory */ + DataFactory = "DataFactory", + /** VirtualMachine */ + VirtualMachine = "VirtualMachine", + /** HDInsight */ + HDInsight = "HDInsight", + /** Databricks */ + Databricks = "Databricks", + /** DataLakeAnalytics */ + DataLakeAnalytics = "DataLakeAnalytics", + /** SynapseSpark */ + SynapseSpark = "SynapseSpark", +} + +/** + * Defines values for ComputeType. \ + * {@link KnownComputeType} can be used interchangeably with ComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** + */ +export type ComputeType = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Unknown */ + Unknown = "Unknown", + /** Updating */ + Updating = "Updating", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ProvisioningState = string; + +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", +} + +/** + * Defines values for UnderlyingResourceAction. \ + * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Delete** \ + * **Detach** + */ +export type UnderlyingResourceAction = string; + +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + /** Docker */ + Docker = "docker", + /** Azureml */ + Azureml = "azureml", +} + +/** + * Defines values for ImageType. \ + * {@link KnownImageType} can be used interchangeably with ImageType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **docker** \ + * **azureml** + */ +export type ImageType = string; + +/** Known values of {@link EnvironmentVariableType} that the service accepts. */ +export enum KnownEnvironmentVariableType { + /** Local */ + Local = "local", +} + +/** + * Defines values for EnvironmentVariableType. \ + * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **local** + */ +export type EnvironmentVariableType = string; + +/** Known values of {@link Protocol} that the service accepts. */ +export enum KnownProtocol { + /** Tcp */ + Tcp = "tcp", + /** Udp */ + Udp = "udp", + /** Http */ + Http = "http", +} + +/** + * Defines values for Protocol. \ + * {@link KnownProtocol} can be used interchangeably with Protocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **tcp** \ + * **udp** \ + * **http** + */ +export type Protocol = string; + +/** Known values of {@link VolumeDefinitionType} that the service accepts. */ +export enum KnownVolumeDefinitionType { + /** Bind */ + Bind = "bind", + /** Volume */ + Volume = "volume", + /** Tmpfs */ + Tmpfs = "tmpfs", + /** Npipe */ + Npipe = "npipe", +} + +/** + * Defines values for VolumeDefinitionType. \ + * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **bind** \ + * **volume** \ + * **tmpfs** \ + * **npipe** + */ +export type VolumeDefinitionType = string; + +/** Known values of {@link NodeState} that the service accepts. */ +export enum KnownNodeState { + /** Idle */ + Idle = "idle", + /** Running */ + Running = "running", + /** Preparing */ + Preparing = "preparing", + /** Unusable */ + Unusable = "unusable", + /** Leaving */ + Leaving = "leaving", + /** Preempted */ + Preempted = "preempted", +} + +/** + * Defines values for NodeState. \ + * {@link KnownNodeState} can be used interchangeably with NodeState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** + */ +export type NodeState = string; + +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** Dataset */ + Dataset = "Dataset", + /** Datastore */ + Datastore = "Datastore", + /** URI */ + URI = "URI", +} + +/** + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Dataset** \ + * **Datastore** \ + * **URI** + */ +export type SourceType = string; + +/** Known values of {@link MountAction} that the service accepts. */ +export enum KnownMountAction { + /** Mount */ + Mount = "Mount", + /** Unmount */ + Unmount = "Unmount", +} + +/** + * Defines values for MountAction. \ + * {@link KnownMountAction} can be used interchangeably with MountAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Mount** \ + * **Unmount** + */ +export type MountAction = string; + +/** Known values of {@link MountMode} that the service accepts. */ +export enum KnownMountMode { + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", +} + +/** + * Defines values for MountMode. \ + * {@link KnownMountMode} can be used interchangeably with MountMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnly** \ + * **ReadWrite** + */ +export type MountMode = string; + +/** Known values of {@link MountState} that the service accepts. */ +export enum KnownMountState { + /** MountRequested */ + MountRequested = "MountRequested", + /** Mounted */ + Mounted = "Mounted", + /** MountFailed */ + MountFailed = "MountFailed", + /** UnmountRequested */ + UnmountRequested = "UnmountRequested", + /** UnmountFailed */ + UnmountFailed = "UnmountFailed", + /** Unmounted */ + Unmounted = "Unmounted", +} + +/** + * Defines values for MountState. \ + * {@link KnownMountState} can be used interchangeably with MountState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MountRequested** \ + * **Mounted** \ + * **MountFailed** \ + * **UnmountRequested** \ + * **UnmountFailed** \ + * **Unmounted** + */ +export type MountState = string; + +/** Known values of {@link AssetProvisioningState} that the service accepts. */ +export enum KnownAssetProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", +} + +/** + * Defines values for AssetProvisioningState. \ + * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** + */ +export type AssetProvisioningState = string; + +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", +} + +/** + * Defines values for PendingUploadType. \ + * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **TemporaryBlobReference** + */ +export type PendingUploadType = string; + +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", +} + +/** + * Defines values for PendingUploadCredentialType. \ + * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** + */ +export type PendingUploadCredentialType = string; + +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", +} + +/** + * Defines values for ListViewType. \ + * {@link KnownListViewType} can be used interchangeably with ListViewType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** + */ +export type ListViewType = string; + +/** Known values of {@link DataType} that the service accepts. */ +export enum KnownDataType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", +} + +/** + * Defines values for DataType. \ + * {@link KnownDataType} can be used interchangeably with DataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** + */ +export type DataType = string; + +/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", +} + +/** + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** + */ +export type DataReferenceCredentialType = string; + +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", +} + +/** + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled** \ + * **OnBaseImageUpdate** + */ +export type AutoRebuildSetting = string; + +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", +} + +/** + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Curated** \ + * **UserCreated** + */ +export type EnvironmentType = string; + +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", +} + +/** + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type OperatingSystemType = string; + +/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ +export enum KnownMarketplaceSubscriptionStatus { + /** + * The customer can now use the Marketplace Subscription's + * model and will be billed. + */ + Subscribed = "Subscribed", + /** + * The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. + */ + Suspended = "Suspended", + /** + * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ + Unsubscribed = "Unsubscribed", +} + +/** + * Defines values for MarketplaceSubscriptionStatus. \ + * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Subscribed**: The customer can now use the Marketplace Subscription's + * model and will be billed. \ + * **Suspended**: The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. \ + * **Unsubscribed**: Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ +export type MarketplaceSubscriptionStatus = string; + +/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ +export enum KnownMarketplaceSubscriptionProvisioningState { + /** MarketplaceSubscription is being created. */ + Creating = "Creating", + /** MarketplaceSubscription is being deleted. */ + Deleting = "Deleting", + /** MarketplaceSubscription is successfully provisioned. */ + Succeeded = "Succeeded", + /** MarketplaceSubscription provisioning failed. */ + Failed = "Failed", + /** MarketplaceSubscription is being updated. */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for 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**: 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 MarketplaceSubscriptionProvisioningState = string; + +/** Known values of {@link EndpointProvisioningState} that the service accepts. */ +export enum KnownEndpointProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for EndpointProvisioningState. \ + * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** + */ +export type EndpointProvisioningState = string; + +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", +} + +/** + * Defines values for EndpointAuthMode. \ + * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AMLToken** \ + * **Key** \ + * **AADToken** + */ +export type EndpointAuthMode = string; + +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", +} + +/** + * Defines values for BatchDeploymentConfigurationType. \ + * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Model** \ + * **PipelineComponent** + */ +export type BatchDeploymentConfigurationType = string; + +/** Known values of {@link BatchLoggingLevel} that the service accepts. */ +export enum KnownBatchLoggingLevel { + /** Info */ + Info = "Info", + /** Warning */ + Warning = "Warning", + /** Debug */ + Debug = "Debug", +} + +/** + * Defines values for BatchLoggingLevel. \ + * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Info** \ + * **Warning** \ + * **Debug** + */ +export type BatchLoggingLevel = string; + +/** Known values of {@link ReferenceType} that the service accepts. */ +export enum KnownReferenceType { + /** Id */ + Id = "Id", + /** DataPath */ + DataPath = "DataPath", + /** OutputPath */ + OutputPath = "OutputPath", +} + +/** + * Defines values for ReferenceType. \ + * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Id** \ + * **DataPath** \ + * **OutputPath** + */ +export type ReferenceType = string; + +/** Known values of {@link BatchOutputAction} that the service accepts. */ +export enum KnownBatchOutputAction { + /** SummaryOnly */ + SummaryOnly = "SummaryOnly", + /** AppendRow */ + AppendRow = "AppendRow", +} + +/** + * Defines values for BatchOutputAction. \ + * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SummaryOnly** \ + * **AppendRow** + */ +export type BatchOutputAction = string; + +/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ +export enum KnownDeploymentProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Scaling */ + Scaling = "Scaling", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for DeploymentProvisioningState. \ + * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Scaling** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type DeploymentProvisioningState = string; + +/** Known values of {@link CredentialsType} that the service accepts. */ +export enum KnownCredentialsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** None */ + None = "None", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for CredentialsType. \ + * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type CredentialsType = string; + +/** Known values of {@link DatastoreType} that the service accepts. */ +export enum KnownDatastoreType { + /** AzureBlob */ + AzureBlob = "AzureBlob", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", +} + +/** + * Defines values for DatastoreType. \ + * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** + */ +export type DatastoreType = string; + +/** Known values of {@link SecretsType} that the service accepts. */ +export enum KnownSecretsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for SecretsType. \ + * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type SecretsType = string; + +/** Known values of {@link FeatureDataType} that the service accepts. */ +export enum KnownFeatureDataType { + /** String */ + String = "String", + /** Integer */ + Integer = "Integer", + /** Long */ + Long = "Long", + /** Float */ + Float = "Float", + /** Double */ + Double = "Double", + /** Binary */ + Binary = "Binary", + /** Datetime */ + Datetime = "Datetime", + /** Boolean */ + Boolean = "Boolean", +} + +/** + * Defines values for FeatureDataType. \ + * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** \ + * **Boolean** + */ +export type FeatureDataType = string; + +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", +} + +/** + * Defines values for EmailNotificationEnableType. \ + * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** + */ +export type EmailNotificationEnableType = string; + +/** Known values of {@link WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", +} + +/** + * Defines values for WebhookType. \ + * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureDevOps** + */ +export type WebhookType = string; + +/** Known values of {@link RecurrenceFrequency} that the service accepts. */ +export enum KnownRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", +} + +/** + * Defines values for RecurrenceFrequency. \ + * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency + */ +export type RecurrenceFrequency = string; + +/** Known values of {@link WeekDay} that the service accepts. */ +export enum KnownWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", +} + +/** + * Defines values for WeekDay. \ + * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday + */ +export type WeekDay = string; + +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", +} + +/** + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Recurrence** \ + * **Cron** + */ +export type TriggerType = string; + +/** Known values of {@link MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { + /** None */ + None = "None", + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline", +} + +/** + * Defines values for MaterializationStoreType. \ + * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** + */ +export type MaterializationStoreType = string; + +/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ +export enum KnownDataAvailabilityStatus { + /** None */ + None = "None", + /** Pending */ + Pending = "Pending", + /** Incomplete */ + Incomplete = "Incomplete", + /** Complete */ + Complete = "Complete", +} + +/** + * Defines values for DataAvailabilityStatus. \ + * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Pending** \ + * **Incomplete** \ + * **Complete** + */ +export type DataAvailabilityStatus = string; + +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", + /** AMLToken */ + AMLToken = "AMLToken", + /** UserIdentity */ + UserIdentity = "UserIdentity", +} + +/** + * Defines values for IdentityConfigurationType. \ + * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Managed** \ + * **AMLToken** \ + * **UserIdentity** + */ +export type IdentityConfigurationType = string; + +/** Known values of {@link JobType} that the service accepts. */ +export enum KnownJobType { + /** AutoML */ + AutoML = "AutoML", + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", /** Spark */ Spark = "Spark", - /** SqlServer */ - SqlServer = "SqlServer", - /** Sybase */ - Sybase = "Sybase", - /** Teradata */ - Teradata = "Teradata", - /** Vertica */ - Vertica = "Vertica", - /** Cassandra */ - Cassandra = "Cassandra", - /** Couchbase */ - Couchbase = "Couchbase", - /** MongoDbV2 */ - MongoDbV2 = "MongoDbV2", - /** MongoDbAtlas */ - MongoDbAtlas = "MongoDbAtlas", - /** AmazonS3Compatible */ - AmazonS3Compatible = "AmazonS3Compatible", - /** FileServer */ - FileServer = "FileServer", - /** FtpServer */ - FtpServer = "FtpServer", - /** GoogleCloudStorage */ - GoogleCloudStorage = "GoogleCloudStorage", - /** Hdfs */ - Hdfs = "Hdfs", - /** OracleCloudStorage */ - OracleCloudStorage = "OracleCloudStorage", - /** Sftp */ - Sftp = "Sftp", - /** GenericHttp */ - GenericHttp = "GenericHttp", - /** ODataRest */ - ODataRest = "ODataRest", - /** Odbc */ - Odbc = "Odbc", - /** GenericRest */ - GenericRest = "GenericRest", - /** AmazonMws */ - AmazonMws = "AmazonMws", - /** Concur */ - Concur = "Concur", - /** Dynamics */ - Dynamics = "Dynamics", - /** DynamicsAx */ - DynamicsAx = "DynamicsAx", - /** DynamicsCrm */ - DynamicsCrm = "DynamicsCrm", - /** GoogleAdWords */ - GoogleAdWords = "GoogleAdWords", - /** Hubspot */ - Hubspot = "Hubspot", - /** Jira */ - Jira = "Jira", - /** Magento */ - Magento = "Magento", - /** Marketo */ - Marketo = "Marketo", - /** Office365 */ - Office365 = "Office365", - /** Eloqua */ - Eloqua = "Eloqua", - /** Responsys */ - Responsys = "Responsys", - /** OracleServiceCloud */ - OracleServiceCloud = "OracleServiceCloud", - /** PayPal */ - PayPal = "PayPal", - /** QuickBooks */ - QuickBooks = "QuickBooks", - /** Salesforce */ - Salesforce = "Salesforce", - /** SalesforceServiceCloud */ - SalesforceServiceCloud = "SalesforceServiceCloud", - /** SalesforceMarketingCloud */ - SalesforceMarketingCloud = "SalesforceMarketingCloud", - /** SapCloudForCustomer */ - SapCloudForCustomer = "SapCloudForCustomer", - /** SapEcc */ - SapEcc = "SapEcc", - /** ServiceNow */ - ServiceNow = "ServiceNow", - /** SharePointOnlineList */ - SharePointOnlineList = "SharePointOnlineList", - /** Shopify */ - Shopify = "Shopify", - /** Square */ - Square = "Square", - /** WebTable */ - WebTable = "WebTable", - /** Xero */ - Xero = "Xero", - /** Zoho */ - Zoho = "Zoho", - /** GenericContainerRegistry */ - GenericContainerRegistry = "GenericContainerRegistry", - /** OpenAI */ - OpenAI = "OpenAI", - /** Serp */ - Serp = "Serp", - /** BingLLMSearch */ - BingLLMSearch = "BingLLMSearch", - /** Serverless */ - Serverless = "Serverless", - /** AIServices */ - AIServices = "AIServices", + /** FineTuning */ + FineTuning = "FineTuning", +} + +/** + * Defines values for JobType. \ + * {@link KnownJobType} can be used interchangeably with JobType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** \ + * **FineTuning** + */ +export type JobType = string; + +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", +} + +/** + * Defines values for NodesValueType. \ + * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **All** + */ +export type NodesValueType = string; + +/** Known values of {@link JobStatus} that the service accepts. */ +export enum KnownJobStatus { + /** Run hasn't started yet. */ + NotStarted = "NotStarted", + /** Run has started. The user has a run ID. */ + Starting = "Starting", + /** (Not used currently) It will be used if ES is creating the compute target. */ + Provisioning = "Provisioning", + /** The run environment is being prepared. */ + Preparing = "Preparing", + /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ + Queued = "Queued", + /** The job started to run in the compute target. */ + Running = "Running", + /** Job is completed in the target. It is in output collection state now. */ + Finalizing = "Finalizing", + /** Cancellation has been requested for the job. */ + CancelRequested = "CancelRequested", + /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ + Completed = "Completed", + /** Job failed. */ + Failed = "Failed", + /** Following cancellation request, the job is now successfully canceled. */ + Canceled = "Canceled", + /** + * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. + */ + NotResponding = "NotResponding", + /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ + Paused = "Paused", + /** Default job status if not mapped to all other statuses */ + Unknown = "Unknown", +} + +/** + * Defines values for JobStatus. \ + * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted**: Run hasn't started yet. \ + * **Starting**: Run has started. The user has a run ID. \ + * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ + * **Preparing**: The run environment is being prepared. \ + * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ + * **Running**: The job started to run in the compute target. \ + * **Finalizing**: Job is completed in the target. It is in output collection state now. \ + * **CancelRequested**: Cancellation has been requested for the job. \ + * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ + * **Failed**: Job failed. \ + * **Canceled**: Following cancellation request, the job is now successfully canceled. \ + * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ + * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ + * **Unknown**: Default job status if not mapped to all other statuses + */ +export type JobStatus = string; + +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", } /** - * Defines values for ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, + * 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 - * **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** + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** */ -export type ConnectionCategory = string; +export type EndpointComputeType = string; -/** Known values of {@link ConnectionGroup} that the service accepts. */ -export enum KnownConnectionGroup { - /** Azure */ - Azure = "Azure", - /** AzureAI */ - AzureAI = "AzureAI", - /** Database */ - Database = "Database", - /** NoSQL */ - NoSQL = "NoSQL", - /** File */ - File = "File", - /** GenericProtocol */ - GenericProtocol = "GenericProtocol", - /** ServicesAndApps */ - ServicesAndApps = "ServicesAndApps", +/** Known values of {@link OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", } /** - * Defines values for ConnectionGroup. \ - * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, + * 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 - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** */ -export type ConnectionGroup = string; +export type OrderString = string; -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, + * 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 - * **JSON** + * **Enabled** \ + * **Disabled** */ -export type ValueFormat = string; +export type PublicNetworkAccessType = string; -/** Known values of {@link AssetProvisioningState} that the service accepts. */ -export enum KnownAssetProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", +/** Known values of {@link DataCollectionMode} that the service accepts. */ +export enum KnownDataCollectionMode { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * 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 - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **Enabled** \ + * **Disabled** */ -export type AssetProvisioningState = string; +export type DataCollectionMode = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** 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 PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * 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** \ - * **TemporaryBlobReference** + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** */ -export type PendingUploadType = string; +export type RollingRateType = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * Defines values for EgressPublicNetworkAccessType. \ + * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** + * **Enabled** \ + * **Disabled** */ -export type PendingUploadCredentialType = string; +export type EgressPublicNetworkAccessType = string; -/** Known values of {@link ListViewType} that the service accepts. */ -export enum KnownListViewType { - /** ActiveOnly */ - ActiveOnly = "ActiveOnly", - /** ArchivedOnly */ - ArchivedOnly = "ArchivedOnly", - /** All */ - All = "All", +/** Known values of {@link ScaleType} that the service accepts. */ +export enum KnownScaleType { + /** Default */ + Default = "Default", + /** TargetUtilization */ + TargetUtilization = "TargetUtilization", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * Defines values for ScaleType. \ + * {@link KnownScaleType} can be used interchangeably with ScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **Default** \ + * **TargetUtilization** */ -export type ListViewType = string; +export type ScaleType = string; -/** Known values of {@link DataType} that the service accepts. */ -export enum KnownDataType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", +/** Known values of {@link ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * Defines values for ContainerType. \ + * {@link KnownContainerType} can be used interchangeably with ContainerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **StorageInitializer** \ + * **InferenceServer** */ -export type DataType = string; +export type ContainerType = string; -/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ -export enum KnownDataReferenceCredentialType { - /** SAS */ - SAS = "SAS", - /** DockerCredentials */ - DockerCredentials = "DockerCredentials", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** NoCredentials */ - NoCredentials = "NoCredentials", +/** Known values of {@link SkuScaleType} that the service accepts. */ +export enum KnownSkuScaleType { + /** Automatically scales node count. */ + Automatic = "Automatic", + /** Node count scaled upon user request. */ + Manual = "Manual", + /** Fixed set of nodes. */ + None = "None", } /** - * Defines values for DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * Defines values for SkuScaleType. \ + * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. */ -export type DataReferenceCredentialType = string; +export type SkuScaleType = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * Defines values for KeyType. \ + * {@link KnownKeyType} can be used interchangeably with KeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Curated** \ - * **UserCreated** + * **Primary** \ + * **Secondary** */ -export type EnvironmentType = string; +export type KeyType = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * Defines values for ScheduleListViewType. \ + * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type OperatingSystemType = string; +export type ScheduleListViewType = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for ScheduleActionType. \ + * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type AutoRebuildSetting = string; +export type ScheduleActionType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { +/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ +export enum KnownScheduleProvisioningStatus { /** Creating */ Creating = "Creating", + /** Updating */ + Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", - /** Updating */ - Updating = "Updating", /** Canceled */ Canceled = "Canceled", } /** - * Defines values for EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * Defines values for ScheduleProvisioningStatus. \ + * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ + * **Updating** \ * **Deleting** \ * **Succeeded** \ * **Failed** \ - * **Updating** \ * **Canceled** */ -export type EndpointProvisioningState = string; +export type ScheduleProvisioningStatus = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { - /** AMLToken */ - AMLToken = "AMLToken", +/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ +export enum KnownServerlessInferenceEndpointAuthMode { /** Key */ Key = "Key", - /** AADToken */ - AADToken = "AADToken", -} - -/** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AMLToken** \ - * **Key** \ - * **AADToken** - */ -export type EndpointAuthMode = string; - -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", -} - -/** - * Defines values for BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Model** \ - * **PipelineComponent** - */ -export type BatchDeploymentConfigurationType = string; - -/** Known values of {@link BatchLoggingLevel} that the service accepts. */ -export enum KnownBatchLoggingLevel { - /** Info */ - Info = "Info", - /** Warning */ - Warning = "Warning", - /** Debug */ - Debug = "Debug", -} - -/** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Info** \ - * **Warning** \ - * **Debug** - */ -export type BatchLoggingLevel = string; - -/** Known values of {@link ReferenceType} that the service accepts. */ -export enum KnownReferenceType { - /** Id */ - Id = "Id", - /** DataPath */ - DataPath = "DataPath", - /** OutputPath */ - OutputPath = "OutputPath", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * 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 - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **Key** */ -export type ReferenceType = string; +export type ServerlessInferenceEndpointAuthMode = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** Known values of {@link ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * 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 - * **SummaryOnly** \ - * **AppendRow** + * **Enabled** \ + * **Disabled** */ -export type BatchOutputAction = string; +export type ContentSafetyStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { +/** Known values of {@link ServerlessEndpointState} that the service accepts. */ +export enum KnownServerlessEndpointState { + /** Unknown */ + Unknown = "Unknown", /** Creating */ Creating = "Creating", /** Deleting */ Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", + /** Suspending */ + Suspending = "Suspending", + /** Reinstating */ + Reinstating = "Reinstating", + /** Online */ + Online = "Online", + /** Suspended */ + Suspended = "Suspended", + /** CreationFailed */ + CreationFailed = "CreationFailed", + /** DeletionFailed */ + DeletionFailed = "DeletionFailed", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * 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 + * **Unknown** \ * **Creating** \ * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type DeploymentProvisioningState = string; +export type ServerlessEndpointState = 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 EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", + /** Timeout */ + Timeout = "Timeout", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * 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 - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type DatastoreType = string; +export type EndpointServiceConnectionStatus = 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 Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **user** \ + * **system** \ + * **user,system** */ -export type CredentialsType = string; +export type Origin = 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 ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Internal** */ -export type SecretsType = string; +export type ActionType = 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 EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * 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 - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** + * **Enabled** \ + * **Disabled** */ -export type FeatureDataType = string; +export type EncryptionStatus = 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 IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * 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 - * **None** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type MaterializationStoreType = string; +export type IsolationMode = 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 RuleCategory} that the service accepts. */ +export enum KnownRuleCategory { + /** Required */ + Required = "Required", + /** Recommended */ + Recommended = "Recommended", + /** UserDefined */ + UserDefined = "UserDefined", + /** Dependency */ + Dependency = "Dependency", +} + +/** + * Defines values for RuleCategory. \ + * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** + */ +export type RuleCategory = string; + +/** Known values of {@link RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * 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 - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Inactive** \ + * **Active** */ -export type RecurrenceFrequency = string; +export type RuleStatus = 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 RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * 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 - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type WeekDay = string; +export type RuleType = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * 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 - * **Recurrence** \ - * **Cron** + * **Inactive** \ + * **Active** */ -export type TriggerType = string; +export type ManagedNetworkStatus = string; -/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ -export enum KnownEmailNotificationEnableType { - /** JobCompleted */ - JobCompleted = "JobCompleted", - /** JobFailed */ - JobFailed = "JobFailed", - /** JobCancelled */ - JobCancelled = "JobCancelled", +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** */ -export type EmailNotificationEnableType = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link 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 WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * 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 - * **AzureDevOps** + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ + * **None** \ + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** */ -export type WebhookType = string; +export type ConnectionAuthType = 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 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", + /** 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", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * 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 - * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **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** \ + * **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** */ -export type DataAvailabilityStatus = string; +export type ConnectionCategory = 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 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 JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * 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 - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** */ -export type JobType = string; +export type ConnectionGroup = string; -/** Known values of {@link JobStatus} that the service accepts. */ -export enum KnownJobStatus { - /** Run hasn't started yet. */ - NotStarted = "NotStarted", - /** Run has started. The user has a run ID. */ - Starting = "Starting", - /** (Not used currently) It will be used if ES is creating the compute target. */ - Provisioning = "Provisioning", - /** The run environment is being prepared. */ - Preparing = "Preparing", - /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ - Queued = "Queued", - /** The job started to run in the compute target. */ - Running = "Running", - /** Job is completed in the target. It is in output collection state now. */ - Finalizing = "Finalizing", - /** Cancellation has been requested for the job. */ - CancelRequested = "CancelRequested", - /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ - Completed = "Completed", - /** Job failed. */ - Failed = "Failed", - /** Following cancellation request, the job is now successfully canceled. */ - Canceled = "Canceled", - /** - * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. - * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. - */ - NotResponding = "NotResponding", - /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ - Paused = "Paused", - /** Default job status if not mapped to all other statuses */ - Unknown = "Unknown", +/** Known values of {@link ManagedPERequirement} that the service accepts. */ +export enum KnownManagedPERequirement { + /** Required */ + Required = "Required", + /** NotRequired */ + NotRequired = "NotRequired", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * Defines values for ManagedPERequirement. \ + * {@link KnownManagedPERequirement} can be used interchangeably with ManagedPERequirement, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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 + * **Required** \ + * **NotRequired** \ + * **NotApplicable** */ -export type JobStatus = string; +export type ManagedPERequirement = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link ManagedPEStatus} that the service accepts. */ +export enum KnownManagedPEStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * Defines values for ManagedPEStatus. \ + * {@link KnownManagedPEStatus} can be used interchangeably with ManagedPEStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **All** + * **Inactive** \ + * **Active** \ + * **NotApplicable** */ -export type NodesValueType = string; +export type ManagedPEStatus = 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 DefaultResourceProvisioningState} that the service accepts. */ +export enum KnownDefaultResourceProvisioningState { + /** NotStarted */ + NotStarted = "NotStarted", + /** Failed */ + Failed = "Failed", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Deleting */ + Deleting = "Deleting", + /** Accepted */ + Accepted = "Accepted", + /** Canceled */ + Canceled = "Canceled", + /** Scaling */ + Scaling = "Scaling", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * Defines values for DefaultResourceProvisioningState. \ + * {@link KnownDefaultResourceProvisioningState} can be used interchangeably with DefaultResourceProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **NotStarted** \ + * **Failed** \ + * **Creating** \ + * **Updating** \ + * **Succeeded** \ + * **Deleting** \ + * **Accepted** \ + * **Canceled** \ + * **Scaling** \ + * **Disabled** */ -export type IdentityConfigurationType = string; +export type DefaultResourceProvisioningState = string; -/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ -export enum KnownMarketplaceSubscriptionStatus { - /** - * The customer can now use the Marketplace Subscription's - * model and will be billed. - */ - Subscribed = "Subscribed", - /** - * The customer could not be billed for the Marketplace Subscription. - * The customer will not be able to access the model. - */ - Suspended = "Suspended", - /** - * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. - * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, - * after being in the Suspended state for some time. - */ - Unsubscribed = "Unsubscribed", +/** Known values of {@link ModelLifecycleStatus} that the service accepts. */ +export enum KnownModelLifecycleStatus { + /** GenerallyAvailable */ + GenerallyAvailable = "GenerallyAvailable", + /** Preview */ + Preview = "Preview", } /** - * Defines values for MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * Defines values for ModelLifecycleStatus. \ + * {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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. + * **GenerallyAvailable** \ + * **Preview** */ -export type MarketplaceSubscriptionStatus = string; +export type ModelLifecycleStatus = 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 AllowedContentLevel} that the service accepts. */ +export enum KnownAllowedContentLevel { + /** Low */ + Low = "Low", + /** Medium */ + Medium = "Medium", + /** High */ + High = "High", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * Defines values for AllowedContentLevel. \ + * {@link KnownAllowedContentLevel} can be used interchangeably with AllowedContentLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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** + * **Low** \ + * **Medium** \ + * **High** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type AllowedContentLevel = 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 RaiPolicyContentSource} that the service accepts. */ +export enum KnownRaiPolicyContentSource { + /** Prompt */ + Prompt = "Prompt", + /** Completion */ + Completion = "Completion", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * Defines values for RaiPolicyContentSource. \ + * {@link KnownRaiPolicyContentSource} can be used interchangeably with RaiPolicyContentSource, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **Prompt** \ + * **Completion** */ -export type EndpointComputeType = string; +export type RaiPolicyContentSource = 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 RaiPolicyMode} that the service accepts. */ +export enum KnownRaiPolicyMode { + /** Default */ + Default = "Default", + /** Deferred */ + Deferred = "Deferred", + /** Blocking */ + Blocking = "Blocking", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * Defines values for RaiPolicyMode. \ + * {@link KnownRaiPolicyMode} can be used interchangeably with RaiPolicyMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Default** \ + * **Deferred** \ + * **Blocking** */ -export type OrderString = string; +export type RaiPolicyMode = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link RaiPolicyType} that the service accepts. */ +export enum KnownRaiPolicyType { + /** UserManaged */ + UserManaged = "UserManaged", + /** SystemManaged */ + SystemManaged = "SystemManaged", } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * Defines values for RaiPolicyType. \ + * {@link KnownRaiPolicyType} can be used interchangeably with RaiPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **UserManaged** \ + * **SystemManaged** */ -export type PublicNetworkAccessType = string; +export type RaiPolicyType = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", +/** Known values of {@link EndpointType} that the service accepts. */ +export enum KnownEndpointType { + /** AzureOpenAI */ + AzureOpenAI = "Azure.OpenAI", + /** AzureSpeech */ + AzureSpeech = "Azure.Speech", + /** AzureContentSafety */ + AzureContentSafety = "Azure.ContentSafety", + /** AzureLlama */ + AzureLlama = "Azure.Llama", + /** ManagedOnlineEndpoint */ + ManagedOnlineEndpoint = "managedOnlineEndpoint", + /** ServerlessEndpoint */ + ServerlessEndpoint = "serverlessEndpoint", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * Defines values for EndpointType. \ + * {@link KnownEndpointType} can be used interchangeably with EndpointType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Default** \ - * **TargetUtilization** + * **Azure.OpenAI** \ + * **Azure.Speech** \ + * **Azure.ContentSafety** \ + * **Azure.Llama** \ + * **managedOnlineEndpoint** \ + * **serverlessEndpoint** */ -export type ScaleType = string; +export type EndpointType = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * Defines values for DiagnoseResultLevel. \ + * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * ### Known values supported by the service + * **Warning** \ + * **Error** \ + * **Information** */ -export type EgressPublicNetworkAccessType = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ServiceAccountKeyName} that the service accepts. */ +export enum KnownServiceAccountKeyName { + /** Key1 */ + Key1 = "Key1", + /** Key2 */ + Key2 = "Key2", } /** - * Defines values for DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * Defines values for ServiceAccountKeyName. \ + * {@link KnownServiceAccountKeyName} can be used interchangeably with ServiceAccountKeyName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Key1** \ + * **Key2** */ -export type DataCollectionMode = string; +export type ServiceAccountKeyName = 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 ClusterPurpose} that the service accepts. */ +export enum KnownClusterPurpose { + /** FastProd */ + FastProd = "FastProd", + /** DenseProd */ + DenseProd = "DenseProd", + /** DevTest */ + DevTest = "DevTest", } /** - * Defines values for RollingRateType. \ - * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * Defines values for ClusterPurpose. \ + * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Year** \ - * **Month** \ - * **Day** \ - * **Hour** \ - * **Minute** + * **FastProd** \ + * **DenseProd** \ + * **DevTest** */ -export type RollingRateType = string; +export type ClusterPurpose = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** Known values of {@link SslConfigStatus} that the service accepts. */ +export enum KnownSslConfigStatus { + /** Disabled */ + Disabled = "Disabled", + /** Enabled */ + Enabled = "Enabled", + /** Auto */ + Auto = "Auto", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * Defines values for SslConfigStatus. \ + * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **StorageInitializer** \ - * **InferenceServer** + * **Disabled** \ + * **Enabled** \ + * **Auto** */ -export type ContainerType = string; +export type SslConfigStatus = 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 LoadBalancerType} that the service accepts. */ +export enum KnownLoadBalancerType { + /** PublicIp */ + PublicIp = "PublicIp", + /** InternalLoadBalancer */ + InternalLoadBalancer = "InternalLoadBalancer", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * Defines values for LoadBalancerType. \ + * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **PublicIp** \ + * **InternalLoadBalancer** */ -export type SkuScaleType = string; +export type LoadBalancerType = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link OsType} that the service accepts. */ +export enum KnownOsType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * Defines values for OsType. \ + * {@link KnownOsType} can be used interchangeably with OsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Primary** \ - * **Secondary** + * **Linux** \ + * **Windows** */ -export type KeyType = string; +export type OsType = 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 VmPriority} that the service accepts. */ +export enum KnownVmPriority { + /** Dedicated */ + Dedicated = "Dedicated", + /** LowPriority */ + LowPriority = "LowPriority", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * Defines values for VmPriority. \ + * {@link KnownVmPriority} can be used interchangeably with VmPriority, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **Dedicated** \ + * **LowPriority** */ -export type ScheduleListViewType = string; +export type VmPriority = 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 RemoteLoginPortPublicAccess} that the service accepts. */ +export enum KnownRemoteLoginPortPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", + /** NotSpecified */ + NotSpecified = "NotSpecified", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * Defines values for RemoteLoginPortPublicAccess. \ + * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **Enabled** \ + * **Disabled** \ + * **NotSpecified** */ -export type ScheduleActionType = string; +export type RemoteLoginPortPublicAccess = 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 AllocationState} that the service accepts. */ +export enum KnownAllocationState { + /** Steady */ + Steady = "Steady", + /** Resizing */ + Resizing = "Resizing", } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * Defines values for AllocationState. \ + * {@link KnownAllocationState} can be used interchangeably with AllocationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Steady** \ + * **Resizing** */ -export type ScheduleProvisioningStatus = string; +export type AllocationState = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ +export enum KnownApplicationSharingPolicy { + /** Personal */ + Personal = "Personal", + /** Shared */ + Shared = "Shared", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * Defines values for ApplicationSharingPolicy. \ + * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Key** + * **Personal** \ + * **Shared** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type ApplicationSharingPolicy = 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 MlflowAutologger} that the service accepts. */ +export enum KnownMlflowAutologger { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } -/** - * Defines values for ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, +/** + * Defines values for MlflowAutologger. \ + * {@link KnownMlflowAutologger} can be used interchangeably with MlflowAutologger, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **Enabled** \ + * **Disabled** */ -export type ServerlessEndpointState = string; +export type MlflowAutologger = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { +/** Known values of {@link SshPublicAccess} that the service accepts. */ +export enum KnownSshPublicAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8982,1369 +10255,1589 @@ export enum KnownContentSafetyStatus { } /** - * Defines values for ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * Defines values for SshPublicAccess. \ + * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ -export type ContentSafetyStatus = string; +export type SshPublicAccess = string; -/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownEndpointServiceConnectionStatus { - /** Approved */ - Approved = "Approved", - /** Pending */ - Pending = "Pending", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", +/** Known values of {@link PatchStatus} that the service accepts. */ +export enum KnownPatchStatus { + /** CompletedWithWarnings */ + CompletedWithWarnings = "CompletedWithWarnings", + /** Failed */ + Failed = "Failed", + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Unknown */ + Unknown = "Unknown", } /** - * Defines values for EndpointServiceConnectionStatus. \ - * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, + * Defines values for PatchStatus. \ + * {@link KnownPatchStatus} can be used interchangeably with PatchStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** + * **CompletedWithWarnings** \ + * **Failed** \ + * **InProgress** \ + * **Succeeded** \ + * **Unknown** */ -export type EndpointServiceConnectionStatus = string; +export type PatchStatus = string; -/** Known values of {@link ClusterPurpose} that the service accepts. */ -export enum KnownClusterPurpose { - /** FastProd */ - FastProd = "FastProd", - /** DenseProd */ - DenseProd = "DenseProd", - /** DevTest */ - DevTest = "DevTest", +/** Known values of {@link ComputeInstanceState} that the service accepts. */ +export enum KnownComputeInstanceState { + /** Creating */ + Creating = "Creating", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** Deleting */ + Deleting = "Deleting", + /** Running */ + Running = "Running", + /** Restarting */ + Restarting = "Restarting", + /** Resizing */ + Resizing = "Resizing", + /** JobRunning */ + JobRunning = "JobRunning", + /** SettingUp */ + SettingUp = "SettingUp", + /** SetupFailed */ + SetupFailed = "SetupFailed", + /** Starting */ + Starting = "Starting", + /** Stopped */ + Stopped = "Stopped", + /** Stopping */ + Stopping = "Stopping", + /** UserSettingUp */ + UserSettingUp = "UserSettingUp", + /** UserSetupFailed */ + UserSetupFailed = "UserSetupFailed", + /** Unknown */ + Unknown = "Unknown", + /** Unusable */ + Unusable = "Unusable", } /** - * Defines values for ClusterPurpose. \ - * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, + * Defines values for ComputeInstanceState. \ + * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **FastProd** \ - * **DenseProd** \ - * **DevTest** + * **Creating** \ + * **CreateFailed** \ + * **Deleting** \ + * **Running** \ + * **Restarting** \ + * **Resizing** \ + * **JobRunning** \ + * **SettingUp** \ + * **SetupFailed** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** \ + * **UserSettingUp** \ + * **UserSetupFailed** \ + * **Unknown** \ + * **Unusable** */ -export type ClusterPurpose = string; +export type ComputeInstanceState = string; -/** Known values of {@link SslConfigStatus} that the service accepts. */ -export enum KnownSslConfigStatus { - /** Disabled */ - Disabled = "Disabled", - /** Enabled */ - Enabled = "Enabled", - /** Auto */ - Auto = "Auto", +/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ +export enum KnownComputeInstanceAuthorizationType { + /** Personal */ + Personal = "personal", } /** - * Defines values for SslConfigStatus. \ - * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, + * Defines values for ComputeInstanceAuthorizationType. \ + * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **Enabled** \ - * **Auto** + * **personal** */ -export type SslConfigStatus = string; +export type ComputeInstanceAuthorizationType = string; -/** Known values of {@link LoadBalancerType} that the service accepts. */ -export enum KnownLoadBalancerType { - /** PublicIp */ - PublicIp = "PublicIp", - /** InternalLoadBalancer */ - InternalLoadBalancer = "InternalLoadBalancer", +/** Known values of {@link OperationName} that the service accepts. */ +export enum KnownOperationName { + /** Create */ + Create = "Create", + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", + /** Restart */ + Restart = "Restart", + /** Resize */ + Resize = "Resize", + /** Reimage */ + Reimage = "Reimage", + /** Delete */ + Delete = "Delete", } /** - * Defines values for LoadBalancerType. \ - * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, + * Defines values for OperationName. \ + * {@link KnownOperationName} can be used interchangeably with OperationName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PublicIp** \ - * **InternalLoadBalancer** + * **Create** \ + * **Start** \ + * **Stop** \ + * **Restart** \ + * **Resize** \ + * **Reimage** \ + * **Delete** */ -export type LoadBalancerType = string; +export type OperationName = string; -/** Known values of {@link OsType} that the service accepts. */ -export enum KnownOsType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link OperationStatus} that the service accepts. */ +export enum KnownOperationStatus { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** StartFailed */ + StartFailed = "StartFailed", + /** StopFailed */ + StopFailed = "StopFailed", + /** RestartFailed */ + RestartFailed = "RestartFailed", + /** ResizeFailed */ + ResizeFailed = "ResizeFailed", + /** ReimageFailed */ + ReimageFailed = "ReimageFailed", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", } /** - * Defines values for OsType. \ - * {@link KnownOsType} can be used interchangeably with OsType, + * Defines values for OperationStatus. \ + * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **InProgress** \ + * **Succeeded** \ + * **CreateFailed** \ + * **StartFailed** \ + * **StopFailed** \ + * **RestartFailed** \ + * **ResizeFailed** \ + * **ReimageFailed** \ + * **DeleteFailed** */ -export type OsType = string; +export type OperationStatus = string; -/** Known values of {@link VmPriority} that the service accepts. */ -export enum KnownVmPriority { - /** Dedicated */ - Dedicated = "Dedicated", - /** LowPriority */ - LowPriority = "LowPriority", +/** Known values of {@link OperationTrigger} that the service accepts. */ +export enum KnownOperationTrigger { + /** User */ + User = "User", + /** Schedule */ + Schedule = "Schedule", + /** IdleShutdown */ + IdleShutdown = "IdleShutdown", } /** - * Defines values for VmPriority. \ - * {@link KnownVmPriority} can be used interchangeably with VmPriority, + * Defines values for OperationTrigger. \ + * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dedicated** \ - * **LowPriority** + * **User** \ + * **Schedule** \ + * **IdleShutdown** + */ +export type OperationTrigger = string; + +/** Known values of {@link ProvisioningStatus} that the service accepts. */ +export enum KnownProvisioningStatus { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", +} + +/** + * Defines values for ProvisioningStatus. \ + * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type VmPriority = string; +export type ProvisioningStatus = string; -/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ -export enum KnownRemoteLoginPortPublicAccess { +/** Known values of {@link ScheduleStatus} that the service accepts. */ +export enum KnownScheduleStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", - /** NotSpecified */ - NotSpecified = "NotSpecified", } /** - * Defines values for RemoteLoginPortPublicAccess. \ - * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, + * Defines values for ScheduleStatus. \ + * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ - * **Disabled** \ - * **NotSpecified** + * **Disabled** */ -export type RemoteLoginPortPublicAccess = string; +export type ScheduleStatus = string; -/** Known values of {@link AllocationState} that the service accepts. */ -export enum KnownAllocationState { - /** Steady */ - Steady = "Steady", - /** Resizing */ - Resizing = "Resizing", +/** Known values of {@link ComputePowerAction} that the service accepts. */ +export enum KnownComputePowerAction { + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", } /** - * Defines values for AllocationState. \ - * {@link KnownAllocationState} can be used interchangeably with AllocationState, + * Defines values for ComputePowerAction. \ + * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Steady** \ - * **Resizing** + * **Start** \ + * **Stop** */ -export type AllocationState = string; +export type ComputePowerAction = string; -/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ -export enum KnownApplicationSharingPolicy { - /** Personal */ - Personal = "Personal", - /** Shared */ - Shared = "Shared", +/** Known values of {@link ComputeTriggerType} that the service accepts. */ +export enum KnownComputeTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } /** - * Defines values for ApplicationSharingPolicy. \ - * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, + * Defines values for ComputeTriggerType. \ + * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Personal** \ - * **Shared** + * **Recurrence** \ + * **Cron** */ -export type ApplicationSharingPolicy = string; +export type ComputeTriggerType = string; -/** Known values of {@link SshPublicAccess} that the service accepts. */ -export enum KnownSshPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ +export enum KnownComputeRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", } /** - * Defines values for SshPublicAccess. \ - * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, + * Defines values for ComputeRecurrenceFrequency. \ + * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type SshPublicAccess = string; +export type ComputeRecurrenceFrequency = string; -/** Known values of {@link ImageType} that the service accepts. */ -export enum KnownImageType { - /** Docker */ - Docker = "docker", - /** Azureml */ - Azureml = "azureml", +/** Known values of {@link ComputeWeekDay} that the service accepts. */ +export enum KnownComputeWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", } /** - * Defines values for ImageType. \ - * {@link KnownImageType} can be used interchangeably with ImageType, + * Defines values for ComputeWeekDay. \ + * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **docker** \ - * **azureml** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type ImageType = string; +export type ComputeWeekDay = string; -/** Known values of {@link EnvironmentVariableType} that the service accepts. */ -export enum KnownEnvironmentVariableType { - /** Local */ - Local = "local", +/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ +export enum KnownScheduleProvisioningState { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for EnvironmentVariableType. \ - * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * Defines values for ScheduleProvisioningState. \ + * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **local** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type EnvironmentVariableType = string; +export type ScheduleProvisioningState = string; -/** Known values of {@link Protocol} that the service accepts. */ -export enum KnownProtocol { - /** Tcp */ - Tcp = "tcp", - /** Udp */ - Udp = "udp", - /** Http */ - Http = "http", +/** Known values of {@link Autosave} that the service accepts. */ +export enum KnownAutosave { + /** None */ + None = "None", + /** Local */ + Local = "Local", + /** Remote */ + Remote = "Remote", } /** - * Defines values for Protocol. \ - * {@link KnownProtocol} can be used interchangeably with Protocol, + * Defines values for Autosave. \ + * {@link KnownAutosave} can be used interchangeably with Autosave, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **tcp** \ - * **udp** \ - * **http** + * **None** \ + * **Local** \ + * **Remote** */ -export type Protocol = string; +export type Autosave = string; -/** Known values of {@link VolumeDefinitionType} that the service accepts. */ -export enum KnownVolumeDefinitionType { - /** Bind */ - Bind = "bind", - /** Volume */ - Volume = "volume", - /** Tmpfs */ - Tmpfs = "tmpfs", - /** Npipe */ - Npipe = "npipe", +/** Known values of {@link Network} that the service accepts. */ +export enum KnownNetwork { + /** Bridge */ + Bridge = "Bridge", + /** Host */ + Host = "Host", } /** - * Defines values for VolumeDefinitionType. \ - * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * Defines values for Network. \ + * {@link KnownNetwork} can be used interchangeably with Network, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **bind** \ - * **volume** \ - * **tmpfs** \ - * **npipe** + * **Bridge** \ + * **Host** */ -export type VolumeDefinitionType = string; +export type Network = string; -/** Known values of {@link ComputeInstanceState} that the service accepts. */ -export enum KnownComputeInstanceState { - /** Creating */ - Creating = "Creating", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** Deleting */ - Deleting = "Deleting", - /** Running */ - Running = "Running", - /** Restarting */ - Restarting = "Restarting", - /** JobRunning */ - JobRunning = "JobRunning", - /** SettingUp */ - SettingUp = "SettingUp", - /** SetupFailed */ - SetupFailed = "SetupFailed", - /** Starting */ - Starting = "Starting", - /** Stopped */ - Stopped = "Stopped", - /** Stopping */ - Stopping = "Stopping", - /** UserSettingUp */ - UserSettingUp = "UserSettingUp", - /** UserSetupFailed */ - UserSetupFailed = "UserSetupFailed", - /** Unknown */ - Unknown = "Unknown", - /** Unusable */ - Unusable = "Unusable", +/** Known values of {@link Caching} that the service accepts. */ +export enum KnownCaching { + /** None */ + None = "None", + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", +} + +/** + * Defines values for Caching. \ + * {@link KnownCaching} can be used interchangeably with Caching, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **ReadOnly** \ + * **ReadWrite** + */ +export type Caching = string; + +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + /** StandardLRS */ + StandardLRS = "Standard_LRS", + /** PremiumLRS */ + PremiumLRS = "Premium_LRS", } /** - * Defines values for ComputeInstanceState. \ - * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, + * Defines values for StorageAccountType. \ + * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **CreateFailed** \ - * **Deleting** \ - * **Running** \ - * **Restarting** \ - * **JobRunning** \ - * **SettingUp** \ - * **SetupFailed** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** \ - * **UserSettingUp** \ - * **UserSetupFailed** \ - * **Unknown** \ - * **Unusable** + * **Standard_LRS** \ + * **Premium_LRS** */ -export type ComputeInstanceState = string; +export type StorageAccountType = string; -/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ -export enum KnownComputeInstanceAuthorizationType { - /** Personal */ - Personal = "personal", +/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ +export enum KnownMonitoringFeatureFilterType { + /** Includes all features. */ + AllFeatures = "AllFeatures", + /** Only includes the top contributing features, measured by feature attribution. */ + TopNByAttribution = "TopNByAttribution", + /** Includes a user-defined subset of features. */ + FeatureSubset = "FeatureSubset", } /** - * Defines values for ComputeInstanceAuthorizationType. \ - * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, + * Defines values for MonitoringFeatureFilterType. \ + * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **personal** + * **AllFeatures**: Includes all features. \ + * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ + * **FeatureSubset**: Includes a user-defined subset of features. */ -export type ComputeInstanceAuthorizationType = string; +export type MonitoringFeatureFilterType = string; -/** Known values of {@link OperationName} that the service accepts. */ -export enum KnownOperationName { - /** Create */ - Create = "Create", - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", - /** Restart */ - Restart = "Restart", - /** Reimage */ - Reimage = "Reimage", - /** Delete */ - Delete = "Delete", +/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ +export enum KnownMonitorComputeIdentityType { + /** Authenticates through user's AML token. */ + AmlToken = "AmlToken", + /** Authenticates through a user-provided managed identity. */ + ManagedIdentity = "ManagedIdentity", } /** - * Defines values for OperationName. \ - * {@link KnownOperationName} can be used interchangeably with OperationName, + * Defines values for MonitorComputeIdentityType. \ + * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Create** \ - * **Start** \ - * **Stop** \ - * **Restart** \ - * **Reimage** \ - * **Delete** + * **AmlToken**: Authenticates through user's AML token. \ + * **ManagedIdentity**: Authenticates through a user-provided managed identity. */ -export type OperationName = string; +export type MonitorComputeIdentityType = string; -/** Known values of {@link OperationStatus} that the service accepts. */ -export enum KnownOperationStatus { - /** InProgress */ - InProgress = "InProgress", - /** Succeeded */ - Succeeded = "Succeeded", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** StartFailed */ - StartFailed = "StartFailed", - /** StopFailed */ - StopFailed = "StopFailed", - /** RestartFailed */ - RestartFailed = "RestartFailed", - /** ReimageFailed */ - ReimageFailed = "ReimageFailed", - /** DeleteFailed */ - DeleteFailed = "DeleteFailed", +/** Known values of {@link InputDeliveryMode} that the service accepts. */ +export enum KnownInputDeliveryMode { + /** ReadOnlyMount */ + ReadOnlyMount = "ReadOnlyMount", + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Download */ + Download = "Download", + /** Direct */ + Direct = "Direct", + /** EvalMount */ + EvalMount = "EvalMount", + /** EvalDownload */ + EvalDownload = "EvalDownload", } /** - * Defines values for OperationStatus. \ - * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, + * Defines values for InputDeliveryMode. \ + * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **InProgress** \ - * **Succeeded** \ - * **CreateFailed** \ - * **StartFailed** \ - * **StopFailed** \ - * **RestartFailed** \ - * **ReimageFailed** \ - * **DeleteFailed** + * **ReadOnlyMount** \ + * **ReadWriteMount** \ + * **Download** \ + * **Direct** \ + * **EvalMount** \ + * **EvalDownload** */ -export type OperationStatus = string; +export type InputDeliveryMode = string; -/** Known values of {@link OperationTrigger} that the service accepts. */ -export enum KnownOperationTrigger { - /** User */ - User = "User", - /** Schedule */ - Schedule = "Schedule", - /** IdleShutdown */ - IdleShutdown = "IdleShutdown", +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Upload */ + Upload = "Upload", + /** Direct */ + Direct = "Direct", } /** - * Defines values for OperationTrigger. \ - * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * Defines values for OutputDeliveryMode. \ + * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **User** \ - * **Schedule** \ - * **IdleShutdown** + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** */ -export type OperationTrigger = string; +export type OutputDeliveryMode = string; -/** Known values of {@link ProvisioningStatus} that the service accepts. */ -export enum KnownProvisioningStatus { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link 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 ProvisioningStatus. \ - * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * 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 - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. */ -export type ProvisioningStatus = string; +export type ForecastHorizonMode = string; -/** Known values of {@link ScheduleStatus} that the service accepts. */ -export enum KnownScheduleStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** 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 ScheduleStatus. \ - * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, + * 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 - * **Enabled** \ - * **Disabled** + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type ScheduleStatus = string; +export type JobOutputType = string; -/** Known values of {@link ComputePowerAction} that the service accepts. */ -export enum KnownComputePowerAction { - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", +/** Known values of {@link JobTier} that the service accepts. */ +export enum KnownJobTier { + /** Null */ + Null = "Null", + /** Spot */ + Spot = "Spot", + /** Basic */ + Basic = "Basic", + /** Standard */ + Standard = "Standard", + /** Premium */ + Premium = "Premium", } /** - * Defines values for ComputePowerAction. \ - * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, + * Defines values for JobTier. \ + * {@link KnownJobTier} can be used interchangeably with JobTier, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Start** \ - * **Stop** + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** */ -export type ComputePowerAction = string; +export type JobTier = string; -/** Known values of {@link ComputeTriggerType} that the service accepts. */ -export enum KnownComputeTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link LogVerbosity} that the service accepts. */ +export enum KnownLogVerbosity { + /** No logs emitted. */ + NotSet = "NotSet", + /** Debug and above log statements logged. */ + Debug = "Debug", + /** Info and above log statements logged. */ + Info = "Info", + /** Warning and above log statements logged. */ + Warning = "Warning", + /** Error and above log statements logged. */ + Error = "Error", + /** Only critical statements logged. */ + Critical = "Critical", } /** - * Defines values for ComputeTriggerType. \ - * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, + * Defines values for LogVerbosity. \ + * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **NotSet**: No logs emitted. \ + * **Debug**: Debug and above log statements logged. \ + * **Info**: Info and above log statements logged. \ + * **Warning**: Warning and above log statements logged. \ + * **Error**: Error and above log statements logged. \ + * **Critical**: Only critical statements logged. */ -export type ComputeTriggerType = string; +export type LogVerbosity = string; -/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ -export enum KnownComputeRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", +/** Known values of {@link TaskType} that the service accepts. */ +export enum KnownTaskType { + /** + * Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. + */ + Classification = "Classification", + /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ + Regression = "Regression", + /** + * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. + */ + Forecasting = "Forecasting", + /** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ + ImageClassification = "ImageClassification", + /** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ + ImageClassificationMultilabel = "ImageClassificationMultilabel", + /** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ + ImageObjectDetection = "ImageObjectDetection", + /** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** + * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. + */ + TextClassification = "TextClassification", + /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ + TextClassificationMultilabel = "TextClassificationMultilabel", + /** + * Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ + TextNER = "TextNER", } /** - * Defines values for ComputeRecurrenceFrequency. \ - * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, + * Defines values for TaskType. \ + * {@link KnownTaskType} can be used interchangeably with TaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. \ + * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ + * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. \ + * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ + * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ + * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ + * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. \ + * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. \ + * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ + * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. */ -export type ComputeRecurrenceFrequency = string; +export type TaskType = string; -/** Known values of {@link ComputeWeekDay} that the service accepts. */ -export enum KnownComputeWeekDay { - /** Monday weekday */ - Monday = "Monday", - /** Tuesday weekday */ - Tuesday = "Tuesday", - /** Wednesday weekday */ - Wednesday = "Wednesday", - /** Thursday weekday */ - Thursday = "Thursday", - /** Friday weekday */ - Friday = "Friday", - /** Saturday weekday */ - Saturday = "Saturday", - /** Sunday weekday */ - Sunday = "Sunday", +/** Known values of {@link JobInputType} that the service accepts. */ +export enum KnownJobInputType { + /** Literal */ + Literal = "literal", + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", } /** - * Defines values for ComputeWeekDay. \ - * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, + * Defines values for JobInputType. \ + * {@link KnownJobInputType} can be used interchangeably with JobInputType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type ComputeWeekDay = string; +export type JobInputType = string; -/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ -export enum KnownScheduleProvisioningState { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link NCrossValidationsMode} that the service accepts. */ +export enum KnownNCrossValidationsMode { + /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ + Auto = "Auto", + /** Use custom N-Cross validations value. */ + Custom = "Custom", } /** - * Defines values for ScheduleProvisioningState. \ - * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * Defines values for NCrossValidationsMode. \ + * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. */ -export type ScheduleProvisioningState = string; +export type NCrossValidationsMode = string; -/** Known values of {@link Autosave} that the service accepts. */ -export enum KnownAutosave { - /** None */ - None = "None", - /** Local */ - Local = "Local", - /** Remote */ - Remote = "Remote", +/** Known values of {@link SeasonalityMode} that the service accepts. */ +export enum KnownSeasonalityMode { + /** Seasonality to be determined automatically. */ + Auto = "Auto", + /** Use the custom seasonality value. */ + Custom = "Custom", } /** - * Defines values for Autosave. \ - * {@link KnownAutosave} can be used interchangeably with Autosave, + * Defines values for SeasonalityMode. \ + * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Local** \ - * **Remote** + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. */ -export type Autosave = string; +export type SeasonalityMode = string; -/** Known values of {@link Network} that the service accepts. */ -export enum KnownNetwork { - /** Bridge */ - Bridge = "Bridge", - /** Host */ - Host = "Host", +/** Known values of {@link TargetLagsMode} that the service accepts. */ +export enum KnownTargetLagsMode { + /** Target lags to be determined automatically. */ + Auto = "Auto", + /** Use the custom target lags. */ + Custom = "Custom", } /** - * Defines values for Network. \ - * {@link KnownNetwork} can be used interchangeably with Network, + * Defines values for TargetLagsMode. \ + * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bridge** \ - * **Host** + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. */ -export type Network = string; +export type TargetLagsMode = string; -/** Known values of {@link Caching} that the service accepts. */ -export enum KnownCaching { - /** None */ - None = "None", - /** ReadOnly */ - ReadOnly = "ReadOnly", - /** ReadWrite */ - ReadWrite = "ReadWrite", +/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ +export enum KnownTargetRollingWindowSizeMode { + /** Determine rolling windows size automatically. */ + Auto = "Auto", + /** Use the specified rolling window size. */ + Custom = "Custom", } /** - * Defines values for Caching. \ - * {@link KnownCaching} can be used interchangeably with Caching, + * Defines values for TargetRollingWindowSizeMode. \ + * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **ReadOnly** \ - * **ReadWrite** + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. */ -export type Caching = string; +export type TargetRollingWindowSizeMode = string; -/** Known values of {@link StorageAccountType} that the service accepts. */ -export enum KnownStorageAccountType { - /** StandardLRS */ - StandardLRS = "Standard_LRS", - /** PremiumLRS */ - PremiumLRS = "Premium_LRS", +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ + None = "None", + /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * Defines values for ServiceDataAccessAuthIdentity. \ + * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS** \ - * **Premium_LRS** + * **None**: Do not use any identity for service data access. \ + * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ + * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. */ -export type StorageAccountType = string; +export type ServiceDataAccessAuthIdentity = string; -/** Known values of {@link SourceType} that the service accepts. */ -export enum KnownSourceType { - /** Dataset */ - Dataset = "Dataset", - /** Datastore */ - Datastore = "Datastore", - /** URI */ - URI = "URI", +/** Known values of {@link ModelProvider} that the service accepts. */ +export enum KnownModelProvider { + /** Fine tuning using Azure Open AI model. */ + AzureOpenAI = "AzureOpenAI", + /** Fine tuning using custom model. */ + Custom = "Custom", } /** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, + * Defines values for ModelProvider. \ + * {@link KnownModelProvider} can be used interchangeably with ModelProvider, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dataset** \ - * **Datastore** \ - * **URI** + * **AzureOpenAI**: Fine tuning using Azure Open AI model. \ + * **Custom**: Fine tuning using custom model. */ -export type SourceType = string; +export type ModelProvider = string; -/** Known values of {@link MountAction} that the service accepts. */ -export enum KnownMountAction { - /** Mount */ - Mount = "Mount", - /** Unmount */ - Unmount = "Unmount", +/** Known values of {@link FineTuningTaskType} that the service accepts. */ +export enum KnownFineTuningTaskType { + /** ChatCompletion */ + ChatCompletion = "ChatCompletion", + /** TextCompletion */ + TextCompletion = "TextCompletion", + /** TextClassification */ + TextClassification = "TextClassification", + /** QuestionAnswering */ + QuestionAnswering = "QuestionAnswering", + /** TextSummarization */ + TextSummarization = "TextSummarization", + /** TokenClassification */ + TokenClassification = "TokenClassification", + /** TextTranslation */ + TextTranslation = "TextTranslation", + /** ImageClassification */ + ImageClassification = "ImageClassification", + /** ImageInstanceSegmentation */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** ImageObjectDetection */ + ImageObjectDetection = "ImageObjectDetection", + /** VideoMultiObjectTracking */ + VideoMultiObjectTracking = "VideoMultiObjectTracking", } /** - * Defines values for MountAction. \ - * {@link KnownMountAction} can be used interchangeably with MountAction, + * Defines values for FineTuningTaskType. \ + * {@link KnownFineTuningTaskType} can be used interchangeably with FineTuningTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Mount** \ - * **Unmount** + * **ChatCompletion** \ + * **TextCompletion** \ + * **TextClassification** \ + * **QuestionAnswering** \ + * **TextSummarization** \ + * **TokenClassification** \ + * **TextTranslation** \ + * **ImageClassification** \ + * **ImageInstanceSegmentation** \ + * **ImageObjectDetection** \ + * **VideoMultiObjectTracking** */ -export type MountAction = string; +export type FineTuningTaskType = string; -/** Known values of {@link MountState} that the service accepts. */ -export enum KnownMountState { - /** MountRequested */ - MountRequested = "MountRequested", - /** Mounted */ - Mounted = "Mounted", - /** MountFailed */ - MountFailed = "MountFailed", - /** UnmountRequested */ - UnmountRequested = "UnmountRequested", - /** UnmountFailed */ - UnmountFailed = "UnmountFailed", - /** Unmounted */ - Unmounted = "Unmounted", +/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + /** Bandit */ + Bandit = "Bandit", + /** MedianStopping */ + MedianStopping = "MedianStopping", + /** TruncationSelection */ + TruncationSelection = "TruncationSelection", } /** - * Defines values for MountState. \ - * {@link KnownMountState} can be used interchangeably with MountState, + * Defines values for EarlyTerminationPolicyType. \ + * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **MountRequested** \ - * **Mounted** \ - * **MountFailed** \ - * **UnmountRequested** \ - * **UnmountFailed** \ - * **Unmounted** + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** */ -export type MountState = string; +export type EarlyTerminationPolicyType = string; -/** Known values of {@link RuleAction} that the service accepts. */ -export enum KnownRuleAction { - /** Allow */ - Allow = "Allow", - /** Deny */ - Deny = "Deny", +/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + /** Grid */ + Grid = "Grid", + /** Random */ + Random = "Random", + /** Bayesian */ + Bayesian = "Bayesian", } /** - * Defines values for RuleAction. \ - * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * Defines values for SamplingAlgorithmType. \ + * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Allow** \ - * **Deny** + * **Grid** \ + * **Random** \ + * **Bayesian** */ -export type RuleAction = string; +export type SamplingAlgorithmType = string; -/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ -export enum KnownMonitoringFeatureFilterType { - /** Includes all features. */ - AllFeatures = "AllFeatures", - /** Only includes the top contributing features, measured by feature attribution. */ - TopNByAttribution = "TopNByAttribution", - /** Includes a user-defined subset of features. */ - FeatureSubset = "FeatureSubset", +/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ +export enum KnownCategoricalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for MonitoringFeatureFilterType. \ - * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, + * Defines values for CategoricalDataDriftMetric. \ + * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AllFeatures**: Includes all features. \ - * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ - * **FeatureSubset**: Includes a user-defined subset of features. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type MonitoringFeatureFilterType = string; +export type CategoricalDataDriftMetric = string; -/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ -export enum KnownMonitorComputeIdentityType { - /** Authenticates through user's AML token. */ - AmlToken = "AmlToken", - /** Authenticates through a user-provided managed identity. */ - ManagedIdentity = "ManagedIdentity", +/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ +export enum KnownMonitoringFeatureDataType { + /** Used for features of numerical data type. */ + Numerical = "Numerical", + /** Used for features of categorical data type. */ + Categorical = "Categorical", } /** - * Defines values for MonitorComputeIdentityType. \ - * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, + * Defines values for MonitoringFeatureDataType. \ + * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlToken**: Authenticates through user's AML token. \ - * **ManagedIdentity**: Authenticates through a user-provided managed identity. + * **Numerical**: Used for features of numerical data type. \ + * **Categorical**: Used for features of categorical data type. */ -export type MonitorComputeIdentityType = string; +export type MonitoringFeatureDataType = string; -/** Known values of {@link InputDeliveryMode} that the service accepts. */ -export enum KnownInputDeliveryMode { - /** ReadOnlyMount */ - ReadOnlyMount = "ReadOnlyMount", - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Download */ - Download = "Download", - /** Direct */ - Direct = "Direct", - /** EvalMount */ - EvalMount = "EvalMount", - /** EvalDownload */ - EvalDownload = "EvalDownload", +/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ +export enum KnownCategoricalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for InputDeliveryMode. \ - * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * Defines values for CategoricalDataQualityMetric. \ + * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadOnlyMount** \ - * **ReadWriteMount** \ - * **Download** \ - * **Direct** \ - * **EvalMount** \ - * **EvalDownload** + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type InputDeliveryMode = string; +export type CategoricalDataQualityMetric = string; -/** Known values of {@link OutputDeliveryMode} that the service accepts. */ -export enum KnownOutputDeliveryMode { - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Upload */ - Upload = "Upload", - /** Direct */ - Direct = "Direct", +/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ +export enum KnownCategoricalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * Defines values for CategoricalPredictionDriftMetric. \ + * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadWriteMount** \ - * **Upload** \ - * **Direct** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type OutputDeliveryMode = string; - -/** 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", +export type CategoricalPredictionDriftMetric = string; + +/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", } /** - * Defines values for ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * Defines values for ClassificationPrimaryMetrics. \ + * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ -export type ForecastHorizonMode = string; +export type ClassificationPrimaryMetrics = string; -/** Known values of {@link TaskType} that the service accepts. */ -export enum KnownTaskType { +/** Known values of {@link ClassificationModels} that the service accepts. */ +export enum KnownClassificationModels { /** - * Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. + * Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. */ - Classification = "Classification", - /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ - Regression = "Regression", + LogisticRegression = "LogisticRegression", /** - * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. */ - Forecasting = "Forecasting", + SGD = "SGD", /** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. */ - ImageClassification = "ImageClassification", + MultinomialNaiveBayes = "MultinomialNaiveBayes", + /** Naive Bayes classifier for multivariate Bernoulli models. */ + BernoulliNaiveBayes = "BernoulliNaiveBayes", /** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. */ - ImageClassificationMultilabel = "ImageClassificationMultilabel", + SVM = "SVM", /** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. */ - ImageObjectDetection = "ImageObjectDetection", + LinearSVM = "LinearSVM", /** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. */ - ImageInstanceSegmentation = "ImageInstanceSegmentation", + KNN = "KNN", /** - * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. */ - TextClassification = "TextClassification", - /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ - TextClassificationMultilabel = "TextClassificationMultilabel", + DecisionTree = "DecisionTree", /** - * Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. */ - TextNER = "TextNER", + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ + XGBoostClassifier = "XGBoostClassifier", } /** - * Defines values for TaskType. \ - * {@link KnownTaskType} can be used interchangeably with TaskType, + * Defines values for ClassificationModels. \ + * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. \ - * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ - * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. \ - * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ - * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ - * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ - * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. \ - * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. \ - * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ - * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * **LogisticRegression**: Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ + * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ + * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ + * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ + * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ -export type TaskType = string; +export type ClassificationModels = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical", +/** Known values of {@link StackMetaLearnerType} that the service accepts. */ +export enum KnownStackMetaLearnerType { + /** None */ + None = "None", + /** Default meta-learners are LogisticRegression for classification tasks. */ + LogisticRegression = "LogisticRegression", + /** Default meta-learners are LogisticRegression for classification task when CV is on. */ + LogisticRegressionCV = "LogisticRegressionCV", + /** LightGBMClassifier */ + LightGBMClassifier = "LightGBMClassifier", + /** Default meta-learners are LogisticRegression for regression task. */ + ElasticNet = "ElasticNet", + /** Default meta-learners are LogisticRegression for regression task when CV is on. */ + ElasticNetCV = "ElasticNetCV", + /** LightGBMRegressor */ + LightGBMRegressor = "LightGBMRegressor", + /** LinearRegression */ + LinearRegression = "LinearRegression", } /** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * Defines values for StackMetaLearnerType. \ + * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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. + * **None** \ + * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ + * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ + * **LightGBMClassifier** \ + * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ + * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ + * **LightGBMRegressor** \ + * **LinearRegression** */ -export type LogVerbosity = string; +export type StackMetaLearnerType = string; -/** Known values of {@link JobInputType} that the service accepts. */ -export enum KnownJobInputType { - /** Literal */ - Literal = "literal", - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link BlockedTransformers} that the service accepts. */ +export enum KnownBlockedTransformers { + /** Target encoding for text data. */ + TextTargetEncoder = "TextTargetEncoder", + /** Ohe hot encoding creates a binary feature transformation. */ + OneHotEncoder = "OneHotEncoder", + /** Target encoding for categorical data. */ + CatTargetEncoder = "CatTargetEncoder", + /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ + TfIdf = "TfIdf", + /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ + WoETargetEncoder = "WoETargetEncoder", + /** Label encoder converts labels\/categorical variables in a numerical form. */ + LabelEncoder = "LabelEncoder", + /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ + WordEmbedding = "WordEmbedding", + /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ + NaiveBayes = "NaiveBayes", + /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ + CountVectorizer = "CountVectorizer", + /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ + HashOneHotEncoder = "HashOneHotEncoder", +} + +/** + * Defines values for BlockedTransformers. \ + * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **TextTargetEncoder**: Target encoding for text data. \ + * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ + * **CatTargetEncoder**: Target encoding for categorical data. \ + * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ + * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ + * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ + * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ + * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ + * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ + * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. + */ +export type BlockedTransformers = string; + +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. */ -export type JobInputType = string; +export type FeaturizationMode = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link DistributionType} that the service accepts. */ +export enum KnownDistributionType { + /** PyTorch */ + PyTorch = "PyTorch", + /** TensorFlow */ + TensorFlow = "TensorFlow", + /** Mpi */ + Mpi = "Mpi", } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * Defines values for DistributionType. \ + * {@link KnownDistributionType} can be used interchangeably with DistributionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** */ -export type JobOutputType = string; +export type DistributionType = string; -/** Known values of {@link JobTier} that the service accepts. */ -export enum KnownJobTier { - /** Null */ - Null = "Null", - /** Spot */ - Spot = "Spot", - /** Basic */ - Basic = "Basic", - /** Standard */ - Standard = "Standard", - /** Premium */ - Premium = "Premium", +/** Known values of {@link JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", } /** - * Defines values for JobTier. \ - * {@link KnownJobTier} can be used interchangeably with JobTier, + * Defines values for JobLimitsType. \ + * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** + * **Command** \ + * **Sweep** */ -export type JobTier = string; +export type JobLimitsType = string; -/** Known values of {@link NCrossValidationsMode} that the service accepts. */ -export enum KnownNCrossValidationsMode { - /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ - Auto = "Auto", - /** Use custom N-Cross validations value. */ - Custom = "Custom", +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", } /** - * Defines values for NCrossValidationsMode. \ - * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * Defines values for MonitorComputeType. \ + * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ - * **Custom**: Use custom N-Cross validations value. + * **ServerlessSpark**: Serverless Spark compute. */ -export type NCrossValidationsMode = string; +export type MonitorComputeType = string; -/** Known values of {@link SeasonalityMode} that the service accepts. */ -export enum KnownSeasonalityMode { - /** Seasonality to be determined automatically. */ - Auto = "Auto", - /** Use the custom seasonality value. */ - Custom = "Custom", +/** Known values of {@link ModelTaskType} that the service accepts. */ +export enum KnownModelTaskType { + /** Classification */ + Classification = "Classification", + /** Regression */ + Regression = "Regression", } /** - * Defines values for SeasonalityMode. \ - * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * Defines values for ModelTaskType. \ + * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Seasonality to be determined automatically. \ - * **Custom**: Use the custom seasonality value. + * **Classification** \ + * **Regression** */ -export type SeasonalityMode = string; +export type ModelTaskType = string; -/** Known values of {@link TargetLagsMode} that the service accepts. */ -export enum KnownTargetLagsMode { - /** Target lags to be determined automatically. */ - Auto = "Auto", - /** Use the custom target lags. */ - Custom = "Custom", +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", } /** - * Defines values for TargetLagsMode. \ - * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * Defines values for MonitoringNotificationType. \ + * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Target lags to be determined automatically. \ - * **Custom**: Use the custom target lags. + * **AmlNotification**: Enables email notifications through AML notifications. */ -export type TargetLagsMode = string; +export type MonitoringNotificationType = string; -/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ -export enum KnownTargetRollingWindowSizeMode { - /** Determine rolling windows size automatically. */ - Auto = "Auto", - /** Use the specified rolling window size. */ +/** Known values of {@link MonitoringSignalType} that the service accepts. */ +export enum KnownMonitoringSignalType { + /** Tracks model input data distribution change, comparing against training data or past production data. */ + DataDrift = "DataDrift", + /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ + PredictionDrift = "PredictionDrift", + /** Tracks model input data integrity. */ + DataQuality = "DataQuality", + /** Tracks feature importance change in production, comparing against feature importance at training time. */ + FeatureAttributionDrift = "FeatureAttributionDrift", + /** Tracks a custom signal provided by users. */ Custom = "Custom", } /** - * Defines values for TargetRollingWindowSizeMode. \ - * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * Defines values for MonitoringSignalType. \ + * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine rolling windows size automatically. \ - * **Custom**: Use the specified rolling window size. + * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ + * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ + * **DataQuality**: Tracks model input data integrity. \ + * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ + * **Custom**: Tracks a custom signal provided by users. */ -export type TargetRollingWindowSizeMode = string; +export type MonitoringSignalType = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ - None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", +/** Known values of {@link MonitoringInputDataType} that the service accepts. */ +export enum KnownMonitoringInputDataType { + /** An input data with a fixed window size. */ + Static = "Static", + /** An input data which rolls relatively to the monitor's current run time. */ + Rolling = "Rolling", + /** An input data with tabular format which doesn't require preprocessing. */ + Fixed = "Fixed", } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for MonitoringInputDataType. \ + * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Do not use any identity for service data access. \ - * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ - * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + * **Static**: An input data with a fixed window size. \ + * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ + * **Fixed**: An input data with tabular format which doesn't require preprocessing. */ -export type ServiceDataAccessAuthIdentity = string; +export type MonitoringInputDataType = string; -/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ -export enum KnownEarlyTerminationPolicyType { - /** Bandit */ - Bandit = "Bandit", - /** MedianStopping */ - MedianStopping = "MedianStopping", - /** TruncationSelection */ - TruncationSelection = "TruncationSelection", +/** Known values of {@link FeatureImportanceMode} that the service accepts. */ +export enum KnownFeatureImportanceMode { + /** Disables computing feature importance within a signal. */ + Disabled = "Disabled", + /** Enables computing feature importance within a signal. */ + Enabled = "Enabled", } /** - * Defines values for EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * Defines values for FeatureImportanceMode. \ + * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** - */ -export type EarlyTerminationPolicyType = string; - -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian", + * **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 SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for FeatureAttributionMetric. \ + * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. */ -export type SamplingAlgorithmType = string; +export type FeatureAttributionMetric = string; -/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ -export enum KnownCategoricalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ + Auto = "Auto", } /** - * Defines values for CategoricalDataDriftMetric. \ - * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. */ -export type CategoricalDataDriftMetric = string; +export type FeatureLags = string; -/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ -export enum KnownMonitoringFeatureDataType { - /** Used for features of numerical data type. */ - Numerical = "Numerical", - /** Used for features of categorical data type. */ - Categorical = "Categorical", +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no\/null value. */ + None = "None", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop", } /** - * Defines values for MonitoringFeatureDataType. \ - * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Numerical**: Used for features of numerical data type. \ - * **Categorical**: Used for features of categorical data type. + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. */ -export type MonitoringFeatureDataType = string; +export type ShortSeriesHandlingConfiguration = string; -/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ -export enum KnownCategoricalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + /** Sum */ + Sum = "Sum", + /** Max */ + Max = "Max", + /** Min */ + Min = "Min", + /** Mean */ + Mean = "Mean", } /** - * Defines values for CategoricalDataQualityMetric. \ - * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** */ -export type CategoricalDataQualityMetric = string; +export type TargetAggregationFunction = string; -/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ -export enum KnownCategoricalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + /** Season */ + Season = "Season", + /** SeasonTrend */ + SeasonTrend = "SeasonTrend", } /** - * Defines values for CategoricalPredictionDriftMetric. \ - * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** */ -export type CategoricalPredictionDriftMetric = string; +export type UseStl = string; -/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for ClassificationPrimaryMetrics. \ - * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type ClassificationPrimaryMetrics = string; +export type ForecastingPrimaryMetrics = string; -/** Known values of {@link ClassificationModels} that the service accepts. */ -export enum KnownClassificationModels { - /** - * Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. - */ - LogisticRegression = "LogisticRegression", +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. */ - SGD = "SGD", + AutoArima = "AutoArima", /** - * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. */ - MultinomialNaiveBayes = "MultinomialNaiveBayes", - /** Naive Bayes classifier for multivariate Bernoulli models. */ - BernoulliNaiveBayes = "BernoulliNaiveBayes", + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. */ - SVM = "SVM", + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. */ - LinearSVM = "LinearSVM", + DecisionTree = "DecisionTree", /** * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. */ KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. */ - DecisionTree = "DecisionTree", + SGD = "SGD", /** * Random forest is a supervised learning algorithm. * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. @@ -10355,455 +11848,370 @@ export enum KnownClassificationModels { ExtremeRandomTrees = "ExtremeRandomTrees", /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ LightGBM = "LightGBM", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ - XGBoostClassifier = "XGBoostClassifier", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", } /** - * Defines values for ClassificationModels. \ - * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LogisticRegression**: Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ - * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ - * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ - * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ - * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ClassificationModels = string; +export type ForecastingModels = string; -/** Known values of {@link StackMetaLearnerType} that the service accepts. */ -export enum KnownStackMetaLearnerType { - /** None */ +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ None = "None", - /** Default meta-learners are LogisticRegression for classification tasks. */ - LogisticRegression = "LogisticRegression", - /** Default meta-learners are LogisticRegression for classification task when CV is on. */ - LogisticRegressionCV = "LogisticRegressionCV", - /** LightGBMClassifier */ - LightGBMClassifier = "LightGBMClassifier", - /** Default meta-learners are LogisticRegression for regression task. */ - ElasticNet = "ElasticNet", - /** Default meta-learners are LogisticRegression for regression task when CV is on. */ - ElasticNetCV = "ElasticNetCV", - /** LightGBMRegressor */ - LightGBMRegressor = "LightGBMRegressor", - /** LinearRegression */ - LinearRegression = "LinearRegression", -} - -/** - * Defines values for StackMetaLearnerType. \ - * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ - * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ - * **LightGBMClassifier** \ - * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ - * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ - * **LightGBMRegressor** \ - * **LinearRegression** - */ -export type StackMetaLearnerType = string; - -/** Known values of {@link FeaturizationMode} that the service accepts. */ -export enum KnownFeaturizationMode { - /** Auto mode, system performs featurization without any custom featurization inputs. */ - Auto = "Auto", - /** Custom featurization. */ - Custom = "Custom", - /** Featurization off. 'Forecasting' task cannot use this value. */ - Off = "Off", -} - -/** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. - */ -export type FeaturizationMode = string; - -/** Known values of {@link BlockedTransformers} that the service accepts. */ -export enum KnownBlockedTransformers { - /** Target encoding for text data. */ - TextTargetEncoder = "TextTargetEncoder", - /** Ohe hot encoding creates a binary feature transformation. */ - OneHotEncoder = "OneHotEncoder", - /** Target encoding for categorical data. */ - CatTargetEncoder = "CatTargetEncoder", - /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ - TfIdf = "TfIdf", - /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ - WoETargetEncoder = "WoETargetEncoder", - /** Label encoder converts labels\/categorical variables in a numerical form. */ - LabelEncoder = "LabelEncoder", - /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ - WordEmbedding = "WordEmbedding", - /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ - NaiveBayes = "NaiveBayes", - /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ - CountVectorizer = "CountVectorizer", - /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ - HashOneHotEncoder = "HashOneHotEncoder", -} - -/** - * Defines values for BlockedTransformers. \ - * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **TextTargetEncoder**: Target encoding for text data. \ - * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ - * **CatTargetEncoder**: Target encoding for categorical data. \ - * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ - * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ - * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ - * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ - * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ - * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ - * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. - */ -export type BlockedTransformers = string; - -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step", } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. */ -export type DistributionType = string; +export type LearningRateScheduler = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw", } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ -export type JobLimitsType = string; +export type StochasticOptimizer = string; -/** Known values of {@link ModelTaskType} that the service accepts. */ -export enum KnownModelTaskType { - /** Classification */ - Classification = "Classification", - /** Regression */ - Regression = "Regression", +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU", } /** - * Defines values for ModelTaskType. \ - * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification** \ - * **Regression** - */ -export type ModelTaskType = string; - -/** Known values of {@link MonitoringSignalType} that the service accepts. */ -export enum KnownMonitoringSignalType { - /** Tracks model input data distribution change, comparing against training data or past production data. */ - DataDrift = "DataDrift", - /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ - PredictionDrift = "PredictionDrift", - /** Tracks model input data integrity. */ - DataQuality = "DataQuality", - /** Tracks feature importance change in production, comparing against feature importance at training time. */ - FeatureAttributionDrift = "FeatureAttributionDrift", - /** Tracks a custom signal provided by users. */ - Custom = "Custom", + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. + */ +export type ClassificationMultilabelPrimaryMetrics = string; + +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringSignalType. \ - * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ - * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ - * **DataQuality**: Tracks model input data integrity. \ - * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ - * **Custom**: Tracks a custom signal provided by users. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringSignalType = string; +export type InstanceSegmentationPrimaryMetrics = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ + None = "None", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge", } /** - * Defines values for MonitoringNotificationType. \ - * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlNotification**: Enables email notifications through AML notifications. + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. */ -export type MonitoringNotificationType = string; +export type ModelSize = string; -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc", } /** - * Defines values for MonitorComputeType. \ - * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ServerlessSpark**: Serverless Spark compute. + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. */ -export type MonitorComputeType = string; +export type ValidationMetricType = string; -/** Known values of {@link MonitoringInputDataType} that the service accepts. */ -export enum KnownMonitoringInputDataType { - /** An input data with a fixed window size. */ - Static = "Static", - /** An input data which rolls relatively to the monitor's current run time. */ - Rolling = "Rolling", - /** An input data with tabular format which doesn't require preprocessing. */ - Fixed = "Fixed", +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringInputDataType. \ - * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Static**: An input data with a fixed window size. \ - * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ - * **Fixed**: An input data with tabular format which doesn't require preprocessing. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringInputDataType = string; +export type ObjectDetectionPrimaryMetrics = string; -/** Known values of {@link FeatureImportanceMode} that the service accepts. */ -export enum KnownFeatureImportanceMode { - /** Disables computing feature importance within a signal. */ - Disabled = "Disabled", - /** Enables computing feature importance within a signal. */ - Enabled = "Enabled", +/** Known values of {@link OneLakeArtifactType} that the service accepts. */ +export enum KnownOneLakeArtifactType { + /** LakeHouse */ + LakeHouse = "LakeHouse", } /** - * Defines values for FeatureImportanceMode. \ - * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, + * Defines values for OneLakeArtifactType. \ + * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled**: Disables computing feature importance within a signal. \ - * **Enabled**: Enables computing feature importance within a signal. + * **LakeHouse** */ -export type FeatureImportanceMode = string; +export type OneLakeArtifactType = string; -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", +/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ +export enum KnownNumericalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureAttributionMetric. \ - * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, + * Defines values for NumericalDataDriftMetric. \ + * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureAttributionMetric = string; +export type NumericalDataDriftMetric = string; -/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ -export enum KnownForecastingPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ +export enum KnownNumericalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * Defines values for NumericalDataQualityMetric. \ + * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type ForecastingPrimaryMetrics = string; +export type NumericalDataQualityMetric = string; -/** Known values of {@link FeatureLags} that the service accepts. */ -export enum KnownFeatureLags { - /** No feature lags generated. */ - None = "None", - /** System auto-generates feature lags. */ - Auto = "Auto", +/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ +export enum KnownNumericalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureLags. \ - * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * Defines values for NumericalPredictionDriftMetric. \ + * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No feature lags generated. \ - * **Auto**: System auto-generates feature lags. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureLags = string; +export type NumericalPredictionDriftMetric = string; -/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ -export enum KnownShortSeriesHandlingConfiguration { - /** Represents no\/null value. */ - None = "None", - /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ - Auto = "Auto", - /** All the short series will be padded. */ - Pad = "Pad", - /** All the short series will be dropped. */ - Drop = "Drop", +/** Known values of {@link Goal} that the service accepts. */ +export enum KnownGoal { + /** Minimize */ + Minimize = "Minimize", + /** Maximize */ + Maximize = "Maximize", } /** - * Defines values for ShortSeriesHandlingConfiguration. \ - * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * Defines values for Goal. \ + * {@link KnownGoal} can be used interchangeably with Goal, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represents no\/null value. \ - * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ - * **Pad**: All the short series will be padded. \ - * **Drop**: All the short series will be dropped. + * **Minimize** \ + * **Maximize** */ -export type ShortSeriesHandlingConfiguration = string; +export type Goal = string; -/** Known values of {@link UseStl} that the service accepts. */ -export enum KnownUseStl { - /** No stl decomposition. */ - None = "None", - /** Season */ - Season = "Season", - /** SeasonTrend */ - SeasonTrend = "SeasonTrend", +/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ +export enum KnownRandomSamplingAlgorithmRule { + /** Random */ + Random = "Random", + /** Sobol */ + Sobol = "Sobol", } /** - * Defines values for UseStl. \ - * {@link KnownUseStl} can be used interchangeably with UseStl, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No stl decomposition. \ - * **Season** \ - * **SeasonTrend** + * Defines values for RandomSamplingAlgorithmRule. \ + * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Random** \ + * **Sobol** */ -export type UseStl = string; +export type RandomSamplingAlgorithmRule = string; -/** Known values of {@link TargetAggregationFunction} that the service accepts. */ -export enum KnownTargetAggregationFunction { - /** Represent no value set. */ - None = "None", - /** Sum */ - Sum = "Sum", - /** Max */ - Max = "Max", - /** Min */ - Min = "Min", - /** Mean */ - Mean = "Mean", +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * Defines values for RegressionPrimaryMetrics. \ + * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represent no value set. \ - * **Sum** \ - * **Max** \ - * **Min** \ - * **Mean** + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type TargetAggregationFunction = string; +export type RegressionPrimaryMetrics = string; -/** Known values of {@link ForecastingModels} that the service accepts. */ -export enum KnownForecastingModels { - /** - * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. - */ - AutoArima = "AutoArima", - /** - * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. - */ - Prophet = "Prophet", - /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ - Naive = "Naive", - /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ - SeasonalNaive = "SeasonalNaive", - /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ - Average = "Average", - /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ - SeasonalAverage = "SeasonalAverage", - /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ - ExponentialSmoothing = "ExponentialSmoothing", - /** - * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. - */ - Arimax = "Arimax", - /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ - TCNForecaster = "TCNForecaster", +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ ElasticNet = "ElasticNet", /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ @@ -10841,22 +12249,10 @@ export enum KnownForecastingModels { } /** - * Defines values for ForecastingModels. \ - * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ - * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ - * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ - * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ - * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ - * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ - * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ - * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ - * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. @@ -10874,428 +12270,411 @@ export enum KnownForecastingModels { * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ForecastingModels = string; +export type RegressionModels = string; -/** Known values of {@link LearningRateScheduler} that the service accepts. */ -export enum KnownLearningRateScheduler { - /** No learning rate scheduler selected. */ - None = "None", - /** Cosine Annealing With Warmup. */ - WarmupCosine = "WarmupCosine", - /** Step learning rate scheduler. */ - Step = "Step", +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", } /** - * Defines values for LearningRateScheduler. \ - * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, + * 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 - * **None**: No learning rate scheduler selected. \ - * **WarmupCosine**: Cosine Annealing With Warmup. \ - * **Step**: Step learning rate scheduler. + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** */ -export type LearningRateScheduler = string; +export type SparkJobEntryType = string; -/** Known values of {@link StochasticOptimizer} that the service accepts. */ -export enum KnownStochasticOptimizer { - /** No optimizer selected. */ - None = "None", - /** Stochastic Gradient Descent optimizer. */ - Sgd = "Sgd", - /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ - Adam = "Adam", - /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ - Adamw = "Adamw", +/** Known values of {@link DeploymentModelVersionUpgradeOption} that the service accepts. */ +export enum KnownDeploymentModelVersionUpgradeOption { + /** OnceNewDefaultVersionAvailable */ + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable", + /** OnceCurrentVersionExpired */ + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + /** NoAutoUpgrade */ + NoAutoUpgrade = "NoAutoUpgrade", +} + +/** + * Defines values for DeploymentModelVersionUpgradeOption. \ + * {@link KnownDeploymentModelVersionUpgradeOption} can be used interchangeably with DeploymentModelVersionUpgradeOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OnceNewDefaultVersionAvailable** \ + * **OnceCurrentVersionExpired** \ + * **NoAutoUpgrade** + */ +export type DeploymentModelVersionUpgradeOption = string; + +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} + +/** + * Defines values for RuleAction. \ + * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type RuleAction = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; + +/** Optional parameters. */ +export interface UsagesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type UsagesListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type UsagesListNextResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface VirtualMachineSizesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface QuotasUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +/** Optional parameters. */ +export interface QuotasListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type QuotasListResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface QuotasListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type QuotasListNextResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface ComputeListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type ComputeListResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComputeGetResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type ComputeCreateOrUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type ComputeUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for StochasticOptimizer. \ - * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No optimizer selected. \ - * **Sgd**: Stochastic Gradient Descent optimizer. \ - * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ - * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. - */ -export type StochasticOptimizer = string; +/** Optional parameters. */ +export interface ComputeUpdateCustomServicesOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeListNodesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodes operation. */ +export type ComputeListNodesResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface ComputeListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ComputeListKeysResponse = ComputeSecretsUnion; + +/** Optional parameters. */ +export interface ComputeUpdateDataMountsOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationMultilabelPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", - /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ - IOU = "IOU", +/** Optional parameters. */ +export interface ComputeStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ClassificationMultilabelPrimaryMetrics. \ - * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ - * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. - */ -export type ClassificationMultilabelPrimaryMetrics = string; +/** Optional parameters. */ +export interface ComputeStopOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ -export enum KnownInstanceSegmentationPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", +/** Optional parameters. */ +export interface ComputeRestartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for InstanceSegmentationPrimaryMetrics. \ - * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type InstanceSegmentationPrimaryMetrics = string; +/** Optional parameters. */ +export interface ComputeUpdateIdleShutdownSettingOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link ModelSize} that the service accepts. */ -export enum KnownModelSize { - /** No value selected. */ - None = "None", - /** Small size. */ - Small = "Small", - /** Medium size. */ - Medium = "Medium", - /** Large size. */ - Large = "Large", - /** Extra large size. */ - ExtraLarge = "ExtraLarge", -} +/** Optional parameters. */ +export interface ComputeGetAllowedResizeSizesOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for ModelSize. \ - * {@link KnownModelSize} can be used interchangeably with ModelSize, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No value selected. \ - * **Small**: Small size. \ - * **Medium**: Medium size. \ - * **Large**: Large size. \ - * **ExtraLarge**: Extra large size. - */ -export type ModelSize = string; +/** Contains response data for the getAllowedResizeSizes operation. */ +export type ComputeGetAllowedResizeSizesResponse = VirtualMachineSizeListResult; -/** Known values of {@link ValidationMetricType} that the service accepts. */ -export enum KnownValidationMetricType { - /** No metric. */ - None = "None", - /** Coco metric. */ - Coco = "Coco", - /** Voc metric. */ - Voc = "Voc", - /** CocoVoc metric. */ - CocoVoc = "CocoVoc", +/** Optional parameters. */ +export interface ComputeResizeOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ValidationMetricType. \ - * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No metric. \ - * **Coco**: Coco metric. \ - * **Voc**: Voc metric. \ - * **CocoVoc**: CocoVoc metric. - */ -export type ValidationMetricType = string; +/** Contains response data for the resize operation. */ +export type ComputeResizeResponse = ComputeResizeHeaders; -/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ -export enum KnownObjectDetectionPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", +/** Optional parameters. */ +export interface 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 + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * Defines values for ObjectDetectionPrimaryMetrics. \ - * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type ObjectDetectionPrimaryMetrics = string; +/** Contains response data for the list operation. */ +export type RegistryCodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; -/** Known values of {@link OneLakeArtifactType} that the service accepts. */ -export enum KnownOneLakeArtifactType { - /** LakeHouse */ - LakeHouse = "LakeHouse", +/** Optional parameters. */ +export interface RegistryCodeContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for OneLakeArtifactType. \ - * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **LakeHouse** - */ -export type OneLakeArtifactType = string; +/** Optional parameters. */ +export interface RegistryCodeContainersGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ -export enum KnownNumericalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +/** Contains response data for the get operation. */ +export type RegistryCodeContainersGetResponse = CodeContainer; + +/** Optional parameters. */ +export interface RegistryCodeContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for NumericalDataDriftMetric. \ - * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalDataDriftMetric = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ -export enum KnownNumericalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Optional parameters. */ +export interface RegistryCodeContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; } -/** - * Defines values for NumericalDataQualityMetric. \ - * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. - */ -export type NumericalDataQualityMetric = string; +/** Contains response data for the list operation. */ +export type RegistryCodeVersionsListResponse = + CodeVersionResourceArmPaginatedResult; -/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ -export enum KnownNumericalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +/** Optional parameters. */ +export interface RegistryCodeVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for NumericalPredictionDriftMetric. \ - * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalPredictionDriftMetric = string; +/** Optional parameters. */ +export interface RegistryCodeVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link Goal} that the service accepts. */ -export enum KnownGoal { - /** Minimize */ - Minimize = "Minimize", - /** Maximize */ - Maximize = "Maximize", +/** Contains response data for the get operation. */ +export type RegistryCodeVersionsGetResponse = CodeVersion; + +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for Goal. \ - * {@link KnownGoal} can be used interchangeably with Goal, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Minimize** \ - * **Maximize** - */ -export type Goal = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; -/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ -export enum KnownRandomSamplingAlgorithmRule { - /** Random */ - Random = "Random", - /** Sobol */ - Sobol = "Sobol", -} +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for RandomSamplingAlgorithmRule. \ - * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Random** \ - * **Sobol** - */ -export type RandomSamplingAlgorithmRule = string; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; -/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ -export enum KnownRegressionPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Optional parameters. */ +export interface RegistryCodeVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeVersionsListNextResponse = + CodeVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * Defines values for RegressionPrimaryMetrics. \ - * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. - */ -export type RegressionPrimaryMetrics = string; +/** Contains response data for the list operation. */ +export type RegistryComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; -/** Known values of {@link RegressionModels} that the service accepts. */ -export enum KnownRegressionModels { - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor", +/** Optional parameters. */ +export interface RegistryComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * 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 RegistryComponentContainersGetOptionalParams + 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 get operation. */ +export type RegistryComponentContainersGetResponse = ComponentContainer; + +/** Optional parameters. */ +export interface RegistryComponentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for SparkJobEntryType. \ - * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SparkJobPythonEntry** \ - * **SparkJobScalaEntry** - */ -export type SparkJobEntryType = string; -/** Defines values for SkuTier. */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentContainersCreateOrUpdateResponse = + ComponentContainer; /** Optional parameters. */ -export interface OperationsListOptionalParams +export interface RegistryComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResult; +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryComponentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; +} -/** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; +/** Contains response data for the list operation. */ +export type RegistryComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams +export interface RegistryComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11303,65 +12682,64 @@ export interface WorkspacesCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; +/** Optional parameters. */ +export interface RegistryComponentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryComponentVersionsGetResponse = ComponentVersion; /** Optional parameters. */ -export interface WorkspacesDeleteOptionalParams +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams 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; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; + /** 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; -} +export interface RegistryComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type WorkspacesUpdateResponse = Workspace; +/** Contains response data for the listNext operation. */ +export type RegistryComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams +export interface RegistryDataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** Contains response data for the listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryDataContainersListResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams +export interface RegistryDataContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - /** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; +/** Contains response data for the get operation. */ +export type RegistryDataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams +export interface RegistryDataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11369,26 +12747,41 @@ export interface WorkspacesResyncKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; + /** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams +export interface RegistryDataContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; + /** + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned + */ + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } -/** Contains response data for the listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = - NotebookAccessTokenResult; +/** Contains response data for the list operation. */ +export type RegistryDataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11396,103 +12789,134 @@ export interface WorkspacesPrepareNotebookOptionalParams resumeFrom?: string; } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; - /** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; +/** Contains response data for the get operation. */ +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams +export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** Contains response data for the listNext operation. */ +export type RegistryDataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams +export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** Contains response data for the getBlobReferenceSAS operation. */ +export type RegistryDataReferencesGetBlobReferenceSASResponse = + GetBlobReferenceSASResponseDto; /** Optional parameters. */ -export interface UsagesListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} /** Contains response data for the list operation. */ -export type UsagesListResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface UsagesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; +export type RegistryEnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +export interface RegistryEnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface QuotasUpdateOptionalParams +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +/** Contains response data for the get operation. */ +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the list operation. */ -export type QuotasListResponse = ListWorkspaceQuotas; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentContainersCreateOrUpdateResponse = + EnvironmentContainer; /** Optional parameters. */ -export interface QuotasListNextOptionalParams +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryEnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type ComputeListResponse = PaginatedComputeResourcesList; +export type RegistryEnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} +export interface RegistryEnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistryEnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComputeGetResponse = ComputeResource; +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11501,10 +12925,30 @@ export interface ComputeCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type ComputeCreateOrUpdateResponse = ComputeResource; +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = + EnvironmentVersion; /** Optional parameters. */ -export interface ComputeUpdateOptionalParams +export interface RegistryEnvironmentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface MarketplaceSubscriptionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type MarketplaceSubscriptionsListResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface MarketplaceSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11512,11 +12956,19 @@ export interface ComputeUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +/** Contains response data for the delete operation. */ +export type MarketplaceSubscriptionsDeleteResponse = + MarketplaceSubscriptionsDeleteHeaders; + +/** Optional parameters. */ +export interface MarketplaceSubscriptionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams +export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11524,22 +12976,33 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type MarketplaceSubscriptionsCreateOrUpdateResponse = + MarketplaceSubscription; + /** Optional parameters. */ -export interface ComputeListNodesOptionalParams +export interface MarketplaceSubscriptionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodes operation. */ -export type ComputeListNodesResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type MarketplaceSubscriptionsListNextResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} -/** Contains response data for the listKeys operation. */ -export type ComputeListKeysResponse = ComputeSecretsUnion; +/** Contains response data for the list operation. */ +export type RegistryModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeStartOptionalParams +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11548,15 +13011,14 @@ export interface ComputeStartOptionalParams } /** Optional parameters. */ -export interface ComputeStopOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface RegistryModelContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface ComputeRestartOptionalParams +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11564,112 +13026,171 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; + /** Optional parameters. */ -export interface ComputeListNextOptionalParams +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; +export type RegistryModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Version identifier. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; +} -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; +/** Contains response data for the list operation. */ +export type RegistryModelVersionsListResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = - PrivateEndpointConnectionListResult; +export interface RegistryModelVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = - PrivateEndpointConnection; +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; + /** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +/** Contains response data for the listNext operation. */ +export type RegistryModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; +} -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the list operation. */ +export type BatchEndpointsListResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams +export interface BatchEndpointsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface BatchEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; +export type BatchEndpointsGetResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type BatchEndpointsUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams +export interface BatchEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams +export interface BatchEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the listKeys operation. */ +export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams +export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type BatchEndpointsListNextResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams - extends coreClient.OperationOptions {} +export interface BatchDeploymentsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; +} /** Contains response data for the list operation. */ -export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; +export type BatchDeploymentsListResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams +export interface BatchDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11678,14 +13199,14 @@ export interface ManagedNetworkSettingsRuleDeleteOptionalParams } /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleGetOptionalParams +export interface BatchDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; +export type BatchDeploymentsGetResponse = BatchDeployment; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams +export interface BatchDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11693,81 +13214,68 @@ export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = - OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; +/** Contains response data for the update operation. */ +export type BatchDeploymentsUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams +export interface BatchDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Managed Network Provisioning Options for a machine learning workspace. */ - body?: ManagedNetworkProvisionOptions; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the provisionManagedNetwork operation. */ -export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = - ManagedNetworkProvisionStatus; +/** Contains response data for the createOrUpdate operation. */ +export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface RegistryCodeContainersListOptionalParams +export interface BatchDeploymentsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type BatchDeploymentsListNextResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface CodeContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } /** Contains response data for the list operation. */ -export type RegistryCodeContainersListResponse = +export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; -/** Optional parameters. */ -export interface RegistryCodeContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +/** Optional parameters. */ +export interface CodeContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeContainersGetOptionalParams +export interface CodeContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeContainersGetResponse = CodeContainer; +export type CodeContainersGetResponse = CodeContainer; /** Optional parameters. */ -export interface RegistryCodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface CodeContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; +export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ -export interface RegistryCodeContainersListNextOptionalParams +export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeContainersListNextResponse = +export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsListOptionalParams +export interface CodeVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11775,30 +13283,35 @@ export interface RegistryCodeVersionsListOptionalParams orderBy?: string; /** Maximum number of records to return. */ top?: number; + /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ + hash?: string; + /** Hash algorithm version when listing by hash */ + hashVersion?: string; } /** Contains response data for the list operation. */ -export type RegistryCodeVersionsListResponse = - CodeVersionResourceArmPaginatedResult; +export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface CodeVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeVersionsGetOptionalParams +export interface CodeVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeVersionsGetResponse = CodeVersion; +export type CodeVersionsGetResponse = CodeVersion; /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrUpdateOptionalParams +export interface CodeVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type CodeVersionsCreateOrUpdateResponse = CodeVersion; + +/** Optional parameters. */ +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11806,75 +13319,63 @@ export interface RegistryCodeVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; - /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = +export type CodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface RegistryCodeVersionsListNextOptionalParams +export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeVersionsListNextResponse = +export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersListOptionalParams +export interface ComponentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type RegistryComponentContainersListResponse = +export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentContainersGetOptionalParams +export interface ComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentContainersGetResponse = ComponentContainer; +export type ComponentContainersGetResponse = ComponentContainer; /** Optional parameters. */ -export interface RegistryComponentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentContainersCreateOrUpdateResponse = - ComponentContainer; +export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ -export interface RegistryComponentContainersListNextOptionalParams +export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentContainersListNextResponse = +export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsListOptionalParams +export interface ComponentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11882,30 +13383,34 @@ export interface RegistryComponentVersionsListOptionalParams orderBy?: string; /** Maximum number of records to return. */ top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type RegistryComponentVersionsListResponse = +export type ComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentVersionsGetOptionalParams +export interface ComponentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentVersionsGetResponse = ComponentVersion; +export type ComponentVersionsGetResponse = ComponentVersion; /** Optional parameters. */ -export interface RegistryComponentVersionsCreateOrUpdateOptionalParams +export interface ComponentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; + +/** Optional parameters. */ +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11913,19 +13418,16 @@ export interface RegistryComponentVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; - /** Optional parameters. */ -export interface RegistryComponentVersionsListNextOptionalParams +export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentVersionsListNextResponse = +export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersListOptionalParams +export interface DataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11934,47 +13436,37 @@ export interface RegistryDataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataContainersListResponse = +export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DataContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryDataContainersGetOptionalParams +export interface DataContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryDataContainersGetResponse = DataContainer; +export type DataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface RegistryDataContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DataContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; +export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface RegistryDataContainersListNextOptionalParams +export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataContainersListNextResponse = +export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListOptionalParams +export interface DataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11992,167 +13484,106 @@ export interface RegistryDataVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataVersionsListResponse = +export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface RegistryDataVersionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type RegistryDataVersionsGetResponse = DataVersionBase; - -/** Optional parameters. */ -export interface RegistryDataVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; - -/** Optional parameters. */ -export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - -/** Optional parameters. */ -export interface RegistryDataVersionsListNextOptionalParams +export interface DataVersionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistryDataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; - /** Optional parameters. */ -export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams +export interface DataVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getBlobReferenceSAS operation. */ -export type RegistryDataReferencesGetBlobReferenceSASResponse = - GetBlobReferenceSASResponseDto; - -/** Optional parameters. */ -export interface RegistryEnvironmentContainersListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} - -/** Contains response data for the list operation. */ -export type RegistryEnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface RegistryEnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +/** Contains response data for the get operation. */ +export type DataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface RegistryEnvironmentContainersGetOptionalParams +export interface DataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; +/** Contains response data for the createOrUpdate operation. */ +export type DataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams +export interface DataVersionsPublishOptionalParams 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 RegistryEnvironmentContainersCreateOrUpdateResponse = - EnvironmentContainer; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface RegistryEnvironmentContainersListNextOptionalParams +export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type DataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListOptionalParams +export interface DatastoresListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ + /** Maximum number of results to return. */ + count?: number; + /** Filter down to the workspace default datastore. */ + isDefault?: boolean; + /** Names of datastores to return. */ + names?: string[]; + /** Text to search for in the datastore names. */ + searchText?: string; + /** Order by property (createdtime | modifiedtime | name). */ orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Order by property in ascending order. */ + orderByAsc?: boolean; } /** Contains response data for the list operation. */ -export type RegistryEnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DatastoresDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryEnvironmentVersionsGetOptionalParams +export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; +export type DatastoresGetResponse = Datastore; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams +export interface DatastoresCreateOrUpdateOptionalParams 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; + /** Flag to skip validation. */ + skipValidation?: boolean; } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentVersionsCreateOrUpdateResponse = - EnvironmentVersion; +export type DatastoresCreateOrUpdateResponse = Datastore; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListNextOptionalParams +export interface DatastoresListSecretsOptionalParams + extends coreClient.OperationOptions { + /** Secret expiry information. */ + body?: SecretExpiry; +} + +/** Contains response data for the listSecrets operation. */ +export type DatastoresListSecretsResponse = DatastoreSecretsUnion; + +/** Optional parameters. */ +export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersListOptionalParams +export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -12161,47 +13592,37 @@ export interface RegistryModelContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type EnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryModelContainersGetOptionalParams +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelContainersGetResponse = ModelContainer; +export type EnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryModelContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryModelContainersListNextOptionalParams +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type EnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsListOptionalParams +export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -12211,38 +13632,32 @@ export interface RegistryModelVersionsListOptionalParams top?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; - /** Version identifier. */ - version?: string; - /** Model description. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; } /** Contains response data for the list operation. */ -export type RegistryModelVersionsListResponse = - ModelVersionResourceArmPaginatedResult; +export type EnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryModelVersionsGetOptionalParams +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelVersionsGetResponse = ModelVersion; +export type EnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface RegistryModelVersionsCreateOrUpdateOptionalParams +export interface EnvironmentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12250,40 +13665,39 @@ export interface RegistryModelVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; - -/** Optional parameters. */ -export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - /** Optional parameters. */ -export interface RegistryModelVersionsListNextOptionalParams +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type EnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListOptionalParams +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** description for the feature set */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featureset */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type BatchEndpointsListResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = + FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsDeleteOptionalParams +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12292,14 +13706,14 @@ export interface BatchEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchEndpointsGetOptionalParams +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type BatchEndpointsGetResponse = BatchEndpoint; +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; /** Optional parameters. */ -export interface BatchEndpointsUpdateOptionalParams +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12307,53 +13721,80 @@ export interface BatchEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type BatchEndpointsUpdateResponse = BatchEndpoint; +/** Contains response data for the createOrUpdate operation. */ +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; /** Optional parameters. */ -export interface BatchEndpointsCreateOrUpdateOptionalParams +export interface FeaturesetContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesetContainersListNextResponse = + FeaturesetContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesListOptionalParams 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; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Description of the featureset. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** feature name. */ + featureName?: string; + /** Page size. */ + pageSize?: number; } -/** Contains response data for the createOrUpdate operation. */ -export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; +/** Contains response data for the list operation. */ +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListKeysOptionalParams +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type BatchEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type FeaturesGetResponse = Feature; /** Optional parameters. */ -export interface BatchEndpointsListNextOptionalParams +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsListOptionalParams +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** featureset version */ + version?: string; + /** description for the feature set version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featureset version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type BatchDeploymentsListResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type FeaturesetVersionsListResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsDeleteOptionalParams +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12362,14 +13803,14 @@ export interface BatchDeploymentsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchDeploymentsGetOptionalParams +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchDeploymentsGetResponse = BatchDeployment; +export type FeaturesetVersionsGetResponse = FeaturesetVersion; /** Optional parameters. */ -export interface BatchDeploymentsUpdateOptionalParams +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12377,11 +13818,11 @@ export interface BatchDeploymentsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type BatchDeploymentsUpdateResponse = BatchDeployment; +/** Contains response data for the createOrUpdate operation. */ +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; /** Optional parameters. */ -export interface BatchDeploymentsCreateOrUpdateOptionalParams +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12389,92 +13830,60 @@ export interface BatchDeploymentsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; +/** Contains response data for the backfill operation. */ +export type FeaturesetVersionsBackfillResponse = + FeaturesetVersionBackfillResponse; /** Optional parameters. */ -export interface BatchDeploymentsListNextOptionalParams +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersListOptionalParams +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** description for the featurestore entity */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featurestore entity */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type CodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface CodeContainersDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface CodeContainersGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type CodeContainersGetResponse = CodeContainer; - -/** Optional parameters. */ -export interface CodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type CodeContainersCreateOrUpdateResponse = CodeContainer; - -/** Optional parameters. */ -export interface CodeContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsListOptionalParams +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ - hash?: string; - /** Hash algorithm version when listing by hash */ - hashVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface CodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface CodeVersionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type CodeVersionsGetResponse = CodeVersion; - /** Optional parameters. */ -export interface CodeVersionsCreateOrUpdateOptionalParams +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type CodeVersionsCreateOrUpdateResponse = CodeVersion; +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface CodeVersionsPublishOptionalParams +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12482,99 +13891,122 @@ export interface CodeVersionsPublishOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type CodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Contains response data for the createOrUpdate operation. */ +export type FeaturestoreEntityContainersCreateOrUpdateResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListOptionalParams +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** featurestore entity version */ + version?: string; + /** description for the feature entity version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featurestore entity version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type ComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface ComponentContainersGetOptionalParams +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentContainersGetResponse = ComponentContainer; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface ComponentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = + FeaturestoreEntityVersion; /** Optional parameters. */ -export interface ComponentContainersListNextOptionalParams +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface JobsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Type of job to be returned. */ + jobType?: string; + /** Jobs returned will have this tag key. */ + tag?: string; } /** Contains response data for the list operation. */ -export type ComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type JobsListResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface ComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface JobsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentVersionsGetResponse = ComponentVersion; +export type JobsGetResponse = JobBase; /** Optional parameters. */ -export interface ComponentVersionsCreateOrUpdateOptionalParams +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; +export type JobsCreateOrUpdateResponse = JobBase; /** Optional parameters. */ -export interface ComponentVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface JobsCancelOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12582,94 +14014,101 @@ export interface ComponentVersionsPublishOptionalParams } /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams +export interface JobsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersListOptionalParams +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Maximum number of results to return. */ + count?: number; } /** Contains response data for the list operation. */ -export type DataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type ModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersDeleteOptionalParams +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataContainersGetOptionalParams +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataContainersGetResponse = DataContainer; +export type ModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface DataContainersCreateOrUpdateOptionalParams +export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type DataContainersCreateOrUpdateResponse = DataContainer; +export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface DataContainersListNextOptionalParams +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type ModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsListOptionalParams +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + /** Ordering of list. */ orderBy?: string; - /** - * Top count of results, top count cannot be greater than the page size. - * If topCount > page size, results with be default page size count will be returned - */ + /** Maximum number of records to return. */ top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Model version. */ + version?: string; + /** Model description. */ + description?: string; /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Number of initial results to skip. */ + offset?: number; + /** Name of the feed. */ + feed?: string; } /** Contains response data for the list operation. */ -export type DataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsDeleteOptionalParams +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataVersionsGetOptionalParams +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataVersionsGetResponse = DataVersionBase; +export type ModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface DataVersionsCreateOrUpdateOptionalParams +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type DataVersionsCreateOrUpdateResponse = DataVersionBase; +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface DataVersionsPublishOptionalParams +export interface ModelVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12678,146 +14117,227 @@ export interface DataVersionsPublishOptionalParams } /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresListOptionalParams +export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Maximum number of results to return. */ + /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ + tags?: string; + /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ + properties?: string; + /** Number of endpoints to be retrieved in a page of results. */ count?: number; - /** Filter down to the workspace default datastore. */ - isDefault?: boolean; - /** Names of datastores to return. */ - names?: string[]; - /** Text to search for in the datastore names. */ - searchText?: string; - /** Order by property (createdtime | modifiedtime | name). */ - orderBy?: string; - /** Order by property in ascending order. */ - orderByAsc?: boolean; + /** Name of the endpoint. */ + name?: string; + /** EndpointComputeType to be filtered by. */ + computeType?: EndpointComputeType; + /** The option to order the response. */ + orderBy?: OrderString; } /** Contains response data for the list operation. */ -export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface DatastoresGetOptionalParams +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DatastoresGetResponse = Datastore; +export type OnlineEndpointsGetResponse = OnlineEndpoint; /** Optional parameters. */ -export interface DatastoresCreateOrUpdateOptionalParams +export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { - /** Flag to skip validation. */ - skipValidation?: boolean; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type OnlineEndpointsUpdateResponse = OnlineEndpoint; + +/** Optional parameters. */ +export interface OnlineEndpointsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ -export type DatastoresCreateOrUpdateResponse = Datastore; +export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface DatastoresListSecretsOptionalParams +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type DatastoresListSecretsResponse = DatastoreSecretsUnion; +/** Contains response data for the listKeys operation. */ +export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams +export interface OnlineEndpointsRegenerateKeysOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface OnlineEndpointsGetTokenOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getToken operation. */ +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; + +/** Optional parameters. */ +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; +export type OnlineEndpointsListNextResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type OnlineDeploymentsListResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface EnvironmentContainersGetOptionalParams +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentContainersGetResponse = EnvironmentContainer; +export type OnlineDeploymentsGetResponse = OnlineDeployment; /** Optional parameters. */ -export interface EnvironmentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type OnlineDeploymentsUpdateResponse = OnlineDeployment; + +/** Optional parameters. */ +export interface OnlineDeploymentsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +/** Contains response data for the getLogs operation. */ +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; } -/** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +/** Contains response data for the listSkus operation. */ +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type OnlineDeploymentsListNextResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; + /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +/** Contains response data for the listSkusNext operation. */ +export type OnlineDeploymentsListSkusNextResponse = + SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams +export interface SchedulesListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Status filter for schedule. */ + listViewType?: ScheduleListViewType; +} + +/** Contains response data for the list operation. */ +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface SchedulesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +/** Contains response data for the get operation. */ +export type SchedulesGetResponse = Schedule; /** Optional parameters. */ -export interface EnvironmentVersionsPublishOptionalParams +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12825,39 +14345,29 @@ export interface EnvironmentVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type SchedulesCreateOrUpdateResponse = Schedule; + /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams +export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersListOptionalParams +export interface ServerlessEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description for the feature set */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featureset */ - name?: string; - /** createdBy user name */ - createdBy?: string; } /** Contains response data for the list operation. */ -export type FeaturesetContainersListResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type ServerlessEndpointsListResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersDeleteOptionalParams +export interface ServerlessEndpointsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12865,15 +14375,31 @@ export interface FeaturesetContainersDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type ServerlessEndpointsDeleteResponse = + ServerlessEndpointsDeleteHeaders; + /** Optional parameters. */ -export interface FeaturesetContainersGetEntityOptionalParams +export interface ServerlessEndpointsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; +/** Contains response data for the get operation. */ +export type ServerlessEndpointsGetResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturesetContainersCreateOrUpdateOptionalParams +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; @@ -12882,79 +14408,52 @@ export interface FeaturesetContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; +export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturesetContainersListNextOptionalParams +export interface ServerlessEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesetContainersListNextResponse = - FeaturesetContainerResourceArmPaginatedResult; +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturesListOptionalParams +export interface ServerlessEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Description of the featureset. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** feature name. */ - featureName?: string; - /** Page size. */ - pageSize?: number; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type FeaturesListResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturesGetOptionalParams +export interface ServerlessEndpointsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type FeaturesGetResponse = Feature; +/** Contains response data for the listNext operation. */ +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesListNextOptionalParams +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = + RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** featureset version */ - version?: string; - /** description for the feature set version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featureset version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; -} +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturesetVersionsListResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsDeleteOptionalParams +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12963,14 +14462,21 @@ export interface FeaturesetVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetVersionsGetOptionalParams +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturesetVersionsGetResponse = FeaturesetVersion; +export type RegistriesGetResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsCreateOrUpdateOptionalParams +export interface RegistriesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12979,10 +14485,10 @@ export interface FeaturesetVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; +export type RegistriesCreateOrUpdateResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsBackfillOptionalParams +export interface RegistriesRemoveRegionsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12990,109 +14496,77 @@ export interface FeaturesetVersionsBackfillOptionalParams resumeFrom?: string; } -/** Contains response data for the backfill operation. */ -export type FeaturesetVersionsBackfillResponse = - FeaturesetVersionBackfillResponse; +/** Contains response data for the removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; /** Optional parameters. */ -export interface FeaturesetVersionsListNextOptionalParams +export interface RegistriesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FeaturesetVersionsListNextResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type RegistriesListNextResponse = + RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description for the featurestore entity */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featurestore entity */ - name?: string; - /** createdBy user name */ - createdBy?: string; -} +export interface WorkspaceFeaturesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturestoreEntityContainersListResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface WorkspaceFeaturesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersGetEntityOptionalParams +export interface OperationsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturestoreEntityContainersGetEntityResponse = - FeaturestoreEntityContainer; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams +export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Continuation token for pagination. */ + skip?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityContainersCreateOrUpdateResponse = - FeaturestoreEntityContainer; - -/** Optional parameters. */ -export interface FeaturestoreEntityContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityContainersListNextResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsListOptionalParams +export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** featurestore entity version */ - version?: string; - /** description for the feature entity version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featurestore entity version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; } -/** Contains response data for the list operation. */ -export type FeaturestoreEntityVersionsListResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsDeleteOptionalParams +export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { + /** Flag to indicate delete is a purge request. */ + forceToPurge?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -13100,14 +14574,14 @@ export interface FeaturestoreEntityVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturestoreEntityVersionsGetOptionalParams +export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; +export type WorkspacesGetResponse = Workspace; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13115,84 +14589,75 @@ export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = - FeaturestoreEntityVersion; - -/** Optional parameters. */ -export interface FeaturestoreEntityVersionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityVersionsListNextResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface JobsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Type of job to be returned. */ - jobType?: string; - /** Jobs returned will have this tag key. */ - tag?: string; +/** Contains response data for the update operation. */ +export type WorkspacesUpdateResponse = 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 list operation. */ -export type JobsListResponse = JobBaseResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; /** Optional parameters. */ -export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { +export interface WorkspacesDiagnoseOptionalParams + extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + body?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; + /** Optional parameters. */ -export interface JobsGetOptionalParams extends coreClient.OperationOptions {} +export interface WorkspacesListKeysOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type JobsGetResponse = JobBase; +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; /** Optional parameters. */ -export interface JobsCreateOrUpdateOptionalParams +export interface WorkspacesListNotebookAccessTokenOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type JobsCreateOrUpdateResponse = JobBase; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = + NotebookAccessTokenResult; /** Optional parameters. */ -export interface JobsCancelOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface WorkspacesListNotebookKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; /** Optional parameters. */ -export interface JobsListNextOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = + ListStorageAccountKeysResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type MarketplaceSubscriptionsListResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = + ExternalFqdnResponse; /** Optional parameters. */ -export interface MarketplaceSubscriptionsDeleteOptionalParams +export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13200,19 +14665,11 @@ export interface MarketplaceSubscriptionsDeleteOptionalParams resumeFrom?: string; } -/** Contains response data for the delete operation. */ -export type MarketplaceSubscriptionsDeleteResponse = - MarketplaceSubscriptionsDeleteHeaders; - -/** Optional parameters. */ -export interface MarketplaceSubscriptionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; +/** Contains response data for the prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; /** Optional parameters. */ -export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams +export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13220,147 +14677,110 @@ export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type MarketplaceSubscriptionsCreateOrUpdateResponse = - MarketplaceSubscription; +/** Optional parameters. */ +export interface WorkspacesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListNextOptionalParams +export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type MarketplaceSubscriptionsListNextResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ModelContainersListOptionalParams +export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Maximum number of results to return. */ - count?: number; + /** Target of the workspace connection. */ + target?: string; + /** Category of the workspace connection. */ + category?: string; + /** query parameter that indicates if get connection call should return both connections and datastores */ + includeAll?: boolean; } /** Contains response data for the list operation. */ -export type ModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelContainersDeleteOptionalParams +export interface WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModelContainersGetOptionalParams +export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ModelContainersGetResponse = ModelContainer; - -/** Optional parameters. */ -export interface ModelContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ModelContainersCreateOrUpdateResponse = ModelContainer; - -/** Optional parameters. */ -export interface ModelContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type WorkspaceConnectionsGetResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsListOptionalParams +export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Model version. */ - version?: string; - /** Model description. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Number of initial results to skip. */ - offset?: number; - /** Name of the feed. */ - feed?: string; + /** Parameters for workspace connection update. */ + body?: WorkspaceConnectionUpdateParameter; } -/** Contains response data for the list operation. */ -export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the update operation. */ +export type WorkspaceConnectionsUpdateResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions { + /** The object for creating or updating a new workspace connection */ + body?: WorkspaceConnectionPropertiesV2BasicResource; +} -/** Contains response data for the get operation. */ -export type ModelVersionsGetResponse = ModelVersion; +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsCreateOrUpdateOptionalParams +export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsPublishOptionalParams +export interface WorkspaceConnectionsTestConnectionOptionalParams extends coreClient.OperationOptions { + /** Workspace Connection object */ + body?: WorkspaceConnectionPropertiesV2BasicResource; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the testConnection operation. */ +export type WorkspaceConnectionsTestConnectionResponse = + WorkspaceConnectionsTestConnectionHeaders; + /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ - tags?: string; - /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ - properties?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; - /** Name of the endpoint. */ - name?: string; - /** EndpointComputeType to be filtered by. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; -} +export interface ConnectionListDeploymentsOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listDeployments operation. */ +export type ConnectionListDeploymentsResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsDeleteOptionalParams +export interface ConnectionDeleteDeploymentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13368,15 +14788,20 @@ export interface OnlineEndpointsDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the deleteDeployment operation. */ +export type ConnectionDeleteDeploymentResponse = + ConnectionDeleteDeploymentHeaders; + /** Optional parameters. */ -export interface OnlineEndpointsGetOptionalParams +export interface ConnectionGetDeploymentOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type OnlineEndpointsGetResponse = OnlineEndpoint; +/** Contains response data for the getDeployment operation. */ +export type ConnectionGetDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsUpdateOptionalParams +export interface ConnectionCreateOrUpdateDeploymentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13384,69 +14809,91 @@ export interface OnlineEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; +/** Contains response data for the createOrUpdateDeployment operation. */ +export type ConnectionCreateOrUpdateDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsCreateOrUpdateOptionalParams - 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 ConnectionGetModelsOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +/** Contains response data for the getModels operation. */ +export type ConnectionGetModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsListKeysOptionalParams +export interface ConnectionListModelsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the listModels operation. */ +export type ConnectionListModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsRegenerateKeysOptionalParams +export interface ConnectionListDeploymentsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listDeploymentsNext operation. */ +export type ConnectionListDeploymentsNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionGetModelsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getModelsNext operation. */ +export type ConnectionGetModelsNextResponse = EndpointModels; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistsListResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistsListNextResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; -} - -/** Optional parameters. */ -export interface OnlineEndpointsGetTokenOptionalParams - extends coreClient.OperationOptions {} +} -/** Contains response data for the getToken operation. */ -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistDeleteResponse = + ConnectionRaiBlocklistDeleteHeaders; /** Optional parameters. */ -export interface OnlineEndpointsListNextOptionalParams +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistGetResponse = + RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListOptionalParams +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistCreateResponse = + RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsDeleteOptionalParams +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13454,15 +14901,12 @@ export interface OnlineDeploymentsDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface OnlineDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type OnlineDeploymentsGetResponse = OnlineDeployment; +/** Contains response data for the addBulk operation. */ +export type ConnectionRaiBlocklistItemAddBulkResponse = + RaiBlocklistItemPropertiesBasicResource[]; /** Optional parameters. */ -export interface OnlineDeploymentsUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13470,11 +14914,8 @@ export interface OnlineDeploymentsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; - /** Optional parameters. */ -export interface OnlineDeploymentsCreateOrUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13482,58 +14923,65 @@ export interface OnlineDeploymentsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistItemDeleteResponse = + ConnectionRaiBlocklistItemDeleteHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsGetLogsOptionalParams +export interface ConnectionRaiBlocklistItemGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogs operation. */ -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistItemGetResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusOptionalParams +export interface ConnectionRaiBlocklistItemCreateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listSkus operation. */ -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistItemCreateResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListNextOptionalParams +export interface ConnectionRaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistItemsListResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusNextOptionalParams +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = - SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistItemsListNextResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; -} +export interface ConnectionRaiPoliciesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; +export type ConnectionRaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesDeleteOptionalParams +export interface ConnectionRaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ConnectionRaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13541,15 +14989,19 @@ export interface SchedulesDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type ConnectionRaiPolicyDeleteResponse = + ConnectionRaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface SchedulesGetOptionalParams +export interface ConnectionRaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams +export interface ConnectionRaiPolicyCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13557,29 +15009,33 @@ 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 create operation. */ +export type ConnectionRaiPolicyCreateResponse = + RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; } +/** Contains response data for the getInWorkspace operation. */ +export type EndpointDeploymentGetInWorkspaceResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointDeploymentListResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13588,18 +15044,18 @@ export interface ServerlessEndpointsDeleteOptionalParams } /** Contains response data for the delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +export type EndpointDeploymentGetResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13607,30 +15063,51 @@ export interface ServerlessEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; +/** Contains response data for the createOrUpdate operation. */ +export type EndpointDeploymentCreateOrUpdateResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getInWorkspaceNext operation. */ +export type EndpointDeploymentGetInWorkspaceNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EndpointDeploymentListNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Continuation token for pagination. */ + skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; + includeInferenceEndpoints?: boolean; + /** Whether the endpoint resource will be expand to include deployment information, e.g. $expand=deployments */ + expand?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; +/** Contains response data for the list operation. */ +export type EndpointListResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams +export interface EndpointGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13638,34 +15115,64 @@ export interface ServerlessEndpointsRegenerateKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type EndpointCreateOrUpdateResponse = + EndpointResourcePropertiesBasicResource; + +/** Optional parameters. */ +export interface EndpointListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type EndpointListKeysResponse = EndpointKeys; + +/** Optional parameters. */ +export interface EndpointGetModelsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getModels operation. */ +export type EndpointGetModelsResponse = EndpointModels; + +/** Optional parameters. */ +export interface EndpointRegenerateKeysOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +export type EndpointRegenerateKeysResponse = AccountApiKeys; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointListNextResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the getModelsNext operation. */ +export type EndpointGetModelsNextResponse = EndpointModels; /** Optional parameters. */ -export interface RegistriesListOptionalParams +export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +export type RaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams +export interface RaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13673,22 +15180,37 @@ export interface RegistriesDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface RegistriesGetOptionalParams +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams +export interface RaiPolicyCreateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the create operation. */ +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13696,11 +15218,15 @@ export interface RegistriesCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistriesCreateOrUpdateResponse = Registry; +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesRemoveRegionsOptionalParams +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13708,38 +15234,65 @@ export interface RegistriesRemoveRegionsOptionalParams resumeFrom?: string; } -/** Contains response data for the removeRegions operation. */ -export type RegistriesRemoveRegionsResponse = Registry; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = + OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = + PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = + PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams + extends coreClient.OperationOptions { + /** Managed Network Provisioning Options for a machine learning workspace. */ + body?: ManagedNetworkProvisionOptions; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the provisionManagedNetwork operation. */ +export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = + ManagedNetworkProvisionStatus; /** Optional parameters. */ export interface AzureMachineLearningServicesManagementClientOptionalParams diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index f7208e80909a..b9b2dd3da49e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -8,10 +8,10 @@ import * as coreClient from "@azure/core-client"; -export const OperationListResult: coreClient.CompositeMapper = { +export const ListUsagesResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "ListUsagesResult", modelProperties: { value: { serializedName: "value", @@ -21,7 +21,7 @@ export const OperationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation", + className: "Usage", }, }, }, @@ -37,78 +37,78 @@ export const OperationListResult: coreClient.CompositeMapper = { }, }; -export const Operation: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "Usage", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", readOnly: true, type: { name: "String", }, }, - isDataAction: { - serializedName: "isDataAction", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - display: { - serializedName: "display", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "OperationDisplay", + name: "String", }, }, - origin: { - serializedName: "origin", + unit: { + serializedName: "unit", readOnly: true, type: { name: "String", }, }, - actionType: { - serializedName: "actionType", + currentValue: { + serializedName: "currentValue", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const OperationDisplay: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + limit: { + serializedName: "limit", readOnly: true, type: { - name: "String", + name: "Number", }, }, - resource: { - serializedName: "resource", - readOnly: true, + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "UsageName", }, }, - operation: { - serializedName: "operation", + }, + }, +}; + +export const UsageName: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UsageName", + modelProperties: { + value: { + serializedName: "value", readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", + localizedValue: { + serializedName: "localizedValue", readOnly: true, type: { name: "String", @@ -214,155 +214,146 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { }, }; -export const EncryptionProperty: coreClient.CompositeMapper = { +export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionProperty", + className: "VirtualMachineSizeListResult", modelProperties: { - status: { - serializedName: "status", - required: true, - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityForCmk", - }, - }, - keyVaultProperties: { - serializedName: "keyVaultProperties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineSize", + }, + }, }, }, }, }, }; -export const IdentityForCmk: coreClient.CompositeMapper = { +export const VirtualMachineSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityForCmk", + className: "VirtualMachineSize", modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", - modelProperties: { - keyVaultArmId: { - serializedName: "keyVaultArmId", - required: true, + family: { + serializedName: "family", + readOnly: true, type: { name: "String", }, }, - keyIdentifier: { - serializedName: "keyIdentifier", - required: true, + vCPUs: { + serializedName: "vCPUs", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - identityClientId: { - serializedName: "identityClientId", + gpus: { + serializedName: "gpus", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - serializedName: "id", + osVhdSizeMB: { + serializedName: "osVhdSizeMB", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + maxResourceVolumeMB: { + serializedName: "maxResourceVolumeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + memoryGB: { + serializedName: "memoryGB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - actionsRequired: { - serializedName: "actionsRequired", + lowPriorityCapable: { + serializedName: "lowPriorityCapable", + readOnly: true, type: { - name: "String", + name: "Boolean", + }, + }, + premiumIO: { + serializedName: "premiumIO", + readOnly: true, + type: { + name: "Boolean", + }, + }, + estimatedVMPrices: { + serializedName: "estimatedVMPrices", + type: { + name: "Composite", + className: "EstimatedVMPrices", + }, + }, + supportedComputeTypes: { + serializedName: "supportedComputeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ManagedServiceIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrices: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "EstimatedVMPrices", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, + billingCurrency: { + serializedName: "billingCurrency", + required: true, type: { - name: "Uuid", + name: "String", }, }, - type: { - serializedName: "type", + unitOfMeasure: { + serializedName: "unitOfMeasure", required: true, type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + values: { + serializedName: "values", + required: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EstimatedVMPrice", + }, }, }, }, @@ -370,204 +361,239 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrice: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "EstimatedVMPrice", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + retailPrice: { + serializedName: "retailPrice", + required: true, type: { - name: "Uuid", + name: "Number", }, }, - clientId: { - serializedName: "clientId", - readOnly: true, + osType: { + serializedName: "osType", + required: true, type: { - name: "Uuid", + name: "String", + }, + }, + vmTier: { + serializedName: "vmTier", + required: true, + type: { + name: "String", }, }, }, }, }; -export const Sku: coreClient.CompositeMapper = { +export const QuotaUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "QuotaUpdateParameters", modelProperties: { - name: { - serializedName: "name", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaBaseProperties", + }, + }, }, }, - tier: { - serializedName: "tier", + location: { + serializedName: "location", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + }, + }, +}; + +export const QuotaBaseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QuotaBaseProperties", + modelProperties: { + id: { + serializedName: "id", type: { name: "String", }, }, - family: { - serializedName: "family", + type: { + serializedName: "type", type: { name: "String", }, }, - capacity: { - serializedName: "capacity", + limit: { + serializedName: "limit", type: { name: "Number", }, }, + unit: { + serializedName: "unit", + type: { + name: "String", + }, + }, }, }, }; -export const Resource: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "UpdateWorkspaceQuotasResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - name: { - serializedName: "name", + value: { + serializedName: "value", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + }, + }, }, }, - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData", - }, - }, }, }, }; -export const SystemData: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UpdateWorkspaceQuotas", modelProperties: { - createdBy: { - serializedName: "createdBy", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - createdByType: { - serializedName: "createdByType", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - createdAt: { - serializedName: "createdAt", + limit: { + serializedName: "limit", type: { - name: "DateTime", + name: "Number", }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + status: { + serializedName: "status", type: { name: "String", }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime", - }, - }, }, }, }; -export const ServerlessComputeSettings: coreClient.CompositeMapper = { +export const ListWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ListWorkspaceQuotas", modelProperties: { - serverlessComputeCustomSubnet: { - serializedName: "serverlessComputeCustomSubnet", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceQuota", + }, + }, }, }, - serverlessComputeNoPublicIP: { - serializedName: "serverlessComputeNoPublicIP", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const SharedPrivateLinkResource: coreClient.CompositeMapper = { +export const ResourceQuota: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharedPrivateLinkResource", + className: "ResourceQuota", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", + readOnly: true, type: { name: "String", }, }, - groupId: { - serializedName: "properties.groupId", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - requestMessage: { - serializedName: "properties.requestMessage", + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "ResourceName", }, }, - status: { - serializedName: "properties.status", + limit: { + serializedName: "limit", + readOnly: true, + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, @@ -576,924 +602,819 @@ export const SharedPrivateLinkResource: coreClient.CompositeMapper = { }, }; -export const NotebookResourceInfo: coreClient.CompositeMapper = { +export const ResourceName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookResourceInfo", + className: "ResourceName", modelProperties: { - fqdn: { - serializedName: "fqdn", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, }, - resourceId: { - serializedName: "resourceId", + localizedValue: { + serializedName: "localizedValue", + readOnly: true, type: { name: "String", }, }, - notebookPreparationError: { - serializedName: "notebookPreparationError", - type: { - name: "Composite", - className: "NotebookPreparationError", - }, - }, }, }, }; -export const NotebookPreparationError: coreClient.CompositeMapper = { +export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookPreparationError", + className: "PaginatedComputeResourcesList", modelProperties: { - errorMessage: { - serializedName: "errorMessage", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeResource", + }, + }, }, }, - statusCode: { - serializedName: "statusCode", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { +export const ManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceManagedResourcesSettings", + className: "ManagedServiceIdentity", modelProperties: { - cosmosDb: { - serializedName: "cosmosDb", - type: { - name: "Composite", - className: "CosmosDbSettings", + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, }, }, }, }, }; -export const CosmosDbSettings: coreClient.CompositeMapper = { +export const UserAssignedIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CosmosDbSettings", + className: "UserAssignedIdentity", modelProperties: { - collectionsThroughput: { - serializedName: "collectionsThroughput", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Number", + name: "Uuid", + }, + }, + clientId: { + serializedName: "clientId", + readOnly: true, + type: { + name: "Uuid", }, }, }, }, }; -export const ManagedNetworkSettings: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkSettings", + className: "Sku", modelProperties: { - isolationMode: { - serializedName: "isolationMode", + name: { + serializedName: "name", + required: true, type: { name: "String", }, }, - networkId: { - serializedName: "networkId", - readOnly: true, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + size: { + serializedName: "size", type: { name: "String", }, }, - outboundRules: { - serializedName: "outboundRules", - nullable: true, + family: { + serializedName: "family", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "OutboundRule" } }, + name: "String", }, }, - status: { - serializedName: "status", + capacity: { + serializedName: "capacity", type: { - name: "Composite", - className: "ManagedNetworkProvisionStatus", + name: "Number", }, }, }, }, }; -export const OutboundRule: coreClient.CompositeMapper = { +export const Resource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, + className: "Resource", modelProperties: { - category: { - serializedName: "category", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - status: { - serializedName: "status", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", - required: true, + readOnly: true, type: { name: "String", }, }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + }, + }, }, }, }; -export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionStatus", + className: "SystemData", modelProperties: { - sparkReady: { - serializedName: "sparkReady", + createdBy: { + serializedName: "createdBy", type: { - name: "Boolean", + name: "String", }, }, - status: { - serializedName: "status", + createdByType: { + serializedName: "createdByType", type: { name: "String", }, }, - }, - }, -}; - -export const FeatureStoreSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureStoreSettings", - modelProperties: { - computeRuntime: { - serializedName: "computeRuntime", + createdAt: { + serializedName: "createdAt", type: { - name: "Composite", - className: "ComputeRuntimeDto", + name: "DateTime", }, }, - offlineStoreConnectionName: { - serializedName: "offlineStoreConnectionName", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { name: "String", }, }, - onlineStoreConnectionName: { - serializedName: "onlineStoreConnectionName", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeRuntimeDto: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeRuntimeDto", - modelProperties: { - sparkRuntimeVersion: { - serializedName: "sparkRuntimeVersion", + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const WorkspaceHubConfig: coreClient.CompositeMapper = { +export const ComputeResourceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceHubConfig", + className: "ComputeResourceSchema", modelProperties: { - additionalWorkspaceStorageAccounts: { - serializedName: "additionalWorkspaceStorageAccounts", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - defaultWorkspaceResourceGroup: { - serializedName: "defaultWorkspaceResourceGroup", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "Compute", }, }, }, }, }; -export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { +export const Compute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceUpdateParameters", + className: "Compute", + uberParent: "Compute", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - identity: { - serializedName: "identity", + computeLocation: { + serializedName: "computeLocation", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + createdOn: { + serializedName: "createdOn", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + modifiedOn: { + serializedName: "modifiedOn", + readOnly: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "DateTime", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + provisioningErrors: { + serializedName: "provisioningErrors", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", - }, - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String", - }, - }, - applicationInsights: { - serializedName: "properties.applicationInsights", - type: { - name: "String", - }, - }, - containerRegistry: { - serializedName: "properties.containerRegistry", - type: { - name: "String", - }, - }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", - type: { - name: "Composite", - className: "FeatureStoreSettings", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", - type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + isAttachedCompute: { + serializedName: "isAttachedCompute", + readOnly: true, type: { name: "Boolean", }, }, - v1LegacyMode: { - serializedName: "properties.v1LegacyMode", + disableLocalAuth: { + serializedName: "disableLocalAuth", type: { name: "Boolean", }, }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "EncryptionUpdateProperties", - }, - }, }, }, }; -export const EncryptionUpdateProperties: coreClient.CompositeMapper = { +export const ClusterUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ClusterUpdateParameters", modelProperties: { - keyVaultProperties: { - serializedName: "keyVaultProperties", + properties: { + serializedName: "properties.properties", type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", }, }, }, }, }; -export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettingsInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", modelProperties: { - keyIdentifier: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "keyIdentifier", - required: true, + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String", + name: "Composite", + className: "ScaleSettings", }, }, }, }, }; -export const WorkspaceListResult: coreClient.CompositeMapper = { +export const ScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceListResult", + className: "ScaleSettings", modelProperties: { - value: { - serializedName: "value", + maxNodeCount: { + serializedName: "maxNodeCount", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Workspace", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", + minNodeCount: { + defaultValue: 0, + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseWorkspaceParameters", - modelProperties: { - value: { - serializedName: "value", + nodeIdleTimeBeforeScaleDown: { + serializedName: "nodeIdleTimeBeforeScaleDown", type: { - name: "Composite", - className: "DiagnoseRequestProperties", + name: "TimeSpan", }, }, }, }, }; -export const DiagnoseRequestProperties: coreClient.CompositeMapper = { +export const CustomService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseRequestProperties", + className: "CustomService", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - udr: { - serializedName: "udr", + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - nsg: { - serializedName: "nsg", + image: { + serializedName: "image", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Image", }, }, - resourceLock: { - serializedName: "resourceLock", + environmentVariables: { + serializedName: "environmentVariables", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + type: { name: "Composite", className: "EnvironmentVariable" }, }, }, }, - dnsResolution: { - serializedName: "dnsResolution", + docker: { + serializedName: "docker", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Docker", }, }, - storageAccount: { - serializedName: "storageAccount", + endpoints: { + serializedName: "endpoints", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Endpoint", + }, }, }, }, - keyVault: { - serializedName: "keyVault", + volumes: { + serializedName: "volumes", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeDefinition", + }, }, }, }, - containerRegistry: { - serializedName: "containerRegistry", + kernel: { + serializedName: "kernel", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "JupyterKernelConfig", }, }, - applicationInsights: { - serializedName: "applicationInsights", + }, + }, +}; + +export const Image: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Image", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + type: { + defaultValue: "docker", + serializedName: "type", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - others: { - serializedName: "others", + reference: { + serializedName: "reference", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const DiagnoseResponseResult: coreClient.CompositeMapper = { +export const EnvironmentVariable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResult", + className: "EnvironmentVariable", + additionalProperties: { type: { name: "Object" } }, modelProperties: { + type: { + defaultValue: "local", + serializedName: "type", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { - name: "Composite", - className: "DiagnoseResponseResultValue", + name: "String", }, }, }, }, }; -export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { +export const Docker: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResultValue", + className: "Docker", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - userDefinedRouteResults: { - serializedName: "userDefinedRouteResults", + privileged: { + serializedName: "privileged", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - networkSecurityRuleResults: { - serializedName: "networkSecurityRuleResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - resourceLockResults: { - serializedName: "resourceLockResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - dnsResolutionResults: { - serializedName: "dnsResolutionResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Boolean", }, }, - storageAccountResults: { - serializedName: "storageAccountResults", + }, + }, +}; + +export const Endpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Endpoint", + modelProperties: { + protocol: { + defaultValue: "tcp", + serializedName: "protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - keyVaultResults: { - serializedName: "keyVaultResults", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - containerRegistryResults: { - serializedName: "containerRegistryResults", + target: { + serializedName: "target", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - applicationInsightsResults: { - serializedName: "applicationInsightsResults", + published: { + serializedName: "published", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - otherResults: { - serializedName: "otherResults", + hostIp: { + serializedName: "hostIp", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResult: coreClient.CompositeMapper = { +export const VolumeDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResult", + className: "VolumeDefinition", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + type: { + defaultValue: "bind", + serializedName: "type", type: { name: "String", }, }, - level: { - serializedName: "level", - readOnly: true, + readOnly: { + serializedName: "readOnly", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - message: { - serializedName: "message", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - }, - }, -}; - -export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListWorkspaceKeysResult", - modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + target: { + serializedName: "target", type: { name: "String", }, }, - userStorageResourceId: { - serializedName: "userStorageResourceId", - readOnly: true, + consistency: { + serializedName: "consistency", + nullable: true, type: { name: "String", }, }, - appInsightsInstrumentationKey: { - serializedName: "appInsightsInstrumentationKey", - readOnly: true, + bind: { + serializedName: "bind", type: { - name: "String", + name: "Composite", + className: "BindOptions", }, }, - containerRegistryCredentials: { - serializedName: "containerRegistryCredentials", + volume: { + serializedName: "volume", type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "VolumeOptions", }, }, - notebookAccessKeys: { - serializedName: "notebookAccessKeys", + tmpfs: { + serializedName: "tmpfs", type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", }, }, }, }, }; -export const RegistryListCredentialsResult: coreClient.CompositeMapper = { +export const BindOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "BindOptions", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + propagation: { + serializedName: "propagation", + nullable: true, type: { name: "String", }, }, - username: { - serializedName: "username", - readOnly: true, + createHostPath: { + serializedName: "createHostPath", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - passwords: { - serializedName: "passwords", + selinux: { + serializedName: "selinux", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Password", - }, - }, + name: "String", }, }, }, }, }; -export const Password: coreClient.CompositeMapper = { +export const VolumeOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Password", + className: "VolumeOptions", modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - readOnly: true, + nocopy: { + serializedName: "nocopy", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ListNotebookKeysResult: coreClient.CompositeMapper = { +export const TmpfsOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", modelProperties: { - primaryAccessKey: { - serializedName: "primaryAccessKey", - readOnly: true, - type: { - name: "String", - }, - }, - secondaryAccessKey: { - serializedName: "secondaryAccessKey", - readOnly: true, + size: { + serializedName: "size", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ListUsagesResult: coreClient.CompositeMapper = { +export const JupyterKernelConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListUsagesResult", + className: "JupyterKernelConfig", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + argv: { + serializedName: "argv", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Usage", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - }, + language: { + serializedName: "language", + type: { + name: "String", + }, + }, + }, }, }; -export const Usage: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "AmlComputeNodesInformation", modelProperties: { - id: { - serializedName: "id", + nodes: { + serializedName: "nodes", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + }, + }, }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - type: { - serializedName: "type", + }, + }, +}; + +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + modelProperties: { + nodeId: { + serializedName: "nodeId", readOnly: true, type: { name: "String", }, }, - unit: { - serializedName: "unit", + privateIpAddress: { + serializedName: "privateIpAddress", readOnly: true, + nullable: true, type: { name: "String", }, }, - currentValue: { - serializedName: "currentValue", + publicIpAddress: { + serializedName: "publicIpAddress", readOnly: true, + nullable: true, type: { - name: "Number", + name: "String", }, }, - limit: { - serializedName: "limit", + port: { + serializedName: "port", readOnly: true, type: { name: "Number", }, }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "UsageName", - }, - }, - }, - }, -}; - -export const UsageName: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UsageName", - modelProperties: { - value: { - serializedName: "value", + nodeState: { + serializedName: "nodeState", readOnly: true, type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", + runId: { + serializedName: "runId", readOnly: true, + nullable: true, type: { name: "String", }, @@ -1502,175 +1423,118 @@ export const UsageName: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { +export const ComputeSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSizeListResult", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - value: { - serializedName: "value", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineSize", - }, - }, + name: "String", }, }, }, }, }; -export const VirtualMachineSize: coreClient.CompositeMapper = { +export const ComputeInstanceDataMount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSize", + className: "ComputeInstanceDataMount", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - family: { - serializedName: "family", - readOnly: true, + sourceType: { + serializedName: "sourceType", type: { name: "String", }, }, - vCPUs: { - serializedName: "vCPUs", - readOnly: true, - type: { - name: "Number", - }, - }, - gpus: { - serializedName: "gpus", - readOnly: true, + mountName: { + serializedName: "mountName", type: { - name: "Number", + name: "String", }, }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, + mountAction: { + serializedName: "mountAction", type: { - name: "Number", + name: "String", }, }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, + mountMode: { + serializedName: "mountMode", type: { - name: "Number", + name: "String", }, }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, + createdBy: { + serializedName: "createdBy", type: { - name: "Number", + name: "String", }, }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, + mountPath: { + serializedName: "mountPath", type: { - name: "Boolean", + name: "String", }, }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, + mountState: { + serializedName: "mountState", type: { - name: "Boolean", + name: "String", }, }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", + mountedOn: { + serializedName: "mountedOn", type: { - name: "Composite", - className: "EstimatedVMPrices", + name: "DateTime", }, }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", + error: { + serializedName: "error", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { +export const IdleShutdownSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrices", + className: "IdleShutdownSetting", modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, - type: { - name: "String", - }, - }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { name: "String", }, }, - values: { - serializedName: "values", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EstimatedVMPrice", - }, - }, - }, - }, }, }, }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const ResizeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "ResizeSchema", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", - }, - }, - osType: { - serializedName: "osType", - required: true, - type: { - name: "String", - }, - }, - vmTier: { - serializedName: "vmTier", - required: true, + targetVMSize: { + serializedName: "targetVMSize", type: { name: "String", }, @@ -1679,129 +1543,108 @@ export const EstimatedVMPrice: coreClient.CompositeMapper = { }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QuotaUpdateParameters", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaBaseProperties", - }, +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - location: { - serializedName: "location", - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeContainer", + }, + }, + }, }, }, }, - }, -}; + }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const ResourceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "ResourceBase", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - unit: { - serializedName: "unit", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotasResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - }, +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotas", + className: "PendingUploadRequestDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - limit: { - serializedName: "limit", - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1810,27 +1653,27 @@ export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceQuotas", + className: "PendingUploadResponseDto", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceQuota", - }, - }, + name: "Composite", + className: "BlobReferenceForConsumptionDto", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, + type: { + name: "String", + }, + }, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1839,49 +1682,28 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "BlobReferenceForConsumptionDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - name: { - serializedName: "name", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "ResourceName", - }, - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number", + className: "PendingUploadCredentialDto", }, }, - unit: { - serializedName: "unit", - readOnly: true, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { name: "String", }, @@ -1890,21 +1712,19 @@ export const ResourceQuota: coreClient.CompositeMapper = { }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "String", - }, - }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -1913,220 +1733,200 @@ export const ResourceName: coreClient.CompositeMapper = { }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PaginatedComputeResourcesList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeResource", +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, - }, -}; + }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeResourceSchema", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "Compute", +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const Compute: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Compute", - uberParent: "Compute", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, - type: { - name: "String", - }, - }, - computeLocation: { - serializedName: "computeLocation", - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - createdOn: { - serializedName: "createdOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - modifiedOn: { - serializedName: "modifiedOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - resourceId: { - serializedName: "resourceId", - nullable: true, - type: { - name: "String", +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - provisioningErrors: { - serializedName: "provisioningErrors", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, }, }, }, }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, - type: { - name: "Boolean", + }, + }; + +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataVersionBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - disableLocalAuth: { - serializedName: "disableLocalAuth", - type: { - name: "Boolean", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, + }, }, }, }, - }, -}; + }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - properties: { - serializedName: "properties.properties", + assetId: { + serializedName: "assetId", + nullable: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", + }, + }, + blobUri: { + serializedName: "blobUri", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "GetBlobReferenceSASResponseDto", modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { - name: "Number", + name: "String", }, }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + credential: { + serializedName: "credential", type: { - name: "Number", + name: "Composite", + className: "DataReferenceCredential", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -2135,116 +1935,206 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, - type: { - name: "String", +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, + }, }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, + }, + }; + +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, + }, + }, + }, + }, + }, + }; + +export const BuildContext: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BuildContext", + modelProperties: { + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "contextUri", + required: true, type: { name: "String", }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, }, - port: { - serializedName: "port", - readOnly: true, + }, + }, +}; + +export const InferenceContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceContainerProperties", + modelProperties: { + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "Number", + name: "Composite", + className: "Route", }, }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - runId: { - serializedName: "runId", - readOnly: true, - nullable: true, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, }, }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "Route", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "path", + required: true, type: { name: "String", }, }, - hostName: { - serializedName: "hostName", - readOnly: true, + port: { + serializedName: "port", + required: true, type: { - name: "String", + name: "Number", }, }, - publicDns: { - serializedName: "publicDns", - readOnly: true, - type: { - name: "String", + }, + }, +}; + +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MarketplaceSubscription", + }, + }, + }, }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, + }, + }; + +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MarketplaceSubscriptionProperties", + modelProperties: { + marketplacePlan: { + serializedName: "marketplacePlan", type: { - name: "String", + name: "Composite", + className: "MarketplacePlan", }, }, - tokenType: { - serializedName: "tokenType", + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", readOnly: true, type: { name: "String", }, }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, - type: { - name: "Number", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, + serializedName: "modelId", + required: true, type: { name: "String", }, }, - scope: { - serializedName: "scope", + provisioningState: { + serializedName: "provisioningState", readOnly: true, type: { name: "String", @@ -2254,19 +2144,31 @@ export const NotebookAccessTokenResult: coreClient.CompositeMapper = { }, }; -export const ComputeSecrets: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "MarketplacePlan", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + offerId: { + serializedName: "offerId", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + planId: { + serializedName: "planId", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + publisherId: { + serializedName: "publisherId", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -2275,56 +2177,115 @@ export const ComputeSecrets: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointConnectionListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer", + }, + }, }, }, }, }, - }, -}; + }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", + }, + }, + }, + }, + }, + }, + }; + +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "FlavorData", modelProperties: { - value: { - serializedName: "value", + data: { + serializedName: "data", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchEndpoint", + }, + }, + }, + }, + }, + }, + }; + +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "BatchEndpointDefaults", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, @@ -2333,102 +2294,135 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", - }, + className: "EndpointPropertiesBase", modelProperties: { - authType: { - serializedName: "authType", + authMode: { + serializedName: "authMode", required: true, type: { name: "String", }, }, - category: { - serializedName: "category", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "EndpointAuthKeys", }, }, - expiryTime: { - serializedName: "expiryTime", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - group: { - serializedName: "group", + scoringUri: { + serializedName: "scoringUri", readOnly: true, + nullable: true, type: { name: "String", }, }, - isSharedToAll: { - serializedName: "isSharedToAll", + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - target: { - serializedName: "target", + }, + }, +}; + +export const EndpointAuthKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointAuthKeys", + modelProperties: { + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { name: "String", }, }, - metadata: { - serializedName: "metadata", + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sharedUserList: { - serializedName: "sharedUserList", + }, + }, +}; + +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - value: { - serializedName: "value", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - valueFormat: { - serializedName: "valueFormat", + }, + }, +}; + +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResource", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2436,79 +2430,83 @@ export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: cor element: { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "BatchDeployment", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: { + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", + }, modelProperties: { - value: { - serializedName: "value", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoints", - }, - }, + name: "String", }, }, }, }, }; -export const FqdnEndpoints: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoints", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: { + serializedName: "referenceType", + clientName: "referenceType", + }, modelProperties: { - properties: { - serializedName: "properties", + referenceType: { + serializedName: "referenceType", + required: true, type: { - name: "Composite", - className: "FqdnEndpointsProperties", + name: "String", }, }, }, }, }; -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "ResourceConfiguration", modelProperties: { - category: { - serializedName: "category", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", + type: { + name: "Number", + }, + }, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, }, - endpoints: { - serializedName: "endpoints", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoint", - }, + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, }, }, }, @@ -2516,221 +2514,165 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "BatchRetrySettings", modelProperties: { - domainName: { - serializedName: "domainName", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "String", + name: "Number", }, }, - endpointDetails: { - serializedName: "endpointDetails", + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpointDetail", - }, - }, + name: "TimeSpan", }, }, }, }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - port: { - serializedName: "port", + codeConfiguration: { + serializedName: "codeConfiguration", type: { - name: "Number", + name: "Composite", + className: "CodeConfiguration", }, }, - }, - }, -}; - -export const OutboundRuleListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleListResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - value: { - serializedName: "value", + environmentId: { + serializedName: "environmentId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedNetworkProvisionOptions", - modelProperties: { - includeSpark: { - serializedName: "includeSpark", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, - }; + }, +}; -export const ResourceBase: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "CodeConfiguration", modelProperties: { - description: { - serializedName: "description", + codeId: { + serializedName: "codeId", nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - properties: { - serializedName: "properties", - nullable: true, + serializedName: "scoringScript", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", modelProperties: { - value: { - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, + name: "Composite", + className: "PartialBatchDeployment", }, }, - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "PartialBatchDeployment", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", - type: { - name: "String", - }, - }, }, }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "DestinationAsset", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Composite", - className: "BlobReferenceForConsumptionDto", + name: "String", }, }, - pendingUploadId: { - serializedName: "pendingUploadId", + destinationVersion: { + serializedName: "destinationVersion", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + registryName: { + serializedName: "registryName", + nullable: true, type: { name: "String", }, @@ -2739,48 +2681,89 @@ export const PendingUploadResponseDto: coreClient.CompositeMapper = { }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { - blobUri: { - serializedName: "blobUri", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Datastore", + }, + }, + }, + }, + }, + }, +}; + +export const DatastoreCredentials: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: { + serializedName: "credentialsType", + clientName: "credentialsType", + }, + modelProperties: { + credentialsType: { + serializedName: "credentialsType", + required: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", + }, + }, +}; + +export const SecretExpiry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretExpiry", + modelProperties: { + expirableSecret: { + defaultValue: false, + serializedName: "expirableSecret", type: { - name: "Composite", - className: "PendingUploadCredentialDto", + name: "Boolean", + }, + }, + expireAfterHours: { + defaultValue: 1, + serializedName: "expireAfterHours", + type: { + name: "Number", }, }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "secretsType", + clientName: "secretsType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + secretsType: { + serializedName: "secretsType", required: true, type: { name: "String", @@ -2790,40 +2773,18 @@ export const PendingUploadCredentialDto: coreClient.CompositeMapper = { }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", + className: "FeaturesetContainerResourceArmPaginatedResult", 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 +2792,54 @@ export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMap element: { type: { name: "Composite", - className: "ComponentVersion", + className: "FeaturesetContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + }, + }; + +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature", + }, }, }, }, }, - }; + }, +}; -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerResourceArmPaginatedResult", + className: "FeaturesetVersionResourceArmPaginatedResult", 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,102 +2847,119 @@ export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapp element: { type: { name: "Composite", - className: "DataVersionBase", + className: "FeaturesetVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "MaterializationSettings", modelProperties: { - assetId: { - serializedName: "assetId", - nullable: true, + notification: { + serializedName: "notification", type: { - name: "String", + name: "Composite", + className: "NotificationSetting", }, }, - blobUri: { - serializedName: "blobUri", - nullable: true, + resource: { + serializedName: "resource", type: { - name: "String", + name: "Composite", + className: "MaterializationComputeResource", }, }, - }, - }, -}; - -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GetBlobReferenceSASResponseDto", - modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "RecurrenceTrigger", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + storeType: { + serializedName: "storeType", + type: { + name: "String", }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "NotificationSetting", modelProperties: { - blobUri: { - serializedName: "blobUri", + emailOn: { + serializedName: "emailOn", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + emails: { + serializedName: "emails", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - credential: { - serializedName: "credential", + webhooks: { + serializedName: "webhooks", + nullable: true, type: { - name: "Composite", - className: "DataReferenceCredential", + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, }, }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", + className: "Webhook", + uberParent: "Webhook", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "webhookType", + clientName: "webhookType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + eventType: { + serializedName: "eventType", + nullable: true, + type: { + name: "String", + }, + }, + webhookType: { + serializedName: "webhookType", required: true, type: { name: "String", @@ -2992,81 +2969,129 @@ export const DataReferenceCredential: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer", - }, +export const MaterializationComputeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MaterializationComputeResource", + modelProperties: { + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + minutes: { + serializedName: "minutes", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, }, }, }, - }, - }; - -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion", - }, + monthDays: { + serializedName: "monthDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, }, - }; + }, +}; -export const BuildContext: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + endTime: { + serializedName: "endTime", + nullable: true, + type: { + name: "String", }, - serializedName: "contextUri", + }, + startTime: { + serializedName: "startTime", + nullable: true, + type: { + name: "String", + }, + }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", required: true, type: { name: "String", }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + }, + }, +}; + +export const FeaturesetSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetSpecification", + modelProperties: { + path: { + serializedName: "path", + nullable: true, type: { name: "String", }, @@ -3075,69 +3100,135 @@ export const BuildContext: coreClient.CompositeMapper = { }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { - name: "Composite", - className: "Route", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - readinessRoute: { - serializedName: "readinessRoute", + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + featureWindow: { + serializedName: "featureWindow", type: { name: "Composite", - className: "Route", + className: "FeatureWindow", }, }, - scoringRoute: { - serializedName: "scoringRoute", + jobId: { + serializedName: "jobId", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", type: { name: "Composite", - className: "Route", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const Route: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "FeatureWindow", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "path", - required: true, + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, - port: { - serializedName: "port", - required: true, + featureWindowStart: { + serializedName: "featureWindowStart", + nullable: true, type: { - name: "Number", + name: "DateTime", }, }, }, }, }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionBackfillResponse", + modelProperties: { + jobIds: { + serializedName: "jobIds", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3145,27 +3236,27 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer", + className: "FeaturestoreEntityContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3173,74 +3264,77 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ModelVersion", + className: "FeaturestoreEntityVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FlavorData: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "IndexColumn", modelProperties: { - data: { - serializedName: "data", + columnName: { + serializedName: "columnName", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + dataType: { + serializedName: "dataType", + type: { + name: "String", }, }, }, }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchEndpoint", - }, - }, - }, +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobBase", + }, }, }, }, }, - }; + }, +}; -export const BatchEndpointDefaults: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, + identityType: { + serializedName: "identityType", + required: true, type: { name: "String", }, @@ -3249,129 +3343,100 @@ export const BatchEndpointDefaults: coreClient.CompositeMapper = { }, }; -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "JobService", modelProperties: { - description: { - serializedName: "description", + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - scoringUri: { - serializedName: "scoringUri", + errorMessage: { + serializedName: "errorMessage", readOnly: true, nullable: true, type: { name: "String", }, }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, + jobServiceType: { + serializedName: "jobServiceType", nullable: true, type: { name: "String", }, }, - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String", - }, - }, - keys: { - serializedName: "keys", + nodes: { + serializedName: "nodes", type: { name: "Composite", - className: "EndpointAuthKeys", + className: "Nodes", }, }, - }, - }, -}; - -export const EndpointAuthKeys: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointAuthKeys", - modelProperties: { - primaryKey: { - serializedName: "primaryKey", + port: { + serializedName: "port", nullable: true, type: { - name: "String", + name: "Number", }, }, - secondaryKey: { - serializedName: "secondaryKey", + properties: { + serializedName: "properties", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - modelProperties: { - type: { - serializedName: "type", + status: { + serializedName: "status", + readOnly: true, + nullable: true, type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, }, }, }; -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialMinimalTrackedResource", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, modelProperties: { - tags: { - serializedName: "tags", + nodesValueType: { + serializedName: "nodesValueType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3379,112 +3444,123 @@ export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.Compos element: { type: { name: "Composite", - className: "BatchDeployment", + className: "OnlineEndpoint", }, }, }, }, + }, + }, + }; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineDeployment", + }, + }, + }, + }, + }, }, }; -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { +export const DataCollector: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", - }, + className: "DataCollector", modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", + collections: { + serializedName: "collections", required: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "Collection" } }, }, }, - }, - }, -}; - -export const BatchRetrySettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchRetrySettings", - modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + requestLogging: { + serializedName: "requestLogging", type: { - name: "Number", + name: "Composite", + className: "RequestLogging", }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + rollingRate: { + serializedName: "rollingRate", type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", - }, + className: "Collection", modelProperties: { - referenceType: { - serializedName: "referenceType", - required: true, + clientId: { + serializedName: "clientId", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const ResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceConfiguration", - modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", + dataCollectionMode: { + serializedName: "dataCollectionMode", type: { - name: "Number", + name: "String", }, }, - instanceType: { - serializedName: "instanceType", + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const RequestLogging: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RequestLogging", + modelProperties: { + captureHeaders: { + serializedName: "captureHeaders", nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, @@ -3492,112 +3568,93 @@ export const ResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "ProbeSettings", modelProperties: { - description: { - serializedName: "description", - nullable: true, + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String", + name: "Number", }, }, - properties: { - serializedName: "properties", + initialDelay: { + serializedName: "initialDelay", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, - codeConfiguration: { - serializedName: "codeConfiguration", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Composite", - className: "CodeConfiguration", + name: "TimeSpan", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", type: { - name: "String", + name: "Number", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const OnlineRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "OnlineRequestSettings", modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "String", + name: "Number", }, }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", + type: { + name: "TimeSpan", }, - serializedName: "scoringScript", - required: true, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "PartialBatchDeployment", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: { + serializedName: "scaleType", + clientName: "scaleType", + }, modelProperties: { - description: { - serializedName: "description", - nullable: true, + scaleType: { + serializedName: "scaleType", + required: true, type: { name: "String", }, @@ -3606,76 +3663,76 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "PartialSku", modelProperties: { - registryName: { - serializedName: "registryName", - nullable: true, + capacity: { + serializedName: "capacity", + type: { + name: "Number", + }, + }, + family: { + serializedName: "family", type: { name: "String", }, }, - destinationName: { - serializedName: "destinationName", - nullable: true, + name: { + serializedName: "name", type: { name: "String", }, }, - destinationVersion: { - serializedName: "destinationVersion", - nullable: true, + size: { + serializedName: "size", type: { name: "String", }, }, - }, - }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + }, + }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "DeploymentLogsRequest", modelProperties: { - value: { - serializedName: "value", + containerType: { + serializedName: "containerType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Datastore", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + tail: { + serializedName: "tail", + nullable: true, type: { - name: "String", + name: "Number", }, }, }, }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", - }, + className: "DeploymentLogs", modelProperties: { - credentialsType: { - serializedName: "credentialsType", - required: true, + content: { + serializedName: "content", + nullable: true, type: { name: "String", }, @@ -3684,60 +3741,17 @@ export const DatastoreCredentials: coreClient.CompositeMapper = { }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType", - }, + className: "SkuResourceArmPaginatedResult", modelProperties: { - secretsType: { - serializedName: "secretsType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - }, - }, -}; - -export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -3745,200 +3759,161 @@ export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Feature", + className: "SkuResource", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetSpecification: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetSpecification", + className: "SkuResource", modelProperties: { - path: { - serializedName: "path", + capacity: { + serializedName: "capacity", + type: { + name: "Composite", + className: "SkuCapacity", + }, + }, + resourceType: { + serializedName: "resourceType", + readOnly: true, nullable: true, type: { name: "String", }, }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "SkuSetting", + }, + }, }, }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const SkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "SkuCapacity", modelProperties: { - storeType: { - serializedName: "storeType", - type: { - name: "String", - }, - }, - schedule: { - serializedName: "schedule", + default: { + defaultValue: 0, + serializedName: "default", type: { - name: "Composite", - className: "RecurrenceTrigger", + name: "Number", }, }, - notification: { - serializedName: "notification", + maximum: { + defaultValue: 0, + serializedName: "maximum", type: { - name: "Composite", - className: "NotificationSetting", + name: "Number", }, }, - resource: { - serializedName: "resource", + minimum: { + defaultValue: 0, + serializedName: "minimum", type: { - name: "Composite", - className: "MaterializationComputeResource", + name: "Number", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - nullable: true, + scaleType: { + serializedName: "scaleType", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "SkuSetting", modelProperties: { - hours: { - serializedName: "hours", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - minutes: { - serializedName: "minutes", + serializedName: "name", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, - }, - }, - weekDays: { - serializedName: "weekDays", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + tier: { + serializedName: "tier", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "RegenerateEndpointKeysRequest", modelProperties: { - triggerType: { - serializedName: "triggerType", + keyType: { + serializedName: "keyType", required: true, type: { name: "String", }, }, - endTime: { - serializedName: "endTime", + keyValue: { + serializedName: "keyValue", nullable: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", + }, + }, +}; + +export const EndpointAuthToken: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointAuthToken", + modelProperties: { + accessToken: { + serializedName: "accessToken", nullable: true, type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", + type: { + name: "Number", + }, + }, + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", + type: { + name: "Number", + }, + }, + tokenType: { + serializedName: "tokenType", + nullable: true, type: { name: "String", }, @@ -3947,242 +3922,210 @@ export const TriggerBase: coreClient.CompositeMapper = { }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - emailOn: { - serializedName: "emailOn", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "Schedule", }, }, }, }, - webhooks: { - serializedName: "webhooks", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, - }, - }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const ScheduleActionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", + serializedName: "actionType", + clientName: "actionType", }, modelProperties: { - webhookType: { - serializedName: "webhookType", + actionType: { + serializedName: "actionType", required: true, type: { name: "String", }, }, - eventType: { - serializedName: "eventType", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MaterializationComputeResource", - modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, - type: { - name: "String", +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerlessEndpoint", + }, + }, + }, }, }, }, - }, -}; + }; -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillRequest", + className: "ServerlessEndpointProperties", modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String", - }, - }, - description: { - serializedName: "description", + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - featureWindow: { - serializedName: "featureWindow", + contentSafety: { + serializedName: "contentSafety", type: { name: "Composite", - className: "FeatureWindow", + className: "ContentSafety", }, }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + endpointState: { + serializedName: "endpointState", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - jobId: { - serializedName: "jobId", + inferenceEndpoint: { + serializedName: "inferenceEndpoint", type: { - name: "String", + name: "Composite", + className: "ServerlessInferenceEndpoint", }, }, - tags: { - serializedName: "tags", + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - resource: { - serializedName: "resource", + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "MaterializationComputeResource", + className: "ModelSettings", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - properties: { - serializedName: "properties", + }, + }, +}; + +export const ContentSafety: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContentSafety", + modelProperties: { + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const FeatureWindow: coreClient.CompositeMapper = { +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureWindow", + className: "ServerlessInferenceEndpoint", modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", + headers: { + serializedName: "headers", + readOnly: true, nullable: true, type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - featureWindowEnd: { - serializedName: "featureWindowEnd", - nullable: true, + uri: { + serializedName: "uri", + required: true, type: { - name: "DateTime", + name: "String", }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const ModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "ModelSettings", modelProperties: { - jobIds: { - serializedName: "jobIds", + modelId: { + serializedName: "modelId", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -4190,34 +4133,22 @@ export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.Com element: { type: { name: "Composite", - className: "FeaturestoreEntityVersion", + className: "Registry", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const IndexColumn: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IndexColumn", + className: "ArmResourceId", modelProperties: { - dataType: { - serializedName: "dataType", - type: { - name: "String", - }, - }, - columnName: { - serializedName: "columnName", + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String", @@ -4227,107 +4158,93 @@ export const IndexColumn: coreClient.CompositeMapper = { }, }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ManagedResourceGroupSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "ManagedResourceGroupSettings", modelProperties: { - value: { - serializedName: "value", + assignedIdentities: { + serializedName: "assignedIdentities", + nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "JobBase", + className: "ManagedResourceGroupAssignedIdentities", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const JobService: coreClient.CompositeMapper = { +export const ManagedResourceGroupAssignedIdentities: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + }, + }, + }; + +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "RegistryPrivateEndpointConnection", modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, - type: { - name: "String", - }, - }, - port: { - serializedName: "port", - nullable: true, - type: { - name: "Number", - }, - }, - endpoint: { - serializedName: "endpoint", + id: { + serializedName: "id", nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, + location: { + serializedName: "location", nullable: true, type: { name: "String", }, }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, + groupIds: { + serializedName: "properties.groupIds", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - properties: { - serializedName: "properties", - nullable: true, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "PrivateEndpointResource", }, }, - nodes: { - serializedName: "nodes", + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { name: "Composite", - className: "Nodes", + className: "RegistryPrivateLinkServiceConnectionState", }, }, - }, - }, -}; - -export const Nodes: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Nodes", - uberParent: "Nodes", - polymorphicDiscriminator: { - serializedName: "nodesValueType", - clientName: "nodesValueType", - }, - modelProperties: { - nodesValueType: { - serializedName: "nodesValueType", - required: true, + provisioningState: { + serializedName: "properties.provisioningState", + nullable: true, type: { name: "String", }, @@ -4336,19 +4253,14 @@ export const Nodes: coreClient.CompositeMapper = { }, }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, + className: "PrivateEndpoint", modelProperties: { - identityType: { - serializedName: "identityType", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, @@ -4357,26 +4269,28 @@ export const IdentityConfiguration: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", + className: "RegistryPrivateLinkServiceConnectionState", modelProperties: { - value: { - serializedName: "value", + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MarketplaceSubscription", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + status: { + serializedName: "status", type: { name: "String", }, @@ -4385,388 +4299,277 @@ export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.Compo }, }; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "RegistryRegionArmDetails", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "modelId", - required: true, - type: { - name: "String", - }, - }, - marketplacePlan: { - serializedName: "marketplacePlan", + acrDetails: { + serializedName: "acrDetails", + nullable: true, type: { - name: "Composite", - className: "MarketplacePlan", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails", + }, + }, }, }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, + location: { + serializedName: "location", + nullable: true, type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageAccountDetails", + }, + }, }, }, }, }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const AcrDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "AcrDetails", modelProperties: { - publisherId: { - serializedName: "publisherId", - readOnly: true, - nullable: true, + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "String", + name: "Composite", + className: "SystemCreatedAcrAccount", }, }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, + userCreatedAcrAccount: { + serializedName: "userCreatedAcrAccount", type: { - name: "String", - }, - }, - planId: { - serializedName: "planId", - readOnly: true, - nullable: true, - type: { - name: "String", + name: "Composite", + className: "UserCreatedAcrAccount", }, }, }, }, }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineEndpoint", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemCreatedAcrAccount", + modelProperties: { + acrAccountName: { + serializedName: "acrAccountName", + nullable: true, + 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", - }, - }, - }, + acrAccountSku: { + serializedName: "acrAccountSku", + nullable: true, + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + armResourceId: { + serializedName: "armResourceId", + type: { + name: "Composite", + className: "ArmResourceId", }, }, }, - }; + }, +}; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const UserCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType", - }, + className: "UserCreatedAcrAccount", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, }, }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const StorageAccountDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "StorageAccountDetails", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", - type: { - name: "TimeSpan", - }, - }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "TimeSpan", + name: "Composite", + className: "SystemCreatedStorageAccount", }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + userCreatedStorageAccount: { + serializedName: "userCreatedStorageAccount", type: { - name: "Number", + name: "Composite", + className: "UserCreatedStorageAccount", }, }, }, }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "SystemCreatedStorageAccount", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", type: { - name: "Number", + name: "Boolean", }, }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", + armResourceId: { + serializedName: "armResourceId", type: { - name: "Number", + name: "Composite", + className: "ArmResourceId", }, }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", type: { - name: "TimeSpan", + name: "Boolean", }, }, - period: { - defaultValue: "PT10S", - serializedName: "period", + storageAccountName: { + serializedName: "storageAccountName", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, - initialDelay: { - serializedName: "initialDelay", + storageAccountType: { + serializedName: "storageAccountType", nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const DataCollector: coreClient.CompositeMapper = { +export const UserCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataCollector", + className: "UserCreatedStorageAccount", modelProperties: { - collections: { - serializedName: "collections", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, - }, - }, - rollingRate: { - serializedName: "rollingRate", - type: { - name: "String", - }, - }, - requestLogging: { - serializedName: "requestLogging", + armResourceId: { + serializedName: "armResourceId", type: { name: "Composite", - className: "RequestLogging", + className: "ArmResourceId", }, }, }, }, }; -export const Collection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Collection", - modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", - type: { - name: "Number", - }, - }, - dataCollectionMode: { - serializedName: "dataCollectionMode", - type: { - name: "String", +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialRegistryPartialTrackedResource", + modelProperties: { + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + }, }, - }, - dataId: { - serializedName: "dataId", - nullable: true, - type: { - name: "String", + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, }, - }, - clientId: { - serializedName: "clientId", - nullable: true, - type: { - name: "String", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, }, }, }, - }, -}; + }; -export const RequestLogging: coreClient.CompositeMapper = { +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestLogging", + className: "ListAmlUserFeatureResult", modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "AmlUserFeature", }, }, }, }, - }, - }, -}; - -export const PartialSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialSku", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - tier: { - serializedName: "tier", - type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], - }, - }, - size: { - serializedName: "size", - type: { - name: "String", - }, - }, - family: { - serializedName: "family", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - capacity: { - serializedName: "capacity", - type: { - name: "Number", - }, - }, }, }, }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "AmlUserFeature", modelProperties: { - containerType: { - serializedName: "containerType", + id: { + serializedName: "id", type: { name: "String", }, }, - tail: { - serializedName: "tail", - nullable: true, + displayName: { + serializedName: "displayName", type: { - name: "Number", + name: "String", }, }, - }, - }, -}; - -export const DeploymentLogs: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentLogs", - modelProperties: { - content: { - serializedName: "content", - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, @@ -4775,25 +4578,27 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "OperationListResult", modelProperties: { value: { serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SkuResource", + className: "Operation", }, }, }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -4802,92 +4607,79 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "Operation", modelProperties: { - resourceType: { - serializedName: "resourceType", + name: { + serializedName: "name", readOnly: true, - nullable: true, type: { name: "String", }, }, - sku: { - serializedName: "sku", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, type: { - name: "Composite", - className: "SkuSetting", + name: "Boolean", }, }, - capacity: { - serializedName: "capacity", + display: { + serializedName: "display", type: { name: "Composite", - className: "SkuCapacity", + className: "OperationDisplay", }, }, - }, - }, -}; - -export const SkuSetting: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuSetting", - modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "name", - required: true, + origin: { + serializedName: "origin", + readOnly: true, type: { name: "String", }, }, - tier: { - serializedName: "tier", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, }, }, }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "OperationDisplay", modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - default: { - defaultValue: 0, - serializedName: "default", + operation: { + serializedName: "operation", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - scaleType: { - serializedName: "scaleType", + description: { + serializedName: "description", + readOnly: true, type: { name: "String", }, @@ -4896,85 +4688,88 @@ export const SkuCapacity: coreClient.CompositeMapper = { }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const WorkspaceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "WorkspaceListResult", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - keyValue: { - serializedName: "keyValue", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Workspace", + }, + }, }, }, }, }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const EncryptionProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "EncryptionProperty", modelProperties: { - accessToken: { - serializedName: "accessToken", - nullable: true, + cosmosDbResourceId: { + serializedName: "cosmosDbResourceId", type: { name: "String", }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityForCmk", + }, + }, + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "KeyVaultProperties", + }, + }, + searchAccountResourceId: { + serializedName: "searchAccountResourceId", type: { name: "String", }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + status: { + serializedName: "status", + required: true, type: { - name: "Number", + name: "String", }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + storageAccountResourceId: { + serializedName: "storageAccountResourceId", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const IdentityForCmk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleResourceArmPaginatedResult", + className: "IdentityForCmk", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Schedule", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String", }, @@ -4983,122 +4778,78 @@ export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const KeyVaultProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", - }, + className: "KeyVaultProperties", modelProperties: { - actionType: { - serializedName: "actionType", - required: true, + identityClientId: { + serializedName: "identityClientId", type: { name: "String", }, }, - }, - }, -}; - -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServerlessEndpointProperties", - modelProperties: { - modelSettings: { - serializedName: "modelSettings", - type: { - name: "Composite", - className: "ModelSettings", + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - authMode: { - serializedName: "authMode", + serializedName: "keyIdentifier", required: true, type: { name: "String", }, }, - inferenceEndpoint: { - serializedName: "inferenceEndpoint", - type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", + keyVaultArmId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + serializedName: "keyVaultArmId", + required: true, type: { name: "String", }, }, - endpointState: { - serializedName: "endpointState", - readOnly: true, + }, + }, +}; + +export const FeatureStoreSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureStoreSettings", + modelProperties: { + computeRuntime: { + serializedName: "computeRuntime", type: { - name: "String", + name: "Composite", + className: "ComputeRuntimeDto", }, }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", - readOnly: true, - nullable: true, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", type: { name: "String", }, }, - contentSafety: { - serializedName: "contentSafety", + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", type: { - name: "Composite", - className: "ContentSafety", + name: "String", }, }, }, }, }; -export const ModelSettings: coreClient.CompositeMapper = { +export const ComputeRuntimeDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelSettings", + className: "ComputeRuntimeDto", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { name: "String", }, @@ -5107,83 +4858,92 @@ export const ModelSettings: coreClient.CompositeMapper = { }, }; -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { +export const ManagedNetworkSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessInferenceEndpoint", + className: "ManagedNetworkSettings", modelProperties: { - uri: { - serializedName: "uri", - required: true, + isolationMode: { + serializedName: "isolationMode", type: { name: "String", }, }, - headers: { - serializedName: "headers", + networkId: { + serializedName: "networkId", readOnly: true, + type: { + name: "String", + }, + }, + outboundRules: { + serializedName: "outboundRules", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "Composite", className: "OutboundRule" } }, + }, + }, + status: { + serializedName: "status", + type: { + name: "Composite", + className: "ManagedNetworkProvisionStatus", + }, + }, + changeableIsolationModes: { + serializedName: "changeableIsolationModes", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ContentSafety: coreClient.CompositeMapper = { +export const OutboundRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSafety", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: true, + category: { + serializedName: "category", 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", - }, + parentRuleNames: { + serializedName: "parentRuleNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, }, - }, - }; - -export const ArmResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ArmResourceId", - modelProperties: { - resourceId: { - serializedName: "resourceId", - nullable: true, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + required: true, type: { name: "String", }, @@ -5192,54 +4952,53 @@ export const ArmResourceId: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryPrivateEndpointConnection", + className: "ManagedNetworkProvisionStatus", modelProperties: { - id: { - serializedName: "id", - nullable: true, + sparkReady: { + serializedName: "sparkReady", type: { - name: "String", + name: "Boolean", }, }, - location: { - serializedName: "location", - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, + }, + }, +}; + +export const NotebookResourceInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NotebookResourceInfo", + modelProperties: { + fqdn: { + serializedName: "fqdn", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + isPrivateLinkEnabled: { + serializedName: "isPrivateLinkEnabled", type: { - name: "Composite", - className: "PrivateEndpointResource", + name: "Boolean", }, }, - registryPrivateLinkServiceConnectionState: { - serializedName: "properties.registryPrivateLinkServiceConnectionState", + notebookPreparationError: { + serializedName: "notebookPreparationError", type: { name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", + className: "NotebookPreparationError", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - nullable: true, + resourceId: { + serializedName: "resourceId", type: { name: "String", }, @@ -5248,280 +5007,186 @@ export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", - modelProperties: { - actionsRequired: { - serializedName: "actionsRequired", - nullable: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - status: { - serializedName: "status", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { +export const NotebookPreparationError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryRegionArmDetails", + className: "NotebookPreparationError", modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AcrDetails", - }, - }, - }, - }, - location: { - serializedName: "location", - nullable: true, + errorMessage: { + serializedName: "errorMessage", type: { name: "String", }, }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + statusCode: { + serializedName: "statusCode", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "StorageAccountDetails", - }, - }, + name: "Number", }, }, }, }, }; -export const AcrDetails: coreClient.CompositeMapper = { +export const WorkspacePrivateEndpointResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AcrDetails", + className: "WorkspacePrivateEndpointResource", modelProperties: { - systemCreatedAcrAccount: { - serializedName: "systemCreatedAcrAccount", + id: { + serializedName: "id", + readOnly: true, type: { - name: "Composite", - className: "SystemCreatedAcrAccount", + name: "String", }, }, - userCreatedAcrAccount: { - serializedName: "userCreatedAcrAccount", + subnetArmId: { + serializedName: "subnetArmId", + readOnly: true, type: { - name: "Composite", - className: "UserCreatedAcrAccount", + name: "String", }, }, }, }, }; -export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedAcrAccount", + className: "PrivateLinkServiceConnectionState", modelProperties: { - acrAccountName: { - serializedName: "acrAccountName", - nullable: true, + actionsRequired: { + serializedName: "actionsRequired", type: { name: "String", }, }, - acrAccountSku: { - serializedName: "acrAccountSku", - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + status: { + serializedName: "status", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, }, }, }; -export const UserCreatedAcrAccount: coreClient.CompositeMapper = { +export const ServerlessComputeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedAcrAccount", + className: "ServerlessComputeSettings", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", + }, + }, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", + type: { + name: "Boolean", }, }, }, }, }; -export const StorageAccountDetails: coreClient.CompositeMapper = { +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageAccountDetails", + className: "ServiceManagedResourcesSettings", modelProperties: { - systemCreatedStorageAccount: { - serializedName: "systemCreatedStorageAccount", - type: { - name: "Composite", - className: "SystemCreatedStorageAccount", - }, - }, - userCreatedStorageAccount: { - serializedName: "userCreatedStorageAccount", + cosmosDb: { + serializedName: "cosmosDb", type: { name: "Composite", - className: "UserCreatedStorageAccount", + className: "CosmosDbSettings", }, }, }, }, }; -export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { +export const CosmosDbSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedStorageAccount", + className: "CosmosDbSettings", modelProperties: { - allowBlobPublicAccess: { - serializedName: "allowBlobPublicAccess", + collectionsThroughput: { + serializedName: "collectionsThroughput", type: { - name: "Boolean", + name: "Number", }, }, - armResourceId: { - serializedName: "armResourceId", + }, + }, +}; + +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, - storageAccountHnsEnabled: { - serializedName: "storageAccountHnsEnabled", + groupId: { + serializedName: "properties.groupId", type: { - name: "Boolean", + name: "String", }, }, - storageAccountName: { - serializedName: "storageAccountName", - nullable: true, + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { name: "String", }, }, - storageAccountType: { - serializedName: "storageAccountType", - nullable: true, + requestMessage: { + serializedName: "properties.requestMessage", type: { name: "String", }, }, - }, - }, -}; - -export const UserCreatedStorageAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserCreatedStorageAccount", - modelProperties: { - armResourceId: { - serializedName: "armResourceId", + status: { + serializedName: "properties.status", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, }, }, }; -export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialRegistryPartialTrackedResource", - modelProperties: { - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const WorkspaceHubConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "WorkspaceHubConfig", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "AmlUserFeature", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", type: { name: "String", }, @@ -5530,169 +5195,188 @@ export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { }, }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "WorkspaceUpdateParameters", modelProperties: { - id: { - serializedName: "id", + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - displayName: { - serializedName: "displayName", + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", + type: { + name: "Boolean", + }, + }, + applicationInsights: { + serializedName: "properties.applicationInsights", type: { name: "String", }, }, - description: { - serializedName: "description", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { name: "String", }, }, - }, - }, -}; - -export const ResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceId", - modelProperties: { - id: { - serializedName: "id", - required: true, + description: { + serializedName: "properties.description", type: { name: "String", }, }, - }, - }, -}; - -export const AKSSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchema", - modelProperties: { - properties: { - serializedName: "properties", + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", + type: { + name: "Boolean", + }, + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "AKSSchemaProperties", + className: "EncryptionUpdateProperties", }, }, - }, - }, -}; - -export const AKSSchemaProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchemaProperties", - modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", - nullable: true, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - systemServices: { - serializedName: "systemServices", - readOnly: true, - nullable: true, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + ipAllowlist: { + serializedName: "properties.ipAllowlist", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SystemService", + name: "String", }, }, }, }, - agentCount: { - constraints: { - InclusiveMinimum: 0, - }, - serializedName: "agentCount", - nullable: true, + managedNetwork: { + serializedName: "properties.managedNetwork", type: { - name: "Number", + name: "Composite", + className: "ManagedNetworkSettings", }, }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - sslConfiguration: { - serializedName: "sslConfiguration", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { name: "Composite", - className: "SslConfiguration", + className: "ServerlessComputeSettings", }, }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "ServiceManagedResourcesSettings", }, }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", type: { - name: "String", + name: "Number", }, }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", - nullable: true, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", type: { name: "String", }, }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, }, }, }; -export const SystemService: coreClient.CompositeMapper = { +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "EncryptionUpdateProperties", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "String", + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - type: { - name: "String", + }, + }, +}; + +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", + modelProperties: { + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - version: { - serializedName: "version", - readOnly: true, + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, @@ -5701,374 +5385,573 @@ export const SystemService: coreClient.CompositeMapper = { }, }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - status: { - serializedName: "status", + authType: { + serializedName: "authType", + required: true, type: { name: "String", }, }, - cert: { - serializedName: "cert", - nullable: true, + category: { + serializedName: "category", type: { name: "String", }, }, - key: { - serializedName: "key", - nullable: true, + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", + readOnly: true, type: { name: "String", }, }, - cname: { - serializedName: "cname", - nullable: true, + error: { + serializedName: "error", type: { name: "String", }, }, - leafDomainLabel: { - serializedName: "leafDomainLabel", - nullable: true, + expiryTime: { + serializedName: "expiryTime", + type: { + name: "DateTime", + }, + }, + group: { + serializedName: "group", + readOnly: true, type: { name: "String", }, }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", + isSharedToAll: { + serializedName: "isSharedToAll", type: { name: "Boolean", }, }, - }, - }, -}; - -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AksNetworkingConfiguration", - modelProperties: { - subnetId: { - serializedName: "subnetId", + metadata: { + serializedName: "metadata", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - serviceCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), - }, - serializedName: "serviceCidr", + peRequirement: { + serializedName: "peRequirement", type: { name: "String", }, }, - dnsServiceIP: { - constraints: { - Pattern: new RegExp( - "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", - ), - }, - serializedName: "dnsServiceIP", + peStatus: { + serializedName: "peStatus", type: { name: "String", }, }, - dockerBridgeCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), + sharedUserList: { + serializedName: "sharedUserList", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, - serializedName: "dockerBridgeCidr", + }, + target: { + serializedName: "target", type: { name: "String", }, }, + useWorkspaceManagedIdentity: { + serializedName: "useWorkspaceManagedIdentity", + type: { + name: "Boolean", + }, + }, }, }, }; -export const KubernetesSchema: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesSchema", + className: "WorkspaceConnectionUpdateParameter", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "KubernetesProperties", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const KubernetesProperties: coreClient.CompositeMapper = { +export const EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const EndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, + modelProperties: { + failureReason: { + serializedName: "failureReason", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + type: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + }, + }, + }; + +export const EndpointModels: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesProperties", + className: "EndpointModels", modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelProperties", + }, + }, }, }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", - nullable: true, + }, + }, +}; + +export const EndpointModelProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModelProperties", + modelProperties: { + capabilities: { + serializedName: "capabilities", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", + deprecation: { + serializedName: "deprecation", type: { - name: "String", + name: "Composite", + className: "EndpointModelDeprecationProperties", }, }, - vcName: { - serializedName: "vcName", + finetuneCapabilities: { + serializedName: "finetuneCapabilities", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + format: { + serializedName: "format", type: { name: "String", }, }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + isDefaultVersion: { + serializedName: "isDefaultVersion", + type: { + name: "Boolean", + }, + }, + lifecycleStatus: { + serializedName: "lifecycleStatus", type: { name: "String", }, }, - defaultInstanceType: { - serializedName: "defaultInstanceType", + maxCapacity: { + serializedName: "maxCapacity", + type: { + name: "Number", + }, + }, + name: { + serializedName: "name", type: { name: "String", }, }, - instanceTypes: { - serializedName: "instanceTypes", + skus: { + serializedName: "skus", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuProperties", + }, }, }, }, - }, - }, -}; - -export const InstanceTypeSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InstanceTypeSchema", - modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", - nullable: true, + systemData: { + serializedName: "systemData", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "SystemData", }, }, - resources: { - serializedName: "resources", + version: { + serializedName: "version", type: { - name: "Composite", - className: "InstanceTypeSchemaResources", + name: "String", }, }, }, }, }; -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { +export const EndpointModelDeprecationProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "EndpointModelDeprecationProperties", modelProperties: { - requests: { - serializedName: "requests", + fineTune: { + serializedName: "fineTune", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "DateTime", }, }, - limits: { - serializedName: "limits", + inference: { + serializedName: "inference", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "DateTime", }, }, }, }, }; -export const AmlComputeProperties: coreClient.CompositeMapper = { +export const EndpointModelSkuProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeProperties", + className: "EndpointModelSkuProperties", modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", + capacity: { + serializedName: "capacity", type: { - name: "String", + name: "Composite", + className: "EndpointModelSkuCapacityProperties", }, }, - vmSize: { - serializedName: "vmSize", + connectionIds: { + serializedName: "connectionIds", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - vmPriority: { - serializedName: "vmPriority", + deprecationDate: { + serializedName: "deprecationDate", type: { - name: "String", + name: "DateTime", }, }, - virtualMachineImage: { - serializedName: "virtualMachineImage", + name: { + serializedName: "name", type: { - name: "Composite", - className: "VirtualMachineImage", + name: "String", }, }, - isolatedNetwork: { - serializedName: "isolatedNetwork", + rateLimits: { + serializedName: "rateLimits", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + }, + }, }, }, - scaleSettings: { - serializedName: "scaleSettings", + usageName: { + serializedName: "usageName", type: { - name: "Composite", - className: "ScaleSettings", + name: "String", }, }, - userAccountCredentials: { - serializedName: "userAccountCredentials", - type: { - name: "Composite", - className: "UserAccountCredentials", - }, - }, - subnet: { - serializedName: "subnet", + }, + }, +}; + +export const EndpointModelSkuCapacityProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModelSkuCapacityProperties", + modelProperties: { + default: { + serializedName: "default", type: { - name: "Composite", - className: "ResourceId", + name: "Number", }, }, - remoteLoginPortPublicAccess: { - defaultValue: "NotSpecified", - serializedName: "remoteLoginPortPublicAccess", + maximum: { + serializedName: "maximum", type: { - name: "String", + name: "Number", }, }, - allocationState: { - serializedName: "allocationState", - readOnly: true, + }, + }, +}; + +export const EndpointModelSkuRateLimitProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + modelProperties: { + count: { + serializedName: "count", type: { - name: "String", + name: "Number", }, }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", - readOnly: true, + renewalPeriod: { + serializedName: "renewalPeriod", type: { - name: "DateTime", + name: "Number", }, }, - errors: { - serializedName: "errors", - readOnly: true, - nullable: true, + rules: { + serializedName: "rules", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse", + className: "EndpointModelSkuRateLimitRuleProperties", }, }, }, }, - currentNodeCount: { - serializedName: "currentNodeCount", - readOnly: true, - nullable: true, - type: { - name: "Number", + }, + }, +}; + +export const EndpointModelSkuRateLimitRuleProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRuleProperties", + modelProperties: { + count: { + serializedName: "count", + type: { + name: "Number", + }, }, - }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, - nullable: true, - type: { - name: "Number", + dynamicThrottlingEnabled: { + serializedName: "dynamicThrottlingEnabled", + type: { + name: "Boolean", + }, }, - }, - nodeStateCounts: { - serializedName: "nodeStateCounts", - type: { - name: "Composite", - className: "NodeStateCounts", + key: { + serializedName: "key", + type: { + name: "String", + }, + }, + matchPatterns: { + serializedName: "matchPatterns", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + }, + }, + }, + }, + minCount: { + serializedName: "minCount", + type: { + name: "Number", + }, + }, + renewalPeriod: { + serializedName: "renewalPeriod", + type: { + name: "Number", + }, }, }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, - type: { - name: "Boolean", + }, + }; + +export const EndpointModelSkuRateLimitRulePatternProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + modelProperties: { + method: { + serializedName: "method", + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + type: { + name: "String", + }, }, }, - propertyBag: { - serializedName: "propertyBag", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, + }, + }; + +export const RaiBlocklistPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const VirtualMachineImage: coreClient.CompositeMapper = { +export const RaiBlocklistProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImage", + className: "RaiBlocklistProperties", modelProperties: { - id: { - serializedName: "id", - required: true, + description: { + serializedName: "description", type: { name: "String", }, @@ -6077,491 +5960,478 @@ export const VirtualMachineImage: coreClient.CompositeMapper = { }, }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const RaiBlocklistItemBulkRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "RaiBlocklistItemBulkRequest", modelProperties: { - adminUserName: { - serializedName: "adminUserName", - required: true, - type: { - name: "String", - }, - }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", + name: { + serializedName: "name", type: { name: "String", }, }, - adminUserPassword: { - serializedName: "adminUserPassword", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "RaiBlocklistItemProperties", }, }, }, }, }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const RaiBlocklistItemProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "RaiBlocklistItemProperties", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - runningNodeCount: { - serializedName: "runningNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + isRegex: { + serializedName: "isRegex", type: { - name: "Number", + name: "Boolean", }, }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, + pattern: { + serializedName: "pattern", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const AmlComputeSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeSchema", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "AmlComputeProperties", +export const RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const ComputeInstanceProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceProperties", - modelProperties: { - vmSize: { - serializedName: "vmSize", - type: { - name: "String", +export const RaiPolicyPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - subnet: { - serializedName: "subnet", - type: { - name: "Composite", - className: "ResourceId", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResource", + }, + }, + }, }, }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", + }, + }; + +export const RaiPolicyProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiPolicyProperties", + modelProperties: { + basePolicyName: { + serializedName: "basePolicyName", type: { name: "String", }, }, - sshSettings: { - serializedName: "sshSettings", - type: { - name: "Composite", - className: "ComputeInstanceSshSettings", - }, - }, - customServices: { - serializedName: "customServices", - nullable: true, + completionBlocklists: { + serializedName: "completionBlocklists", type: { name: "Sequence", element: { type: { name: "Composite", - className: "CustomService", + className: "RaiBlocklistConfig", }, }, }, }, - osImageMetadata: { - serializedName: "osImageMetadata", - type: { - name: "Composite", - className: "ImageMetadata", - }, - }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", - }, - }, - applications: { - serializedName: "applications", - readOnly: true, + contentFilters: { + serializedName: "contentFilters", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeInstanceApplication", + className: "RaiPolicyContentFilter", }, }, }, }, - createdBy: { - serializedName: "createdBy", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "ComputeInstanceCreatedBy", + name: "String", }, }, - errors: { - serializedName: "errors", - readOnly: true, + promptBlocklists: { + serializedName: "promptBlocklists", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse", + className: "RaiBlocklistConfig", }, }, }, }, - state: { - serializedName: "state", - readOnly: true, - type: { - name: "String", - }, - }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", - nullable: true, + type: { + serializedName: "type", type: { name: "String", }, }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", - type: { - name: "Composite", - className: "PersonalComputeInstanceSettings", - }, - }, - setupScripts: { - serializedName: "setupScripts", + }, + }, +}; + +export const RaiBlocklistConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + modelProperties: { + blocking: { + serializedName: "blocking", type: { - name: "Composite", - className: "SetupScripts", + name: "Boolean", }, }, - lastOperation: { - serializedName: "lastOperation", + blocklistName: { + serializedName: "blocklistName", type: { - name: "Composite", - className: "ComputeInstanceLastOperation", + name: "String", }, }, - schedules: { - serializedName: "schedules", + }, + }, +}; + +export const RaiPolicyContentFilter: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiPolicyContentFilter", + modelProperties: { + allowedContentLevel: { + serializedName: "allowedContentLevel", type: { - name: "Composite", - className: "ComputeSchedules", + name: "String", }, }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + blocking: { + serializedName: "blocking", type: { name: "Boolean", }, }, - containers: { - serializedName: "containers", - readOnly: true, - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceContainer", - }, - }, + name: "Boolean", }, }, - dataDisks: { - serializedName: "dataDisks", - readOnly: true, - nullable: true, + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataDisk", - }, - }, + name: "String", }, }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, - nullable: true, + source: { + serializedName: "source", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataMount", - }, - }, + name: "String", }, }, - versions: { - serializedName: "versions", + }, + }, +}; + +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnoseWorkspaceParameters", + modelProperties: { + value: { + serializedName: "value", type: { name: "Composite", - className: "ComputeInstanceVersion", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "DiagnoseRequestProperties", modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", + applicationInsights: { + serializedName: "applicationInsights", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - sshPort: { - serializedName: "sshPort", - readOnly: true, + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - adminPublicKey: { - serializedName: "adminPublicKey", + keyVault: { + serializedName: "keyVault", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - }, - }, -}; - -export const CustomService: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomService", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - name: { - serializedName: "name", + nsg: { + serializedName: "nsg", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - image: { - serializedName: "image", + others: { + serializedName: "others", type: { - name: "Composite", - className: "Image", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - environmentVariables: { - serializedName: "environmentVariables", + requiredResourceProviders: { + serializedName: "requiredResourceProviders", type: { name: "Dictionary", - value: { - type: { name: "Composite", className: "EnvironmentVariable" }, - }, + value: { type: { name: "any" } }, }, }, - docker: { - serializedName: "docker", - type: { + resourceLock: { + serializedName: "resourceLock", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + storageAccount: { + serializedName: "storageAccount", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + udr: { + serializedName: "udr", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const DiagnoseResponseResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnoseResponseResult", + modelProperties: { + value: { + serializedName: "value", + type: { name: "Composite", - className: "Docker", + className: "DiagnoseResponseResultValue", }, }, - endpoints: { - serializedName: "endpoints", + }, + }, +}; + +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnoseResponseResultValue", + modelProperties: { + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Endpoint", + className: "DiagnoseResult", }, }, }, }, - volumes: { - serializedName: "volumes", + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VolumeDefinition", + className: "DiagnoseResult", }, }, }, }, - }, - }, -}; - -export const Image: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Image", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - type: { - defaultValue: "docker", - serializedName: "type", + resourceLockResults: { + serializedName: "resourceLockResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - reference: { - serializedName: "reference", + dnsResolutionResults: { + serializedName: "dnsResolutionResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const EnvironmentVariable: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnvironmentVariable", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - type: { - defaultValue: "local", - serializedName: "type", + storageAccountResults: { + serializedName: "storageAccountResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - value: { - serializedName: "value", + keyVaultResults: { + serializedName: "keyVaultResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const Docker: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Docker", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - privileged: { - serializedName: "privileged", - nullable: true, + containerRegistryResults: { + serializedName: "containerRegistryResults", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + otherResults: { + serializedName: "otherResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, }, }, }; -export const Endpoint: coreClient.CompositeMapper = { +export const DiagnoseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Endpoint", + className: "DiagnoseResult", modelProperties: { - protocol: { - defaultValue: "tcp", - serializedName: "protocol", + code: { + serializedName: "code", + readOnly: true, type: { name: "String", }, }, - name: { - serializedName: "name", + level: { + serializedName: "level", + readOnly: true, type: { name: "String", }, }, - target: { - serializedName: "target", - type: { - name: "Number", - }, - }, - published: { - serializedName: "published", - nullable: true, - type: { - name: "Number", - }, - }, - hostIp: { - serializedName: "hostIp", - nullable: true, + message: { + serializedName: "message", + readOnly: true, type: { name: "String", }, @@ -6570,106 +6440,102 @@ export const Endpoint: coreClient.CompositeMapper = { }, }; -export const VolumeDefinition: coreClient.CompositeMapper = { +export const EndpointResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const EndpointResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeDefinition", + className: "EndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: { + serializedName: "endpointType", + clientName: "endpointType", + }, modelProperties: { - type: { - defaultValue: "bind", - serializedName: "type", + associatedResourceId: { + serializedName: "associatedResourceId", type: { name: "String", }, }, - readOnly: { - serializedName: "readOnly", - nullable: true, + deployments: { + serializedName: "deployments", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, }, }, - source: { - serializedName: "source", + endpointType: { + serializedName: "endpointType", + required: true, type: { name: "String", }, }, - target: { - serializedName: "target", + endpointUri: { + serializedName: "endpointUri", type: { name: "String", }, }, - consistency: { - serializedName: "consistency", + failureReason: { + serializedName: "failureReason", type: { name: "String", }, }, - bind: { - serializedName: "bind", - type: { - name: "Composite", - className: "BindOptions", - }, - }, - volume: { - serializedName: "volume", - type: { - name: "Composite", - className: "VolumeOptions", - }, - }, - tmpfs: { - serializedName: "tmpfs", - type: { - name: "Composite", - className: "TmpfsOptions", - }, - }, - }, - }, -}; - -export const BindOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BindOptions", - modelProperties: { - propagation: { - serializedName: "propagation", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - createHostPath: { - serializedName: "createHostPath", - nullable: true, + name: { + serializedName: "name", type: { - name: "Boolean", + name: "String", }, }, - selinux: { - serializedName: "selinux", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const VolumeOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VolumeOptions", - modelProperties: { - nocopy: { - serializedName: "nocopy", - nullable: true, + shouldCreateAiServicesEndpoint: { + serializedName: "shouldCreateAiServicesEndpoint", type: { name: "Boolean", }, @@ -6678,87 +6544,50 @@ export const VolumeOptions: coreClient.CompositeMapper = { }, }; -export const TmpfsOptions: coreClient.CompositeMapper = { +export const EndpointKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TmpfsOptions", + className: "EndpointKeys", modelProperties: { - size: { - serializedName: "size", + keys: { + serializedName: "keys", type: { - name: "Number", + name: "Composite", + className: "AccountApiKeys", }, }, }, }, }; -export const ImageMetadata: coreClient.CompositeMapper = { +export const AccountApiKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageMetadata", + className: "AccountApiKeys", modelProperties: { - currentImageVersion: { - serializedName: "currentImageVersion", + key1: { + serializedName: "key1", type: { name: "String", }, }, - latestImageVersion: { - serializedName: "latestImageVersion", + key2: { + serializedName: "key2", type: { name: "String", }, }, - isLatestOsImageVersion: { - serializedName: "isLatestOsImageVersion", - type: { - name: "Boolean", - }, - }, }, }, }; -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", - modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ComputeInstanceApplication: coreClient.CompositeMapper = { +export const RegenerateServiceAccountKeyContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceApplication", + className: "RegenerateServiceAccountKeyContent", modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String", - }, - }, - endpointUri: { - serializedName: "endpointUri", + keyName: { + serializedName: "keyName", type: { name: "String", }, @@ -6767,30 +6596,42 @@ export const ComputeInstanceApplication: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "ListWorkspaceKeysResult", modelProperties: { - userName: { - serializedName: "userName", + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", readOnly: true, - nullable: true, type: { name: "String", }, }, - userOrgId: { - serializedName: "userOrgId", + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", + type: { + name: "Composite", + className: "RegistryListCredentialsResult", + }, + }, + notebookAccessKeys: { + serializedName: "notebookAccessKeys", + type: { + name: "Composite", + className: "ListNotebookKeysResult", + }, + }, + userStorageArmId: { + serializedName: "userStorageArmId", readOnly: true, type: { name: "String", }, }, - userId: { - serializedName: "userId", + userStorageKey: { + serializedName: "userStorageKey", readOnly: true, - nullable: true, type: { name: "String", }, @@ -6799,37 +6640,33 @@ export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { }, }; -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "RegistryListCredentialsResult", modelProperties: { - assignedUser: { - serializedName: "assignedUser", + location: { + serializedName: "location", + readOnly: true, type: { - name: "Composite", - className: "AssignedUser", + name: "String", }, }, - }, - }, -}; - -export const AssignedUser: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssignedUser", - modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + passwords: { + serializedName: "passwords", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, }, }, - tenantId: { - serializedName: "tenantId", - required: true, + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, @@ -6838,103 +6675,109 @@ export const AssignedUser: coreClient.CompositeMapper = { }, }; -export const SetupScripts: coreClient.CompositeMapper = { +export const Password: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SetupScripts", + className: "Password", modelProperties: { - scripts: { - serializedName: "scripts", + name: { + serializedName: "name", + readOnly: true, type: { - name: "Composite", - className: "ScriptsToExecute", + name: "String", + }, + }, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const ScriptsToExecute: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptsToExecute", + className: "ListNotebookKeysResult", modelProperties: { - startupScript: { - serializedName: "startupScript", + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, type: { - name: "Composite", - className: "ScriptReference", + name: "String", }, }, - creationScript: { - serializedName: "creationScript", + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, type: { - name: "Composite", - className: "ScriptReference", + name: "String", }, }, }, }, }; -export const ScriptReference: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptReference", + className: "NotebookAccessTokenResult", modelProperties: { - scriptSource: { - serializedName: "scriptSource", + accessToken: { + serializedName: "accessToken", + readOnly: true, type: { name: "String", }, }, - scriptData: { - serializedName: "scriptData", + expiresIn: { + serializedName: "expiresIn", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - scriptArguments: { - serializedName: "scriptArguments", + hostName: { + serializedName: "hostName", + readOnly: true, type: { name: "String", }, }, - timeout: { - serializedName: "timeout", + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceLastOperation", - modelProperties: { - operationName: { - serializedName: "operationName", + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { name: "String", }, }, - operationTime: { - serializedName: "operationTime", + refreshToken: { + serializedName: "refreshToken", + readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - operationStatus: { - serializedName: "operationStatus", + scope: { + serializedName: "scope", + readOnly: true, type: { name: "String", }, }, - operationTrigger: { - serializedName: "operationTrigger", + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { name: "String", }, @@ -6943,19 +6786,35 @@ export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { }, }; -export const ComputeSchedules: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSchedules", + className: "ListStorageAccountKeysResult", modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ExternalFqdnResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExternalFqdnResponse", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeStartStopSchedule", + className: "FqdnEndpointsPropertyBag", }, }, }, @@ -6964,160 +6823,152 @@ export const ComputeSchedules: coreClient.CompositeMapper = { }, }; -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { +export const FqdnEndpointsPropertyBag: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeStartStopSchedule", + className: "FqdnEndpointsPropertyBag", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - provisioningStatus: { - serializedName: "provisioningStatus", - readOnly: true, - type: { - name: "String", - }, - }, - status: { - serializedName: "status", - type: { - name: "String", - }, - }, - action: { - serializedName: "action", - type: { - name: "String", - }, - }, - triggerType: { - serializedName: "triggerType", - type: { - name: "String", - }, - }, - recurrence: { - serializedName: "recurrence", - type: { - name: "Composite", - className: "Recurrence", - }, - }, - cron: { - serializedName: "cron", - type: { - name: "Composite", - className: "Cron", - }, - }, - schedule: { - serializedName: "schedule", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ScheduleBase", + className: "FqdnEndpoints", }, }, }, }, }; -export const Recurrence: coreClient.CompositeMapper = { +export const FqdnEndpoints: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Recurrence", + className: "FqdnEndpoints", modelProperties: { - frequency: { - serializedName: "frequency", + category: { + serializedName: "category", type: { name: "String", }, }, - interval: { - serializedName: "interval", + endpoints: { + serializedName: "endpoints", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpoint", + }, + }, }, }, - startTime: { - serializedName: "startTime", - nullable: true, + }, + }, +}; + +export const FqdnEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpoint", + modelProperties: { + domainName: { + serializedName: "domainName", type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + endpointDetails: { + serializedName: "endpointDetails", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, }, }, - schedule: { - serializedName: "schedule", + }, + }, +}; + +export const FqdnEndpointDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + modelProperties: { + port: { + serializedName: "port", type: { - name: "Composite", - className: "ComputeRecurrenceSchedule", + name: "Number", }, }, }, }, }; -export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { +export const OutboundRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeRecurrenceSchedule", + className: "OutboundRuleListResult", modelProperties: { - hours: { - serializedName: "hours", - required: true, + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - minutes: { - serializedName: "minutes", - required: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "OutboundRuleBasicResource", }, }, }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + }, + }, +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "PrivateEndpointConnection", }, }, }, }, - weekDays: { - serializedName: "weekDays", - nullable: true, + }, + }, +}; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "PrivateLinkResource", }, }, }, @@ -7126,129 +6977,127 @@ export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const Cron: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Cron", + className: "ManagedNetworkProvisionOptions", modelProperties: { - startTime: { - serializedName: "startTime", - nullable: true, - type: { - name: "String", - }, - }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", - type: { - name: "String", - }, - }, - expression: { - serializedName: "expression", + includeSpark: { + serializedName: "includeSpark", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ScheduleBase: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleBase", + className: "ResourceId", modelProperties: { id: { serializedName: "id", - nullable: true, - type: { - name: "String", - }, - }, - provisioningStatus: { - serializedName: "provisioningStatus", + required: true, type: { name: "String", }, }, - status: { - serializedName: "status", + }, + }, +}; + +export const AKSSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AKSSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "AKSSchemaProperties", }, }, }, }, }; -export const ComputeInstanceContainer: coreClient.CompositeMapper = { +export const AKSSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceContainer", + className: "AKSSchemaProperties", modelProperties: { - name: { - serializedName: "name", + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { name: "String", }, }, - autosave: { - serializedName: "autosave", + systemServices: { + serializedName: "systemServices", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService", + }, + }, }, }, - gpu: { - serializedName: "gpu", + agentCount: { + constraints: { + InclusiveMinimum: 0, + }, + serializedName: "agentCount", + nullable: true, + type: { + name: "Number", + }, + }, + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { name: "String", }, }, - network: { - serializedName: "network", + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { name: "String", }, }, - environment: { - serializedName: "environment", + sslConfiguration: { + serializedName: "sslConfiguration", type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "SslConfiguration", }, }, - services: { - serializedName: "services", - readOnly: true, + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, + name: "Composite", + className: "AksNetworkingConfiguration", }, }, - }, - }, -}; - -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceEnvironmentInfo", - modelProperties: { - name: { - serializedName: "name", + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", type: { name: "String", }, }, - version: { - serializedName: "version", + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", + nullable: true, type: { name: "String", }, @@ -7257,32 +7106,28 @@ export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const SystemService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "SystemService", modelProperties: { - caching: { - serializedName: "caching", + systemServiceType: { + serializedName: "systemServiceType", + readOnly: true, type: { name: "String", }, }, - diskSizeGB: { - serializedName: "diskSizeGB", - type: { - name: "Number", - }, - }, - lun: { - serializedName: "lun", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + version: { + serializedName: "version", + readOnly: true, type: { name: "String", }, @@ -7291,447 +7136,402 @@ export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { +export const SslConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "SslConfiguration", modelProperties: { - source: { - serializedName: "source", + status: { + serializedName: "status", type: { name: "String", }, }, - sourceType: { - serializedName: "sourceType", + cert: { + serializedName: "cert", + nullable: true, type: { name: "String", }, }, - mountName: { - serializedName: "mountName", + key: { + serializedName: "key", + nullable: true, type: { name: "String", }, }, - mountAction: { - serializedName: "mountAction", + cname: { + serializedName: "cname", + nullable: true, type: { name: "String", }, }, - createdBy: { - serializedName: "createdBy", + leafDomainLabel: { + serializedName: "leafDomainLabel", + nullable: true, type: { name: "String", }, }, - mountPath: { - serializedName: "mountPath", + overwriteExistingDomain: { + serializedName: "overwriteExistingDomain", type: { - name: "String", + name: "Boolean", }, }, - mountState: { - serializedName: "mountState", + }, + }, +}; + +export const AksNetworkingConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AksNetworkingConfiguration", + modelProperties: { + subnetId: { + serializedName: "subnetId", type: { name: "String", }, }, - mountedOn: { - serializedName: "mountedOn", - type: { - name: "DateTime", + serviceCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), }, - }, - error: { - serializedName: "error", + serializedName: "serviceCidr", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceVersion", - modelProperties: { - runtime: { - serializedName: "runtime", - nullable: true, + dnsServiceIP: { + constraints: { + Pattern: new RegExp( + "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + ), + }, + serializedName: "dnsServiceIP", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceSchema", - modelProperties: { - properties: { - serializedName: "properties", + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), + }, + serializedName: "dockerBridgeCidr", type: { - name: "Composite", - className: "ComputeInstanceProperties", + name: "String", }, }, }, }, }; -export const VirtualMachineSchema: coreClient.CompositeMapper = { +export const KubernetesSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchema", + className: "KubernetesSchema", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "VirtualMachineSchemaProperties", + className: "KubernetesProperties", }, }, }, }, }; -export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { +export const KubernetesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchemaProperties", + className: "KubernetesProperties", modelProperties: { - virtualMachineSize: { - serializedName: "virtualMachineSize", + relayConnectionString: { + serializedName: "relayConnectionString", + nullable: true, type: { name: "String", }, }, - sshPort: { - serializedName: "sshPort", + serviceBusConnectionString: { + serializedName: "serviceBusConnectionString", + nullable: true, type: { - name: "Number", + name: "String", }, }, - notebookServerPort: { - serializedName: "notebookServerPort", - type: { - name: "Number", - }, - }, - address: { - serializedName: "address", + extensionPrincipalId: { + serializedName: "extensionPrincipalId", + nullable: true, type: { name: "String", }, }, - administratorAccount: { - serializedName: "administratorAccount", - type: { - name: "Composite", - className: "VirtualMachineSshCredentials", - }, - }, - isNotebookInstanceCompute: { - serializedName: "isNotebookInstanceCompute", + extensionInstanceReleaseTrain: { + serializedName: "extensionInstanceReleaseTrain", type: { - name: "Boolean", + name: "String", }, }, - }, - }, -}; - -export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSshCredentials", - modelProperties: { - username: { - serializedName: "username", + vcName: { + serializedName: "vcName", type: { name: "String", }, }, - password: { - serializedName: "password", + namespace: { + defaultValue: "default", + serializedName: "namespace", type: { name: "String", }, }, - publicKeyData: { - serializedName: "publicKeyData", + defaultInstanceType: { + serializedName: "defaultInstanceType", type: { name: "String", }, }, - privateKeyData: { - serializedName: "privateKeyData", + instanceTypes: { + serializedName: "instanceTypes", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Composite", className: "InstanceTypeSchema" }, + }, }, }, }, }, }; -export const HDInsightProperties: coreClient.CompositeMapper = { +export const InstanceTypeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightProperties", + className: "InstanceTypeSchema", modelProperties: { - sshPort: { - serializedName: "sshPort", - type: { - name: "Number", - }, - }, - address: { - serializedName: "address", + nodeSelector: { + serializedName: "nodeSelector", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - administratorAccount: { - serializedName: "administratorAccount", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "VirtualMachineSshCredentials", + className: "InstanceTypeSchemaResources", }, }, }, }, }; -export const HDInsightSchema: coreClient.CompositeMapper = { +export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightSchema", + className: "InstanceTypeSchemaResources", modelProperties: { - properties: { - serializedName: "properties", + requests: { + serializedName: "requests", type: { - name: "Composite", - className: "HDInsightProperties", + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + limits: { + serializedName: "limits", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const DatabricksProperties: coreClient.CompositeMapper = { +export const AmlComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksProperties", + className: "AmlComputeProperties", modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + osType: { + defaultValue: "Linux", + serializedName: "osType", type: { name: "String", }, }, - workspaceUrl: { - serializedName: "workspaceUrl", + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - }, - }, -}; - -export const DatabricksSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksSchema", - modelProperties: { - properties: { - serializedName: "properties", + vmPriority: { + serializedName: "vmPriority", type: { - name: "Composite", - className: "DatabricksProperties", + name: "String", }, }, - }, - }, -}; - -export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataLakeAnalyticsSchema", - modelProperties: { - properties: { - serializedName: "properties", + virtualMachineImage: { + serializedName: "virtualMachineImage", type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "VirtualMachineImage", }, }, - }, - }, -}; - -export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", - modelProperties: { - dataLakeStoreAccountName: { - serializedName: "dataLakeStoreAccountName", + isolatedNetwork: { + serializedName: "isolatedNetwork", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const SynapseSparkProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SynapseSparkProperties", - modelProperties: { - autoScaleProperties: { - serializedName: "autoScaleProperties", + scaleSettings: { + serializedName: "scaleSettings", type: { name: "Composite", - className: "AutoScaleProperties", + className: "ScaleSettings", }, }, - autoPauseProperties: { - serializedName: "autoPauseProperties", + userAccountCredentials: { + serializedName: "userAccountCredentials", type: { name: "Composite", - className: "AutoPauseProperties", - }, - }, - sparkVersion: { - serializedName: "sparkVersion", - type: { - name: "String", + className: "UserAccountCredentials", }, }, - nodeCount: { - serializedName: "nodeCount", + subnet: { + serializedName: "subnet", type: { - name: "Number", + name: "Composite", + className: "ResourceId", }, }, - nodeSize: { - serializedName: "nodeSize", + remoteLoginPortPublicAccess: { + defaultValue: "NotSpecified", + serializedName: "remoteLoginPortPublicAccess", type: { name: "String", }, }, - nodeSizeFamily: { - serializedName: "nodeSizeFamily", + allocationState: { + serializedName: "allocationState", + readOnly: true, type: { name: "String", }, }, - subscriptionId: { - serializedName: "subscriptionId", + allocationStateTransitionTime: { + serializedName: "allocationStateTransitionTime", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - resourceGroup: { - serializedName: "resourceGroup", + errors: { + serializedName: "errors", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - workspaceName: { - serializedName: "workspaceName", + currentNodeCount: { + serializedName: "currentNodeCount", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Number", }, }, - poolName: { - serializedName: "poolName", + targetNodeCount: { + serializedName: "targetNodeCount", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const AutoScaleProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoScaleProperties", - modelProperties: { - minNodeCount: { - serializedName: "minNodeCount", + nodeStateCounts: { + serializedName: "nodeStateCounts", type: { - name: "Number", + name: "Composite", + className: "NodeStateCounts", }, }, - enabled: { - serializedName: "enabled", + enableNodePublicIp: { + defaultValue: true, + serializedName: "enableNodePublicIp", + nullable: true, type: { name: "Boolean", }, }, - maxNodeCount: { - serializedName: "maxNodeCount", + propertyBag: { + serializedName: "propertyBag", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const AutoPauseProperties: coreClient.CompositeMapper = { +export const VirtualMachineImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoPauseProperties", + className: "VirtualMachineImage", modelProperties: { - delayInMinutes: { - serializedName: "delayInMinutes", - type: { - name: "Number", - }, - }, - enabled: { - serializedName: "enabled", + id: { + serializedName: "id", + required: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const AksComputeSecretsProperties: coreClient.CompositeMapper = { +export const UserAccountCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecretsProperties", + className: "UserAccountCredentials", modelProperties: { - userKubeConfig: { - serializedName: "userKubeConfig", + adminUserName: { + serializedName: "adminUserName", + required: true, type: { name: "String", }, }, - adminKubeConfig: { - serializedName: "adminKubeConfig", + adminUserSshPublicKey: { + serializedName: "adminUserSshPublicKey", type: { name: "String", }, }, - imagePullSecretName: { - serializedName: "imagePullSecretName", - nullable: true, + adminUserPassword: { + serializedName: "adminUserPassword", type: { name: "String", }, @@ -7740,421 +7540,483 @@ export const AksComputeSecretsProperties: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { +export const NodeStateCounts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecretsSchema", + className: "NodeStateCounts", modelProperties: { - administratorAccount: { - serializedName: "administratorAccount", + idleNodeCount: { + serializedName: "idleNodeCount", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSshCredentials", + name: "Number", }, }, - }, - }, -}; - -export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksComputeSecretsProperties", - modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + runningNodeCount: { + serializedName: "runningNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", + }, + }, + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, + type: { + name: "Number", + }, + }, + preemptedNodeCount: { + serializedName: "preemptedNodeCount", + readOnly: true, + type: { + name: "Number", }, }, }, }, }; -export const IdleShutdownSetting: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdleShutdownSetting", + className: "AmlComputeSchema", modelProperties: { - idleTimeBeforeShutdown: { - serializedName: "idleTimeBeforeShutdown", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "AmlComputeProperties", }, }, }, }, }; -export const PrivateEndpointDestination: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "ComputeInstanceProperties", modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - sparkEnabled: { - serializedName: "sparkEnabled", + subnet: { + serializedName: "subnet", type: { - name: "Boolean", + name: "Composite", + className: "ResourceId", }, }, - sparkStatus: { - serializedName: "sparkStatus", + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { name: "String", }, }, - subresourceTarget: { - serializedName: "subresourceTarget", + autologgerSettings: { + serializedName: "autologgerSettings", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceAutologgerSettings", }, }, - }, - }, -}; - -export const ServiceTagDestination: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServiceTagDestination", - modelProperties: { - action: { - serializedName: "action", + sshSettings: { + serializedName: "sshSettings", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceSshSettings", }, }, - addressPrefixes: { - serializedName: "addressPrefixes", - readOnly: true, + customServices: { + serializedName: "customServices", + nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "CustomService", }, }, }, }, - portRanges: { - serializedName: "portRanges", + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "String", + name: "Composite", + className: "ImageMetadata", }, }, - protocol: { - serializedName: "protocol", + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", }, }, - serviceTag: { - serializedName: "serviceTag", + applications: { + serializedName: "applications", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + }, + }, }, }, - }, - }, -}; - -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword", - modelProperties: { - username: { - serializedName: "username", + createdBy: { + serializedName: "createdBy", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceCreatedBy", }, }, - password: { - serializedName: "password", + errors: { + serializedName: "errors", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, + }, + state: { + serializedName: "state", + readOnly: true, type: { name: "String", }, }, - securityToken: { - serializedName: "securityToken", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", - }, + enableOSPatching: { + defaultValue: false, + serializedName: "enableOSPatching", + nullable: true, + type: { + name: "Boolean", }, }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", - }, + enableRootAccess: { + defaultValue: true, + serializedName: "enableRootAccess", + nullable: true, + type: { + name: "Boolean", }, }, - }, - }; - -export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionAccountKey", - modelProperties: { - key: { - serializedName: "key", + enableSSO: { + defaultValue: true, + serializedName: "enableSSO", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - modelProperties: { - resourceId: { - serializedName: "resourceId", + releaseQuotaOnStop: { + defaultValue: false, + serializedName: "releaseQuotaOnStop", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - clientId: { - serializedName: "clientId", + personalComputeInstanceSettings: { + serializedName: "personalComputeInstanceSettings", type: { - name: "String", + name: "Composite", + className: "PersonalComputeInstanceSettings", }, }, - }, - }, -}; - -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionAccessKey", - modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + setupScripts: { + serializedName: "setupScripts", type: { - name: "String", + name: "Composite", + className: "SetupScripts", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + lastOperation: { + serializedName: "lastOperation", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceLastOperation", }, }, - }, - }, -}; - -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionApiKey", - modelProperties: { - key: { - serializedName: "key", + schedules: { + serializedName: "schedules", + type: { + name: "Composite", + className: "ComputeSchedules", + }, + }, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { name: "String", }, }, + enableNodePublicIp: { + serializedName: "enableNodePublicIp", + nullable: true, + type: { + name: "Boolean", + }, + }, + containers: { + serializedName: "containers", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + }, + }, + }, + }, + dataDisks: { + serializedName: "dataDisks", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk", + }, + }, + }, + }, + dataMounts: { + serializedName: "dataMounts", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, + }, + }, + versions: { + serializedName: "versions", + type: { + name: "Composite", + className: "ComputeInstanceVersion", + }, + }, }, }, }; -export const CustomKeys: coreClient.CompositeMapper = { +export const ComputeInstanceAutologgerSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomKeys", + className: "ComputeInstanceAutologgerSettings", modelProperties: { - keys: { - serializedName: "keys", + mlflowAutologger: { + serializedName: "mlflowAutologger", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionOAuth2", + className: "ComputeInstanceSshSettings", modelProperties: { - authUrl: { - serializedName: "authUrl", + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + adminUserName: { + serializedName: "adminUserName", + readOnly: true, type: { - name: "Uuid", + name: "String", }, }, - clientSecret: { - serializedName: "clientSecret", + sshPort: { + serializedName: "sshPort", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - developerToken: { - serializedName: "developerToken", + adminPublicKey: { + serializedName: "adminPublicKey", type: { name: "String", }, }, - password: { - serializedName: "password", + }, + }, +}; + +export const ImageMetadata: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageMetadata", + modelProperties: { + currentImageVersion: { + serializedName: "currentImageVersion", type: { name: "String", }, }, - refreshToken: { - serializedName: "refreshToken", + latestImageVersion: { + serializedName: "latestImageVersion", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", type: { - name: "String", + name: "Boolean", }, }, - username: { - serializedName: "username", + osPatchingStatus: { + serializedName: "osPatchingStatus", type: { - name: "String", + name: "Composite", + className: "OsPatchingStatus", }, }, }, }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const OsPatchingStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "OsPatchingStatus", modelProperties: { - clientId: { - serializedName: "clientId", + patchStatus: { + serializedName: "patchStatus", type: { name: "String", }, }, - clientSecret: { - serializedName: "clientSecret", + latestPatchTime: { + serializedName: "latestPatchTime", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + rebootPending: { + serializedName: "rebootPending", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", - }, - modelProperties: { - filterType: { - serializedName: "filterType", - required: true, + scheduledRebootTime: { + serializedName: "scheduledRebootTime", type: { name: "String", }, }, + osPatchingErrors: { + serializedName: "osPatchingErrors", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, + }, }, }, }; -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", - }, - modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", - required: true, - type: { - name: "String", +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + modelProperties: { + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, }, }, }, - }, -}; + }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const ComputeInstanceApplication: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "ComputeInstanceApplication", modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", - required: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - mode: { - serializedName: "mode", + endpointUri: { + serializedName: "endpointUri", type: { name: "String", }, @@ -8163,20 +8025,30 @@ export const AssetJobInput: coreClient.CompositeMapper = { }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "ComputeInstanceCreatedBy", modelProperties: { - uri: { - serializedName: "uri", + userName: { + serializedName: "userName", + readOnly: true, nullable: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", + userOrgId: { + serializedName: "userOrgId", + readOnly: true, + type: { + name: "String", + }, + }, + userId: { + serializedName: "userId", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -8185,152 +8057,109 @@ export const AssetJobOutput: coreClient.CompositeMapper = { }, }; -export const ForecastHorizon: coreClient.CompositeMapper = { +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "PersonalComputeInstanceSettings", modelProperties: { - mode: { - serializedName: "mode", - required: true, + assignedUser: { + serializedName: "assignedUser", type: { - name: "String", + name: "Composite", + className: "AssignedUser", }, }, }, }, }; -export const AutoMLVertical: coreClient.CompositeMapper = { +export const AssignedUser: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, + className: "AssignedUser", modelProperties: { - taskType: { - serializedName: "taskType", + objectId: { + serializedName: "objectId", required: true, type: { name: "String", }, }, - logVerbosity: { - serializedName: "logVerbosity", + tenantId: { + serializedName: "tenantId", + required: true, type: { name: "String", }, }, - trainingData: { - serializedName: "trainingData", + }, + }, +}; + +export const SetupScripts: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SetupScripts", + modelProperties: { + scripts: { + serializedName: "scripts", type: { name: "Composite", - className: "MLTableJobInput", - }, - }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, - type: { - name: "String", + className: "ScriptsToExecute", }, }, }, }, }; -export const JobInput: coreClient.CompositeMapper = { +export const ScriptsToExecute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType", - }, + className: "ScriptsToExecute", modelProperties: { - jobInputType: { - serializedName: "jobInputType", - required: true, + startupScript: { + serializedName: "startupScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", }, }, - description: { - serializedName: "description", - nullable: true, + creationScript: { + serializedName: "creationScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", }, }, }, }, }; -export const JobOutput: coreClient.CompositeMapper = { +export const ScriptReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, + className: "ScriptReference", modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, + scriptSource: { + serializedName: "scriptSource", type: { name: "String", }, }, - description: { - serializedName: "description", - nullable: true, + scriptData: { + serializedName: "scriptData", type: { name: "String", }, }, - }, - }, -}; - -export const QueueSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QueueSettings", - modelProperties: { - jobTier: { - serializedName: "jobTier", + scriptArguments: { + serializedName: "scriptArguments", 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, + timeout: { + serializedName: "timeout", type: { name: "String", }, @@ -8339,19 +8168,31 @@ export const NCrossValidations: coreClient.CompositeMapper = { }, }; -export const Seasonality: coreClient.CompositeMapper = { +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ComputeInstanceLastOperation", modelProperties: { - mode: { - serializedName: "mode", - required: true, + operationName: { + serializedName: "operationName", + type: { + name: "String", + }, + }, + operationTime: { + serializedName: "operationTime", + type: { + name: "DateTime", + }, + }, + operationStatus: { + serializedName: "operationStatus", + type: { + name: "String", + }, + }, + operationTrigger: { + serializedName: "operationTrigger", type: { name: "String", }, @@ -8360,487 +8201,538 @@ export const Seasonality: coreClient.CompositeMapper = { }, }; -export const TargetLags: coreClient.CompositeMapper = { +export const ComputeSchedules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ComputeSchedules", modelProperties: { - mode: { - serializedName: "mode", - required: true, + computeStartStop: { + serializedName: "computeStartStop", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + }, + }, }, }, }, }, }; -export const TargetRollingWindowSize: coreClient.CompositeMapper = { +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ComputeStartStopSchedule", modelProperties: { - mode: { - serializedName: "mode", - required: true, + id: { + serializedName: "id", + readOnly: true, + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const AzureDatastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureDatastore", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { name: "String", }, }, - resourceGroup: { - serializedName: "resourceGroup", - nullable: true, + status: { + serializedName: "status", 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, + action: { + serializedName: "action", type: { name: "String", }, }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", + triggerType: { + serializedName: "triggerType", type: { - name: "Number", + name: "String", }, }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + recurrence: { + serializedName: "recurrence", type: { - name: "Number", + name: "Composite", + className: "Recurrence", + }, + }, + cron: { + serializedName: "cron", + type: { + name: "Composite", + className: "Cron", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "ScheduleBase", }, }, }, }, }; -export const SamplingAlgorithm: coreClient.CompositeMapper = { +export const Recurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType", - }, + className: "Recurrence", modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, + frequency: { + serializedName: "frequency", type: { name: "String", }, }, - }, - }, -}; - -export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataDriftMetricThresholdBase", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, - modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + interval: { + serializedName: "interval", + type: { + name: "Number", + }, + }, + startTime: { + serializedName: "startTime", + nullable: true, type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "MonitoringThreshold", + className: "ComputeRecurrenceSchedule", }, }, }, }, }; -export const MonitoringThreshold: coreClient.CompositeMapper = { +export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringThreshold", + className: "ComputeRecurrenceSchedule", modelProperties: { - value: { - serializedName: "value", + hours: { + serializedName: "hours", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + minutes: { + serializedName: "minutes", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + monthDays: { + serializedName: "monthDays", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { +export const Cron: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataQualityMetricThresholdBase", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "Cron", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + startTime: { + serializedName: "startTime", + nullable: true, type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", + }, + }, + expression: { + serializedName: "expression", + type: { + name: "String", }, }, }, }, }; -export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { +export const ScheduleBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PredictionDriftMetricThresholdBase", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "ScheduleBase", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + id: { + serializedName: "id", + nullable: true, type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + provisioningStatus: { + serializedName: "provisioningStatus", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", + }, + }, + status: { + serializedName: "status", + type: { + name: "String", }, }, }, }, }; -export const TrainingSettings: coreClient.CompositeMapper = { +export const ComputeInstanceContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrainingSettings", + className: "ComputeInstanceContainer", modelProperties: { - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + name: { + serializedName: "name", type: { - name: "Boolean", + name: "String", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + autosave: { + serializedName: "autosave", type: { - name: "Composite", - className: "StackEnsembleSettings", + name: "String", }, }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", + gpu: { + serializedName: "gpu", type: { - name: "Boolean", + name: "String", }, }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + network: { + serializedName: "network", type: { - name: "Boolean", + name: "String", }, }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + environment: { + serializedName: "environment", type: { - name: "TimeSpan", + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + services: { + serializedName: "services", + readOnly: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, }, }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + }, + }, +}; + +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Boolean", + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const StackEnsembleSettings: coreClient.CompositeMapper = { +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StackEnsembleSettings", + className: "ComputeInstanceDataDisk", modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + caching: { + serializedName: "caching", type: { name: "String", }, }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + diskSizeGB: { + serializedName: "diskSizeGB", type: { name: "Number", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + lun: { + serializedName: "lun", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Number", + }, + }, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", + type: { + name: "String", }, }, }, }, }; -export const TableVertical: coreClient.CompositeMapper = { +export const ComputeInstanceVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVertical", + className: "ComputeInstanceVersion", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + runtime: { + serializedName: "runtime", + nullable: true, type: { - name: "Composite", - className: "TableVerticalLimitSettings", + name: "String", }, }, - nCrossValidations: { - serializedName: "nCrossValidations", + }, + }, +}; + +export const ComputeInstanceSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "NCrossValidations", + className: "ComputeInstanceProperties", }, }, - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "VirtualMachineSchemaProperties", }, }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchemaProperties", + modelProperties: { + virtualMachineSize: { + serializedName: "virtualMachineSize", type: { name: "String", }, }, - validationData: { - serializedName: "validationData", + sshPort: { + serializedName: "sshPort", type: { - name: "Composite", - className: "MLTableJobInput", + name: "Number", }, }, - testData: { - serializedName: "testData", + notebookServerPort: { + serializedName: "notebookServerPort", type: { - name: "Composite", - className: "MLTableJobInput", + name: "Number", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number", + name: "String", }, }, - testDataSize: { - serializedName: "testDataSize", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Number", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { - name: "Composite", - className: "TableVerticalFeaturizationSettings", + name: "Boolean", }, }, }, }, }; -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalLimitSettings", + className: "VirtualMachineSshCredentials", modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + username: { + serializedName: "username", type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", + password: { + serializedName: "password", type: { - name: "TimeSpan", + name: "String", }, }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + publicKeyData: { + serializedName: "publicKeyData", type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + privateKeyData: { + serializedName: "privateKeyData", type: { - name: "Number", + name: "String", }, }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", + }, + }, +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { name: "Number", }, }, - exitScore: { - serializedName: "exitScore", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number", + name: "String", }, }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Boolean", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, }, }, }; -export const ColumnTransformer: coreClient.CompositeMapper = { +export const HDInsightSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ColumnTransformer", + className: "HDInsightSchema", modelProperties: { - fields: { - serializedName: "fields", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - parameters: { - serializedName: "parameters", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "HDInsightProperties", }, }, }, }, }; -export const FeaturizationSettings: coreClient.CompositeMapper = { +export const DatabricksProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturizationSettings", + className: "DatabricksProperties", modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", - nullable: true, + databricksAccessToken: { + serializedName: "databricksAccessToken", + type: { + name: "String", + }, + }, + workspaceUrl: { + serializedName: "workspaceUrl", type: { name: "String", }, @@ -8849,170 +8741,116 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { }, }; -export const DistributionConfiguration: coreClient.CompositeMapper = { +export const DatabricksSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType", - }, + className: "DatabricksSchema", modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DatabricksProperties", }, }, }, }, }; -export const JobLimits: coreClient.CompositeMapper = { +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType", - }, + className: "DataLakeAnalyticsSchema", modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, - type: { - name: "String", - }, - }, - timeout: { - serializedName: "timeout", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "TimeSpan", + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", }, }, }, }, }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "DataLakeAnalyticsSchemaProperties", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", - type: { - name: "Composite", - className: "ContainerResourceSettings", - }, - }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { - name: "Composite", - className: "ContainerResourceSettings", + name: "String", }, }, }, }, }; -export const ContainerResourceSettings: coreClient.CompositeMapper = { +export const SynapseSparkProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceSettings", + className: "SynapseSparkProperties", modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { - name: "String", + name: "Composite", + className: "AutoScaleProperties", }, }, - memory: { - serializedName: "memory", - nullable: true, + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { - name: "String", + name: "Composite", + className: "AutoPauseProperties", }, }, - gpu: { - serializedName: "gpu", - nullable: true, + sparkVersion: { + serializedName: "sparkVersion", type: { name: "String", }, }, - }, - }, -}; - -export const MonitorDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorDefinition", - modelProperties: { - monitoringTarget: { - serializedName: "monitoringTarget", + nodeCount: { + serializedName: "nodeCount", type: { - name: "Composite", - className: "MonitoringTarget", + name: "Number", }, }, - signals: { - serializedName: "signals", - required: true, + nodeSize: { + serializedName: "nodeSize", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "MonitoringSignalBase" }, - }, + name: "String", }, }, - computeConfiguration: { - serializedName: "computeConfiguration", + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { - name: "Composite", - className: "MonitorComputeConfigurationBase", + name: "String", }, }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", + subscriptionId: { + serializedName: "subscriptionId", type: { - name: "Composite", - className: "MonitorNotificationSettings", + name: "String", }, }, - }, - }, -}; - -export const MonitoringTarget: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitoringTarget", - modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + resourceGroup: { + serializedName: "resourceGroup", type: { name: "String", }, }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, + workspaceName: { + serializedName: "workspaceName", type: { name: "String", }, }, - taskType: { - serializedName: "taskType", - required: true, + poolName: { + serializedName: "poolName", type: { name: "String", }, @@ -9021,124 +8859,105 @@ export const MonitoringTarget: coreClient.CompositeMapper = { }, }; -export const MonitoringSignalBase: coreClient.CompositeMapper = { +export const AutoScaleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, + className: "AutoScaleProperties", modelProperties: { - signalType: { - serializedName: "signalType", - required: true, + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - notificationTypes: { - serializedName: "notificationTypes", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Boolean", }, }, - properties: { - serializedName: "properties", - nullable: true, + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, }, }, }; -export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { +export const AutoPauseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeConfigurationBase", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "AutoPauseProperties", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const MonitorNotificationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorNotificationSettings", - modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", + enabled: { + serializedName: "enabled", type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", + name: "Boolean", }, }, }, }, }; -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "AksComputeSecretsProperties", modelProperties: { - emails: { - serializedName: "emails", + userKubeConfig: { + serializedName: "userKubeConfig", + type: { + name: "String", + }, + }, + adminKubeConfig: { + serializedName: "adminKubeConfig", + type: { + name: "String", + }, + }, + imagePullSecretName: { + serializedName: "imagePullSecretName", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const CustomMetricThreshold: coreClient.CompositeMapper = { +export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMetricThreshold", + className: "VirtualMachineSecretsSchema", modelProperties: { - threshold: { - serializedName: "threshold", + administratorAccount: { + serializedName: "administratorAccount", type: { name: "Composite", - className: "MonitoringThreshold", + className: "VirtualMachineSshCredentials", }, }, - metric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "metric", - required: true, + }, + }, +}; + +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksComputeSecretsProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { name: "String", }, @@ -9147,33 +8966,55 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { }, }; -export const MonitoringInputDataBase: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringInputDataBase", - uberParent: "MonitoringInputDataBase", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", polymorphicDiscriminator: { - serializedName: "inputDataType", - clientName: "inputDataType", + serializedName: "filterType", + clientName: "filterType", }, modelProperties: { - inputDataType: { - serializedName: "inputDataType", + filterType: { + serializedName: "filterType", required: true, type: { name: "String", }, }, - dataContext: { - serializedName: "dataContext", - nullable: true, + }, + }, +}; + +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, + modelProperties: { + computeIdentityType: { + serializedName: "computeIdentityType", + required: true, type: { name: "String", }, }, - jobInputType: { - serializedName: "jobInputType", - required: true, + }, + }, +}; + +export const AssetJobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobInput", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, @@ -9189,31 +9030,30 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, - columns: { - serializedName: "columns", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const FeatureImportanceSettings: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureImportanceSettings", + className: "AssetJobOutput", modelProperties: { + assetName: { + serializedName: "assetName", + nullable: true, + type: { + name: "String", + }, + }, mode: { serializedName: "mode", type: { name: "String", }, }, - targetColumn: { - serializedName: "targetColumn", + uri: { + serializedName: "uri", nullable: true, type: { name: "String", @@ -9223,20 +9063,18 @@ export const FeatureImportanceSettings: coreClient.CompositeMapper = { }, }; -export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureAttributionMetricThreshold", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, - metric: { - serializedName: "metric", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -9246,534 +9084,821 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { }, }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + jobOutputType: { + serializedName: "jobOutputType", + required: true, type: { name: "String", }, }, - targetLags: { - serializedName: "targetLags", - type: { - name: "Composite", - className: "TargetLags", - }, - }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", - type: { - name: "Composite", - className: "TargetRollingWindowSize", - }, - }, - forecastHorizon: { - serializedName: "forecastHorizon", + }, + }, +}; + +export const QueueSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QueueSettings", + modelProperties: { + jobTier: { + serializedName: "jobTier", type: { - name: "Composite", - className: "ForecastHorizon", + name: "String", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, + }, + }, +}; + +export const AutoMLVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", + }, + modelProperties: { + logVerbosity: { + serializedName: "logVerbosity", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - frequency: { - serializedName: "frequency", + targetColumnName: { + serializedName: "targetColumnName", nullable: true, type: { name: "String", }, }, - featureLags: { - serializedName: "featureLags", + taskType: { + serializedName: "taskType", + required: true, type: { name: "String", }, }, - seasonality: { - serializedName: "seasonality", + trainingData: { + serializedName: "trainingData", type: { name: "Composite", - className: "Seasonality", + className: "MLTableJobInput", }, }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + }, + }, +}; + +export const JobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, + modelProperties: { + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - useStl: { - serializedName: "useStl", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", - type: { + }, + }, +}; + +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", }, }, - cvStepSize: { - serializedName: "cvStepSize", - nullable: true, + }, + }, +}; + +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: "Number", + name: "String", }, }, }, }, }; -export const ImageModelSettings: coreClient.CompositeMapper = { +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettings", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, + mode: { + serializedName: "mode", + required: true, type: { - name: "Boolean", + name: "String", }, }, - advancedSettings: { - serializedName: "advancedSettings", - nullable: true, + }, + }, +}; + +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", }, }, - augmentations: { - serializedName: "augmentations", + }, + }, +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", nullable: true, type: { name: "String", }, }, - beta1: { - serializedName: "beta1", + subscriptionId: { + serializedName: "subscriptionId", nullable: true, type: { - name: "Number", + name: "String", }, }, - beta2: { - serializedName: "beta2", + }, + }, +}; + +export const AzureOpenAiHyperParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + modelProperties: { + learningRateMultiplier: { + serializedName: "learningRateMultiplier", nullable: true, type: { name: "Number", }, }, - checkpointFrequency: { - serializedName: "checkpointFrequency", + batchSize: { + serializedName: "batchSize", nullable: true, type: { name: "Number", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, - type: { - name: "String", - }, - }, - checkpointModel: { - serializedName: "checkpointModel", - type: { - name: "Composite", - className: "MLFlowModelJobInput", - }, - }, - distributed: { - serializedName: "distributed", + nEpochs: { + serializedName: "nEpochs", nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + }, + }, +}; + +export const FineTuningVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FineTuningVertical", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: { + serializedName: "modelProvider", + clientName: "modelProvider", + }, + modelProperties: { + modelProvider: { + serializedName: "modelProvider", + required: true, type: { - name: "Boolean", + name: "String", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + taskType: { + serializedName: "taskType", + required: true, type: { - name: "Number", + name: "String", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + trainingData: { + serializedName: "trainingData", type: { - name: "Number", + name: "Composite", + className: "JobInput", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + validationData: { + serializedName: "validationData", type: { - name: "Number", + name: "Composite", + className: "JobInput", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + model: { + serializedName: "model", type: { - name: "Boolean", + name: "Composite", + className: "MLFlowModelJobInput", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + }, + }, +}; + +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType", + }, + modelProperties: { + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { name: "Number", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { name: "Number", }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + policyType: { + serializedName: "policyType", + required: true, type: { - name: "Number", + name: "String", }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + }, + }, +}; + +export const SamplingAlgorithm: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType", + }, + modelProperties: { + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", + required: true, type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, + }, + }, +}; + +export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataDriftMetricThresholdBase", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "Number", + name: "Composite", + className: "MonitoringThreshold", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, - type: { - name: "Boolean", - }, - }, - numberOfEpochs: { - serializedName: "numberOfEpochs", + }, + }, +}; + +export const MonitoringThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringThreshold", + modelProperties: { + value: { + serializedName: "value", nullable: true, type: { name: "Number", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + }, + }, +}; + +export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataQualityMetricThresholdBase", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { - name: "Number", + name: "String", }, }, - optimizer: { - serializedName: "optimizer", + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, + }, + }, +}; + +export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "Number", + name: "Composite", + className: "MonitoringThreshold", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + }, + }, +}; + +export const TrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrainingSettings", + modelProperties: { + enableDnnTraining: { + defaultValue: false, + serializedName: "enableDnnTraining", type: { - name: "Number", + name: "Boolean", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "Number", + name: "Boolean", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", type: { - name: "Number", + name: "Boolean", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { - name: "Number", + name: "Boolean", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "Number", + name: "Boolean", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "Number", + name: "TimeSpan", }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "Number", + name: "Composite", + className: "StackEnsembleSettings", }, }, }, }, }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const StackEnsembleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "StackEnsembleSettings", modelProperties: { - amsGradient: { - serializedName: "amsGradient", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - augmentations: { - serializedName: "augmentations", - nullable: true, + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "String", + name: "Number", }, }, - beta1: { - serializedName: "beta1", - nullable: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { name: "String", }, }, - beta2: { - serializedName: "beta2", + }, + }, +}; + +export const TableVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVertical", + modelProperties: { + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - distributed: { - serializedName: "distributed", - nullable: true, + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalFeaturizationSettings", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + limitSettings: { + serializedName: "limitSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalLimitSettings", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "String", + name: "Composite", + className: "NCrossValidations", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + testData: { + serializedName: "testData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + testDataSize: { + serializedName: "testDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + validationData: { + serializedName: "validationData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", + weightColumnName: { + serializedName: "weightColumnName", nullable: true, type: { name: "String", }, }, - learningRate: { - serializedName: "learningRate", + }, + }, +}; + +export const ColumnTransformer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ColumnTransformer", + modelProperties: { + fields: { + serializedName: "fields", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + parameters: { + serializedName: "parameters", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - modelName: { - serializedName: "modelName", + }, + }, +}; + +export const FeaturizationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturizationSettings", + modelProperties: { + datasetLanguage: { + serializedName: "datasetLanguage", nullable: true, type: { name: "String", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + }, + }, +}; + +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { - name: "String", + name: "Boolean", }, }, - nesterov: { - serializedName: "nesterov", + exitScore: { + serializedName: "exitScore", nullable: true, type: { - name: "String", + name: "Number", }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "String", + name: "Number", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", type: { - name: "String", + name: "Number", }, }, - optimizer: { - serializedName: "optimizer", - nullable: true, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", type: { - name: "String", + name: "Number", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", type: { - name: "String", + name: "TimeSpan", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", type: { - name: "String", + name: "TimeSpan", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + }, + }, +}; + +export const DistributionConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DistributionConfiguration", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: { + serializedName: "distributionType", + clientName: "distributionType", + }, + modelProperties: { + distributionType: { + serializedName: "distributionType", + required: true, type: { name: "String", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + }, + }, +}; + +export const JobLimits: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: { + serializedName: "jobLimitsType", + clientName: "jobLimitsType", + }, + modelProperties: { + jobLimitsType: { + serializedName: "jobLimitsType", + required: true, type: { name: "String", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", + timeout: { + serializedName: "timeout", nullable: true, type: { - name: "String", + name: "TimeSpan", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", + }, + }, +}; + +export const ContainerResourceRequirements: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceRequirements", + modelProperties: { + containerResourceLimits: { + serializedName: "containerResourceLimits", + type: { + name: "Composite", + className: "ContainerResourceSettings", + }, + }, + containerResourceRequests: { + serializedName: "containerResourceRequests", + type: { + name: "Composite", + className: "ContainerResourceSettings", + }, + }, + }, + }, +}; + +export const ContainerResourceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceSettings", + modelProperties: { + cpu: { + serializedName: "cpu", nullable: true, type: { name: "String", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", + gpu: { + serializedName: "gpu", nullable: true, type: { name: "String", }, }, - weightDecay: { - serializedName: "weightDecay", + memory: { + serializedName: "memory", nullable: true, type: { name: "String", @@ -9783,119 +9908,95 @@ export const ImageModelDistributionSettings: coreClient.CompositeMapper = { }, }; -export const ImageVertical: coreClient.CompositeMapper = { +export const MonitorDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "MonitorDefinition", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + alertNotificationSettings: { + serializedName: "alertNotificationSettings", type: { name: "Composite", - className: "ImageLimitSettings", + className: "MonitorNotificationSettings", }, }, - sweepSettings: { - serializedName: "sweepSettings", + computeConfiguration: { + serializedName: "computeConfiguration", type: { name: "Composite", - className: "ImageSweepSettings", + className: "MonitorComputeConfigurationBase", }, }, - validationData: { - serializedName: "validationData", + monitoringTarget: { + serializedName: "monitoringTarget", type: { name: "Composite", - className: "MLTableJobInput", + className: "MonitoringTarget", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + signals: { + serializedName: "signals", + required: true, type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringSignalBase" }, + }, }, }, }, }, }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "MonitorNotificationSettings", modelProperties: { - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", - type: { - name: "Number", - }, - }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { - name: "Number", + name: "Composite", + className: "MonitorEmailNotificationSettings", }, }, }, }, }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "MonitorEmailNotificationSettings", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, - type: { - name: "String", - }, - }, - earlyTermination: { - serializedName: "earlyTermination", + emails: { + serializedName: "emails", + nullable: true, type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const OneLakeArtifact: coreClient.CompositeMapper = { +export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OneLakeArtifact", - uberParent: "OneLakeArtifact", + className: "MonitorComputeConfigurationBase", + uberParent: "MonitorComputeConfigurationBase", polymorphicDiscriminator: { - serializedName: "artifactType", - clientName: "artifactType", + serializedName: "computeType", + clientName: "computeType", }, modelProperties: { - artifactType: { - serializedName: "artifactType", - required: true, - type: { - name: "String", - }, - }, - artifactName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "artifactName", + computeType: { + serializedName: "computeType", required: true, type: { name: "String", @@ -9905,1250 +10006,1222 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { }, }; -export const NlpVertical: coreClient.CompositeMapper = { +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "MonitoringTarget", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { - name: "Composite", - className: "NlpVerticalLimitSettings", + name: "String", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + modelId: { + serializedName: "modelId", + nullable: true, type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", + name: "String", }, }, - validationData: { - serializedName: "validationData", + taskType: { + serializedName: "taskType", + required: true, type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, }, }, }; -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", + }, modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + notificationTypes: { + serializedName: "notificationTypes", + nullable: true, type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + signalType: { + serializedName: "signalType", + required: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const Objective: coreClient.CompositeMapper = { +export const CustomMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "CustomMetricThreshold", modelProperties: { - primaryMetric: { + metric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "primaryMetric", + serializedName: "metric", required: true, type: { name: "String", }, }, - goal: { - serializedName: "goal", - required: true, + threshold: { + serializedName: "threshold", type: { - name: "String", + name: "Composite", + className: "MonitoringThreshold", }, }, }, }, }; -export const SparkResourceConfiguration: coreClient.CompositeMapper = { +export const MonitoringInputDataBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkResourceConfiguration", + className: "MonitoringInputDataBase", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: { + serializedName: "inputDataType", + clientName: "inputDataType", + }, modelProperties: { - instanceType: { - serializedName: "instanceType", + columns: { + serializedName: "columns", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - runtimeVersion: { - defaultValue: "3.1", - serializedName: "runtimeVersion", + dataContext: { + serializedName: "dataContext", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const SparkJobEntry: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SparkJobEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: { - serializedName: "sparkJobEntryType", - clientName: "sparkJobEntryType", - }, - modelProperties: { - sparkJobEntryType: { - serializedName: "sparkJobEntryType", + inputDataType: { + serializedName: "inputDataType", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const TrialComponent: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrialComponent", - modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, }, - command: { + uri: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "command", + serializedName: "uri", required: true, type: { name: "String", }, }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "environmentId", - required: true, + }, + }, +}; + +export const FeatureImportanceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureImportanceSettings", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", + targetColumn: { + serializedName: "targetColumn", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - distribution: { - serializedName: "distribution", + }, + }, +}; + +export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + modelProperties: { + metric: { + serializedName: "metric", + required: true, type: { - name: "Composite", - className: "DistributionConfiguration", + name: "String", }, }, - resources: { - serializedName: "resources", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "MonitoringThreshold", }, }, }, }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const JobResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "JobResources", modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + instanceTypes: { + serializedName: "instanceTypes", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, - }, - }, - }; - -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "ForecastingSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "Number", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + featureLags: { + serializedName: "featureLags", type: { - name: "Composite", - className: "PrivateEndpoint", + name: "String", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + forecastHorizon: { + serializedName: "forecastHorizon", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState", + className: "ForecastHorizon", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + frequency: { + serializedName: "frequency", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const Workspace: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Workspace", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + seasonality: { + serializedName: "seasonality", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "Seasonality", }, }, - kind: { - serializedName: "kind", + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", type: { name: "String", }, }, - location: { - serializedName: "location", + targetAggregateFunction: { + serializedName: "targetAggregateFunction", type: { name: "String", }, }, - tags: { - serializedName: "tags", + targetLags: { + serializedName: "targetLags", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "TargetLags", }, }, - sku: { - serializedName: "sku", + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", type: { name: "Composite", - className: "Sku", + className: "TargetRollingWindowSize", }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, type: { name: "String", }, }, - description: { - serializedName: "properties.description", + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - friendlyName: { - serializedName: "properties.friendlyName", + useStl: { + serializedName: "useStl", type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const ImageModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelSettings", + modelProperties: { + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, type: { name: "String", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + amsGradient: { + serializedName: "amsGradient", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", + augmentations: { + serializedName: "augmentations", nullable: true, type: { name: "String", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + beta1: { + serializedName: "beta1", + nullable: true, type: { - name: "String", + name: "Number", }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + beta2: { + serializedName: "beta2", + nullable: true, type: { - name: "String", + name: "Number", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + checkpointFrequency: { + serializedName: "checkpointFrequency", + nullable: true, type: { - name: "String", + name: "Number", }, }, - encryption: { - serializedName: "properties.encryption", + checkpointModel: { + serializedName: "checkpointModel", type: { name: "Composite", - className: "EncryptionProperty", - }, - }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", - type: { - name: "Boolean", + className: "MLFlowModelJobInput", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, type: { name: "String", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + distributed: { + serializedName: "distributed", + nullable: true, type: { - name: "Number", + name: "Boolean", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, type: { - name: "String", + name: "Number", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Boolean", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", + name: "Number", }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource", - }, - }, + name: "Number", }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, type: { - name: "Composite", - className: "NotebookResourceInfo", + name: "Number", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + learningRate: { + serializedName: "learningRate", + nullable: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "Number", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + learningRateScheduler: { + serializedName: "learningRateScheduler", type: { name: "String", }, }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + modelName: { + serializedName: "modelName", + nullable: true, type: { name: "String", }, }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + momentum: { + serializedName: "momentum", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + nesterov: { + serializedName: "nesterov", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - managedNetwork: { - serializedName: "properties.managedNetwork", + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Number", }, }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", + optimizer: { + serializedName: "optimizer", type: { - name: "Composite", - className: "FeatureStoreSettings", + name: "String", }, }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", + randomSeed: { + serializedName: "randomSeed", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, type: { - name: "Boolean", + name: "Number", }, }, - hubResourceId: { - serializedName: "properties.hubResourceId", + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, type: { - name: "String", + name: "Number", }, }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, type: { - name: "Composite", - className: "WorkspaceHubConfig", + name: "Number", }, }, - }, - }, -}; - -export const ComputeResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeResource", - modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "Number", }, }, - location: { - serializedName: "location", + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, type: { - name: "String", + name: "Number", }, }, - tags: { - serializedName: "tags", + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - sku: { - serializedName: "sku", + weightDecay: { + serializedName: "weightDecay", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "Number", }, }, }, }, }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const ImageModelDistributionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "ImageModelDistributionSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + amsGradient: { + serializedName: "amsGradient", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + augmentations: { + serializedName: "augmentations", + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + beta1: { + serializedName: "beta1", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + beta2: { + serializedName: "beta2", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + distributed: { + serializedName: "distributed", + nullable: true, type: { name: "String", }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -export const OutboundRuleBasicResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, 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", + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - location: { - serializedName: "location", - required: true, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, 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", + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, type: { - name: "Composite", - className: "PrivateEndpointDestination", + name: "String", + }, + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "String", + }, + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + nullable: true, + type: { + name: "String", + }, + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String", + }, + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "String", + }, + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "String", + }, + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "String", + }, + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "String", + }, + }, + optimizer: { + serializedName: "optimizer", + nullable: true, + type: { + name: "String", + }, + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "String", + }, + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "String", + }, + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "String", + }, + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "String", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const ServiceTagOutboundRule: coreClient.CompositeMapper = { - serializedName: "ServiceTag", +export const ImageVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "ImageVertical", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "ServiceTagDestination", + className: "ImageLimitSettings", + }, + }, + sweepSettings: { + serializedName: "sweepSettings", + type: { + name: "Composite", + className: "ImageSweepSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, + type: { + name: "Number", }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const ImageLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "ImageLimitSettings", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "String", + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", +export const ImageSweepSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "ImageSweepSettings", modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties, + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + }, + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const OneLakeArtifact: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "OneLakeArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: { + serializedName: "artifactType", + clientName: "artifactType", + }, modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties, + artifactName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "artifactName", + required: true, + type: { + name: "String", + }, + }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const AmlCompute: coreClient.CompositeMapper = { - serializedName: "AmlCompute", +export const NlpVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlCompute", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "NlpVertical", modelProperties: { - ...Compute.type.modelProperties, - ...AmlComputeSchema.type.modelProperties, - }, - }, -}; - -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", - type: { - name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties, + featurizationSettings: { + serializedName: "featurizationSettings", + type: { + name: "Composite", + className: "NlpVerticalFeaturizationSettings", + }, + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, }, }, }; -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "NlpVerticalLimitSettings", modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, }, }, }; -export const HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", +export const Objective: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "Objective", modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties, + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, + primaryMetric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "primaryMetric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const SparkJobEntry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", + }, modelProperties: { - ...Compute.type.modelProperties, + sparkJobEntryType: { + serializedName: "sparkJobEntryType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const SparkResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "SparkResourceConfiguration", modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties, + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + runtimeVersion: { + defaultValue: "3.1", + serializedName: "runtimeVersion", + type: { + name: "String", + }, + }, }, }, }; -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", +export const TrialComponent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "TrialComponent", modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties, + codeId: { + serializedName: "codeId", + nullable: true, + type: { + name: "String", + }, + }, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "command", + required: true, + type: { + name: "String", + }, + }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "environmentId", + required: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, }, }, }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "WorkspaceConnectionAccessKey", modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + accessKeyId: { + serializedName: "accessKeyId", type: { - name: "Composite", - className: "SynapseSparkProperties", + name: "String", + }, + }, + secretAccessKey: { + serializedName: "secretAccessKey", + type: { + name: "String", }, }, }, }, }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "WorkspaceConnectionAccountKey", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties, + key: { + serializedName: "key", + type: { + name: "String", + }, + }, }, }, }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "WorkspaceConnectionApiKey", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties, + key: { + serializedName: "key", + type: { + name: "String", + }, + }, }, }, }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const CapacityConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "CapacityConfig", 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", - }, + minimum: { + serializedName: "minimum", + type: { + name: "Number", }, }, - }, - }; - -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", - }, + maximum: { + serializedName: "maximum", + type: { + name: "Number", }, }, - }, - }; - -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", - }, + step: { + serializedName: "step", + type: { + name: "Number", }, }, - }, - }; - -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", - }, + default: { + serializedName: "default", + 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", + allowedValues: { + serializedName: "allowedValues", + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, }, }, }, }, - }; + }, +}; -export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const CognitiveServiceEndpointDeploymentResourceProperties: coreClient.CompositeMapper = { - serializedName: "CustomKeys", type: { name: "Composite", - className: "CustomKeysWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "CognitiveServiceEndpointDeploymentResourceProperties", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + model: { + serializedName: "model", type: { name: "Composite", - className: "CustomKeys", + className: "EndpointDeploymentModel", }, }, - }, - }, - }; - -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", + raiPolicyName: { + serializedName: "raiPolicyName", type: { - name: "Composite", - className: "WorkspaceConnectionOAuth2", + name: "String", }, }, - }, - }, - }; - -export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ServicePrincipal", - type: { - name: "Composite", - className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + versionUpgradeOption: { + serializedName: "versionUpgradeOption", type: { - name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + name: "String", }, }, }, }, }; -export const AssetContainer: coreClient.CompositeMapper = { +export const EndpointDeploymentModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetContainer", + className: "EndpointDeploymentModel", modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + format: { + serializedName: "format", type: { - name: "Boolean", + name: "String", }, }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, - nullable: true, - type: { + name: { + serializedName: "name", + type: { name: "String", }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, - nullable: true, + source: { + serializedName: "source", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", type: { name: "String", }, @@ -11157,82 +11230,90 @@ export const AssetContainer: coreClient.CompositeMapper = { }, }; -export const AssetBase: coreClient.CompositeMapper = { +export const CognitiveServicesSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetBase", + className: "CognitiveServicesSku", modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + capacity: { + serializedName: "capacity", type: { - name: "Boolean", + name: "Number", }, }, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + family: { + serializedName: "family", type: { - name: "Boolean", + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "String", }, }, }, }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const ServerlessEndpointContentSafety: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType", - }, + className: "ServerlessEndpointContentSafety", modelProperties: { - ...ResourceBase.type.modelProperties, - datastoreType: { - serializedName: "datastoreType", + contentSafetyStatus: { + serializedName: "contentSafetyStatus", required: true, type: { name: "String", }, }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean", - }, - }, - credentials: { - serializedName: "credentials", + }, + }, +}; + +export const CustomKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomKeys", + modelProperties: { + keys: { + serializedName: "keys", type: { - name: "Composite", - className: "DatastoreCredentials", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const FeatureProperties: coreClient.CompositeMapper = { +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureProperties", + className: "WorkspaceConnectionManagedIdentity", modelProperties: { - ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", - nullable: true, + clientId: { + serializedName: "clientId", type: { name: "String", }, }, - dataType: { - serializedName: "dataType", + resourceId: { + serializedName: "resourceId", type: { name: "String", }, @@ -11241,151 +11322,124 @@ export const FeatureProperties: coreClient.CompositeMapper = { }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const ServerlessEndpointModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType", - }, + className: "ServerlessEndpointModelSettings", modelProperties: { - ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", required: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", - nullable: true, + }, + }, +}; + +export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + modelProperties: { + authUrl: { + serializedName: "authUrl", type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, + clientId: { + serializedName: "clientId", type: { - name: "String", + name: "Uuid", }, }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - services: { - serializedName: "services", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, - }, - }, - computeId: { - serializedName: "computeId", - nullable: true, + developerToken: { + serializedName: "developerToken", type: { name: "String", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + password: { + serializedName: "password", type: { - name: "Boolean", + name: "String", }, }, - identity: { - serializedName: "identity", + refreshToken: { + serializedName: "refreshToken", type: { - name: "Composite", - className: "IdentityConfiguration", + name: "String", }, }, - componentId: { - serializedName: "componentId", - nullable: true, + tenantId: { + serializedName: "tenantId", type: { name: "String", }, }, - notificationSetting: { - serializedName: "notificationSetting", + username: { + serializedName: "username", type: { - name: "Composite", - className: "NotificationSetting", + name: "String", }, }, }, }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const PrivateEndpointDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleProperties", + className: "PrivateEndpointDestination", modelProperties: { - ...ResourceBase.type.modelProperties, - displayName: { - serializedName: "displayName", - nullable: true, + serviceResourceId: { + serializedName: "serviceResourceId", type: { name: "String", }, }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", + sparkEnabled: { + serializedName: "sparkEnabled", type: { name: "Boolean", }, }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase", - }, - }, - action: { - serializedName: "action", - type: { - name: "Composite", - className: "ScheduleActionBase", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + sparkStatus: { + serializedName: "sparkStatus", type: { name: "String", }, }, - }, - }, -}; - -export const SASCredentialDto: coreClient.CompositeMapper = { - serializedName: "SAS", - type: { - name: "Composite", - className: "SASCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: - PendingUploadCredentialDto.type.polymorphicDiscriminator, - modelProperties: { - ...PendingUploadCredentialDto.type.modelProperties, - sasUri: { - serializedName: "sasUri", - nullable: true, + subresourceTarget: { + serializedName: "subresourceTarget", type: { name: "String", }, @@ -11394,40 +11448,65 @@ export const SASCredentialDto: coreClient.CompositeMapper = { }, }; -export const AnonymousAccessCredential: coreClient.CompositeMapper = { - serializedName: "NoCredentials", - type: { - name: "Composite", - className: "AnonymousAccessCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", + type: { + name: "String", + }, + }, + }, }, - }, -}; + }; -export const DockerCredential: coreClient.CompositeMapper = { - serializedName: "DockerCredentials", +export const ServerlessEndpointCapacityReservation: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + modelProperties: { + capacityReservationGroupId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "capacityReservationGroupId", + required: true, + type: { + name: "String", + }, + }, + endpointReservedCapacity: { + serializedName: "endpointReservedCapacity", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ServerlessEndpointInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DockerCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "ServerlessEndpointInferenceEndpoint", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - userName: { - serializedName: "userName", - nullable: true, + headers: { + serializedName: "headers", + readOnly: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - password: { - serializedName: "password", - nullable: true, + uri: { + serializedName: "uri", + required: true, type: { name: "String", }, @@ -11436,47 +11515,56 @@ export const DockerCredential: coreClient.CompositeMapper = { }, }; -export const ManagedIdentityCredential: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const ServerlessOffer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentityCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "ServerlessOffer", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - managedIdentityType: { - serializedName: "managedIdentityType", - nullable: true, + offerName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "offerName", + required: true, type: { name: "String", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", - nullable: true, + publisher: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "publisher", + required: true, type: { name: "String", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", - nullable: true, + }, + }, +}; + +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + modelProperties: { + clientId: { + serializedName: "clientId", type: { name: "String", }, }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", - nullable: true, + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - userManagedIdentityTenantId: { - serializedName: "userManagedIdentityTenantId", - nullable: true, + tenantId: { + serializedName: "tenantId", type: { name: "String", }, @@ -11485,19 +11573,42 @@ export const ManagedIdentityCredential: coreClient.CompositeMapper = { }, }; -export const SASCredential: coreClient.CompositeMapper = { - serializedName: "SAS", +export const ServiceTagDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SASCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "ServiceTagDestination", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - sasUri: { - serializedName: "sasUri", - nullable: true, + action: { + serializedName: "action", + type: { + name: "String", + }, + }, + addressPrefixes: { + serializedName: "addressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + portRanges: { + serializedName: "portRanges", + type: { + name: "String", + }, + }, + protocol: { + serializedName: "protocol", + type: { + name: "String", + }, + }, + serviceTag: { + serializedName: "serviceTag", type: { name: "String", }, @@ -11506,22 +11617,25 @@ export const SASCredential: coreClient.CompositeMapper = { }, }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointProperties", + className: "WorkspaceConnectionUsernamePassword", modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + password: { + serializedName: "password", type: { - name: "Composite", - className: "BatchEndpointDefaults", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + securityToken: { + serializedName: "securityToken", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", type: { name: "String", }, @@ -11530,265 +11644,139 @@ export const BatchEndpointProperties: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + modelProperties: { + ...ManagedServiceIdentity.type.modelProperties, + }, + }, + }; + +export const ComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "ComputeResource", modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...Resource.type.modelProperties, + ...ComputeResourceSchema.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", type: { name: "String", }, }, - compute: { - serializedName: "compute", + tags: { + serializedName: "tags", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - traffic: { - serializedName: "traffic", - nullable: true, + }, + }, +}; + +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: "Dictionary", - value: { type: { name: "Number" } }, + value: { type: { name: "String" } }, }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", - nullable: true, + location: { + serializedName: "location", + required: true, type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "String", }, }, }, }, }; -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, - }, - }, - }, - }; - -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - }, - }, - }; - -export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSkuAndIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, - }, - }, - }, - }; - -export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = - { - serializedName: "PipelineComponent", - type: { - name: "Composite", - className: "BatchPipelineComponentDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: - BatchDeploymentConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...BatchDeploymentConfiguration.type.modelProperties, - componentId: { - serializedName: "componentId", - type: { - name: "Composite", - className: "IdAssetReference", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - settings: { - serializedName: "settings", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "PrivateEndpointConnection", modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "assetId", - required: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - }, - }, -}; - -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", - type: { - name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, - modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - datastoreId: { - serializedName: "datastoreId", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - }, - }, -}; - -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", - type: { - name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, - modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - jobId: { - serializedName: "jobId", - nullable: true, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String", + name: "Composite", + className: "WorkspacePrivateEndpointResource", }, }, - }, - }, -}; - -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentResourceConfiguration", - modelProperties: { - ...ResourceConfiguration.type.modelProperties, - }, - }, -}; - -export const JobResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobResourceConfiguration", - modelProperties: { - ...ResourceConfiguration.type.modelProperties, - shmSize: { - defaultValue: "2g", - constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]"), - }, - serializedName: "shmSize", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String", + name: "Composite", + className: "PrivateLinkServiceConnectionState", }, }, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String", }, @@ -11797,701 +11785,2692 @@ export const JobResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const Workspace: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "Workspace", modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - deploymentConfiguration: { - serializedName: "deploymentConfiguration", + kind: { + serializedName: "kind", type: { - name: "Composite", - className: "BatchDeploymentConfiguration", + name: "String", }, }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", + location: { + serializedName: "location", type: { - name: "Number", + name: "String", }, }, - retrySettings: { - serializedName: "retrySettings", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "BatchRetrySettings", + className: "Sku", }, }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", + tags: { + serializedName: "tags", type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - loggingLevel: { - serializedName: "loggingLevel", + allowPublicAccessWhenBehindVnet: { + serializedName: "properties.allowPublicAccessWhenBehindVnet", type: { - name: "String", + name: "Boolean", }, }, - model: { - serializedName: "model", + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", type: { - name: "Composite", - className: "AssetReferenceBase", + name: "Boolean", }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", + applicationInsights: { + serializedName: "properties.applicationInsights", type: { - name: "Number", + name: "String", }, }, - outputAction: { - serializedName: "outputAction", + associatedWorkspaces: { + serializedName: "properties.associatedWorkspaces", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", + containerRegistries: { + serializedName: "properties.containerRegistries", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - resources: { - serializedName: "resources", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { - name: "Composite", - className: "DeploymentResourceConfiguration", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + description: { + serializedName: "properties.description", type: { name: "String", }, }, - }, - }, -}; - -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", - type: { - name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType", - }, - modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, + discoveryUrl: { + serializedName: "properties.discoveryUrl", type: { name: "String", }, }, - scaleSettings: { - serializedName: "scaleSettings", + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", type: { - name: "Composite", - className: "OnlineScaleSettings", + name: "Boolean", }, }, - requestSettings: { - serializedName: "requestSettings", + enableServiceSideCMKEncryption: { + serializedName: "properties.enableServiceSideCMKEncryption", type: { - name: "Composite", - className: "OnlineRequestSettings", + name: "Boolean", }, }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, + enableSimplifiedCmk: { + serializedName: "properties.enableSimplifiedCmk", type: { - name: "String", + name: "Boolean", }, }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", type: { name: "Boolean", }, }, - livenessProbe: { - serializedName: "livenessProbe", + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "ProbeSettings", + className: "EncryptionProperty", }, }, - readinessProbe: { - serializedName: "readinessProbe", + existingWorkspaces: { + serializedName: "properties.existingWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { name: "Composite", - className: "ProbeSettings", + className: "FeatureStoreSettings", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - instanceType: { - serializedName: "instanceType", - nullable: true, + hbiWorkspace: { + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean", + }, + }, + hubResourceId: { + serializedName: "properties.hubResourceId", type: { name: "String", }, }, - model: { - serializedName: "model", - nullable: true, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", type: { name: "String", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + ipAllowlist: { + serializedName: "properties.ipAllowlist", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + keyVault: { + serializedName: "properties.keyVault", type: { name: "String", }, }, - dataCollector: { - serializedName: "dataCollector", + keyVaults: { + serializedName: "properties.keyVaults", type: { - name: "Composite", - className: "DataCollector", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", - type: { - name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + managedNetwork: { + serializedName: "properties.managedNetwork", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", + className: "ManagedNetworkSettings", }, }, - }, - }, -}; - -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", - type: { - name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, type: { name: "String", }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, type: { - name: "Uuid", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, }, }, - clientId: { - serializedName: "clientId", - required: true, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, type: { - name: "Uuid", + name: "Number", }, }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", }, - serializedName: "thumbprint", - required: true, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - secrets: { - serializedName: "secrets", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { name: "Composite", - className: "CertificateDatastoreSecrets", + className: "ServerlessComputeSettings", }, }, - }, - }, -}; - -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", - type: { - name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - }, - }, -}; - -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", - type: { - name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "SasDatastoreSecrets", + className: "ServiceManagedResourcesSettings", + }, + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String", + }, + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, + }, + }, + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", + type: { + name: "Number", + }, + }, + storageAccount: { + serializedName: "properties.storageAccount", + type: { + name: "String", + }, + }, + storageAccounts: { + serializedName: "properties.storageAccounts", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean", + }, + }, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + workspaceHubConfig: { + serializedName: "properties.workspaceHubConfig", + type: { + name: "Composite", + className: "WorkspaceHubConfig", + }, + }, + workspaceId: { + serializedName: "properties.workspaceId", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "WorkspaceConnectionPropertiesV2BasicResource", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, - type: { - name: "String", - }, - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", - required: true, - type: { - name: "Uuid", - }, - }, - clientId: { - serializedName: "clientId", - required: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Uuid", + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", }, }, - secrets: { - serializedName: "secrets", + }, + }, + }; + +export const EndpointDeploymentResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", + className: "EndpointDeploymentResourceProperties", }, }, }, }, }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const RaiBlocklistPropertiesBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "RaiBlocklistPropertiesBasicResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "RaiBlocklistProperties", }, }, }, }, }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", - nullable: true, - type: { - name: "String", +export const RaiBlocklistItemPropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RaiBlocklistItemProperties", + }, }, }, }, - }, -}; + }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const RaiPolicyPropertiesBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "RaiPolicyPropertiesBasicResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "RaiPolicyProperties", }, }, }, }, }; -export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const EndpointResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EndpointResourceProperties", + }, + }, + }, + }, + }; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "OutboundRuleBasicResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", - nullable: true, + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "OutboundRule", }, }, }, }, }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", +export const PrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "PrivateLinkResource", modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - interval: { - serializedName: "interval", - required: true, + location: { + serializedName: "location", type: { - name: "Number", + name: "String", }, }, - schedule: { - serializedName: "schedule", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "RecurrenceSchedule", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + groupId: { + serializedName: "properties.groupId", + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const CronTrigger: coreClient.CompositeMapper = { - serializedName: "Cron", +export const Aks: coreClient.CompositeMapper = { + serializedName: "AKS", type: { name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "Aks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "expression", - required: true, + ...Compute.type.modelProperties, + ...AKSSchema.type.modelProperties, + }, + }, +}; + +export const Kubernetes: coreClient.CompositeMapper = { + serializedName: "Kubernetes", + type: { + name: "Composite", + className: "Kubernetes", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...KubernetesSchema.type.modelProperties, + }, + }, +}; + +export const AmlCompute: coreClient.CompositeMapper = { + serializedName: "AmlCompute", + type: { + name: "Composite", + className: "AmlCompute", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AmlComputeSchema.type.modelProperties, + }, + }, +}; + +export const ComputeInstance: coreClient.CompositeMapper = { + serializedName: "ComputeInstance", + type: { + name: "Composite", + className: "ComputeInstance", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...ComputeInstanceSchema.type.modelProperties, + }, + }, +}; + +export const VirtualMachine: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachine", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...VirtualMachineSchema.type.modelProperties, + }, + }, +}; + +export const HDInsight: coreClient.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + className: "HDInsight", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...HDInsightSchema.type.modelProperties, + }, + }, +}; + +export const DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", + type: { + name: "Composite", + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + }, + }, +}; + +export const Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties, + }, + }, +}; + +export const DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", + type: { + name: "Composite", + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DataLakeAnalyticsSchema.type.modelProperties, + }, + }, +}; + +export const SynapseSpark: coreClient.CompositeMapper = { + serializedName: "SynapseSpark", + type: { + name: "Composite", + className: "SynapseSpark", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "SynapseSparkProperties", }, }, }, }, }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", +export const AksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "AKS", type: { name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + className: "AksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Webhook.type.modelProperties, + ...ComputeSecrets.type.modelProperties, + ...AksComputeSecretsProperties.type.modelProperties, }, }, }; -export const AllNodes: coreClient.CompositeMapper = { - serializedName: "All", +export const VirtualMachineSecrets: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", type: { name: "Composite", - className: "AllNodes", - uberParent: "Nodes", - polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + className: "VirtualMachineSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Nodes.type.modelProperties, + ...ComputeSecrets.type.modelProperties, + ...VirtualMachineSecretsSchema.type.modelProperties, }, }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const DatabricksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "Databricks", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "DatabricksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...ComputeSecrets.type.modelProperties, + ...DatabricksComputeSecretsProperties.type.modelProperties, }, }, }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const AssetContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "AssetContainer", modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", + ...ResourceBase.type.modelProperties, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + latestVersion: { + serializedName: "latestVersion", + readOnly: true, nullable: true, type: { - name: "Uuid", + name: "String", + }, + }, + nextVersion: { + serializedName: "nextVersion", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AssetBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetBase", + modelProperties: { + ...ResourceBase.type.modelProperties, + isAnonymous: { + defaultValue: false, + serializedName: "isAnonymous", + type: { + name: "Boolean", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", + type: { + name: "Composite", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials", + }, + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String", + }, + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const FeatureProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + featureName: { + serializedName: "featureName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", + type: { + name: "Composite", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + componentId: { + serializedName: "componentId", + nullable: true, + type: { + name: "String", + }, + }, + computeId: { + serializedName: "computeId", + nullable: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", + type: { + name: "String", + }, + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityConfiguration", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String", + }, + }, + notificationSetting: { + serializedName: "notificationSetting", + type: { + name: "Composite", + className: "NotificationSetting", + }, + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", + }, + }, + }, + }, +}; + +export const SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: + PendingUploadCredentialDto.type.polymorphicDiscriminator, + modelProperties: { + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AnonymousAccessCredential: coreClient.CompositeMapper = { + serializedName: "NoCredentials", + type: { + name: "Composite", + className: "AnonymousAccessCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + }, + }, +}; + +export const DockerCredential: coreClient.CompositeMapper = { + serializedName: "DockerCredentials", + type: { + name: "Composite", + className: "DockerCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + password: { + serializedName: "password", + nullable: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityTenantId: { + serializedName: "userManagedIdentityTenantId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", + type: { + name: "Composite", + className: "BatchEndpointDefaults", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OnlineEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + }, + }, + }; + +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSku", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, + }; + +export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSkuAndIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, + }; + +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = + { + serializedName: "PipelineComponent", + type: { + name: "Composite", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: + BatchDeploymentConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...BatchDeploymentConfiguration.type.modelProperties, + componentId: { + serializedName: "componentId", + type: { + name: "Composite", + className: "IdAssetReference", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, + }; + +export const IdAssetReference: coreClient.CompositeMapper = { + serializedName: "Id", + type: { + name: "Composite", + className: "IdAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + assetId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "assetId", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataPathAssetReference: coreClient.CompositeMapper = { + serializedName: "DataPath", + type: { + name: "Composite", + className: "DataPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + datastoreId: { + serializedName: "datastoreId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", + type: { + name: "Composite", + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + }, + }, +}; + +export const JobResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", + nullable: true, + type: { + name: "String", + }, + }, + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]"), + }, + serializedName: "shmSize", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchDeploymentProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentProperties", + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", + type: { + name: "Composite", + className: "BatchDeploymentConfiguration", + }, + }, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", + type: { + name: "Number", + }, + }, + loggingLevel: { + serializedName: "loggingLevel", + type: { + name: "String", + }, + }, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", + type: { + name: "Number", + }, + }, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", + type: { + name: "Number", + }, + }, + model: { + serializedName: "model", + type: { + name: "Composite", + className: "AssetReferenceBase", + }, + }, + outputAction: { + serializedName: "outputAction", + type: { + name: "String", + }, + }, + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + }, + }, + retrySettings: { + serializedName: "retrySettings", + type: { + name: "Composite", + className: "BatchRetrySettings", + }, + }, + }, + }, +}; + +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType", + }, + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", + type: { + name: "Boolean", + }, + }, + dataCollector: { + serializedName: "dataCollector", + type: { + name: "Composite", + className: "DataCollector", + }, + }, + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", + type: { + name: "String", + }, + }, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, + type: { + name: "String", + }, + }, + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + livenessProbe: { + serializedName: "livenessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + model: { + serializedName: "model", + nullable: true, + type: { + name: "String", + }, + }, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + readinessProbe: { + serializedName: "readinessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + requestSettings: { + serializedName: "requestSettings", + type: { + name: "Composite", + className: "OnlineRequestSettings", + }, + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings", + }, + }, + }, + }, +}; + +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + }, + }, + }, + }, +}; + +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "thumbprint", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + }, + }, +}; + +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = + { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + }, + }, + }; + +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + clientSecret: { + serializedName: "clientSecret", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", + type: { + name: "Composite", + className: "AzureDevOpsWebhook", + uberParent: "Webhook", + polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + modelProperties: { + ...Webhook.type.modelProperties, + }, + }, +}; + +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", + type: { + name: "Composite", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, + type: { + name: "String", + }, + }, + interval: { + serializedName: "interval", + required: true, + type: { + name: "Number", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + }, + }, + }, + }, +}; + +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", + type: { + name: "Composite", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "expression", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", + type: { + name: "Composite", + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const ManagedIdentity: coreClient.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + className: "ManagedIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + clientId: { + serializedName: "clientId", + nullable: true, + type: { + name: "Uuid", + }, + }, + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid", + }, + }, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", + type: { + name: "Composite", + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + modelProperties: { + ...Nodes.type.modelProperties, + }, + }, +}; + +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + }, + }, +}; + +export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { + serializedName: "TargetUtilization", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", + type: { + name: "Number", + }, + }, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", + type: { + name: "Number", + }, + }, + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", + type: { + name: "TimeSpan", + }, + }, + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", + type: { + name: "Composite", + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", + type: { + name: "Composite", + className: "MonitorDefinition", + }, + }, + }, + }, +}; + +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", + type: { + name: "Composite", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", + type: { + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, +}; + +export const PrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointResource", + modelProperties: { + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", + type: { + name: "Composite", + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, + fqdns: { + serializedName: "fqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", + type: { + name: "Composite", + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ServiceTagDestination", + }, + }, + }, + }, +}; + +export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AAD", + type: { + name: "Composite", + className: "AADAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AccessKey", + type: { + name: "Composite", + className: "AccessKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + }, + }, + }, + }, + }; + +export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + }, + }, + }, + }, + }; + +export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ApiKey", + type: { + name: "Composite", + className: "ApiKeyAuthWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + }, + }, + }, + }, + }; + +export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "CustomKeys", + type: { + name: "Composite", + className: "CustomKeysWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "CustomKeys", + }, + }, + }, + }, + }; + +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + }, + }, + }, + }, + }; + +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "OAuth2", + type: { + name: "Composite", + className: "OAuth2AuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + }, + }, + }, + }, + }; + +export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "PAT", + type: { + name: "Composite", + className: "PATAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + }, + }, + }, + }, + }; + +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, + }, + }, + }, + }; + +export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + }, + }, + }, + }, + }; + +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "UsernamePassword", + type: { + name: "Composite", + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + }, + }, + }, + }, + }; + +export const ContentSafetyEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, + }; + +export const ManagedOnlineEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointDeploymentResourceProperties.type.modelProperties, + endpointComputeType: { + serializedName: "endpointComputeType", + type: { + name: "String", + }, }, - }, - objectId: { - serializedName: "objectId", - nullable: true, - type: { - name: "Uuid", + model: { + serializedName: "model", + type: { + name: "String", + }, }, }, - resourceId: { - serializedName: "resourceId", - nullable: true, - type: { - name: "String", - }, + }, + }; + +export const OpenAIEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, }, }, - }, -}; + }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", - type: { - name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, +export const SpeechEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.Speech", + type: { + name: "Composite", + className: "SpeechEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, }, - }, -}; + }; -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", - type: { - name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, - modelProperties: { - ...OnlineScaleSettings.type.modelProperties, +export const ContentSafetyEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, }, - }, -}; + }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", - type: { - name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, - modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", - type: { - name: "TimeSpan", +export const ManagedOnlineEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, }, - }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", - type: { - name: "Number", + compute: { + serializedName: "compute", + type: { + name: "String", + }, }, - }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", - type: { - name: "Number", + description: { + serializedName: "description", + type: { + name: "String", + }, }, - }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", - type: { - name: "Number", + mirrorTraffic: { + serializedName: "mirrorTraffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, }, }, }, - }, -}; + }; -export const CreateMonitorAction: coreClient.CompositeMapper = { - serializedName: "CreateMonitor", +export const OpenAIEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.OpenAI", type: { name: "Composite", - className: "CreateMonitorAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "OpenAIEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - monitorDefinition: { - serializedName: "monitorDefinition", - type: { - name: "Composite", - className: "MonitorDefinition", - }, - }, + ...EndpointResourceProperties.type.modelProperties, }, }, }; -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 ServerlessEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "serverlessEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, + }, + capacityReservation: { + serializedName: "capacityReservation", + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + }, + }, + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ServerlessEndpointContentSafety", + }, + }, + endpointState: { + serializedName: "endpointState", + type: { + name: "String", + }, + }, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + type: { + name: "String", + }, + }, + metadata: { + serializedName: "metadata", + type: { + name: "any", + }, + }, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + }, + }, + offer: { + serializedName: "offer", + type: { + name: "Composite", + className: "ServerlessOffer", + }, }, }, }, - }, -}; + }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const SpeechEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.Speech", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "SpeechEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", - type: { - name: "Composite", - className: "JobBaseProperties", - }, - }, + ...EndpointResourceProperties.type.modelProperties, }, }, }; @@ -12606,11 +14585,11 @@ export const MLTableJobInput: coreClient.CompositeMapper = { }, }; -export const CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const MLFlowModelJobInput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", type: { name: "Composite", - className: "CustomModelJobInput", + className: "MLFlowModelJobInput", uberParent: "JobInput", polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, modelProperties: { @@ -12620,11 +14599,11 @@ export const CustomModelJobInput: coreClient.CompositeMapper = { }, }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const CustomModelJobInput: coreClient.CompositeMapper = { + serializedName: "custom_model", type: { name: "Composite", - className: "MLFlowModelJobInput", + className: "CustomModelJobInput", uberParent: "JobInput", polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, modelProperties: { @@ -12803,6 +14782,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 +14802,6 @@ export const Classification: coreClient.CompositeMapper = { className: "ClassificationTrainingSettings", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -12837,12 +14816,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 +14823,12 @@ export const Forecasting: coreClient.CompositeMapper = { className: "ForecastingSettings", }, }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, trainingSettings: { serializedName: "trainingSettings", type: { @@ -13311,6 +15290,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 +15307,6 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String", - }, - }, }, }, }; @@ -13342,17 +15321,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 +15339,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 +15388,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 +15406,6 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, protocol: { serializedName: "protocol", nullable: true, @@ -13444,6 +15423,47 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { }, }; +export const AzureOpenAiFineTuning: coreClient.CompositeMapper = { + serializedName: "AzureOpenAI", + type: { + name: "Composite", + className: "AzureOpenAiFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + }, + }, + }, + }, +}; + +export const CustomModelFineTuning: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomModelFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + export const BanditPolicy: coreClient.CompositeMapper = { serializedName: "Bandit", type: { @@ -13454,16 +15474,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 +15562,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 +15575,6 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { name: "Number", }, }, - rule: { - serializedName: "rule", - type: { - name: "String", - }, - }, }, }, }; @@ -13796,12 +15816,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 +15836,19 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, + enableDnnFeaturization: { + defaultValue: false, + serializedName: "enableDnnFeaturization", + type: { + name: "Boolean", + }, + }, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, transformerParams: { serializedName: "transformerParams", nullable: true, @@ -13837,13 +15864,6 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { }, }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", - type: { - name: "Boolean", - }, - }, }, }, }; @@ -13910,16 +15930,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 +15970,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 +15995,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 +16048,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 +16077,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 +16104,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 +16119,13 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14082,14 +16153,6 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14104,11 +16167,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 +16182,13 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14145,14 +16216,6 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14168,11 +16231,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 +16246,13 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "FeatureImportanceSettings", }, }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, productionData: { serializedName: "productionData", required: true, @@ -14202,14 +16273,6 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14224,6 +16287,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 +16322,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 +16350,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 +16371,6 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14365,11 +16385,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 +16399,11 @@ export const StaticInputData: coreClient.CompositeMapper = { name: "DateTime", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + windowStart: { + serializedName: "windowStart", + required: true, type: { - name: "String", + name: "DateTime", }, }, }, @@ -14865,6 +16885,23 @@ export const EnvironmentVersion: coreClient.CompositeMapper = { }, }; +export const MarketplaceSubscription: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MarketplaceSubscription", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MarketplaceSubscriptionProperties", + }, + }, + }, + }, +}; + export const ModelContainer: coreClient.CompositeMapper = { type: { name: "Composite", @@ -15018,23 +17055,6 @@ export const JobBase: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscription: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MarketplaceSubscription", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "MarketplaceSubscriptionProperties", - }, - }, - }, - }, -}; - export const Schedule: coreClient.CompositeMapper = { type: { name: "Composite", @@ -15058,11 +17078,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 +17091,11 @@ export const BatchEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchEndpointProperties", }, }, sku: { @@ -15095,11 +17115,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 +17128,11 @@ export const BatchDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BatchDeploymentProperties", }, }, sku: { @@ -15132,11 +17152,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 +17165,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineEndpointProperties", }, }, sku: { @@ -15169,11 +17189,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 +17202,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineDeploymentProperties", }, }, sku: { @@ -15206,11 +17226,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 +17239,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ServerlessEndpointProperties", }, }, sku: { @@ -15284,6 +17304,13 @@ export const Registry: coreClient.CompositeMapper = { className: "ArmResourceId", }, }, + managedResourceGroupSettings: { + serializedName: "properties.managedResourceGroupSettings", + type: { + name: "Composite", + className: "ManagedResourceGroupSettings", + }, + }, mlFlowRegistryUri: { serializedName: "properties.mlFlowRegistryUri", nullable: true, @@ -15537,17 +17564,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 +17583,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 +17603,8 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "InferenceContainerProperties", }, }, - autoRebuild: { - serializedName: "autoRebuild", + osType: { + serializedName: "osType", type: { name: "String", }, @@ -15614,22 +17641,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 +17686,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 +17705,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 +17749,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 +17783,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 +17801,6 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, serviceDataAccessAuthIdentity: { serializedName: "serviceDataAccessAuthIdentity", type: { @@ -15793,13 +17820,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 +17835,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 +17850,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 +17877,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 +17895,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 +17913,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 +17936,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 +17960,55 @@ export const CommandJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + }, + }, +}; + +export const FineTuningJob: coreClient.CompositeMapper = { + serializedName: "FineTuning", + type: { + name: "Composite", + className: "FineTuningJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...JobBaseProperties.type.modelProperties, + fineTuningDetails: { + serializedName: "fineTuningDetails", + type: { + name: "Composite", + className: "FineTuningVertical", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResources", + }, + }, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + outputs: { + serializedName: "outputs", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, }, }, }; @@ -15953,12 +18022,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 +18040,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 +18076,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 +18102,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 +18124,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,20 +18144,16 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - jars: { - serializedName: "jars", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - files: { - serializedName: "files", + jars: { + serializedName: "jars", nullable: true, type: { name: "Sequence", @@ -16094,24 +18164,24 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - archives: { - serializedName: "archives", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - conf: { - serializedName: "conf", + pyFiles: { + serializedName: "pyFiles", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, queueSettings: { @@ -16121,12 +18191,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 +18211,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 +18233,6 @@ export const SweepJob: coreClient.CompositeMapper = { className: "SweepJobLimits", }, }, - earlyTermination: { - serializedName: "earlyTermination", - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - }, - }, objective: { serializedName: "objective", type: { @@ -16178,21 +18240,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 +18255,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", + }, + }, }, }, }; @@ -16301,131 +18370,6 @@ export const UriFolderDataVersion: 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 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", - }, - }, - }, - }, -}; - -export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspacesPrepareNotebookHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", @@ -16443,92 +18387,39 @@ export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { export const ComputeDeleteHeaders: coreClient.CompositeMapper = { type: { - name: "Composite", - className: "ComputeDeleteHeaders", - modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - }, - }, -}; - -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", - }, + name: "Composite", + className: "ComputeDeleteHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", }, }, }, - }; + }, +}; -export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const ComputeResizeHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResizeHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, }, - }; + }, +}; export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { type: { @@ -16958,6 +18849,60 @@ export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.Compos }, }; +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = { type: { @@ -16976,46 +18921,213 @@ export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = name: "String", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryModelVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryModelContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsDeleteHeaders", + className: "BatchDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17043,11 +19155,11 @@ export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsCreateOrUpdateHeaders", + className: "BatchDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17065,17 +19177,36 @@ export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMap }, }; -export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "CodeVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, + }, + }, +}; + +export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersionsPublishHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17096,17 +19227,36 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "DataVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, + }, + }, +}; + +export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersionsPublishHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17127,10 +19277,10 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "FeaturesetContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17138,20 +19288,52 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", type: { name: "String", }, }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturesetContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17176,45 +19358,147 @@ export const BatchDeploymentsDeleteHeaders: 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: "FeaturesetVersionsBackfillHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +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 BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeploymentsUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, }, - }, - location: { - serializedName: "location", - type: { - name: "String", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, + }, + }; + +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, }, - serializedName: "retry-after", - type: { - name: "Number", + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17232,11 +19516,17 @@ export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = }, }; -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "JobsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17257,10 +19547,10 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionsPublishHeaders", + className: "JobsCancelHeaders", modelProperties: { location: { serializedName: "location", @@ -17282,10 +19572,10 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionsPublishHeaders", + className: "ModelVersionsPublishHeaders", modelProperties: { location: { serializedName: "location", @@ -17307,11 +19597,17 @@ export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "OnlineEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17332,10 +19628,10 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17363,11 +19659,11 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersCreateOrUpdateHeaders", + className: "OnlineEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17385,10 +19681,36 @@ export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointsRegenerateKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "OnlineDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17416,33 +19738,17 @@ export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17463,43 +19769,11 @@ export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + className: "OnlineDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17517,64 +19791,62 @@ export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.Compo }, }; -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - location: { - serializedName: "location", - type: { - name: "String", - }, + }, + location: { + serializedName: "location", + type: { + name: "String", }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17602,11 +19874,17 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17627,11 +19905,11 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsDeleteHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17639,53 +19917,53 @@ export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = name: "TimeSpan", }, }, - location: { - serializedName: "location", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, }, }, }; -export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + className: "ServerlessEndpointsRegenerateKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17706,10 +19984,10 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17737,17 +20015,32 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "WorkspacesDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesCreateOrUpdateHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17755,10 +20048,27 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesDiagnoseHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, + }, + retryAfter: { serializedName: "retry-after", type: { name: "Number", @@ -17768,33 +20078,53 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesPrepareNotebookHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesResyncKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionsTestConnectionHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", + className: "WorkspaceConnectionsTestConnectionHeaders", modelProperties: { location: { serializedName: "location", @@ -17803,10 +20133,6 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17816,17 +20142,11 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionDeleteDeploymentHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "ConnectionDeleteDeploymentHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17834,10 +20154,6 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17847,17 +20163,11 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiBlocklistDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "ConnectionRaiBlocklistDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17865,10 +20175,6 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17878,39 +20184,55 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ConnectionRaiBlocklistItemAddBulkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", + className: "ConnectionRaiBlocklistItemAddBulkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ConnectionRaiBlocklistItemDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "ConnectionRaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17918,10 +20240,6 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17931,38 +20249,54 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "EndpointDeploymentDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const EndpointCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "EndpointCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17970,10 +20304,6 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17983,17 +20313,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const RaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "RaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18001,10 +20325,6 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18014,33 +20334,33 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsCreateOrUpdateHeaders", + className: "ManagedNetworkSettingsRuleDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", modelProperties: { location: { serializedName: "location", @@ -18049,10 +20369,6 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18062,95 +20378,58 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }; -export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistriesDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistriesRemoveRegionsHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, }, - serializedName: "retry-after", - type: { - name: "Number", + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; export let discriminators = { - OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, - WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, PendingUploadCredentialDto: PendingUploadCredentialDto, DataReferenceCredential: DataReferenceCredential, BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, - TriggerBase: TriggerBase, Webhook: Webhook, - Nodes: Nodes, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, + OutboundRule: OutboundRule, + WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + EndpointDeploymentResourceProperties: EndpointDeploymentResourceProperties, + EndpointResourceProperties: EndpointResourceProperties, MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, JobInput: JobInput, - JobOutput: JobOutput, NCrossValidations: NCrossValidations, Seasonality: Seasonality, TargetLags: TargetLags, TargetRollingWindowSize: TargetRollingWindowSize, + FineTuningVertical: FineTuningVertical, EarlyTerminationPolicy: EarlyTerminationPolicy, SamplingAlgorithm: SamplingAlgorithm, DataDriftMetricThresholdBase: DataDriftMetricThresholdBase, @@ -18158,14 +20437,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 +20455,6 @@ export let discriminators = { "ComputeSecrets.AKS": AksComputeSecrets, "ComputeSecrets.VirtualMachine": VirtualMachineSecrets, "ComputeSecrets.Databricks": DatabricksComputeSecrets, - "WorkspaceConnectionPropertiesV2.PAT": - PATAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.SAS": - SASAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.UsernamePassword": - UsernamePasswordAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.None": - NoneAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ManagedIdentity": - ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AAD": - AADAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccessKey": - AccessKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccountKey": - AccountKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ApiKey": - ApiKeyAuthWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.CustomKeys": - CustomKeysWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.OAuth2": - OAuth2AuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ServicePrincipal": - ServicePrincipalAuthTypeWorkspaceConnectionProperties, "ResourceBase.DatastoreProperties": DatastoreProperties, "ResourceBase.JobBaseProperties": JobBaseProperties, "PendingUploadCredentialDto.SAS": SASCredentialDto, @@ -18226,26 +20478,69 @@ export let discriminators = { "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, + "Webhook.AzureDevOps": AzureDevOpsWebhook, "TriggerBase.Recurrence": RecurrenceTrigger, "TriggerBase.Cron": CronTrigger, - "Webhook.AzureDevOps": AzureDevOpsWebhook, - "Nodes.All": AllNodes, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, "ScheduleActionBase.CreateMonitor": CreateMonitorAction, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, + "OutboundRule.FQDN": FqdnOutboundRule, + "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "WorkspaceConnectionPropertiesV2.AAD": + AADAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccessKey": + AccessKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccountKey": + AccountKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ApiKey": + ApiKeyAuthWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.CustomKeys": + CustomKeysWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ManagedIdentity": + ManagedIdentityAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.None": + NoneAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.OAuth2": + OAuth2AuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.PAT": + PATAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.SAS": + SASAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ServicePrincipal": + ServicePrincipalAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.UsernamePassword": + UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "EndpointDeploymentResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.OpenAI": + OpenAIEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.Speech": + SpeechEndpointDeploymentResourceProperties, + "EndpointResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointResourceProperties, + "EndpointResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointResourceProperties, + "EndpointResourceProperties.Azure.OpenAI": OpenAIEndpointResourceProperties, + "EndpointResourceProperties.serverlessEndpoint": + ServerlessEndpointResourceProperties, + "EndpointResourceProperties.Azure.Speech": SpeechEndpointResourceProperties, "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, "MonitorComputeIdentityBase.AmlToken": AmlTokenComputeIdentity, "MonitorComputeIdentityBase.ManagedIdentity": ManagedComputeIdentity, "JobInput.mltable": MLTableJobInput, - "JobInput.custom_model": CustomModelJobInput, "JobInput.mlflow_model": MLFlowModelJobInput, + "JobInput.custom_model": CustomModelJobInput, "JobInput.triton_model": TritonModelJobInput, "JobInput.uri_file": UriFileJobInput, "JobInput.uri_folder": UriFolderJobInput, @@ -18280,6 +20575,8 @@ export let discriminators = { "DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore, "DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore, "DatastoreProperties.AzureFile": AzureFileDatastore, + "FineTuningVertical.AzureOpenAI": AzureOpenAiFineTuning, + "FineTuningVertical.Custom": CustomModelFineTuning, "EarlyTerminationPolicy.Bandit": BanditPolicy, "EarlyTerminationPolicy.MedianStopping": MedianStoppingPolicy, "EarlyTerminationPolicy.TruncationSelection": TruncationSelectionPolicy, @@ -18302,14 +20599,14 @@ export let discriminators = { "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, + "MonitorComputeConfigurationBase.ServerlessSpark": + MonitorServerlessSparkCompute, "MonitoringSignalBase.Custom": CustomMonitoringSignal, "MonitoringSignalBase.DataDrift": DataDriftMonitoringSignal, "MonitoringSignalBase.DataQuality": DataQualityMonitoringSignal, "MonitoringSignalBase.FeatureAttributionDrift": FeatureAttributionDriftMonitoringSignal, "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, - "MonitorComputeConfigurationBase.ServerlessSpark": - MonitorServerlessSparkCompute, "MonitoringInputDataBase.Fixed": FixedInputData, "MonitoringInputDataBase.Rolling": RollingInputData, "MonitoringInputDataBase.Static": StaticInputData, @@ -18320,6 +20617,7 @@ export let discriminators = { "DatastoreProperties.OneLake": OneLakeDatastore, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, + "JobBaseProperties.FineTuning": FineTuningJob, "JobBaseProperties.Pipeline": PipelineJob, "JobBaseProperties.Spark": SparkJob, "JobBaseProperties.Sweep": SweepJob, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 6cd7aad4495b..02b0ad5989cc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -12,16 +12,11 @@ import { OperationQueryParameter, } from "@azure/core-client"; import { - Workspace as WorkspaceMapper, - WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, - DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, - PrivateEndpointConnection as PrivateEndpointConnectionMapper, - WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, - ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, + IdleShutdownSetting as IdleShutdownSettingMapper, + ResizeSchema as ResizeSchemaMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, PendingUploadRequestDto as PendingUploadRequestDtoMapper, @@ -32,6 +27,7 @@ import { GetBlobReferenceSASRequestDto as GetBlobReferenceSASRequestDtoMapper, EnvironmentContainer as EnvironmentContainerMapper, EnvironmentVersion as EnvironmentVersionMapper, + MarketplaceSubscription as MarketplaceSubscriptionMapper, ModelContainer as ModelContainerMapper, ModelVersion as ModelVersionMapper, PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, @@ -40,13 +36,13 @@ import { BatchDeployment as BatchDeploymentMapper, DestinationAsset as DestinationAssetMapper, Datastore as DatastoreMapper, + SecretExpiry as SecretExpiryMapper, FeaturesetContainer as FeaturesetContainerMapper, FeaturesetVersion as FeaturesetVersionMapper, FeaturesetVersionBackfillRequest as FeaturesetVersionBackfillRequestMapper, FeaturestoreEntityContainer as FeaturestoreEntityContainerMapper, FeaturestoreEntityVersion as FeaturestoreEntityVersionMapper, JobBase as JobBaseMapper, - MarketplaceSubscription as MarketplaceSubscriptionMapper, OnlineEndpoint as OnlineEndpointMapper, RegenerateEndpointKeysRequest as RegenerateEndpointKeysRequestMapper, PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, @@ -57,6 +53,20 @@ import { ServerlessEndpoint as ServerlessEndpointMapper, PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, Registry as RegistryMapper, + WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, + Workspace as WorkspaceMapper, + DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, + WorkspaceConnectionUpdateParameter as WorkspaceConnectionUpdateParameterMapper, + WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, + EndpointDeploymentResourcePropertiesBasicResource as EndpointDeploymentResourcePropertiesBasicResourceMapper, + RaiBlocklistPropertiesBasicResource as RaiBlocklistPropertiesBasicResourceMapper, + RaiBlocklistItemPropertiesBasicResource as RaiBlocklistItemPropertiesBasicResourceMapper, + RaiPolicyPropertiesBasicResource as RaiPolicyPropertiesBasicResourceMapper, + EndpointResourcePropertiesBasicResource as EndpointResourcePropertiesBasicResourceMapper, + RegenerateServiceAccountKeyContent as RegenerateServiceAccountKeyContentMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -86,7 +96,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2024-07-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +119,13 @@ export const subscriptionId: OperationURLParameter = { }, }; -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", +export const location: OperationURLParameter = { + parameterPath: "location", mapper: { constraints: { - MaxLength: 90, - MinLength: 1, + Pattern: new RegExp("^[-\\w\\._]+$"), }, - serializedName: "resourceGroupName", + serializedName: "location", required: true, type: { name: "String", @@ -124,18 +133,16 @@ export const resourceGroupName: OperationURLParameter = { }, }; -export const workspaceName: OperationURLParameter = { - parameterPath: "workspaceName", +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "workspaceName", + serializedName: "nextLink", required: true, type: { name: "String", }, }, + skipEncoding: true, }; export const contentType: OperationParameter = { @@ -152,74 +159,56 @@ export const contentType: OperationParameter = { export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceMapper, + mapper: QuotaUpdateParametersMapper, }; -export const forceToPurge: OperationQueryParameter = { - parameterPath: ["options", "forceToPurge"], +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - defaultValue: false, - serializedName: "forceToPurge", - type: { - name: "Boolean", + constraints: { + MaxLength: 90, + MinLength: 1, }, - }, -}; - -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceUpdateParametersMapper, -}; - -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], - mapper: { - serializedName: "$skip", + serializedName: "resourceGroupName", + required: true, type: { name: "String", }, }, }; -export const parameters2: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: DiagnoseWorkspaceParametersMapper, -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const workspaceName: OperationURLParameter = { + parameterPath: "workspaceName", mapper: { - serializedName: "nextLink", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "workspaceName", required: true, type: { name: "String", }, }, - skipEncoding: true, }; -export const location: OperationURLParameter = { - parameterPath: "location", +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$"), - }, - serializedName: "location", - required: true, + serializedName: "$skip", type: { name: "String", }, }, }; -export const parameters3: OperationParameter = { - parameterPath: "parameters", - mapper: QuotaUpdateParametersMapper, -}; - export const computeName: OperationURLParameter = { parameterPath: "computeName", mapper: { + constraints: { + Pattern: new RegExp( + "^[a-zA-Z](?![a-zA-Z0-9-]*-\\d+$)[a-zA-Z0-9\\-]{2,23}$", + ), + }, serializedName: "computeName", required: true, type: { @@ -228,12 +217,12 @@ export const computeName: OperationURLParameter = { }, }; -export const parameters4: OperationParameter = { +export const parameters1: OperationParameter = { parameterPath: "parameters", mapper: ComputeResourceMapper, }; -export const parameters5: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: ClusterUpdateParametersMapper, }; @@ -249,83 +238,48 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", - 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", +export const customServices: OperationParameter = { + parameterPath: "customServices", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "connectionName", + serializedName: "customServices", required: true, type: { - name: "String", - }, - }, -}; - -export const target: OperationQueryParameter = { - parameterPath: ["options", "target"], - mapper: { - serializedName: "target", - type: { - name: "String", - }, - }, -}; - -export const category: OperationQueryParameter = { - parameterPath: ["options", "category"], - mapper: { - serializedName: "category", - type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, }, }, }; -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", +export const dataMounts: OperationParameter = { + parameterPath: "dataMounts", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "ruleName", + serializedName: "dataMounts", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, }, }, }; -export const body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: IdleShutdownSettingMapper, }; -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: ResizeSchemaMapper, }; export const registryName: OperationURLParameter = { @@ -356,7 +310,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +346,12 @@ export const version: OperationURLParameter = { }, }; -export const body3: OperationParameter = { +export const body1: OperationParameter = { parameterPath: "body", mapper: CodeVersionMapper, }; -export const body4: OperationParameter = { +export const body2: OperationParameter = { parameterPath: "body", mapper: PendingUploadRequestDtoMapper, }; @@ -416,12 +370,12 @@ export const componentName: OperationURLParameter = { }, }; -export const body5: OperationParameter = { +export const body3: OperationParameter = { parameterPath: "body", mapper: ComponentContainerMapper, }; -export const body6: OperationParameter = { +export const body4: OperationParameter = { parameterPath: "body", mapper: ComponentVersionMapper, }; @@ -447,7 +401,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +430,12 @@ export const tags: OperationQueryParameter = { }, }; -export const body8: OperationParameter = { +export const body6: OperationParameter = { parameterPath: "body", mapper: DataVersionBaseMapper, }; -export const body9: OperationParameter = { +export const body7: OperationParameter = { parameterPath: "body", mapper: GetBlobReferenceSASRequestDtoMapper, }; @@ -500,16 +454,21 @@ 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, }; +export const body10: OperationParameter = { + parameterPath: "body", + mapper: MarketplaceSubscriptionMapper, +}; + export const modelName: OperationURLParameter = { parameterPath: "modelName", mapper: { @@ -524,7 +483,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +518,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +528,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +554,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +573,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,7 +589,7 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, @@ -650,7 +609,7 @@ export const deploymentName1: OperationURLParameter = { }, }; -export const body17: OperationParameter = { +export const body16: OperationParameter = { parameterPath: "body", mapper: BatchDeploymentMapper, }; @@ -675,7 +634,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +707,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -764,6 +723,11 @@ export const skipValidation: OperationQueryParameter = { }, }; +export const body19: OperationParameter = { + parameterPath: ["options", "body"], + mapper: SecretExpiryMapper, +}; + export const pageSize: OperationQueryParameter = { parameterPath: ["options", "pageSize"], mapper: { @@ -950,11 +914,6 @@ export const id1: OperationURLParameter = { }, }; -export const body26: OperationParameter = { - parameterPath: "body", - mapper: MarketplaceSubscriptionMapper, -}; - export const offset: OperationQueryParameter = { parameterPath: ["options", "offset"], mapper: { @@ -995,27 +954,27 @@ export const orderBy2: OperationQueryParameter = { }, }; -export const body27: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper, }; -export const body28: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper, }; -export const body29: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper, }; -export const body30: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper, }; -export const body31: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper, }; @@ -1030,17 +989,17 @@ export const listViewType1: OperationQueryParameter = { }, }; -export const body32: OperationParameter = { +export const body31: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper, }; -export const body33: OperationParameter = { +export const body32: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, }; -export const body34: OperationParameter = { +export const body33: OperationParameter = { parameterPath: "body", mapper: ServerlessEndpointMapper, }; @@ -1059,12 +1018,313 @@ export const name3: OperationURLParameter = { }, }; -export const body35: OperationParameter = { +export const body34: OperationParameter = { parameterPath: "body", mapper: PartialRegistryPartialTrackedResourceMapper, }; -export const body36: OperationParameter = { +export const body35: OperationParameter = { parameterPath: "body", mapper: RegistryMapper, }; + +export const kind: OperationQueryParameter = { + parameterPath: ["options", "kind"], + mapper: { + serializedName: "kind", + type: { + name: "String", + }, + }, +}; + +export const aiCapabilities: OperationQueryParameter = { + parameterPath: ["options", "aiCapabilities"], + mapper: { + serializedName: "aiCapabilities", + type: { + name: "String", + }, + }, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, +}; + +export const body36: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceUpdateParametersMapper, +}; + +export const body37: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceMapper, +}; + +export const body38: OperationParameter = { + parameterPath: ["options", "body"], + mapper: DiagnoseWorkspaceParametersMapper, +}; + +export const target: OperationQueryParameter = { + parameterPath: ["options", "target"], + mapper: { + serializedName: "target", + type: { + name: "String", + }, + }, +}; + +export const category: OperationQueryParameter = { + parameterPath: ["options", "category"], + mapper: { + serializedName: "category", + type: { + name: "String", + }, + }, +}; + +export const includeAll: OperationQueryParameter = { + parameterPath: ["options", "includeAll"], + mapper: { + defaultValue: false, + serializedName: "includeAll", + type: { + name: "Boolean", + }, + }, +}; + +export const connectionName: OperationURLParameter = { + parameterPath: "connectionName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "connectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body39: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionUpdateParameterMapper, +}; + +export const body40: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, +}; + +export const deploymentName2: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "deploymentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body41: OperationParameter = { + parameterPath: "body", + mapper: EndpointDeploymentResourcePropertiesBasicResourceMapper, +}; + +export const raiBlocklistName: OperationURLParameter = { + parameterPath: "raiBlocklistName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body42: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistPropertiesBasicResourceMapper, +}; + +export const body43: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemBulkRequest", + }, + }, + }, + }, +}; + +export const body44: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, +}; + +export const raiBlocklistItemName: OperationURLParameter = { + parameterPath: "raiBlocklistItemName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistItemName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body45: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistItemPropertiesBasicResourceMapper, +}; + +export const raiPolicyName: OperationURLParameter = { + parameterPath: "raiPolicyName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiPolicyName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body46: OperationParameter = { + parameterPath: "body", + mapper: RaiPolicyPropertiesBasicResourceMapper, +}; + +export const endpointType: OperationQueryParameter = { + parameterPath: ["options", "endpointType"], + mapper: { + serializedName: "endpointType", + type: { + name: "String", + }, + }, +}; + +export const endpointName2: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]{2,32}$"), + }, + serializedName: "endpointName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const includeInferenceEndpoints: OperationQueryParameter = { + parameterPath: ["options", "includeInferenceEndpoints"], + mapper: { + defaultValue: false, + serializedName: "includeInferenceEndpoints", + type: { + name: "Boolean", + }, + }, +}; + +export const expand: OperationQueryParameter = { + parameterPath: ["options", "expand"], + mapper: { + serializedName: "$expand", + type: { + name: "String", + }, + }, +}; + +export const body47: OperationParameter = { + parameterPath: "body", + mapper: EndpointResourcePropertiesBasicResourceMapper, +}; + +export const body48: OperationParameter = { + parameterPath: "body", + mapper: RegenerateServiceAccountKeyContentMapper, +}; + +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "ruleName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body49: OperationParameter = { + parameterPath: "body", + mapper: OutboundRuleBasicResourceMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body50: OperationParameter = { + parameterPath: "body", + mapper: PrivateEndpointConnectionMapper, +}; + +export const body51: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkProvisionOptionsMapper, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index b354b122c60a..1ffa27b34bde 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.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -660,7 +660,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body16, 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..6ce3fadd012f 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.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -608,7 +608,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body14, 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..277875a92ac5 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.body17, 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..81a274871eb8 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.body17, 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..a5e8ca9dfc8d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -37,11 +37,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, ComputeListNextResponse, ComputeListNodesNextResponse, } from "../models"; @@ -580,6 +591,33 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + computeName, + customServices, + options, + }, + updateCustomServicesOperationSpec, + ); + } + /** * Get the details (e.g IP address, port etc) of all the compute nodes in the compute. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -618,6 +656,27 @@ export class ComputeOperationsImpl implements ComputeOperations { ); } + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, dataMounts, options }, + updateDataMountsOperationSpec, + ); + } + /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -876,6 +935,151 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the idle shutdown setting of a compute instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, parameters, options }, + updateIdleShutdownSettingOperationSpec, + ); + } + + /** + * Returns supported virtual machine sizes for resize + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, options }, + getAllowedResizeSizesOperationSpec, + ); + } + + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + }, + spec: resizeOperationSpec, + }); + const poller = await createHttpPoller< + ComputeResizeResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise { + const poller = await this.beginResize( + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -982,7 +1186,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +1219,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1051,6 +1255,28 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateCustomServicesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/customServices", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.customServices, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNodesOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", httpMethod: "POST", @@ -1095,6 +1321,28 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateDataMountsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateDataMounts", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.dataMounts, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const startOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start", httpMethod: "POST", @@ -1164,6 +1412,83 @@ const restartOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateIdleShutdownSettingOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.parameters3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getAllowedResizeSizesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/getAllowedVmSizesForResize", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineSizeListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const resizeOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/resize", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 201: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 202: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 204: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.parameters4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -1178,9 +1503,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1524,9 @@ const listNodesNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.computeName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts new file mode 100644 index 000000000000..b7e26501a8b8 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts @@ -0,0 +1,788 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Connection } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsNextOptionalParams, + ConnectionListDeploymentsOptionalParams, + ConnectionListDeploymentsResponse, + EndpointModelProperties, + ConnectionGetModelsNextOptionalParams, + ConnectionGetModelsOptionalParams, + ConnectionGetModelsResponse, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionListModelsOptionalParams, + ConnectionListModelsResponse, + ConnectionListDeploymentsNextResponse, + ConnectionGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing Connection operations. */ +export class ConnectionImpl implements Connection { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class Connection class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listDeploymentsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listDeploymentsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: ConnectionListDeploymentsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listDeployments( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listDeploymentsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listDeploymentsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listDeploymentsOperationSpec, + ); + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + spec: deleteDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionDeleteDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise { + const poller = await this.beginDeleteDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + getDeploymentOperationSpec, + ); + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + }, + spec: createOrUpdateDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionCreateOrUpdateDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdateDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + getModelsOperationSpec, + ); + } + + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionListModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listModelsOperationSpec, + ); + } + + /** + * ListDeploymentsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the ListDeployments method. + * @param options The options parameters. + */ + private _listDeploymentsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionListDeploymentsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listDeploymentsNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listDeploymentsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body41, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listConnectionModels", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..5bc36c42f769 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiBlocklist } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklist operations. */ +export class ConnectionRaiBlocklistImpl implements ConnectionRaiBlocklist { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklist class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body42, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..ca341bc674b0 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts @@ -0,0 +1,720 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiBlocklistItem } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklistItem operations. */ +export class ConnectionRaiBlocklistItemImpl + implements ConnectionRaiBlocklistItem +{ + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItem class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: addBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemAddBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise { + const poller = await this.beginAddBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: deleteBulkOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise { + const poller = await this.beginDeleteBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const addBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/addRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 201: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 202: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 204: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body43, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/deleteRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body44, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body45, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..95c1035993fe --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts @@ -0,0 +1,248 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiBlocklistItems } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListNextOptionalParams, + ConnectionRaiBlocklistItemsListOptionalParams, + ConnectionRaiBlocklistItemsListResponse, + ConnectionRaiBlocklistItemsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklistItems operations. */ +export class ConnectionRaiBlocklistItemsImpl + implements ConnectionRaiBlocklistItems +{ + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItems class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistItemsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + nextLink: string, + options?: ConnectionRaiBlocklistItemsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..74aa1d106112 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiBlocklists } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListNextOptionalParams, + ConnectionRaiBlocklistsListOptionalParams, + ConnectionRaiBlocklistsListResponse, + ConnectionRaiBlocklistsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklists operations. */ +export class ConnectionRaiBlocklistsImpl implements ConnectionRaiBlocklists { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklists class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiBlocklistsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts new file mode 100644 index 000000000000..f9f9bafc2a65 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListNextOptionalParams, + ConnectionRaiPoliciesListOptionalParams, + ConnectionRaiPoliciesListResponse, + ConnectionRaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiPolicies operations. */ +export class ConnectionRaiPoliciesImpl implements ConnectionRaiPolicies { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts new file mode 100644 index 000000000000..de9b8a14595c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiPolicy operations. */ +export class ConnectionRaiPolicyImpl implements ConnectionRaiPolicy { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body46, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 37f06f8f83fa..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..50aedf146436 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.body17, 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..646e22a59342 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.body18, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -345,6 +345,7 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -353,7 +354,8 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.name, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { @@ -370,9 +372,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts new file mode 100644 index 000000000000..d325d43f8897 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts @@ -0,0 +1,740 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { EndpointDeployment } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceNextOptionalParams, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentGetInWorkspaceResponse, + EndpointDeploymentListNextOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentListResponse, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, + EndpointDeploymentGetInWorkspaceNextResponse, + EndpointDeploymentListNextResponse, +} from "../models"; + +/// +/** Class containing EndpointDeployment operations. */ +export class EndpointDeploymentImpl implements EndpointDeployment { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class EndpointDeployment class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getInWorkspacePagingAll( + resourceGroupName, + workspaceName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *getInWorkspacePagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentGetInWorkspaceResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getInWorkspace( + resourceGroupName, + workspaceName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getInWorkspaceNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getInWorkspacePagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _getInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getInWorkspaceOperationSpec, + ); + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * GetInWorkspaceNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param nextLink The nextLink from the previous successful call to the GetInWorkspace method. + * @param options The options parameters. + */ + private _getInWorkspaceNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: EndpointDeploymentGetInWorkspaceNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + getInWorkspaceNextOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointDeploymentListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getInWorkspaceOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 201: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 202: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 204: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body41, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getInWorkspaceNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts new file mode 100644 index 000000000000..ab07bd2b046c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts @@ -0,0 +1,658 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { EndpointOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListNextOptionalParams, + EndpointListOptionalParams, + EndpointListResponse, + EndpointModelProperties, + EndpointGetModelsNextOptionalParams, + EndpointGetModelsOptionalParams, + EndpointGetModelsResponse, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, + EndpointListNextResponse, + EndpointGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing EndpointOperations operations. */ +export class EndpointOperationsImpl implements EndpointOperations { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class EndpointOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listKeysOperationSpec, + ); + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getModelsOperationSpec, + ); + } + + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, body, options }, + regenerateKeysOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: EndpointListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + Parameters.includeInferenceEndpoints, + Parameters.expand, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body47, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/listKeys", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const regenerateKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/regenerateKey", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.AccountApiKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body48, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index b2b05c13bcb2..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..0523078b093a 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.body17, 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..0fdab1b7869d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -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..34ad5f6cdfcf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -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..b6a2d3413304 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -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..5b72b5a6c603 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -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..6dae125d5f0b 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"; @@ -26,6 +19,7 @@ export * from "./registryDataVersions"; export * from "./registryDataReferences"; export * from "./registryEnvironmentContainers"; export * from "./registryEnvironmentVersions"; +export * from "./marketplaceSubscriptions"; export * from "./registryModelContainers"; export * from "./registryModelVersions"; export * from "./batchEndpoints"; @@ -45,7 +39,6 @@ export * from "./featuresetVersions"; export * from "./featurestoreEntityContainers"; export * from "./featurestoreEntityVersions"; export * from "./jobs"; -export * from "./marketplaceSubscriptions"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; @@ -54,3 +47,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index fa9150c51ea1..4c262205d62b 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, ], @@ -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..0035edd9ecb7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -37,7 +37,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetwork( @@ -108,7 +108,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetworkAndWait( @@ -147,7 +147,7 @@ const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body51, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts index 217e8d5b55dd..b6e7e055f296 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -50,7 +50,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -126,7 +126,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -143,7 +143,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -199,6 +199,7 @@ export class ManagedNetworkSettingsRuleImpl const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -207,7 +208,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -229,7 +230,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -248,7 +249,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -324,7 +325,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -350,7 +351,7 @@ export class ManagedNetworkSettingsRuleImpl /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -455,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body49, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts index 0b3ac054253d..7d8c2bda22ed 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.body10, 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..fb13ca0b7680 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.body11, 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..3c729c83fae7 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.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -464,7 +464,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, 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..f01edbc7f7b0 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.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -857,7 +857,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body29, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +882,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body30, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -933,9 +933,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], @@ -955,9 +955,9 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, Parameters.deploymentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index faf9528d5ec9..88315aff8f85 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.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -732,7 +732,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body27, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +779,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -828,9 +828,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 6770e1c739a8..b78afc51f984 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -32,7 +32,7 @@ export class OperationsImpl implements Operations { } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ public list( @@ -73,7 +73,7 @@ export class OperationsImpl implements Operations { } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ private _list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index eae9b01889d7..dca0fa69ac01 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -16,11 +16,11 @@ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// @@ -39,9 +39,9 @@ export class PrivateEndpointConnectionsImpl } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -97,9 +97,9 @@ export class PrivateEndpointConnectionsImpl } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -114,19 +114,18 @@ export class PrivateEndpointConnectionsImpl } /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,60 +133,59 @@ export class PrivateEndpointConnectionsImpl privateEndpointConnectionName, options, }, - getOperationSpec, + deleteOperationSpec, ); } /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, - properties, options, }, - createOrUpdateOperationSpec, + getOperationSpec, ); } /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise { + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, + body, options, }, - deleteOperationSpec, + createOrUpdateOperationSpec, ); } } @@ -215,13 +213,12 @@ const listOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const getOperationSpec: coreClient.OperationSpec = { +const deleteOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "GET", + httpMethod: "DELETE", responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnection, - }, + 200: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -237,9 +234,9 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { +const getOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnection, @@ -248,7 +245,6 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -257,20 +253,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "DELETE", + httpMethod: "PUT", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.PrivateEndpointConnection, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body50, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -279,6 +276,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts index ee340e387393..fe52df2e8732 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -6,16 +6,19 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; import { PrivateLinkResources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse, } from "../models"; +/// /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { private readonly client: AzureMachineLearningServicesManagementClient; @@ -29,12 +32,80 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources { } /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - list( + public list( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + _settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateLinkResourcesListResponse; + result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 3817e12372b9..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/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts new file mode 100644 index 000000000000..6f52b890e8fb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListNextOptionalParams, + RaiPoliciesListOptionalParams, + RaiPoliciesListResponse, + RaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing RaiPolicies operations. */ +export class RaiPoliciesImpl implements RaiPolicies { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class RaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: RaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts new file mode 100644 index 000000000000..3bac7a494b46 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { RaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Class containing RaiPolicy operations. */ +export class RaiPolicyImpl implements RaiPolicy { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class RaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body46, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts index 5ca82fb9f095..ebcba36bf704 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.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +663,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +695,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -740,8 +740,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts index 88006db3971c..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..e4b713c5e356 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.body11, 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..94ea9511b256 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.body12, 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..14f154c95be4 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.body31, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts index d49a37cb2c8c..fa3569e71ad3 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.body32, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +728,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body33, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +783,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -810,9 +810,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index 88f89c303dbd..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..7809219d9836 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -13,18 +13,28 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, WorkspaceConnectionsListOptionalParams, WorkspaceConnectionsListResponse, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, WorkspaceConnectionsListNextResponse, } from "../models"; @@ -42,8 +52,9 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -117,28 +128,45 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceConnectionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete machine learning workspaces connections by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise { + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, connectionName, parameters, options }, - createOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + deleteOperationSpec, ); } /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -155,43 +183,47 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise { + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, options }, - deleteOperationSpec, + updateOperationSpec, ); } /** + * Create or update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - private _list( + create( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams, - ): Promise { + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + createOperationSpec, ); } /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -207,10 +239,105 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { ); } + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, connectionName, options }, + spec: testConnectionOperationSpec, + }); + const poller = await createHttpPoller< + WorkspaceConnectionsTestConnectionResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise { + const poller = await this.beginTestConnection( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -229,18 +356,43 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const createOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "PUT", +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + bodyMapper: + Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters6, + queryParameters: [ + Parameters.apiVersion, + Parameters.target, + Parameters.category, + Parameters.includeAll, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -249,8 +401,7 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const getOperationSpec: coreClient.OperationSpec = { @@ -275,16 +426,18 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "DELETE", + httpMethod: "PATCH", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body39, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -293,33 +446,32 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; -const listOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", - httpMethod: "GET", +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.target, - Parameters.category, - ], + requestBody: Parameters.body40, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listSecretsOperationSpec: coreClient.OperationSpec = { @@ -344,6 +496,39 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const testConnectionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/testconnection", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 201: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 202: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 204: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body40, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -359,9 +544,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index 0eed26da9c95..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..41053f33a8e1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -21,37 +21,37 @@ import { import { createLroSpec } from "../lroImpl"; import { Workspace, - WorkspacesListByResourceGroupNextOptionalParams, - WorkspacesListByResourceGroupOptionalParams, - WorkspacesListByResourceGroupResponse, WorkspacesListBySubscriptionNextOptionalParams, WorkspacesListBySubscriptionOptionalParams, WorkspacesListBySubscriptionResponse, + WorkspacesListByResourceGroupNextOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesListByResourceGroupResponse, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, - WorkspacesListByResourceGroupNextResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, WorkspacesListBySubscriptionNextResponse, + WorkspacesListByResourceGroupNextResponse, } from "../models"; /// @@ -68,15 +68,13 @@ export class WorkspacesImpl implements Workspaces { } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + public listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -88,35 +86,26 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings, - ); + return this.listBySubscriptionPagingPage(options, settings); }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingPage( + options?: WorkspacesListBySubscriptionOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListByResourceGroupResponse; + let result: WorkspacesListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -124,26 +113,24 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingAll( + options?: WorkspacesListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options, - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the available machine learning workspaces under the specified resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, + public listByResourceGroup( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -155,26 +142,35 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); }, }; } - private async *listBySubscriptionPagingPage( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListBySubscriptionResponse; + let result: WorkspacesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -182,129 +178,50 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listBySubscriptionPagingAll( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } /** - * Gets the properties of the specified machine learning workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise { + private _listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - getOperationSpec, + { options }, + listBySubscriptionOperationSpec, ); } /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - async beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperationFn = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown, - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback, - }, - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON(), - }, - }; - }; - - const lro = createLroSpec({ - sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, - spec: createOrUpdateOperationSpec, - }); - const poller = await createHttpPoller< - WorkspacesCreateOrUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - }); - await poller.poll(); - return poller; - } - - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginCreateOrUpdateAndWait( + private _listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - workspaceName, - parameters, - options, + options?: WorkspacesListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, ); - return poller.pollUntilDone(); } /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDelete( @@ -358,6 +275,7 @@ export class WorkspacesImpl implements Workspaces { const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -366,7 +284,7 @@ export class WorkspacesImpl implements Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDeleteAndWait( @@ -382,17 +300,34 @@ export class WorkspacesImpl implements Workspaces { return poller.pollUntilDone(); } + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getOperationSpec, + ); + } + /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -440,7 +375,7 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, + args: { resourceGroupName, workspaceName, body, options }, spec: updateOperationSpec, }); const poller = await createHttpPoller< @@ -457,60 +392,47 @@ export class WorkspacesImpl implements Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, - parameters, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec, - ); - } - - /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnose( + async beginCreateOrUpdate( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse + OperationState, + WorkspacesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -547,13 +469,13 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, options }, - spec: diagnoseOperationSpec, + args: { resourceGroupName, workspaceName, body, options }, + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< - WorkspacesDiagnoseResponse, - OperationState - >(lro, { + WorkspacesCreateOrUpdateResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, resourceLocationConfig: "location", @@ -563,58 +485,47 @@ export class WorkspacesImpl implements Workspaces { } /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnoseAndWait( + async beginCreateOrUpdateAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, - ): Promise { - const poller = await this.beginDiagnose( + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - listKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listKeysOperationSpec, - ); - } - - /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeys( + async beginDiagnose( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>> { + options?: WorkspacesDiagnoseOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesDiagnoseResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -652,29 +563,32 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, workspaceName, options }, - spec: resyncKeysOperationSpec, + spec: diagnoseOperationSpec, }); - const poller = await createHttpPoller>(lro, { + const poller = await createHttpPoller< + WorkspacesDiagnoseResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeysAndWait( + async beginDiagnoseAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise { - const poller = await this.beginResyncKeys( + options?: WorkspacesDiagnoseOptionalParams, + ): Promise { + const poller = await this.beginDiagnose( resourceGroupName, workspaceName, options, @@ -683,22 +597,27 @@ export class WorkspacesImpl implements Workspaces { } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the keys associated with this workspace. This includes keys for the storage account, app + * insights and password for container registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - private _listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, - ): Promise { + listKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListKeysOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, + { resourceGroupName, workspaceName, options }, + listKeysOperationSpec, ); } /** - * return notebook access token and refresh token + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listNotebookAccessToken( @@ -713,9 +632,61 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Lists keys of Azure Machine Learning Workspaces notebook. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listNotebookKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listNotebookKeysOperationSpec, + ); + } + + /** + * Lists keys of Azure Machine Learning Workspace's storage account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listStorageAccountKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listStorageAccountKeysOperationSpec, + ); + } + + /** + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOutboundNetworkDependenciesEndpointsOperationSpec, + ); + } + + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebook( @@ -784,9 +755,9 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebookAndWait( @@ -803,54 +774,101 @@ export class WorkspacesImpl implements Workspaces { } /** - * List storage account keys of a workspace. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listStorageAccountKeys( + async beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listStorageAccountKeysOperationSpec, - ); + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: resyncKeysOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; } /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + async beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listNotebookKeysOperationSpec, + options?: WorkspacesResyncKeysOptionalParams, + ): Promise { + const poller = await this.beginResyncKeys( + resourceGroupName, + workspaceName, + options, ); + return poller.pollUntilDone(); } /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: WorkspacesListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOutboundNetworkDependenciesEndpointsOperationSpec, + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } @@ -870,76 +888,54 @@ export class WorkspacesImpl implements Workspaces { listByResourceGroupNextOperationSpec, ); } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: WorkspacesListBySubscriptionNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec, - ); - } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const getOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, ], + urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", - httpMethod: "PUT", +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, - }, - 201: { - bodyMapper: Mappers.Workspace, - }, - 202: { - bodyMapper: Mappers.Workspace, - }, - 204: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { @@ -964,6 +960,27 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Workspace, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "PATCH", @@ -984,7 +1001,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -996,24 +1013,36 @@ const updateOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.Workspace, + }, + 201: { + bodyMapper: Mappers.Workspace, + }, + 202: { + bodyMapper: Mappers.Workspace, + }, + 204: { + bodyMapper: Mappers.Workspace, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], + requestBody: Parameters.body37, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, + Parameters.workspaceName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const diagnoseOperationSpec: coreClient.OperationSpec = { @@ -1036,7 +1065,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.body38, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1069,14 +1098,13 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const resyncKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", +const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", httpMethod: "POST", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.NotebookAccessTokenResult, + }, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1091,28 +1119,33 @@ const resyncKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const listNotebookKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.ListNotebookKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], - urlParameters: [Parameters.$host, Parameters.subscriptionId], + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], headerParameters: [Parameters.accept], serializer, }; -const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", +const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NotebookAccessTokenResult, + bodyMapper: Mappers.ListStorageAccountKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -1128,6 +1161,28 @@ const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExternalFqdnResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const prepareNotebookOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", httpMethod: "POST", @@ -1158,34 +1213,14 @@ const prepareNotebookOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ListStorageAccountKeysResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listNotebookKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", +const resyncKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", httpMethod: "POST", responses: { - 200: { - bodyMapper: Mappers.ListNotebookKeysResult, - }, + 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1200,29 +1235,7 @@ const listNotebookKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = - { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ExternalFqdnResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, - }; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1236,13 +1249,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1257,6 +1269,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 46ba330822d6..90ca448fae7c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -22,11 +22,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, } from "../models"; /// @@ -178,6 +189,21 @@ export interface ComputeOperations { underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams, ): Promise; + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams, + ): Promise; /** * Gets secrets related to Machine Learning compute (storage keys, service credentials, etc). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -191,6 +217,21 @@ export interface ComputeOperations { computeName: string, options?: ComputeListKeysOptionalParams, ): Promise; + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise; /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -269,4 +310,67 @@ export interface ComputeOperations { computeName: string, options?: ComputeRestartOptionalParams, ): Promise; + /** + * Updates the idle shutdown setting of a compute instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams, + ): Promise; + /** + * Returns supported virtual machine sizes for resize + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise; + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + >; + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts new file mode 100644 index 000000000000..e18cb33baccb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts @@ -0,0 +1,155 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsOptionalParams, + EndpointModelProperties, + ConnectionGetModelsOptionalParams, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionListModelsOptionalParams, + ConnectionListModelsResponse, +} from "../models"; + +/// +/** Interface representing a Connection. */ +export interface Connection { + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + >; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise; + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + >; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise; + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionListModelsOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..ac74344d4901 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklist. */ +export interface ConnectionRaiBlocklist { + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + >; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..3c0eebd042eb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts @@ -0,0 +1,200 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklistItem. */ +export interface ConnectionRaiBlocklistItem { + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + >; + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise, void>>; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + >; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..972c441a8718 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklistItems. */ +export interface ConnectionRaiBlocklistItems { + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..d5fdc727c307 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklists. */ +export interface ConnectionRaiBlocklists { + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts new file mode 100644 index 000000000000..2c83e624b7c9 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiPolicies. */ +export interface ConnectionRaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts new file mode 100644 index 000000000000..c009a4102515 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiPolicy. */ +export interface ConnectionRaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts new file mode 100644 index 000000000000..dd8e562e5d39 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts @@ -0,0 +1,139 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a EndpointDeployment. */ +export interface EndpointDeployment { + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + >; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise; + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts new file mode 100644 index 000000000000..5d18f0d9a7bb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts @@ -0,0 +1,130 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListOptionalParams, + EndpointModelProperties, + EndpointGetModelsOptionalParams, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, +} from "../models"; + +/// +/** Interface representing a EndpointOperations. */ +export interface EndpointOperations { + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise; + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise; + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 1ab888709948..6dae125d5f0b 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"; @@ -26,6 +19,7 @@ export * from "./registryDataVersions"; export * from "./registryDataReferences"; export * from "./registryEnvironmentContainers"; export * from "./registryEnvironmentVersions"; +export * from "./marketplaceSubscriptions"; export * from "./registryModelContainers"; export * from "./registryModelVersions"; export * from "./batchEndpoints"; @@ -45,7 +39,6 @@ export * from "./featuresetVersions"; export * from "./featurestoreEntityContainers"; export * from "./featurestoreEntityVersions"; export * from "./jobs"; -export * from "./marketplaceSubscriptions"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; @@ -54,3 +47,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts index ce0b0ccc93f6..b7b10226a733 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts @@ -17,7 +17,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetwork( @@ -33,7 +33,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetworkAndWait( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts index 4cf42f0f3a6e..47c9d5d0365a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts @@ -24,7 +24,7 @@ export interface ManagedNetworkSettingsRule { /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -35,7 +35,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -48,7 +48,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -61,7 +61,7 @@ export interface ManagedNetworkSettingsRule { /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -74,7 +74,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -95,7 +95,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index 3f7a0879a045..b2389fdf7d2e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -13,7 +13,7 @@ import { Operation, OperationsListOptionalParams } from "../models"; /** Interface representing a Operations. */ export interface Operations { /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts index 6dbdbda8ffa6..821a34bb1cbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts @@ -10,20 +10,20 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// /** Interface representing a PrivateEndpointConnections. */ export interface PrivateEndpointConnections { /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -32,47 +32,45 @@ export interface PrivateEndpointConnections { options?: PrivateEndpointConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise; /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise; /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise; + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts index 5be795d4659d..b544a862c207 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts @@ -6,22 +6,29 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse, } from "../models"; +/// /** Interface representing a PrivateLinkResources. */ export interface PrivateLinkResources { /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, - ): Promise; + ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts new file mode 100644 index 000000000000..2e974885b28f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a RaiPolicies. */ +export interface RaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts new file mode 100644 index 000000000000..110a796143a4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a RaiPolicy. */ +export interface RaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index a0dbe0ddd6ca..65cfa39a15ba 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -7,24 +7,30 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListOptionalParams, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, } from "../models"; /// /** Interface representing a WorkspaceConnections. */ export interface WorkspaceConnections { /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -33,22 +39,22 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** + * Delete machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise; + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise; /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -59,21 +65,35 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsGetOptionalParams, ): Promise; /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise; + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise; + /** + * Create or update machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + create( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise; /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -83,4 +103,35 @@ export interface WorkspaceConnections { connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams, ): Promise; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + >; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts index e0e9dbaf128a..c26c0791b0f1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -10,45 +10,36 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Workspace, - WorkspacesListByResourceGroupOptionalParams, WorkspacesListBySubscriptionOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, } from "../models"; /// /** Interface representing a Workspaces. */ export interface Workspaces { - /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): PagedAsyncIterableIterator; /** * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. @@ -57,51 +48,18 @@ export interface Workspaces { options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the properties of the specified machine learning workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise; - /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - >; - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - beginCreateOrUpdateAndWait( + listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise; + options?: WorkspacesListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator; /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDelete( @@ -112,7 +70,7 @@ export interface Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDeleteAndWait( @@ -120,17 +78,28 @@ export interface Workspaces { workspaceName: string, options?: WorkspacesDeleteOptionalParams, ): Promise; + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise; /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -141,20 +110,51 @@ export interface Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesCreateOrUpdateResponse + > + >; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise; /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnose( @@ -170,7 +170,7 @@ export interface Workspaces { /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnoseAndWait( @@ -180,9 +180,9 @@ export interface Workspaces { ): Promise; /** * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * insights and password for container registry. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listKeys( @@ -191,44 +191,54 @@ export interface Workspaces { options?: WorkspacesListKeysOptionalParams, ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeys( + listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>>; + options?: WorkspacesListNotebookAccessTokenOptionalParams, + ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Lists keys of Azure Machine Learning Workspaces notebook. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeysAndWait( + listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise; + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise; /** - * return notebook access token and refresh token + * Lists keys of Azure Machine Learning Workspace's storage account. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookAccessToken( + listStorageAccountKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams, - ): Promise; + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise; /** - * Prepare a notebook. + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise; + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebook( @@ -242,9 +252,9 @@ export interface Workspaces { > >; /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebookAndWait( @@ -253,37 +263,27 @@ export interface Workspaces { options?: WorkspacesPrepareNotebookOptionalParams, ): Promise; /** - * List storage account keys of a workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - listStorageAccountKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise; - /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>>; /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( + beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index c068b7a47837..3e6ae96443f3 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-machinelearning": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"