diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 96e82c8c169c..c6380bd3bca1 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,42 @@ # Release History +## 4.0.0 (2025-05-12) + +### Features Added + + - Added operation WorkspaceConnections.update + - Added Interface ManagedResourceGroupAssignedIdentities + - Added Interface ManagedResourceGroupSettings + - Added Interface WorkspaceConnectionsUpdateOptionalParams + - Added Interface WorkspaceConnectionUpdateParameter + - Added Interface WorkspacesDeleteHeaders + - Added Type Alias FirewallSku + - Added Type Alias ManagedNetworkKind + - Added Type Alias WorkspaceConnectionsUpdateResponse + - Interface InferenceContainerProperties has a new optional parameter startupRoute + - Interface ManagedNetworkSettings has a new optional parameter firewallPublicIpAddress + - Interface ManagedNetworkSettings has a new optional parameter firewallSku + - Interface ManagedNetworkSettings has a new optional parameter managedNetworkKind + - Interface OnlineDeploymentProperties has a new optional parameter startupProbe + - Interface OutboundRule has a new optional parameter errorInformation + - Interface OutboundRule has a new optional parameter parentRuleNames + - Interface Registry has a new optional parameter managedResourceGroupSettings + - Interface WorkspaceConnectionsListOptionalParams has a new optional parameter includeAll + - Added Enum KnownFirewallSku + - Added Enum KnownManagedNetworkKind + - Enum KnownConnectionCategory has a new value Elasticsearch + - Enum KnownConnectionCategory has a new value ManagedOnlineEndpoint + - Enum KnownConnectionCategory has a new value Pinecone + - Enum KnownRuleStatus has a new value Deleting + - Enum KnownRuleStatus has a new value Failed + - Enum KnownRuleStatus has a new value Provisioning + +### Breaking Changes + + - Interface AcrDetails no longer has parameter userCreatedAcrAccount + - Interface StorageAccountDetails no longer has parameter userCreatedStorageAccount + + ## 3.0.0 (2024-08-15) ### Features Added diff --git a/sdk/machinelearning/arm-machinelearning/LICENSE b/sdk/machinelearning/arm-machinelearning/LICENSE index b2f52a2bad4e..63447fd8bbbf 100644 --- a/sdk/machinelearning/arm-machinelearning/LICENSE +++ b/sdk/machinelearning/arm-machinelearning/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index dd724df59f5d..d88dca5f11d6 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -44,7 +44,6 @@ npm install @azure/identity ``` You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). -Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). @@ -55,10 +54,7 @@ import { AzureMachineLearningServicesManagementClient } from "@azure/arm-machine import { DefaultAzureCredential } from "@azure/identity"; const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new AzureMachineLearningServicesManagementClient( - new DefaultAzureCredential(), - subscriptionId, -); +const client = new AzureMachineLearningServicesManagementClient(new DefaultAzureCredential(), subscriptionId); ``` For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate. @@ -67,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur import { InteractiveBrowserCredential } from "@azure/identity"; import { AzureMachineLearningServicesManagementClient } from "@azure/arm-machinelearning"; -const subscriptionId = "00000000-0000-0000-0000-000000000000"; const credential = new InteractiveBrowserCredential({ tenantId: "", - clientId: "", -}); + clientId: "" + }); const client = new AzureMachineLearningServicesManagementClient(credential, subscriptionId); ``` ### JavaScript Bundle - To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). ## Key concepts @@ -111,6 +105,7 @@ If you'd like to contribute to this library, please read the [contributing guide - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) + [azure_cli]: https://learn.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_sub]: https://azure.microsoft.com/free/ diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 90a26e519823..6433416c12b5 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "074c1a30ec2bf383d16f5287e920a53c9af8d339", "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.27", + "use": "@autorest/typescript@^6.0.12" } diff --git a/sdk/machinelearning/arm-machinelearning/api-extractor.json b/sdk/machinelearning/arm-machinelearning/api-extractor.json index 6dcc6665ec70..905d40b905df 100644 --- a/sdk/machinelearning/arm-machinelearning/api-extractor.json +++ b/sdk/machinelearning/arm-machinelearning/api-extractor.json @@ -28,4 +28,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 9bb616b99ab8..4b062b70ea95 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -3,17 +3,17 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "version": "4.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", - "@azure/core-client": "^1.9.2", + "@azure/core-client": "^1.9.4", "@azure/core-lro": "^2.5.4", "@azure/core-paging": "^1.6.2", - "@azure/core-rest-pipeline": "^1.19.0", + "@azure/core-rest-pipeline": "^1.20.0", "tslib": "^2.8.1" }, "keywords": [ @@ -28,18 +28,19 @@ "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/commonjs/index.d.ts", + "type": "module", "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.6.0", - "@azure/logger": "^1.1.4", + "@azure/identity": "^4.9.1", + "@azure/logger": "^1.2.0", "@types/node": "^18.0.0", "@vitest/browser": "^3.0.9", "@vitest/coverage-istanbul": "^3.0.9", "dotenv": "^16.0.0", - "playwright": "^1.50.1", + "playwright": "^1.52.0", "typescript": "~5.8.2", "vitest": "^3.0.9" }, @@ -56,20 +57,30 @@ ], "scripts": { "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", + "build:browser": "echo skipped", + "build:node": "echo skipped", "build:samples": "echo skipped.", - "check-format": "echo skipped", + "build:test": "echo skipped", + "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", "extract-api": "dev-tool run extract-api", - "format": "echo skipped", + "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:browser": "echo skipped", + "integration-test:node": "dev-tool run test:vitest --esm", "lint": "echo skipped", + "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", "pack": "npm pack 2>&1", "prepack": "npm run build", - "test": "npm run test:node && npm run test:browser", + "test": "npm run integration-test", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", - "update-snippets": "dev-tool run update-snippets" + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "unit-test:browser": "echo skipped", + "unit-test:node": "dev-tool run test:vitest", + "update-snippets": "dev-tool run update-snippets", + "test:node:esm": "dev-tool run test:vitest --esm" }, "sideEffects": false, "//metadata": { @@ -81,16 +92,9 @@ ] }, "autoPublish": true, + "browser": "./dist/browser/index.js", + "react-native": "./dist/react-native/index.js", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - }, - "type": "module", "tshy": { "project": "./tsconfig.src.json", "exports": { @@ -107,8 +111,6 @@ ], "selfLink": false }, - "browser": "./dist/browser/index.js", - "react-native": "./dist/react-native/index.js", "exports": { "./package.json": "./package.json", ".": { @@ -130,4 +132,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md index 6e7caefe28c0..dc7690e0e1a5 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -44,7 +44,6 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { // @public export interface AcrDetails { systemCreatedAcrAccount?: SystemCreatedAcrAccount; - userCreatedAcrAccount?: UserCreatedAcrAccount; } // @public @@ -2925,6 +2924,9 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +// @public +export type FirewallSku = string; + // @public export interface FixedInputData extends MonitoringInputDataBase { inputDataType: "Fixed"; @@ -3297,6 +3299,7 @@ export interface InferenceContainerProperties { livenessRoute?: Route; readinessRoute?: Route; scoringRoute?: Route; + startupRoute?: Route; } // @public @@ -3771,6 +3774,7 @@ export enum KnownConnectionCategory { Dynamics = "Dynamics", DynamicsAx = "DynamicsAx", DynamicsCrm = "DynamicsCrm", + Elasticsearch = "Elasticsearch", Eloqua = "Eloqua", FileServer = "FileServer", FtpServer = "FtpServer", @@ -3790,6 +3794,7 @@ export enum KnownConnectionCategory { Informix = "Informix", Jira = "Jira", Magento = "Magento", + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", MariaDb = "MariaDb", Marketo = "Marketo", MicrosoftAccess = "MicrosoftAccess", @@ -3806,6 +3811,7 @@ export enum KnownConnectionCategory { OracleServiceCloud = "OracleServiceCloud", PayPal = "PayPal", Phoenix = "Phoenix", + Pinecone = "Pinecone", PostgreSql = "PostgreSql", Presto = "Presto", PythonFeed = "PythonFeed", @@ -4048,6 +4054,12 @@ export enum KnownFeaturizationMode { Off = "Off" } +// @public +export enum KnownFirewallSku { + Basic = "Basic", + Standard = "Standard" +} + // @public export enum KnownForecastHorizonMode { Auto = "Auto", @@ -4225,6 +4237,12 @@ export enum KnownLogVerbosity { Warning = "Warning" } +// @public +export enum KnownManagedNetworkKind { + V1 = "V1", + V2 = "V2" +} + // @public export enum KnownManagedNetworkStatus { Active = "Active", @@ -4610,7 +4628,10 @@ export enum KnownRuleCategory { // @public export enum KnownRuleStatus { Active = "Active", - Inactive = "Inactive" + Deleting = "Deleting", + Failed = "Failed", + Inactive = "Inactive", + Provisioning = "Provisioning" } // @public @@ -5030,6 +5051,9 @@ export interface ManagedIdentityCredential extends DataReferenceCredential { userManagedIdentityTenantId?: string; } +// @public +export type ManagedNetworkKind = string; + // @public export interface ManagedNetworkProvisionOptions { // (undocumented) @@ -5067,7 +5091,10 @@ export interface ManagedNetworkProvisionStatus { // @public export interface ManagedNetworkSettings { + firewallPublicIpAddress?: string; + firewallSku?: FirewallSku; isolationMode?: IsolationMode; + managedNetworkKind?: ManagedNetworkKind; readonly networkId?: string; outboundRules?: { [propertyName: string]: OutboundRuleUnion; @@ -5140,6 +5167,16 @@ export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { endpointComputeType: "Managed"; } +// @public +export interface ManagedResourceGroupAssignedIdentities { + readonly principalId?: string; +} + +// @public +export interface ManagedResourceGroupSettings { + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + // @public export interface ManagedServiceIdentity { readonly principalId?: string; @@ -5766,6 +5803,7 @@ export interface OnlineDeploymentProperties extends EndpointDeploymentProperties readinessProbe?: ProbeSettings; requestSettings?: OnlineRequestSettings; scaleSettings?: OnlineScaleSettingsUnion; + startupProbe?: ProbeSettings; } // @public (undocumented) @@ -6097,6 +6135,8 @@ export type OsType = string; // @public export interface OutboundRule { category?: RuleCategory; + readonly errorInformation?: string; + readonly parentRuleNames?: string[]; status?: RuleStatus; type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; } @@ -6626,6 +6666,7 @@ export interface Registry extends TrackedResource { intellectualPropertyPublisher?: string; kind?: string; managedResourceGroup?: ArmResourceId; + managedResourceGroupSettings?: ManagedResourceGroupSettings; mlFlowRegistryUri?: string; publicNetworkAccess?: string; regionDetails?: RegistryRegionArmDetails[]; @@ -7994,7 +8035,6 @@ export type StochasticOptimizer = string; // @public export interface StorageAccountDetails { systemCreatedStorageAccount?: SystemCreatedStorageAccount; - userCreatedStorageAccount?: UserCreatedStorageAccount; } // @public @@ -8354,16 +8394,6 @@ export interface UserAssignedIdentity { readonly principalId?: string; } -// @public (undocumented) -export interface UserCreatedAcrAccount { - armResourceId?: ArmResourceId; -} - -// @public (undocumented) -export interface UserCreatedStorageAccount { - armResourceId?: ArmResourceId; -} - // @public export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; @@ -8648,6 +8678,7 @@ export interface WorkspaceConnections { // (undocumented) list(resourceGroupName: string, workspaceName: string, options?: WorkspaceConnectionsListOptionalParams): PagedAsyncIterableIterator; listSecrets(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams): Promise; + update(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsUpdateOptionalParams): Promise; } // @public @@ -8694,6 +8725,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties // @public export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { category?: string; + includeAll?: boolean; target?: string; } @@ -8707,6 +8739,19 @@ export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClien // @public export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; +// @public +export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionUpdateParameter; +} + +// @public +export type WorkspaceConnectionsUpdateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +// @public +export interface WorkspaceConnectionUpdateParameter { + properties?: WorkspaceConnectionPropertiesV2Union; +} + // @public (undocumented) export interface WorkspaceConnectionUsernamePassword { // (undocumented) @@ -8788,6 +8833,12 @@ export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.Opera // @public export type WorkspacesCreateOrUpdateResponse = Workspace; +// @public +export interface WorkspacesDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { forceToPurge?: boolean; diff --git a/sdk/machinelearning/arm-machinelearning/sample.env b/sdk/machinelearning/arm-machinelearning/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/machinelearning/arm-machinelearning/sample.env +++ b/sdk/machinelearning/arm-machinelearning/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts index b4b5d76bd62a..a9365d3e73e2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts @@ -8,24 +8,13 @@ import * as coreClient from "@azure/core-client"; import * as coreRestPipeline from "@azure/core-rest-pipeline"; -import { - PipelineRequest, - PipelineResponse, - SendRequest, -} from "@azure/core-rest-pipeline"; +import { PipelineRequest, PipelineResponse, SendRequest } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - OperationsImpl, - WorkspacesImpl, UsagesImpl, VirtualMachineSizesImpl, QuotasImpl, ComputeOperationsImpl, - PrivateEndpointConnectionsImpl, - PrivateLinkResourcesImpl, - WorkspaceConnectionsImpl, - ManagedNetworkSettingsRuleImpl, - ManagedNetworkProvisionsImpl, RegistryCodeContainersImpl, RegistryCodeVersionsImpl, RegistryComponentContainersImpl, @@ -63,19 +52,19 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + WorkspaceConnectionsImpl, + ManagedNetworkSettingsRuleImpl, + ManagedNetworkProvisionsImpl, } from "./operations/index.js"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -113,6 +102,13 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + PrivateEndpointConnections, + PrivateLinkResources, + WorkspaceConnections, + ManagedNetworkSettingsRule, + ManagedNetworkProvisions, } from "./operationsInterfaces/index.js"; import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models/index.js"; @@ -143,13 +139,12 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser if (!options) { options = {}; } - const defaults: AzureMachineLearningServicesManagementClientOptionalParams = - { - requestContentType: "application/json; charset=utf-8", - credential: credentials, - }; + const defaults: AzureMachineLearningServicesManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials, + }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/4.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -161,8 +156,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser userAgentOptions: { userAgentPrefix, }, - endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com", + endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com", }; super(optionsWithDefaults); @@ -172,8 +166,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => - pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName, + pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -189,11 +182,9 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser coreRestPipeline.bearerTokenAuthenticationPolicy({ credential: credentials, scopes: - optionsWithDefaults.credentialScopes ?? - `${optionsWithDefaults.endpoint}/.default`, + optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { - authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge, + authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge, }, }), ); @@ -203,33 +194,20 @@ 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 || "2025-04-01"; this.usages = new UsagesImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); this.quotas = new QuotasImpl(this); this.computeOperations = new ComputeOperationsImpl(this); - this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); - this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.workspaceConnections = new WorkspaceConnectionsImpl(this); - this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); - this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.registryCodeContainers = new RegistryCodeContainersImpl(this); this.registryCodeVersions = new RegistryCodeVersionsImpl(this); - this.registryComponentContainers = new RegistryComponentContainersImpl( - this, - ); + this.registryComponentContainers = new RegistryComponentContainersImpl(this); this.registryComponentVersions = new RegistryComponentVersionsImpl(this); this.registryDataContainers = new RegistryDataContainersImpl(this); this.registryDataVersions = new RegistryDataVersionsImpl(this); this.registryDataReferences = new RegistryDataReferencesImpl(this); - this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl( - this, - ); - this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl( - this, - ); + this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl(this); + this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl(this); this.registryModelContainers = new RegistryModelContainersImpl(this); this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); @@ -246,9 +224,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.featuresetContainers = new FeaturesetContainersImpl(this); this.features = new FeaturesImpl(this); this.featuresetVersions = new FeaturesetVersionsImpl(this); - this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl( - this, - ); + this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl(this); this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this); this.jobs = new JobsImpl(this); this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this); @@ -260,6 +236,13 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.serverlessEndpoints = new ServerlessEndpointsImpl(this); this.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); + this.operations = new OperationsImpl(this); + this.workspaces = new WorkspacesImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); + this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); + this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -270,10 +253,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser } const apiVersionPolicy = { name: "CustomApiVersionPolicy", - async sendRequest( - request: PipelineRequest, - next: SendRequest, - ): Promise { + async sendRequest(request: PipelineRequest, next: SendRequest): Promise { const param = request.url.split("?"); if (param.length > 1) { const newParams = param[1].split("&").map((item) => { @@ -291,17 +271,10 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.pipeline.addPolicy(apiVersionPolicy); } - operations: Operations; - workspaces: Workspaces; usages: Usages; virtualMachineSizes: VirtualMachineSizes; quotas: Quotas; computeOperations: ComputeOperations; - privateEndpointConnections: PrivateEndpointConnections; - privateLinkResources: PrivateLinkResources; - workspaceConnections: WorkspaceConnections; - managedNetworkSettingsRule: ManagedNetworkSettingsRule; - managedNetworkProvisions: ManagedNetworkProvisions; registryCodeContainers: RegistryCodeContainers; registryCodeVersions: RegistryCodeVersions; registryComponentContainers: RegistryComponentContainers; @@ -339,4 +312,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser serverlessEndpoints: ServerlessEndpoints; registries: Registries; workspaceFeatures: WorkspaceFeatures; + operations: Operations; + workspaces: Workspaces; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; + workspaceConnections: WorkspaceConnections; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + managedNetworkProvisions: ManagedNetworkProvisions; } diff --git a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts index d8bc98987053..1b3a95e6c540 100644 --- a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts +++ b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts @@ -5,6 +5,7 @@ * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ + import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; @@ -22,10 +23,7 @@ export function createLroSpec(inputs: { requestMethod: spec.httpMethod, requestPath: spec.path!, sendInitialRequest: () => sendOperationFn(args, spec), - sendPollRequest: ( - path: string, - options?: { abortSignal?: AbortSignalLike }, - ) => { + sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => { const { requestBody, ...restSpec } = spec; return sendOperationFn(args, { ...restSpec, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..c6f2ede83c73 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,23 +25,7 @@ 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; +export type PendingUploadCredentialDtoUnion = PendingUploadCredentialDto | SASCredentialDto; export type DataReferenceCredentialUnion = | DataReferenceCredential | AnonymousAccessCredential @@ -74,14 +53,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 +70,25 @@ export type ScheduleActionBaseUnion = | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; +export type OutboundRuleUnion = + | OutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule + | FqdnOutboundRule; +export type WorkspaceConnectionPropertiesV2Union = + | WorkspaceConnectionPropertiesV2 + | PATAuthTypeWorkspaceConnectionProperties + | SASAuthTypeWorkspaceConnectionProperties + | UsernamePasswordAuthTypeWorkspaceConnectionProperties + | NoneAuthTypeWorkspaceConnectionProperties + | ManagedIdentityAuthTypeWorkspaceConnectionProperties + | AADAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | AccountKeyAuthTypeWorkspaceConnectionProperties + | ApiKeyAuthWorkspaceConnectionProperties + | CustomKeysWorkspaceConnectionProperties + | OAuth2AuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties; export type MonitoringFeatureFilterBaseUnion = | MonitoringFeatureFilterBase | AllFeatures @@ -100,10 +98,15 @@ export type MonitorComputeIdentityBaseUnion = | MonitorComputeIdentityBase | AmlTokenComputeIdentity | ManagedComputeIdentity; -export type ForecastHorizonUnion = - | ForecastHorizon - | AutoForecastHorizon - | CustomForecastHorizon; +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -125,22 +128,11 @@ export type JobInputUnion = | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; -export type SeasonalityUnion = - | Seasonality - | AutoSeasonality - | CustomSeasonality; +export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality; export type TargetLagsUnion = TargetLags | AutoTargetLags | CustomTargetLags; export type TargetRollingWindowSizeUnion = | TargetRollingWindowSize @@ -168,12 +160,11 @@ export type PredictionDriftMetricThresholdBaseUnion = | PredictionDriftMetricThresholdBase | CategoricalPredictionDriftMetricThreshold | NumericalPredictionDriftMetricThreshold; -export type DistributionConfigurationUnion = - | DistributionConfiguration - | Mpi - | PyTorch - | TensorFlow; +export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,19 +172,13 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData | RollingInputData | StaticInputData; export type OneLakeArtifactUnion = OneLakeArtifact | LakeHouseArtifact; -export type SparkJobEntryUnion = - | SparkJobEntry - | SparkJobPythonEntry - | SparkJobScalaEntry; +export type SparkJobEntryUnion = SparkJobEntry | SparkJobPythonEntry | SparkJobScalaEntry; export type DatastorePropertiesUnion = | DatastoreProperties | AzureBlobDatastore @@ -218,68 +203,71 @@ export type DataVersionBasePropertiesUnion = | UriFileDataVersion | UriFolderDataVersion; -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export interface OperationListResult { +/** The List Usages operation response. */ +export interface ListUsagesResult { /** - * List of operations supported by the resource provider + * The list of AML resource usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Operation[]; + readonly value?: Usage[]; /** - * URL to get the next set of operation list results (if there are any). + * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface Operation { +/** Describes AML Resource Usage. */ +export interface Usage { /** - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly id?: string; /** - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * Region of the AML workspace in the id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - display?: OperationDisplay; + readonly amlWorkspaceLocation?: string; /** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly origin?: Origin; + readonly type?: string; /** - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * An enum describing the unit of usage measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly actionType?: ActionType; -} - -/** Localized display information for this particular operation. */ -export interface OperationDisplay { + readonly unit?: UsageUnit; /** - * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * The current usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provider?: string; + readonly currentValue?: number; /** - * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * The maximum permitted usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resource?: string; + readonly limit?: number; /** - * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * The name of the type of usage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operation?: string; + readonly name?: UsageName; +} + +/** The Usage Names. */ +export interface UsageName { /** - * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly description?: string; + readonly value?: string; + /** + * The localized name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ @@ -331,2841 +319,2755 @@ export interface ErrorAdditionalInfo { readonly info?: Record; } -export interface EncryptionProperty { - /** Indicates whether or not the encryption is enabled for the workspace. */ - status: EncryptionStatus; - /** The identity that will be used to access the key vault for encryption at rest. */ - identity?: IdentityForCmk; - /** Customer Key vault properties. */ - keyVaultProperties: EncryptionKeyVaultProperties; -} - -/** Identity that will be used to access key vault for encryption at rest */ -export interface IdentityForCmk { - /** The ArmId of the user assigned identity that will be used to access the customer managed key vault */ - userAssignedIdentity?: string; -} - -export interface EncryptionKeyVaultProperties { - /** The ArmId of the keyVault where the customer owned encryption key is present. */ - keyVaultArmId: string; - /** Key vault uri to access the encryption key. */ - keyIdentifier: string; - /** For future use - The client id of the identity which will be used to access key vault. */ - identityClientId?: string; +/** The List Virtual Machine size operation response. */ +export interface VirtualMachineSizeListResult { + /** The list of virtual machine sizes supported by AmlCompute. */ + value?: VirtualMachineSize[]; } -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { +/** Describes the properties of a VM size. */ +export interface VirtualMachineSize { /** - * The ARM identifier for Private Endpoint + * The name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface ManagedServiceIdentity { + readonly name?: string; /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The family name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly family?: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The number of vCPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - type: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; -} - -/** User assigned identity properties */ -export interface UserAssignedIdentity { + readonly vCPUs?: number; /** - * The principal ID of the assigned identity. + * The number of gPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly gpus?: number; /** - * The client ID of the assigned identity. + * The OS VHD disk size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; -} - -/** The resource model definition representing SKU */ -export interface Sku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource { + readonly osVhdSizeMB?: number; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The resource volume size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly maxResourceVolumeMB?: number; /** - * The name of the resource + * The amount of memory, in GB, supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly memoryGB?: number; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Specifies if the virtual machine size supports low priority VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly lowPriorityCapable?: boolean; /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Specifies if the virtual machine size supports premium IO. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; -} - -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; + readonly premiumIO?: boolean; + /** The estimated price information for using a VM. */ + estimatedVMPrices?: EstimatedVMPrices; + /** Specifies the compute types supported by the virtual machine size. */ + supportedComputeTypes?: string[]; } -export interface ServerlessComputeSettings { - /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ - serverlessComputeCustomSubnet?: string; - /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ - serverlessComputeNoPublicIP?: boolean; -} - -export interface SharedPrivateLinkResource { - /** Unique name of the private link. */ - name?: string; - /** The resource id that private link links to. */ - privateLinkResourceId?: string; - /** The private link resource group id. */ - groupId?: string; - /** Request message. */ - requestMessage?: string; - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; +/** The estimated price info for using a VM. */ +export interface EstimatedVMPrices { + /** Three lettered code specifying the currency of the VM price. Example: USD */ + billingCurrency: BillingCurrency; + /** The unit of time measurement for the specified VM price. Example: OneHour */ + unitOfMeasure: UnitOfMeasure; + /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ + values: EstimatedVMPrice[]; } -export interface NotebookResourceInfo { - fqdn?: string; - /** the data plane resourceId that used to initialize notebook component */ - resourceId?: string; - /** The error that occurs when preparing notebook. */ - notebookPreparationError?: NotebookPreparationError; +/** The estimated price info for using a VM of a particular OS type, tier, etc. */ +export interface EstimatedVMPrice { + /** The price charged for using the VM. */ + retailPrice: number; + /** Operating system type used by the VM. */ + osType: VMPriceOSType; + /** The type of the VM. */ + vmTier: VMTier; } -export interface NotebookPreparationError { - errorMessage?: string; - statusCode?: number; +/** Quota update parameters. */ +export interface QuotaUpdateParameters { + /** The list for update quota. */ + value?: QuotaBaseProperties[]; + /** Region of workspace quota to be updated. */ + location?: string; } -export interface ServiceManagedResourcesSettings { - /** The settings for the service managed cosmosdb account. */ - cosmosDb?: CosmosDbSettings; +/** The properties for Quota update or retrieval. */ +export interface QuotaBaseProperties { + /** Specifies the resource ID. */ + id?: string; + /** Specifies the resource type. */ + type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; + /** An enum describing the unit of quota measurement. */ + unit?: QuotaUnit; } -export interface CosmosDbSettings { - /** The throughput of the collections in cosmosdb database */ - collectionsThroughput?: number; +/** The result of update workspace quota. */ +export interface UpdateWorkspaceQuotasResult { + /** + * The list of workspace quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: UpdateWorkspaceQuotas[]; + /** + * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Managed Network settings for a machine learning workspace. */ -export interface ManagedNetworkSettings { - /** Isolation mode for the managed network of a machine learning workspace. */ - isolationMode?: IsolationMode; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkId?: string; - /** Dictionary of */ - outboundRules?: { [propertyName: string]: OutboundRuleUnion }; - /** Status of the Provisioning for the managed network of a machine learning workspace. */ - status?: ManagedNetworkProvisionStatus; +/** The properties for update Quota response. */ +export interface UpdateWorkspaceQuotas { + /** + * Specifies the resource ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Specifies the resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; + /** + * An enum describing the unit of quota measurement. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly unit?: QuotaUnit; + /** Status of update workspace quota. */ + status?: Status; } -/** Outbound Rule for the managed network of a machine learning workspace. */ -export interface OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; - /** Category of a managed network Outbound Rule of a machine learning workspace. */ - category?: RuleCategory; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - status?: RuleStatus; +/** The List WorkspaceQuotasByVMFamily operation response. */ +export interface ListWorkspaceQuotas { + /** + * The list of Workspace Quotas by VM Family + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: ResourceQuota[]; + /** + * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Status of the Provisioning for the managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionStatus { - sparkReady?: boolean; - /** Status for the managed network of a machine learning workspace. */ - status?: ManagedNetworkStatus; +/** The quota assigned to a resource. */ +export interface ResourceQuota { + /** + * Specifies the resource ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * Region of the AML workspace in the id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly amlWorkspaceLocation?: string; + /** + * Specifies the resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: ResourceName; + /** + * The maximum permitted quota of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly limit?: number; + /** + * An enum describing the unit of quota measurement. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly unit?: QuotaUnit; } -/** Settings for feature store type workspace. */ -export interface FeatureStoreSettings { - /** Compute runtime config for feature store type workspace. */ - computeRuntime?: ComputeRuntimeDto; - offlineStoreConnectionName?: string; - onlineStoreConnectionName?: string; +/** The Resource Name. */ +export interface ResourceName { + /** + * The name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; + /** + * The localized name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } -/** Compute runtime config for feature store type workspace. */ -export interface ComputeRuntimeDto { - sparkRuntimeVersion?: string; +/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ +export interface PaginatedComputeResourcesList { + /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ + value?: ComputeResource[]; + /** A continuation link (absolute URI) to the next page of results in the list. */ + nextLink?: string; } -/** WorkspaceHub's configuration object. */ -export interface WorkspaceHubConfig { - additionalWorkspaceStorageAccounts?: string[]; - defaultWorkspaceResourceGroup?: string; +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ + type: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; } -/** The parameters for updating a machine learning workspace. */ -export interface WorkspaceUpdateParameters { - /** The resource tags for the machine learning workspace. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. */ - friendlyName?: string; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - enableDataIsolation?: boolean; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - encryption?: EncryptionUpdateProperties; +/** User assigned identity properties */ +export interface UserAssignedIdentity { + /** + * The principal ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The client ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clientId?: string; } -export interface EncryptionUpdateProperties { - keyVaultProperties: EncryptionKeyVaultUpdateProperties; -} - -export interface EncryptionKeyVaultUpdateProperties { - keyIdentifier: string; -} - -/** The result of a request to list machine learning workspaces. */ -export interface WorkspaceListResult { - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: Workspace[]; - /** The URI that can be used to request the next list of machine learning workspaces. */ - nextLink?: string; -} - -/** Parameters to diagnose a workspace */ -export interface DiagnoseWorkspaceParameters { - /** Value of Parameters */ - value?: DiagnoseRequestProperties; +/** The resource model definition representing SKU */ +export interface Sku { + /** The name of the SKU. Ex - P3. It is typically a letter+number code */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: string; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; } -export interface DiagnoseRequestProperties { - /** Setting for diagnosing user defined routing */ - udr?: { [propertyName: string]: Record }; - /** Setting for diagnosing network security group */ - nsg?: { [propertyName: string]: Record }; - /** Setting for diagnosing resource lock */ - resourceLock?: { [propertyName: string]: Record }; - /** Setting for diagnosing dns resolution */ - dnsResolution?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent storage account */ - storageAccount?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent key vault */ - keyVault?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent container registry */ - containerRegistry?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent application insights */ - applicationInsights?: { [propertyName: string]: Record }; - /** Setting for diagnosing unclassified category of problems */ - others?: { [propertyName: string]: Record }; +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The name of the resource + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; } -export interface DiagnoseResponseResult { - value?: DiagnoseResponseResultValue; +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; } -export interface DiagnoseResponseResultValue { - userDefinedRouteResults?: DiagnoseResult[]; - networkSecurityRuleResults?: DiagnoseResult[]; - resourceLockResults?: DiagnoseResult[]; - dnsResolutionResults?: DiagnoseResult[]; - storageAccountResults?: DiagnoseResult[]; - keyVaultResults?: DiagnoseResult[]; - containerRegistryResults?: DiagnoseResult[]; - applicationInsightsResults?: DiagnoseResult[]; - otherResults?: DiagnoseResult[]; +export interface ComputeResourceSchema { + /** Compute properties */ + properties?: ComputeUnion; } -/** Result of Diagnose */ -export interface DiagnoseResult { +/** Machine Learning compute object. */ +export interface Compute { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: + | "AKS" + | "Kubernetes" + | "AmlCompute" + | "ComputeInstance" + | "VirtualMachine" + | "HDInsight" + | "DataFactory" + | "Databricks" + | "DataLakeAnalytics" + | "SynapseSpark"; + /** Location for the underlying compute */ + computeLocation?: string; /** - * Code for workspace setup error + * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly code?: string; + readonly provisioningState?: ProvisioningState; + /** The description of the Machine Learning compute. */ + description?: string; /** - * Level of workspace setup error + * The time at which the compute was created. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly level?: DiagnoseResultLevel; + readonly createdOn?: Date; /** - * Message of workspace setup error + * The time at which the compute was last modified. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; -} - -export interface ListWorkspaceKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly appInsightsInstrumentationKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookAccessKeys?: ListNotebookKeysResult; + readonly modifiedOn?: Date; + /** ARM resource id of the underlying compute */ + resourceId?: string; + /** + * Errors during provisioning + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningErrors?: ErrorResponse[]; + /** + * Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isAttachedCompute?: boolean; + /** Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. */ + disableLocalAuth?: boolean; } -export interface RegistryListCredentialsResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly username?: string; - passwords?: Password[]; +/** AmlCompute update parameters. */ +export interface ClusterUpdateParameters { + /** Properties of ClusterUpdate */ + properties?: ScaleSettingsInformation; } -export interface Password { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; +/** Desired scale settings for the amlCompute. */ +export interface ScaleSettingsInformation { + /** scale settings for AML Compute */ + scaleSettings?: ScaleSettings; } -export interface ListNotebookKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly primaryAccessKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly secondaryAccessKey?: string; +/** scale settings for AML Compute */ +export interface ScaleSettings { + /** Max number of nodes to use */ + maxNodeCount: number; + /** Min number of nodes to use */ + minNodeCount?: number; + /** Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format. */ + nodeIdleTimeBeforeScaleDown?: string; } -/** The List Usages operation response. */ -export interface ListUsagesResult { +/** Result of AmlCompute Nodes */ +export interface AmlComputeNodesInformation { /** - * The list of AML resource usages. + * The collection of returned AmlCompute nodes details. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Usage[]; + readonly nodes?: AmlComputeNodeInformation[]; /** - * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. + * The continuation token. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Describes AML Resource Usage. */ -export interface Usage { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Region of the AML workspace in the id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly amlWorkspaceLocation?: string; - /** - * Specifies the resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; +/** Compute node information related to a AmlCompute. */ +export interface AmlComputeNodeInformation { /** - * An enum describing the unit of usage measurement. + * ID of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: UsageUnit; + readonly nodeId?: string; /** - * The current usage of the resource. + * Private IP address of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly privateIpAddress?: string; /** - * The maximum permitted usage of the resource. + * Public IP address of the compute node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly limit?: number; + readonly publicIpAddress?: string; /** - * The name of the type of usage. + * SSH port number of the node. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: UsageName; -} - -/** The Usage Names. */ -export interface UsageName { + readonly port?: number; /** - * The name of the resource. + * State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; + readonly nodeState?: NodeState; /** - * The localized name of the resource. + * ID of the Experiment running on the node, if any else null. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly localizedValue?: string; + readonly runId?: string; } -/** The List Virtual Machine size operation response. */ -export interface VirtualMachineSizeListResult { - /** The list of virtual machine sizes supported by AmlCompute. */ - value?: VirtualMachineSize[]; +/** Secrets related to a Machine Learning compute. Might differ for every type of compute. */ +export interface ComputeSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "AKS" | "VirtualMachine" | "Databricks"; } -/** Describes the properties of a VM size. */ -export interface VirtualMachineSize { - /** - * The name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The family name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly family?: string; - /** - * The number of vCPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly vCPUs?: number; - /** - * The number of gPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly gpus?: number; - /** - * The OS VHD disk size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osVhdSizeMB?: number; - /** - * The resource volume size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maxResourceVolumeMB?: number; - /** - * The amount of memory, in GB, supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly memoryGB?: number; - /** - * Specifies if the virtual machine size supports low priority VMs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lowPriorityCapable?: boolean; - /** - * Specifies if the virtual machine size supports premium IO. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly premiumIO?: boolean; - /** The estimated price information for using a VM. */ - estimatedVMPrices?: EstimatedVMPrices; - /** Specifies the compute types supported by the virtual machine size. */ - supportedComputeTypes?: string[]; +/** A paginated list of CodeContainer entities. */ +export interface CodeContainerResourceArmPaginatedResult { + /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; } -/** The estimated price info for using a VM. */ -export interface EstimatedVMPrices { - /** Three lettered code specifying the currency of the VM price. Example: USD */ - billingCurrency: BillingCurrency; - /** The unit of time measurement for the specified VM price. Example: OneHour */ - unitOfMeasure: UnitOfMeasure; - /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ - values: EstimatedVMPrice[]; +export interface ResourceBase { + /** The asset description text. */ + description?: string; + /** The asset property dictionary. */ + properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; } -/** The estimated price info for using a VM of a particular OS type, tier, etc. */ -export interface EstimatedVMPrice { - /** The price charged for using the VM. */ - retailPrice: number; - /** Operating system type used by the VM. */ - osType: VMPriceOSType; - /** The type of the VM. */ - vmTier: VMTier; +/** A paginated list of CodeVersion entities. */ +export interface CodeVersionResourceArmPaginatedResult { + /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; } -/** Quota update parameters. */ -export interface QuotaUpdateParameters { - /** The list for update quota. */ - value?: QuotaBaseProperties[]; - /** Region of workspace quota to be updated. */ - location?: string; +export interface PendingUploadRequestDto { + /** If PendingUploadId = null then random guid will be used. */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; } -/** The properties for Quota update or retrieval. */ -export interface QuotaBaseProperties { - /** Specifies the resource ID. */ - id?: string; - /** Specifies the resource type. */ - type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; - /** An enum describing the unit of quota measurement. */ - unit?: QuotaUnit; +export interface PendingUploadResponseDto { + /** Container level read, write, list SAS */ + blobReferenceForConsumption?: BlobReferenceForConsumptionDto; + /** ID for this upload request */ + pendingUploadId?: string; + /** TemporaryBlobReference is the only supported type */ + pendingUploadType?: PendingUploadType; } -/** The result of update workspace quota. */ -export interface UpdateWorkspaceQuotasResult { - /** - * The list of workspace quota update result. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: UpdateWorkspaceQuotas[]; +export interface BlobReferenceForConsumptionDto { /** - * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Blob URI path for client to upload data. + * Example: https://blob.windows.core.net/Container/Path */ - readonly nextLink?: string; + blobUri?: string; + /** Credential info to access storage account */ + credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; } -/** The properties for update Quota response. */ -export interface UpdateWorkspaceQuotas { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Specifies the resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; - /** - * An enum describing the unit of quota measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: QuotaUnit; - /** Status of update workspace quota. */ - status?: Status; +export interface PendingUploadCredentialDto { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "SAS"; } -/** The List WorkspaceQuotasByVMFamily operation response. */ -export interface ListWorkspaceQuotas { - /** - * The list of Workspace Quotas by VM Family - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: ResourceQuota[]; - /** - * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** A paginated list of ComponentContainer entities. */ +export interface ComponentContainerResourceArmPaginatedResult { + /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; } -/** The quota assigned to a resource. */ -export interface ResourceQuota { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * Region of the AML workspace in the id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly amlWorkspaceLocation?: string; - /** - * Specifies the resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** - * Name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: ResourceName; - /** - * The maximum permitted quota of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly limit?: number; - /** - * An enum describing the unit of quota measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: QuotaUnit; +/** A paginated list of ComponentVersion entities. */ +export interface ComponentVersionResourceArmPaginatedResult { + /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; } -/** The Resource Name. */ -export interface ResourceName { - /** - * The name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: string; - /** - * The localized name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly localizedValue?: string; +/** A paginated list of DataContainer entities. */ +export interface DataContainerResourceArmPaginatedResult { + /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; } -/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ -export interface PaginatedComputeResourcesList { - /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ - value?: ComputeResource[]; - /** A continuation link (absolute URI) to the next page of results in the list. */ +/** A paginated list of DataVersionBase entities. */ +export interface DataVersionBaseResourceArmPaginatedResult { + /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; } -export interface ComputeResourceSchema { - /** Compute properties */ - properties?: ComputeUnion; +/** BlobReferenceSASRequest for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASRequestDto { + /** Id of the asset to be accessed */ + assetId?: string; + /** Blob uri of the asset to be accessed */ + blobUri?: string; } -/** Machine Learning compute object. */ -export interface Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: - | "AKS" - | "Kubernetes" - | "AmlCompute" - | "ComputeInstance" - | "VirtualMachine" - | "HDInsight" - | "DataFactory" - | "Databricks" - | "DataLakeAnalytics" - | "SynapseSpark"; - /** Location for the underlying compute */ - computeLocation?: string; - /** - * The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** The description of the Machine Learning compute. */ - description?: string; - /** - * The time at which the compute was created. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdOn?: Date; - /** - * The time at which the compute was last modified. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly modifiedOn?: Date; - /** ARM resource id of the underlying compute */ - resourceId?: string; - /** - * Errors during provisioning - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningErrors?: ErrorResponse[]; - /** - * Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isAttachedCompute?: boolean; - /** Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication. */ - disableLocalAuth?: boolean; +/** BlobReferenceSASResponse for getBlobReferenceSAS API */ +export interface GetBlobReferenceSASResponseDto { + /** Blob reference for consumption details */ + blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; } -/** AmlCompute update parameters. */ -export interface ClusterUpdateParameters { - /** Properties of ClusterUpdate */ - properties?: ScaleSettingsInformation; +export interface GetBlobReferenceForConsumptionDto { + /** Blob uri, example: https://blob.windows.core.net/Container/Path */ + blobUri?: string; + /** Credential info to access storage account */ + credential?: DataReferenceCredentialUnion; + /** The ARM id of the storage account */ + storageAccountArmId?: string; } -/** Desired scale settings for the amlCompute. */ -export interface ScaleSettingsInformation { - /** scale settings for AML Compute */ - scaleSettings?: ScaleSettings; +/** DataReferenceCredential base class */ +export interface DataReferenceCredential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialType: "NoCredentials" | "DockerCredentials" | "ManagedIdentity" | "SAS"; } -/** scale settings for AML Compute */ -export interface ScaleSettings { - /** Max number of nodes to use */ - maxNodeCount: number; - /** Min number of nodes to use */ - minNodeCount?: number; - /** Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format. */ - nodeIdleTimeBeforeScaleDown?: string; +/** A paginated list of EnvironmentContainer entities. */ +export interface EnvironmentContainerResourceArmPaginatedResult { + /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; } -/** Result of AmlCompute Nodes */ -export interface AmlComputeNodesInformation { - /** - * The collection of returned AmlCompute nodes details. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nodes?: AmlComputeNodeInformation[]; - /** - * The continuation token. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** A paginated list of EnvironmentVersion entities. */ +export interface EnvironmentVersionResourceArmPaginatedResult { + /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; } -/** Compute node information related to a AmlCompute. */ -export interface AmlComputeNodeInformation { +/** Configuration settings for Docker build context */ +export interface BuildContext { /** - * ID of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. + * */ - readonly nodeId?: string; + contextUri: string; /** - * Private IP address of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Path to the Dockerfile in the build context. + * */ - readonly privateIpAddress?: string; + dockerfilePath?: string; +} + +export interface InferenceContainerProperties { + /** The route to check the liveness of the inference server container. */ + livenessRoute?: Route; + /** The route to check the readiness of the inference server container. */ + readinessRoute?: Route; + /** The route to check the startup of the application in the container. */ + startupRoute?: Route; + /** The port to send the scoring requests to, within the inference server container. */ + scoringRoute?: Route; +} + +export interface Route { + /** [Required] The path for the route. */ + path: string; + /** [Required] The port for the route. */ + port: number; +} + +/** A paginated list of ModelContainer entities. */ +export interface ModelContainerResourceArmPaginatedResult { + /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; +} + +/** A paginated list of ModelVersion entities. */ +export interface ModelVersionResourceArmPaginatedResult { + /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; +} + +export interface FlavorData { + /** Model flavor-specific data. */ + data?: { [propertyName: string]: string | null }; +} + +/** A paginated list of BatchEndpoint entities. */ +export interface BatchEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type BatchEndpoint. */ + value?: BatchEndpoint[]; +} + +/** Batch endpoint default values */ +export interface BatchEndpointDefaults { /** - * Public IP address of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Name of the deployment that will be default for the endpoint. + * This deployment will end up getting 100% traffic when the endpoint scoring URL is invoked. */ - readonly publicIpAddress?: string; + deploymentName?: string; +} + +/** Inference Endpoint base definition */ +export interface EndpointPropertiesBase { + /** [Required] The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication. */ + authMode: EndpointAuthMode; + /** Description of the inference endpoint. */ + description?: string; /** - * SSH port number of the node. - * NOTE: This property will not be serialized. It can only be populated by the server. + * EndpointAuthKeys to set initially on an Endpoint. + * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. */ - readonly port?: number; + keys?: EndpointAuthKeys; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; /** - * State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. + * Endpoint URI. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeState?: NodeState; + readonly scoringUri?: string; /** - * ID of the Experiment running on the node, if any else null. + * Endpoint Swagger URI. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runId?: string; + readonly swaggerUri?: string; } -export interface NotebookAccessTokenResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hostName?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicDns?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly accessToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tokenType?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly expiresIn?: number; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly refreshToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scope?: string; +/** Keys for endpoint authentication. */ +export interface EndpointAuthKeys { + /** The primary key. */ + primaryKey?: string; + /** The secondary key. */ + secondaryKey?: string; } -/** Secrets related to a Machine Learning compute. Might differ for every type of compute. */ -export interface ComputeSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS" | "VirtualMachine" | "Databricks"; +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface PartialManagedServiceIdentity { + /** Managed service identity (system assigned and/or user assigned identities) */ + type?: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: Record }; } -/** List of private endpoint connection associated with the specified workspace */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResource { + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; +/** A paginated list of BatchDeployment entities. */ +export interface BatchDeploymentTrackedResourceArmPaginatedResult { + /** The link to the next page of BatchDeployment objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type BatchDeployment. */ + value?: BatchDeployment[]; } -export interface ListStorageAccountKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; +/** Properties relevant to different deployment types. */ +export interface BatchDeploymentConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + deploymentConfigurationType: "PipelineComponent"; } -export interface WorkspaceConnectionPropertiesV2 { +/** Base definition for asset references. */ +export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: - | "PAT" - | "SAS" - | "UsernamePassword" - | "None" - | "ManagedIdentity" - | "AAD" - | "AccessKey" - | "AccountKey" - | "ApiKey" - | "CustomKeys" - | "OAuth2" - | "ServicePrincipal"; - /** Category of the connection */ - category?: ConnectionCategory; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdByWorkspaceArmId?: string; - expiryTime?: Date; - /** - * Group based on connection category - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly group?: ConnectionGroup; - isSharedToAll?: boolean; - target?: string; - /** Store user metadata for this connection */ - metadata?: { [propertyName: string]: string }; - sharedUserList?: string[]; - /** Value details of the workspace connection. */ - value?: string; - /** format for the workspace connection value */ - valueFormat?: ValueFormat; + referenceType: "Id" | "DataPath" | "OutputPath"; } -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 ResourceConfiguration { + /** Optional number of instances or nodes used by the compute target. */ + instanceCount?: number; + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Additional properties bag. */ + properties?: { [propertyName: string]: Record }; } -export interface ExternalFqdnResponse { - value?: FqdnEndpoints[]; +/** 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; } -export interface FqdnEndpoints { - properties?: FqdnEndpointsProperties; +/** Base definition for endpoint deployment. */ +export interface EndpointDeploymentPropertiesBase { + /** Code configuration for the endpoint deployment. */ + codeConfiguration?: CodeConfiguration; + /** Description of the endpoint deployment. */ + description?: string; + /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ + environmentId?: string; + /** Environment variables configuration for the deployment. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } -export interface FqdnEndpointsProperties { - category?: string; - endpoints?: FqdnEndpoint[]; +/** Configuration for a scoring code asset. */ +export interface CodeConfiguration { + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The script to execute on startup. eg. "score.py" */ + scoringScript: string; } -export interface FqdnEndpoint { - domainName?: string; - endpointDetails?: FqdnEndpointDetail[]; +/** Strictly used in update requests. */ +export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { + /** Additional attributes of the entity. */ + properties?: PartialBatchDeployment; + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } -export interface FqdnEndpointDetail { - port?: number; +/** Mutable batch inference settings per deployment. */ +export interface PartialBatchDeployment { + /** Description of the endpoint deployment. */ + description?: 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. */ +/** Publishing destination registry asset information */ +export interface DestinationAsset { + /** Destination asset name */ + destinationName?: string; + /** Destination asset version */ + destinationVersion?: string; + /** Destination registry name */ + registryName?: string; +} + +/** A paginated list of Datastore entities. */ +export interface DatastoreResourceArmPaginatedResult { + /** The link to the next page of Datastore objects. If null, there are no additional pages. */ nextLink?: string; - /** 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[]; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +/** Base definition for datastore credentials. */ +export interface DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: "AccountKey" | "Certificate" | "None" | "Sas" | "ServicePrincipal"; } -/** 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; +/** Base definition for datastore secrets. */ +export interface DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; } -export interface 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 }; +/** A paginated list of FeaturesetContainer entities. */ +export interface FeaturesetContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } -/** A paginated list of 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. */ +/** A paginated list of Feature entities. */ +export interface FeatureResourceArmPaginatedResult { + /** The link to the next page of Feature objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Feature. */ + value?: Feature[]; } -export interface PendingUploadRequestDto { - /** If PendingUploadId = null then random guid will be used. */ - pendingUploadId?: string; - /** TemporaryBlobReference is the only supported type */ - pendingUploadType?: PendingUploadType; +/** A paginated list of FeaturesetVersion entities. */ +export interface FeaturesetVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; } -export interface PendingUploadResponseDto { - /** Container level read, write, list SAS */ - blobReferenceForConsumption?: BlobReferenceForConsumptionDto; - /** ID for this upload request */ - pendingUploadId?: string; - /** TemporaryBlobReference is the only supported type */ - pendingUploadType?: PendingUploadType; +export interface MaterializationSettings { + /** Specifies the notification details */ + notification?: NotificationSetting; + /** Specifies the compute resource settings */ + resource?: MaterializationComputeResource; + /** Specifies the schedule details */ + schedule?: RecurrenceTrigger; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the stores to which materialization should happen */ + storeType?: MaterializationStoreType; } -export interface BlobReferenceForConsumptionDto { - /** - * Blob URI path for client to upload data. - * Example: https://blob.windows.core.net/Container/Path - */ - blobUri?: string; - /** Arm ID of the storage account to use */ - storageAccountArmId?: string; - /** Credential info to access storage account */ - credential?: PendingUploadCredentialDtoUnion; +/** 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 }; } -export interface PendingUploadCredentialDto { +/** Webhook base */ +export interface Webhook { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; + webhookType: "AzureDevOps"; + /** Send callback on a specified notification event */ + eventType?: string; } -/** 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; +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } -/** 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; +export interface RecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } -/** 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; +export interface TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence" | "Cron"; + /** + * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. + * Recommented format would be "2022-06-01T00:00:01" + * If not present, the schedule will run indefinitely + */ + endTime?: string; + /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; } -/** 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; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } -/** BlobReferenceSASRequest for getBlobReferenceSAS API */ -export interface GetBlobReferenceSASRequestDto { - /** Id of the asset to be accessed */ - assetId?: string; - /** Blob uri of the asset to be accessed */ - blobUri?: string; -} - -/** BlobReferenceSASResponse for getBlobReferenceSAS API */ -export interface GetBlobReferenceSASResponseDto { - /** Blob reference for consumption details */ - blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; +/** Request payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillRequest { + /** Specified the data availability status that you want to backfill */ + dataAvailabilityStatus?: DataAvailabilityStatus[]; + /** Specifies description */ + description?: string; + /** Specifies description */ + displayName?: string; + /** Specifies the backfill feature window to be materialized */ + featureWindow?: FeatureWindow; + /** Specify the jobId to retry the failed materialization */ + jobId?: string; + /** Specifies the properties */ + properties?: { [propertyName: string]: string | null }; + /** Specifies the compute resource settings */ + resource?: MaterializationComputeResource; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; } -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; +/** Specifies the feature window */ +export interface FeatureWindow { + /** Specifies the feature window end time */ + featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; } -/** DataReferenceCredential base class */ -export interface DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: - | "NoCredentials" - | "DockerCredentials" - | "ManagedIdentity" - | "SAS"; +/** Response payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillResponse { + /** List of jobs submitted as part of the backfill request. */ + jobIds?: string[]; } -/** A paginated list of 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. */ +/** A paginated list of FeaturestoreEntityContainer entities. */ +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; } -/** A paginated list of 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. */ +/** A paginated list of FeaturestoreEntityVersion entities. */ +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; } -/** Configuration settings for Docker build context */ -export interface BuildContext { - /** - * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. - * - */ - contextUri: string; - /** - * Path to the Dockerfile in the build context. - * - */ - dockerfilePath?: string; -} - -export interface InferenceContainerProperties { - /** The route to check the liveness of the inference server container. */ - livenessRoute?: Route; - /** The route to check the readiness of the inference server container. */ - readinessRoute?: Route; - /** The port to send the scoring requests to, within the inference server container. */ - scoringRoute?: Route; +/** DTO object representing index column */ +export interface IndexColumn { + /** Specifies the column name */ + columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } -export interface Route { - /** [Required] The path for the route. */ - path: string; - /** [Required] The port for the route. */ - port: number; +/** A paginated list of JobBase entities. */ +export interface JobBaseResourceArmPaginatedResult { + /** The link to the next page of JobBase objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type JobBase. */ + value?: JobBase[]; } -/** 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; +/** 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 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; +/** Job endpoint definition */ +export interface JobService { + /** Url for endpoint. */ + endpoint?: string; + /** + * Any error in the service. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errorMessage?: string; + /** Endpoint type. */ + jobServiceType?: string; + /** + * Nodes that user would like to start the service on. + * If Nodes is not set or set to null, the service will only be started on leader node. + */ + nodes?: NodesUnion; + /** Port for endpoint. */ + port?: number; + /** Additional properties to set on the endpoint. */ + properties?: { [propertyName: string]: string | null }; + /** + * Status of endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: string; } -export interface FlavorData { - /** Model flavor-specific data. */ - data?: { [propertyName: string]: string | null }; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } -/** A paginated list of BatchEndpoint entities. */ -export interface BatchEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchEndpoint. */ - value?: BatchEndpoint[]; - /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ +/** A paginated list of 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[]; } -/** Batch endpoint default values */ -export interface BatchEndpointDefaults { +export interface MarketplaceSubscriptionProperties { /** - * Name of the deployment that will be default for the endpoint. - * This deployment will end up getting 100% traffic when the endpoint scoring URL is invoked. + * Marketplace Plan associated with the Marketplace Subscription. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - deploymentName?: string; + 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; } -/** Inference Endpoint base definition */ -export interface EndpointPropertiesBase { - /** Description of the inference endpoint. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; +export interface MarketplacePlan { /** - * Endpoint URI. + * 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 scoringUri?: string; + readonly offerId?: string; /** - * Endpoint Swagger URI. + * 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 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; + readonly planId?: 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. + * 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. */ - keys?: EndpointAuthKeys; + readonly publisherId?: string; } -/** Keys for endpoint authentication. */ -export interface EndpointAuthKeys { - /** The primary key. */ - primaryKey?: string; - /** The secondary key. */ - secondaryKey?: string; +/** A paginated list of OnlineEndpoint entities. */ +export interface OnlineEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type OnlineEndpoint. */ + value?: OnlineEndpoint[]; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface PartialManagedServiceIdentity { - /** Managed service identity (system assigned and/or user assigned identities) */ - type?: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: Record }; +/** A paginated list of OnlineDeployment entities. */ +export interface OnlineDeploymentTrackedResourceArmPaginatedResult { + /** The link to the next page of OnlineDeployment objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type OnlineDeployment. */ + value?: OnlineDeployment[]; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResource { - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +export interface DataCollector { + /** + * [Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string. + * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. + */ + collections: { [propertyName: string]: Collection | null }; + /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ + requestLogging?: RequestLogging; + /** + * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. + * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. + * If it's day, all data will be collected in blob path /yyyy/MM/dd/. + * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. + */ + rollingRate?: RollingRateType; } -/** A paginated list of BatchDeployment entities. */ -export interface BatchDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchDeployment. */ - value?: BatchDeployment[]; - /** The link to the next page of BatchDeployment objects. If null, there are no additional pages. */ - nextLink?: string; +export interface Collection { + /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ + clientId?: string; + /** Enable or disable data collection. */ + dataCollectionMode?: DataCollectionMode; + /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ + dataId?: string; + /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; } -/** Properties relevant to different deployment types. */ -export interface BatchDeploymentConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - deploymentConfigurationType: "PipelineComponent"; +export interface RequestLogging { + /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ + captureHeaders?: string[]; } -/** 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. */ +/** 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; } -/** Base definition for asset references. */ -export interface AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "Id" | "DataPath" | "OutputPath"; -} - -export interface ResourceConfiguration { - /** Optional number of instances or nodes used by the compute target. */ - instanceCount?: number; - /** Optional type of VM used as supported by the compute target. */ - instanceType?: string; - /** Additional properties bag. */ - properties?: { [propertyName: string]: Record }; -} - -/** Base definition for endpoint deployment. */ -export interface EndpointDeploymentPropertiesBase { - /** Description of the endpoint deployment. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; - /** Code configuration for the endpoint deployment. */ - codeConfiguration?: CodeConfiguration; - /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ - environmentId?: string; - /** Environment variables configuration for the deployment. */ - environmentVariables?: { [propertyName: string]: string | null }; +/** 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; } -/** Configuration for a scoring code asset. */ -export interface CodeConfiguration { - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The script to execute on startup. eg. "score.py" */ - scoringScript: string; +/** Online deployment scaling configuration. */ +export interface OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default" | "TargetUtilization"; } -/** Strictly used in update requests. */ -export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { - /** Additional attributes of the entity. */ - properties?: PartialBatchDeployment; - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +/** Common SKU definition. */ +export interface PartialSku { + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; + /** The name of the SKU. Ex - P3. It is typically a letter+number code. */ + name?: string; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; } -/** Mutable batch inference settings per deployment. */ -export interface PartialBatchDeployment { - /** Description of the endpoint deployment. */ - description?: string; +export interface DeploymentLogsRequest { + /** The type of container to retrieve logs from. */ + containerType?: ContainerType; + /** The maximum number of lines to tail. */ + tail?: number; } -/** Publishing destination registry asset information */ -export interface DestinationAsset { - /** Destination registry name */ - registryName?: string; - /** Destination asset name */ - destinationName?: string; - /** Destination asset version */ - destinationVersion?: string; +export interface DeploymentLogs { + /** The retrieved online deployment logs. */ + content?: 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. */ +/** A paginated list of SkuResource entities. */ +export interface SkuResourceArmPaginatedResult { + /** The link to the next page of SkuResource objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type SkuResource. */ + value?: SkuResource[]; } -/** Base definition for datastore credentials. */ -export interface DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: - | "AccountKey" - | "Certificate" - | "None" - | "Sas" - | "ServicePrincipal"; +/** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ +export interface SkuResource { + /** Gets or sets the Sku Capacity. */ + capacity?: SkuCapacity; + /** + * The resource type name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resourceType?: string; + /** Gets or sets the Sku. */ + sku?: SkuSetting; } -/** Base definition for datastore secrets. */ -export interface DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; +/** SKU capacity information */ +export interface SkuCapacity { + /** Gets or sets the default capacity. */ + default?: number; + /** Gets or sets the maximum. */ + maximum?: number; + /** Gets or sets the minimum. */ + minimum?: number; + /** Gets or sets the type of the scale. */ + scaleType?: SkuScaleType; } -/** 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; +/** 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; } -/** 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; +export interface RegenerateEndpointKeysRequest { + /** [Required] Specification for which type of key to generate. Primary or Secondary. */ + keyType: KeyType; + /** The value the key is set to. */ + keyValue?: string; } -/** 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; +/** Service Token */ +export interface EndpointAuthToken { + /** Access token for endpoint authentication. */ + accessToken?: string; + /** Access token expiry time (UTC). */ + expiryTimeUtc?: number; + /** Refresh access token after time (UTC). */ + refreshAfterTimeUtc?: number; + /** Access token type. */ + tokenType?: string; } -/** DTO object representing specification */ -export interface FeaturesetSpecification { - /** Specifies the spec path */ - path?: string; +/** A paginated list of Schedule entities. */ +export interface ScheduleResourceArmPaginatedResult { + /** The link to the next page of Schedule objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; } -export interface MaterializationSettings { - /** Specifies the stores to which materialization should happen */ - storeType?: MaterializationStoreType; - /** Specifies the schedule details */ - schedule?: RecurrenceTrigger; - /** Specifies the notification details */ - notification?: NotificationSetting; - /** Specifies the compute resource settings */ - resource?: MaterializationComputeResource; - /** Specifies the spark compute settings */ - sparkConfiguration?: { [propertyName: string]: string | null }; +export interface ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; } -export interface RecurrenceSchedule { - /** [Required] List of hours for the schedule. */ - hours: number[]; - /** [Required] List of minutes for the schedule. */ - minutes: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; - /** List of month days for the schedule */ - monthDays?: number[]; +/** A paginated list of ServerlessEndpoint entities. */ +export interface ServerlessEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ServerlessEndpoint. */ + value?: ServerlessEndpoint[]; } -export interface TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence" | "Cron"; +export interface ServerlessEndpointProperties { + /** [Required] Specifies the authentication mode for the Serverless endpoint. */ + authMode: ServerlessInferenceEndpointAuthMode; + /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ + contentSafety?: ContentSafety; /** - * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. - * Recommented format would be "2022-06-01T00:00:01" - * If not present, the schedule will run indefinitely + * The current state of the ServerlessEndpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - endTime?: string; - /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ - startTime?: string; - /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 - */ - timeZone?: string; -} - -/** Configuration for notification. */ -export interface NotificationSetting { - /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ - emails?: string[]; - /** Send email notification to user on specified notification type */ - emailOn?: EmailNotificationEnableType[]; - /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ - webhooks?: { [propertyName: string]: WebhookUnion | null }; -} - -/** Webhook base */ -export interface Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; - /** Send callback on a specified notification event */ - eventType?: string; -} - -/** DTO object representing compute resource */ -export interface MaterializationComputeResource { - /** Specifies the instance type */ - instanceType?: string; -} - -/** Request payload for creating a backfill request for a given feature set version */ -export interface FeaturesetVersionBackfillRequest { - /** Specifies description */ - displayName?: string; - /** Specifies description */ - description?: string; - /** Specifies the backfill feature window to be materialized */ - featureWindow?: FeatureWindow; - /** Specified the data availability status that you want to backfill */ - dataAvailabilityStatus?: DataAvailabilityStatus[]; - /** Specify the jobId to retry the failed materialization */ - jobId?: string; - /** Specifies the tags */ - tags?: { [propertyName: string]: string | null }; - /** Specifies the compute resource settings */ - resource?: MaterializationComputeResource; - /** Specifies the spark compute settings */ - sparkConfiguration?: { [propertyName: string]: string | null }; - /** Specifies the properties */ - properties?: { [propertyName: string]: string | null }; -} - -/** Specifies the feature window */ -export interface FeatureWindow { - /** Specifies the feature window start time */ - featureWindowStart?: Date; - /** Specifies the feature window end time */ - featureWindowEnd?: Date; -} - -/** Response payload for creating a backfill request for a given feature set version */ -export interface FeaturesetVersionBackfillResponse { - /** List of jobs submitted as part of the backfill request. */ - jobIds?: string[]; -} - -/** A paginated list of FeaturestoreEntityContainer entities. */ -export interface FeaturestoreEntityContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityContainer. */ - value?: FeaturestoreEntityContainer[]; - /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ - nextLink?: string; -} - -/** A paginated list of FeaturestoreEntityVersion entities. */ -export interface FeaturestoreEntityVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityVersion. */ - value?: FeaturestoreEntityVersion[]; - /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ - nextLink?: string; -} - -/** DTO object representing index column */ -export interface IndexColumn { - /** Specifies the data type */ - dataType?: FeatureDataType; - /** Specifies the column name */ - columnName?: string; -} - -/** 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; -} - -/** Job endpoint definition */ -export interface JobService { - /** Endpoint type. */ - jobServiceType?: string; - /** Port for endpoint. */ - port?: number; - /** Url for endpoint. */ - endpoint?: string; + readonly endpointState?: ServerlessEndpointState; /** - * Status of 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 status?: string; + readonly inferenceEndpoint?: ServerlessInferenceEndpoint; /** - * Any error in the service. + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errorMessage?: string; - /** Additional properties to set on the endpoint. */ - properties?: { [propertyName: string]: string | null }; + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; /** - * 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. + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - nodes?: NodesUnion; + readonly provisioningState?: EndpointProvisioningState; } -/** Abstract Nodes definition */ -export interface Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; +export interface ContentSafety { + /** [Required] Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } -/** Base definition for identity configuration. */ -export interface IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken" | "Managed" | "UserIdentity"; +export interface ServerlessInferenceEndpoint { + /** + * Specifies any required headers to target this serverless endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly headers?: { [propertyName: string]: string | null }; + /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ + uri: string; } -/** A paginated list of MarketplaceSubscription entities. */ -export interface MarketplaceSubscriptionResourceArmPaginatedResult { - /** An array of objects of type MarketplaceSubscription. */ - value?: MarketplaceSubscription[]; - /** The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages. */ +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; +} + +/** A paginated list of Registry entities. */ +export interface RegistryTrackedResourceArmPaginatedResult { + /** The link to the next page of Registry objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Registry. */ + value?: Registry[]; } -export interface MarketplaceSubscriptionProperties { - /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ - modelId: string; - /** - * Marketplace Plan associated with the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly marketplacePlan?: MarketplacePlan; - /** - * Current status of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; +/** ARM ResourceId of a resource */ +export interface ArmResourceId { /** - * Provisioning State of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" + * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" */ - readonly provisioningState?: MarketplaceSubscriptionProvisioningState; + resourceId?: string; } -export interface MarketplacePlan { +/** 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 { /** - * The identifying name of the Publisher of the Marketplace Plan. + * Identity principal Id * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publisherId?: string; + readonly principalId?: string; +} + +/** Private endpoint connection definition. */ +export interface RegistryPrivateEndpointConnection { /** - * The identifying name of the Offer of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. + * This is the private endpoint connection name created on SRP + * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} */ - readonly offerId?: string; + id?: string; + /** Same as workspace location. */ + location?: string; + /** The group ids */ + groupIds?: string[]; + /** The PE network resource that is linked to this PE connection. */ + privateEndpoint?: PrivateEndpointResource; + /** The connection state. */ + registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; + /** One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null. */ + provisioningState?: string; +} + +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { /** - * The identifying name of the Plan of the Marketplace Plan. + * The ARM identifier for Private Endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly planId?: string; + readonly id?: string; } -/** A paginated list of OnlineEndpoint entities. */ -export interface OnlineEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineEndpoint. */ - value?: OnlineEndpoint[]; - /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ - nextLink?: string; +/** The connection state. */ +export interface RegistryPrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** 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; +/** Details for each region the registry is in */ +export interface RegistryRegionArmDetails { + /** List of ACR accounts */ + acrDetails?: AcrDetails[]; + /** The location where the registry exists */ + location?: string; + /** List of storage accounts */ + storageAccountDetails?: StorageAccountDetails[]; } -/** Online deployment scaling configuration. */ -export interface OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default" | "TargetUtilization"; +/** Details of ACR account to be used for the Registry */ +export interface AcrDetails { + /** Details of system created ACR account to be used for the Registry */ + systemCreatedAcrAccount?: SystemCreatedAcrAccount; } -/** 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; +export interface SystemCreatedAcrAccount { + /** Name of the ACR account */ + acrAccountName?: string; + /** SKU of the ACR account */ + acrAccountSku?: string; + /** This is populated once the ACR account is created. */ + armResourceId?: ArmResourceId; } -/** 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; +/** Details of storage account to be used for the Registry */ +export interface StorageAccountDetails { + /** Details of system created storage account to be used for the registry */ + systemCreatedStorageAccount?: SystemCreatedStorageAccount; } -export interface DataCollector { - /** - * [Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string. - * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. - */ - collections: { [propertyName: string]: Collection | null }; +export interface SystemCreatedStorageAccount { + /** Public blob access allowed */ + allowBlobPublicAccess?: boolean; + /** This is populated once the storage account is created. */ + armResourceId?: ArmResourceId; + /** HNS enabled for storage account */ + storageAccountHnsEnabled?: boolean; + /** Name of the storage account */ + storageAccountName?: string; /** - * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. - * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. - * If it's day, all data will be collected in blob path /yyyy/MM/dd/. - * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. + * Allowed values: + * "Standard_LRS", + * "Standard_GRS", + * "Standard_RAGRS", + * "Standard_ZRS", + * "Standard_GZRS", + * "Standard_RAGZRS", + * "Premium_LRS", + * "Premium_ZRS" */ - rollingRate?: RollingRateType; - /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ - requestLogging?: RequestLogging; -} - -export interface Collection { - /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ - samplingRate?: number; - /** Enable or disable data collection. */ - dataCollectionMode?: DataCollectionMode; - /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ - dataId?: string; - /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ - clientId?: string; -} - -export interface RequestLogging { - /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ - captureHeaders?: string[]; -} - -/** Common SKU definition. */ -export interface PartialSku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code. */ - name?: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -export interface DeploymentLogsRequest { - /** The type of container to retrieve logs from. */ - containerType?: ContainerType; - /** The maximum number of lines to tail. */ - tail?: number; -} - -export interface DeploymentLogs { - /** The retrieved online deployment logs. */ - content?: string; + storageAccountType?: string; } -/** A paginated list of SkuResource entities. */ -export interface SkuResourceArmPaginatedResult { - /** An array of objects of type SkuResource. */ - value?: SkuResource[]; - /** The link to the next page of SkuResource objects. If null, there are no additional pages. */ - nextLink?: string; +/** Strictly used in update requests. */ +export interface PartialRegistryPartialTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: RegistryPartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } -/** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ -export interface SkuResource { +/** The List Aml user feature operation response. */ +export interface ListAmlUserFeatureResult { /** - * The resource type name. + * The list of AML user facing features. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resourceType?: string; - /** Gets or sets the Sku. */ - sku?: SkuSetting; - /** Gets or sets the Sku Capacity. */ - capacity?: SkuCapacity; -} - -/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ -export interface SkuSetting { - /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; -} - -/** SKU capacity information */ -export interface SkuCapacity { - /** Gets or sets the minimum. */ - minimum?: number; - /** Gets or sets the maximum. */ - maximum?: number; - /** Gets or sets the default capacity. */ - default?: number; - /** Gets or sets the type of the scale. */ - scaleType?: SkuScaleType; -} - -export interface RegenerateEndpointKeysRequest { - /** [Required] Specification for which type of key to generate. Primary or Secondary. */ - keyType: KeyType; - /** The value the key is set to. */ - keyValue?: string; -} - -/** Service Token */ -export interface EndpointAuthToken { - /** Access token for endpoint authentication. */ - accessToken?: string; - /** Access token type. */ - tokenType?: string; - /** Access token expiry time (UTC). */ - expiryTimeUtc?: number; - /** Refresh access token after time (UTC). */ - refreshAfterTimeUtc?: number; -} - -/** A paginated list of Schedule entities. */ -export interface ScheduleResourceArmPaginatedResult { - /** An array of objects of type Schedule. */ - value?: Schedule[]; - /** The link to the next page of Schedule objects. If null, there are no additional pages. */ - nextLink?: string; + readonly value?: AmlUserFeature[]; + /** + * The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -export interface ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; +/** Features enabled for a workspace */ +export interface AmlUserFeature { + /** Specifies the feature ID */ + id?: string; + /** Specifies the feature name */ + displayName?: string; + /** Describes the feature for user experience */ + description?: string; } -/** 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; +/** 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 { + /** + * List of operations supported by the resource provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -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; +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * The inference uri to target when making requests against the serverless endpoint + * 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 inferenceEndpoint?: ServerlessInferenceEndpoint; + readonly name?: string; /** - * Provisioning state for the endpoint. + * 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 provisioningState?: EndpointProvisioningState; + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; /** - * The current state of the ServerlessEndpoint. + * 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 endpointState?: ServerlessEndpointState; + readonly origin?: Origin; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * 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 marketplaceSubscriptionId?: string; - /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ - contentSafety?: ContentSafety; -} - -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; + readonly actionType?: ActionType; } -export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; +/** Localized display information for this particular operation. */ +export interface OperationDisplay { /** - * Specifies any required headers to target this serverless endpoint. + * 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 headers?: { [propertyName: string]: string | null }; -} - -export interface ContentSafety { - /** [Required] Specifies the status of content safety. */ - contentSafetyStatus: ContentSafetyStatus; + readonly provider?: string; + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; } -/** A paginated list of Registry entities. */ -export interface RegistryTrackedResourceArmPaginatedResult { - /** The link to the next page of Registry objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type Registry. */ - value?: Registry[]; +export interface EncryptionProperty { + /** Indicates whether or not the encryption is enabled for the workspace. */ + status: EncryptionStatus; + /** The identity that will be used to access the key vault for encryption at rest. */ + identity?: IdentityForCmk; + /** Customer Key vault properties. */ + keyVaultProperties: EncryptionKeyVaultProperties; } -/** ARM ResourceId of a resource */ -export interface ArmResourceId { - /** - * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" - * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" - */ - resourceId?: string; +/** Identity that will be used to access key vault for encryption at rest */ +export interface IdentityForCmk { + /** The ArmId of the user assigned identity that will be used to access the customer managed key vault */ + userAssignedIdentity?: string; } -/** Private endpoint connection definition. */ -export interface RegistryPrivateEndpointConnection { - /** - * This is the private endpoint connection name created on SRP - * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/registryPrivateEndpointConnections/{peConnectionName} - */ - id?: string; - /** Same as workspace location. */ - location?: string; - /** The group ids */ - groupIds?: string[]; - /** The PE network resource that is linked to this PE connection. */ - privateEndpoint?: PrivateEndpointResource; - /** The connection state. */ - registryPrivateLinkServiceConnectionState?: RegistryPrivateLinkServiceConnectionState; - /** One of null, "Succeeded", "Provisioning", "Failed". While not approved, it's null. */ - provisioningState?: string; +export interface EncryptionKeyVaultProperties { + /** The ArmId of the keyVault where the customer owned encryption key is present. */ + keyVaultArmId: string; + /** Key vault uri to access the encryption key. */ + keyIdentifier: string; + /** For future use - The client id of the identity which will be used to access key vault. */ + identityClientId?: string; } -/** The connection state. */ -export interface RegistryPrivateLinkServiceConnectionState { - /** Some RP chose "None". Other RPs use this for region expansion. */ - actionsRequired?: string; - /** User-defined message that, per NRP doc, may be used for approval-related message. */ +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ + status?: PrivateEndpointServiceConnectionStatus; + /** The reason for approval/rejection of the connection. */ description?: string; - /** Connection status of the service consumer with the service provider */ - status?: EndpointServiceConnectionStatus; -} - -/** Details for each region the registry is in */ -export interface RegistryRegionArmDetails { - /** List of ACR accounts */ - acrDetails?: AcrDetails[]; - /** The location where the registry exists */ - location?: string; - /** List of storage accounts */ - storageAccountDetails?: StorageAccountDetails[]; + /** A message indicating if changes on the service provider require any updates on the consumer. */ + actionsRequired?: string; } -/** Details of ACR account to be used for the Registry */ -export interface AcrDetails { - /** Details of system created ACR account to be used for the Registry */ - systemCreatedAcrAccount?: SystemCreatedAcrAccount; - /** Details of user created ACR account to be used for the Registry */ - userCreatedAcrAccount?: UserCreatedAcrAccount; +export interface ServerlessComputeSettings { + /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ + serverlessComputeCustomSubnet?: string; + /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ + serverlessComputeNoPublicIP?: boolean; } -export interface SystemCreatedAcrAccount { - /** Name of the ACR account */ - acrAccountName?: string; - /** SKU of the ACR account */ - acrAccountSku?: string; - /** This is populated once the ACR account is created. */ - armResourceId?: ArmResourceId; +export interface 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 UserCreatedAcrAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; +export interface NotebookResourceInfo { + fqdn?: string; + /** the data plane resourceId that used to initialize notebook component */ + resourceId?: string; + /** The error that occurs when preparing notebook. */ + notebookPreparationError?: NotebookPreparationError; } -/** Details of storage account to be used for the Registry */ -export interface StorageAccountDetails { - /** Details of system created storage account to be used for the registry */ - systemCreatedStorageAccount?: SystemCreatedStorageAccount; - /** Details of user created storage account to be used for the registry */ - userCreatedStorageAccount?: UserCreatedStorageAccount; +export interface NotebookPreparationError { + errorMessage?: string; + statusCode?: number; } -export interface SystemCreatedStorageAccount { - /** Public blob access allowed */ - allowBlobPublicAccess?: boolean; - /** This is populated once the storage account is created. */ - armResourceId?: ArmResourceId; - /** HNS enabled for storage account */ - storageAccountHnsEnabled?: boolean; - /** Name of the storage account */ - storageAccountName?: string; - /** - * Allowed values: - * "Standard_LRS", - * "Standard_GRS", - * "Standard_RAGRS", - * "Standard_ZRS", - * "Standard_GZRS", - * "Standard_RAGZRS", - * "Premium_LRS", - * "Premium_ZRS" - */ - storageAccountType?: string; +export interface ServiceManagedResourcesSettings { + /** The settings for the service managed cosmosdb account. */ + cosmosDb?: CosmosDbSettings; } -export interface UserCreatedStorageAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; +export interface CosmosDbSettings { + /** The throughput of the collections in cosmosdb database */ + collectionsThroughput?: number; } -/** Strictly used in update requests. */ -export interface PartialRegistryPartialTrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: RegistryPartialManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; - /** Resource tags. */ - tags?: { [propertyName: string]: string | null }; +/** Managed Network settings for a machine learning workspace. */ +export interface ManagedNetworkSettings { + /** Isolation mode for the managed network of a machine learning workspace. */ + isolationMode?: IsolationMode; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly networkId?: string; + /** Dictionary of */ + outboundRules?: { [propertyName: string]: OutboundRuleUnion }; + /** Status of the Provisioning for the managed network of a machine learning workspace. */ + status?: ManagedNetworkProvisionStatus; + /** Firewall Sku used for FQDN Rules */ + firewallSku?: FirewallSku; + /** The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled. */ + managedNetworkKind?: ManagedNetworkKind; + /** Public IP address assigned to the Azure Firewall. */ + firewallPublicIpAddress?: string; } -/** The List Aml user feature operation response. */ -export interface ListAmlUserFeatureResult { - /** - * The list of AML user facing features. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: AmlUserFeature[]; +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; /** - * The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information. + * Error information about an outbound rule of a machine learning workspace if RuleStatus is failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; + readonly errorInformation?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly parentRuleNames?: string[]; } -/** Features enabled for a workspace */ -export interface AmlUserFeature { - /** Specifies the feature ID */ - id?: string; - /** Specifies the feature name */ - displayName?: string; - /** Describes the feature for user experience */ - description?: string; +/** 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; } -/** 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; +/** Settings for feature store type workspace. */ +export interface FeatureStoreSettings { + /** Compute runtime config for feature store type workspace. */ + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; } -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; +/** Compute runtime config for feature store type workspace. */ +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; } -/** AKS properties */ -export interface AKSSchemaProperties { - /** Cluster full qualified domain name */ - clusterFqdn?: string; - /** - * System services - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly systemServices?: SystemService[]; - /** Number of agents */ - agentCount?: number; - /** Agent virtual machine size */ - agentVmSize?: string; - /** Intended usage of the cluster */ - clusterPurpose?: ClusterPurpose; - /** SSL configuration */ - sslConfiguration?: SslConfiguration; - /** AKS networking configuration for vnet */ - aksNetworkingConfiguration?: AksNetworkingConfiguration; - /** Load Balancer Type */ - loadBalancerType?: LoadBalancerType; - /** Load Balancer Subnet */ - loadBalancerSubnet?: string; +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: 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; +/** 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; } -/** 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 EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -/** 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; +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: string; } -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; +/** The result of a request to list machine learning workspaces. */ +export interface WorkspaceListResult { + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: Workspace[]; + /** The URI that can be used to request the next list of machine learning workspaces. */ + nextLink?: string; } -/** Kubernetes 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 }; +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + /** Value of Parameters */ + value?: DiagnoseRequestProperties; } -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; +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 }; } -/** Resource requests/limits for this instance type */ -export interface InstanceTypeSchemaResources { - /** Resource requests for this instance type */ - requests?: { [propertyName: string]: string }; - /** Resource limits for this instance type */ - limits?: { [propertyName: string]: string }; +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; } -/** AML Compute properties */ -export interface AmlComputeProperties { - /** Compute OS Type */ - osType?: OsType; - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual Machine priority */ - vmPriority?: VmPriority; - /** Virtual Machine image for AML Compute - windows only */ - virtualMachineImage?: VirtualMachineImage; - /** Network is isolated or not */ - isolatedNetwork?: boolean; - /** Scale settings for AML Compute */ - scaleSettings?: ScaleSettings; - /** Credentials for an administrator user account that will be created on each compute node. */ - userAccountCredentials?: UserAccountCredentials; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ - remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; - /** - * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly allocationState?: AllocationState; - /** - * The time at which the compute entered its current allocation state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly allocationStateTransitionTime?: Date; - /** - * Collection of errors encountered by various compute nodes during node setup. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: ErrorResponse[]; +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; +} + +/** Result of Diagnose */ +export interface DiagnoseResult { /** - * The number of compute nodes currently assigned to the compute. + * Code for workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly code?: string; /** - * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * Level of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly level?: DiagnoseResultLevel; /** - * Counts of various node states on the compute. + * Message of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeStateCounts?: NodeStateCounts; - /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ - enableNodePublicIp?: boolean; - /** A property bag containing additional properties. */ - propertyBag?: Record; + readonly message?: string; } -/** Virtual Machine image for Windows AML Compute */ -export interface VirtualMachineImage { - /** Virtual Machine image path */ - id: 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; } -/** 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 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[]; } -/** Counts of various compute node states on the amlCompute. */ -export interface NodeStateCounts { - /** - * Number of compute nodes in idle state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly idleNodeCount?: number; - /** - * Number of compute nodes which are running jobs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly runningNodeCount?: number; - /** - * Number of compute nodes which are being prepared. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly preparingNodeCount?: number; - /** - * Number of compute nodes which are in unusable state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unusableNodeCount?: number; - /** - * Number of compute nodes which are leaving the amlCompute. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly leavingNodeCount?: number; - /** - * Number of compute nodes which are in preempted state. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly preemptedNodeCount?: number; +export interface 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; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +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; } -/** Compute Instance properties */ -export interface ComputeInstanceProperties { - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role. */ - applicationSharingPolicy?: ApplicationSharingPolicy; - /** Specifies policy and settings for SSH access. */ - sshSettings?: ComputeInstanceSshSettings; - /** List of Custom Services added to the compute. */ - customServices?: CustomService[]; - /** - * Returns metadata about the operating system image for this compute instance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osImageMetadata?: ImageMetadata; - /** - * Describes all connectivity endpoints available for this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; - /** - * Describes available applications and their endpoints on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly applications?: ComputeInstanceApplication[]; - /** - * Describes information on user who created this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: ComputeInstanceCreatedBy; - /** - * Collection of errors encountered on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: ErrorResponse[]; - /** - * The current state of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly state?: ComputeInstanceState; - /** The Compute Instance Authorization type. Available values are personal (default). */ - computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; - /** Settings for a personal compute instance. */ - personalComputeInstanceSettings?: PersonalComputeInstanceSettings; - /** Details of customized scripts to execute for setting up the cluster. */ - setupScripts?: SetupScripts; - /** - * The last operation on ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastOperation?: ComputeInstanceLastOperation; - /** The list of schedules to be applied on the computes. */ - schedules?: ComputeSchedules; - /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ - enableNodePublicIp?: boolean; - /** - * Describes informations of containers on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly containers?: ComputeInstanceContainer[]; - /** - * Describes informations of dataDisks on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataDisks?: ComputeInstanceDataDisk[]; - /** - * Describes informations of dataMounts on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataMounts?: ComputeInstanceDataMount[]; - /** - * ComputeInstance version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly versions?: ComputeInstanceVersion; +export interface 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; } -/** 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; +/** List of private endpoint connection associated with the specified workspace */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; } -/** Specifies the custom service configuration */ -export interface CustomService { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Name of the Custom Service */ - name?: string; - /** Describes the Image Specifications */ - image?: Image; - /** Environment Variable for the container */ - environmentVariables?: { [propertyName: string]: EnvironmentVariable }; - /** Describes the docker settings for the image */ - docker?: Docker; - /** Configuring the endpoints for the container */ - endpoints?: Endpoint[]; - /** Configuring the volumes for the container */ - volumes?: VolumeDefinition[]; +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + /** Array of private link resources */ + value?: PrivateLinkResource[]; } -/** Describes the Image Specifications */ -export interface Image { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images */ - type?: ImageType; - /** Image reference */ - reference?: string; +export interface ListStorageAccountKeysResult { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly userStorageKey?: 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 */ +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; } -/** 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; +/** The properties that the machine learning workspace connection will be updated with. */ +export interface WorkspaceConnectionUpdateParameter { + /** The properties that the machine learning workspace connection will be updated with. */ + properties?: WorkspaceConnectionPropertiesV2Union; } -/** Describes the 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 WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { + value?: WorkspaceConnectionPropertiesV2BasicResource[]; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly nextLink?: 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; +export interface ExternalFqdnResponse { + value?: FqdnEndpoints[]; } -/** Describes the bind options for the container */ -export interface BindOptions { - /** Type of Bind Option */ - propagation?: string; - /** Indicate whether to create host path. */ - createHostPath?: boolean; - /** Mention the selinux options. */ - selinux?: string; +export interface FqdnEndpoints { + properties?: FqdnEndpointsProperties; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +export interface FqdnEndpointsProperties { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +export interface FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; } -/** 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 FqdnEndpointDetail { + port?: number; } -/** Defines all connectivity endpoints and properties for an ComputeInstance. */ -export interface ComputeInstanceConnectivityEndpoints { - /** - * Public IP Address of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publicIpAddress?: string; +/** 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[]; +} + +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; +} + +/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ +export interface ResourceId { + /** The ID of the resource */ + id: string; +} + +export interface AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; +} + +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * System services * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; -} - -/** Defines an Aml Instance application and its connectivity endpoint URI. */ -export interface ComputeInstanceApplication { - /** Name of the ComputeInstance application. */ - displayName?: string; - /** Application' endpoint URI. */ - endpointUri?: string; + readonly systemServices?: SystemService[]; + /** Number of agents */ + agentCount?: number; + /** Agent virtual machine size */ + agentVmSize?: string; + /** Intended usage of the cluster */ + clusterPurpose?: ClusterPurpose; + /** SSL configuration */ + sslConfiguration?: SslConfiguration; + /** AKS networking configuration for vnet */ + aksNetworkingConfiguration?: AksNetworkingConfiguration; + /** Load Balancer Type */ + loadBalancerType?: LoadBalancerType; + /** Load Balancer Subnet */ + loadBalancerSubnet?: string; } -/** Describes information on user who created this ComputeInstance. */ -export interface ComputeInstanceCreatedBy { +/** A system service running on a compute. */ +export interface SystemService { /** - * Name of the user. + * The type of this system service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userName?: string; + readonly systemServiceType?: string; /** - * Uniquely identifies user' Azure Active Directory organization. + * Public IP address * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userOrgId?: string; + readonly publicIpAddress?: string; /** - * Uniquely identifies the user within his/her organization. + * The version for this type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userId?: string; -} - -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; + readonly version?: string; } -/** A user that can be assigned to a compute instance. */ -export interface AssignedUser { - /** User’s AAD Object Id. */ - objectId: string; - /** User’s AAD Tenant Id. */ - tenantId: string; +/** The ssl configuration for scoring */ +export interface SslConfiguration { + /** Enable or disable ssl for scoring */ + status?: SslConfigStatus; + /** Cert data */ + cert?: string; + /** Key data */ + key?: string; + /** CNAME of the cert */ + cname?: string; + /** Leaf domain label of public endpoint */ + leafDomainLabel?: string; + /** Indicates whether to overwrite existing domain label. */ + overwriteExistingDomain?: boolean; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +/** Advance configuration for AKS networking */ +export interface AksNetworkingConfiguration { + /** Virtual network subnet resource ID the compute nodes belong to */ + subnetId?: string; + /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ + serviceCidr?: string; + /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ + dnsServiceIP?: string; + /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ + dockerBridgeCidr?: string; } -/** Customized setup scripts */ -export interface ScriptsToExecute { - /** Script that's run every time the machine starts. */ - startupScript?: ScriptReference; - /** Script that's run only once during provision of the compute. */ - creationScript?: ScriptReference; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -/** Script reference */ -export interface ScriptReference { - /** The storage source of the script: workspace. */ - scriptSource?: string; - /** The location of scripts in the mounted volume. */ - scriptData?: string; - /** Optional command line arguments passed to the script to run. */ - scriptArguments?: string; - /** Optional time period passed to timeout command. */ - timeout?: string; +/** Kubernetes properties */ +export interface KubernetesProperties { + /** Relay connection string. */ + relayConnectionString?: string; + /** ServiceBus connection string. */ + serviceBusConnectionString?: string; + /** Extension principal-id. */ + extensionPrincipalId?: string; + /** Extension instance release train. */ + extensionInstanceReleaseTrain?: string; + /** VC name. */ + vcName?: string; + /** Compute namespace */ + namespace?: string; + /** Default instance type */ + defaultInstanceType?: string; + /** Instance Type Schema */ + instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; } -/** The last operation on ComputeInstance. */ -export interface ComputeInstanceLastOperation { - /** Name of the last operation. */ - operationName?: OperationName; - /** Time of the last operation. */ - operationTime?: Date; - /** Operation status. */ - operationStatus?: OperationStatus; - /** Trigger of operation. */ - operationTrigger?: OperationTrigger; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** The list of schedules to be applied on the computes */ -export interface ComputeSchedules { - /** The list of compute start stop schedules to be applied. */ - computeStartStop?: ComputeStartStopSchedule[]; +/** Resource requests/limits for this instance type */ +export interface InstanceTypeSchemaResources { + /** Resource requests for this instance type */ + requests?: { [propertyName: string]: string }; + /** Resource limits for this instance type */ + limits?: { [propertyName: string]: string }; } -/** Compute start stop schedule properties */ -export interface ComputeStartStopSchedule { +/** AML Compute properties */ +export interface AmlComputeProperties { + /** Compute OS Type */ + osType?: OsType; + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual Machine priority */ + vmPriority?: VmPriority; + /** Virtual Machine image for AML Compute - windows only */ + virtualMachineImage?: VirtualMachineImage; + /** Network is isolated or not */ + isolatedNetwork?: boolean; + /** Scale settings for AML Compute */ + scaleSettings?: ScaleSettings; + /** Credentials for an administrator user account that will be created on each compute node. */ + userAccountCredentials?: UserAccountCredentials; + /** Virtual network subnet resource ID the compute nodes belong to. */ + subnet?: ResourceId; + /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ + remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; /** - * A system assigned id for the schedule. + * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly allocationState?: AllocationState; /** - * The current deployment state of schedule. + * The time at which the compute entered its current allocation state. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningStatus?: ProvisioningStatus; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; - /** [Required] The compute power action. */ - action?: ComputePowerAction; - /** [Required] The schedule trigger type. */ - triggerType?: ComputeTriggerType; - /** Required if triggerType is Recurrence. */ - recurrence?: Recurrence; - /** Required if triggerType is Cron. */ - cron?: Cron; - /** [Deprecated] Not used any more. */ - schedule?: ScheduleBase; -} - -/** The workflow trigger recurrence for ComputeStartStop schedule type. */ -export interface Recurrence { - /** [Required] The frequency to trigger schedule. */ - frequency?: ComputeRecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval?: number; - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; + readonly allocationStateTransitionTime?: Date; /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * Collection of errors encountered by various compute nodes during node setup. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; - /** [Required] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; + readonly errors?: ErrorResponse[]; + /** + * The number of compute nodes currently assigned to the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly currentNodeCount?: number; + /** + * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly targetNodeCount?: number; + /** + * Counts of various node states on the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nodeStateCounts?: NodeStateCounts; + /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ + enableNodePublicIp?: boolean; + /** A property bag containing additional properties. */ + propertyBag?: Record; } -export interface ComputeRecurrenceSchedule { - /** [Required] List of hours for the schedule. */ - hours: number[]; - /** [Required] List of minutes for the schedule. */ - minutes: number[]; - /** List of month days for the schedule */ - monthDays?: number[]; - /** List of days for the schedule. */ - weekDays?: ComputeWeekDay[]; +/** Virtual Machine image for Windows AML Compute */ +export interface VirtualMachineImage { + /** Virtual Machine image path */ + id: string; } -/** The workflow trigger cron for ComputeStartStop schedule type. */ -export interface Cron { - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; +/** Settings for user account that gets created on each on the nodes of a compute. */ +export interface UserAccountCredentials { + /** Name of the administrator user account which can be used to SSH to nodes. */ + adminUserName: string; + /** SSH public key of the administrator user account. */ + adminUserSshPublicKey?: string; + /** Password of the administrator user account. */ + adminUserPassword?: string; +} + +/** Counts of various compute node states on the amlCompute. */ +export interface NodeStateCounts { /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * Number of compute nodes in idle state. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; + readonly idleNodeCount?: number; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * Number of compute nodes which are running jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - expression?: string; + readonly runningNodeCount?: number; + /** + * Number of compute nodes which are being prepared. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preparingNodeCount?: number; + /** + * Number of compute nodes which are in unusable state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly unusableNodeCount?: number; + /** + * Number of compute nodes which are leaving the amlCompute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly leavingNodeCount?: number; + /** + * Number of compute nodes which are in preempted state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preemptedNodeCount?: number; } -export interface ScheduleBase { - /** A system assigned id for the schedule. */ - id?: string; - /** The current deployment state of schedule. */ - provisioningStatus?: ScheduleProvisioningState; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; +/** Properties(top level) of AmlCompute */ +export interface AmlComputeSchema { + /** Properties of AmlCompute */ + properties?: AmlComputeProperties; } -/** Defines an Aml Instance container. */ -export interface ComputeInstanceContainer { - /** Name of the ComputeInstance container. */ - name?: string; - /** Auto save settings. */ - autosave?: Autosave; - /** Information of GPU. */ - gpu?: string; - /** network of this container. */ - network?: Network; - /** Environment information of this container. */ - environment?: ComputeInstanceEnvironmentInfo; +/** Compute Instance properties */ +export interface ComputeInstanceProperties { + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual network subnet resource ID the compute nodes belong to. */ + subnet?: ResourceId; + /** Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role. */ + applicationSharingPolicy?: ApplicationSharingPolicy; + /** Specifies policy and settings for SSH access. */ + sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; /** - * services of this containers. + * Returns metadata about the operating system image for this compute instance. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly services?: Record[]; + readonly osImageMetadata?: ImageMetadata; + /** + * Describes all connectivity endpoints available for this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; + /** + * Describes available applications and their endpoints on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly applications?: ComputeInstanceApplication[]; + /** + * Describes information on user who created this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ComputeInstanceCreatedBy; + /** + * Collection of errors encountered on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The current state of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: ComputeInstanceState; + /** The Compute Instance Authorization type. Available values are personal (default). */ + computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; + /** Settings for a personal compute instance. */ + personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + /** Details of customized scripts to execute for setting up the cluster. */ + setupScripts?: SetupScripts; + /** + * The last operation on ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastOperation?: ComputeInstanceLastOperation; + /** The list of schedules to be applied on the computes. */ + schedules?: ComputeSchedules; + /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ + enableNodePublicIp?: boolean; + /** + * Describes informations of containers on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containers?: ComputeInstanceContainer[]; + /** + * Describes informations of dataDisks on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataDisks?: ComputeInstanceDataDisk[]; + /** + * Describes informations of dataMounts on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataMounts?: ComputeInstanceDataMount[]; + /** + * ComputeInstance version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly versions?: ComputeInstanceVersion; } -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ +/** Specifies policy and settings for SSH access. */ +export interface ComputeInstanceSshSettings { + /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable. */ + sshPublicAccess?: SshPublicAccess; + /** + * Describes the admin user name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly adminUserName?: string; + /** + * Describes the port for connecting through SSH. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sshPort?: number; + /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ + adminPublicKey?: string; +} + +/** Specifies the custom service configuration */ +export interface CustomService { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Custom Service */ name?: string; - /** version of environment. */ - version?: string; + /** Describes the Image Specifications */ + image?: Image; + /** Environment Variable for the container */ + environmentVariables?: { [propertyName: string]: EnvironmentVariable }; + /** Describes the docker settings for the image */ + docker?: Docker; + /** Configuring the endpoints for the container */ + endpoints?: Endpoint[]; + /** Configuring the volumes for the container */ + volumes?: VolumeDefinition[]; } -/** Defines an Aml Instance DataDisk. */ -export interface ComputeInstanceDataDisk { - /** Caching type of Data Disk. */ - caching?: Caching; - /** The initial disk size in gigabytes. */ - diskSizeGB?: number; - /** The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. */ - lun?: number; - /** type of this storage account. */ - storageAccountType?: StorageAccountType; +/** Describes the Image Specifications */ +export interface Image { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images */ + type?: ImageType; + /** Image reference */ + reference?: string; } -/** Defines an Aml Instance DataMount. */ -export interface ComputeInstanceDataMount { - /** Source of the ComputeInstance data mount. */ - source?: string; - /** Data source type. */ - sourceType?: SourceType; - /** name of the ComputeInstance data mount. */ - mountName?: string; - /** Mount Action. */ - mountAction?: MountAction; - /** who this data mount created by. */ - createdBy?: string; - /** Path of this data mount. */ - mountPath?: string; - /** Mount state. */ - mountState?: MountState; - /** The time when the disk mounted. */ - mountedOn?: Date; - /** Error of this data mount. */ - error?: string; -} - -/** Version of computeInstance. */ -export interface ComputeInstanceVersion { - /** Runtime of compute instance. */ - runtime?: string; -} - -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +/** Environment Variables for the container */ +export interface EnvironmentVariable { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the Environment Variable. Possible values are: local - For local variable */ + type?: EnvironmentVariableType; + /** Value of the Environment variable */ + value?: string; } -export interface VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +/** 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 VirtualMachineSchemaProperties { - /** Virtual Machine size */ - virtualMachineSize?: string; - /** Port open for ssh connections. */ - sshPort?: number; - /** Notebook server port open for ssh connections. */ - notebookServerPort?: number; - /** Public IP address of the virtual machine. */ - address?: string; - /** Admin credentials for virtual machine */ - administratorAccount?: VirtualMachineSshCredentials; - /** Indicates whether this compute will be used for running notebooks. */ - isNotebookInstanceCompute?: boolean; +/** Describes the 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; } -/** Admin credentials for virtual machine */ -export interface VirtualMachineSshCredentials { - /** Username of admin account */ - username?: string; - /** Password of admin account */ - password?: string; - /** Public key data */ - publicKeyData?: string; - /** Private key data */ - privateKeyData?: string; +/** Describes the volume 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; } -/** HDInsight compute properties */ -export interface HDInsightProperties { - /** Port open for ssh connections on the master node of the cluster. */ - sshPort?: number; - /** Public IP address of the master node of the cluster. */ - address?: string; - /** Admin credentials for master node of the cluster */ - administratorAccount?: VirtualMachineSshCredentials; +/** Describes the bind options for the container */ +export interface BindOptions { + /** Type of Bind Option */ + propagation?: string; + /** Indicate whether to create host path. */ + createHostPath?: boolean; + /** Mention the selinux options. */ + selinux?: string; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +/** Describes the volume options for the container */ +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: string; +/** Describes the tmpfs options for the container */ +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** 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 DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** Defines all connectivity endpoints and properties for an ComputeInstance. */ +export interface ComputeInstanceConnectivityEndpoints { + /** + * Public IP Address of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicIpAddress?: string; + /** + * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateIpAddress?: string; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: 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; } -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; +/** 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; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +/** 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; } -/** 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; +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; } -export interface VirtualMachineSecretsSchema { - /** Admin credentials for virtual machine. */ - administratorAccount?: VirtualMachineSshCredentials; +/** Customized setup scripts */ +export interface ScriptsToExecute { + /** Script that's run every time the machine starts. */ + startupScript?: ScriptReference; + /** Script that's run only once during provision of the compute. */ + creationScript?: ScriptReference; } -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: 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; } -/** Stops compute instance after user defined period of inactivity. */ -export interface IdleShutdownSetting { - /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ - idleTimeBeforeShutdown?: string; +/** The 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; } -/** 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; +/** 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[]; } -/** 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; +/** Compute start stop schedule properties */ +export interface ComputeStartStopSchedule { /** - * Optional, if provided, the ServiceTag property will be ignored. + * A system assigned id for the schedule. * 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 id?: string; + /** + * The current deployment state of schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningStatus?: ProvisioningStatus; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; + /** [Required] The compute power action. */ + action?: ComputePowerAction; + /** [Required] The schedule trigger type. */ + triggerType?: ComputeTriggerType; + /** Required if triggerType is Recurrence. */ + recurrence?: Recurrence; + /** Required if triggerType is Cron. */ + cron?: Cron; + /** [Deprecated] Not used any more. */ + schedule?: ScheduleBase; } -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; +/** The workflow trigger recurrence for ComputeStartStop schedule type. */ +export interface Recurrence { + /** [Required] The frequency to trigger schedule. */ + frequency?: ComputeRecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval?: number; + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; + /** + * 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; } -export interface WorkspaceConnectionPersonalAccessToken { - pat?: string; +export interface ComputeRecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: ComputeWeekDay[]; } -export interface WorkspaceConnectionSharedAccessSignature { - sas?: string; +/** The workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression?: string; } -export interface WorkspaceConnectionAccountKey { - key?: string; +export interface ScheduleBase { + /** A system assigned id for the schedule. */ + id?: string; + /** The current deployment state of schedule. */ + provisioningStatus?: ScheduleProvisioningState; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; } -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +/** Defines an Aml Instance container. */ +export interface ComputeInstanceContainer { + /** Name of the ComputeInstance container. */ + name?: string; + /** Auto save settings. */ + autosave?: Autosave; + /** Information of GPU. */ + gpu?: string; + /** network of this container. */ + network?: Network; + /** Environment information of this container. */ + environment?: ComputeInstanceEnvironmentInfo; + /** + * services of this containers. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly services?: Record[]; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: string; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: 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; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +/** Defines an Aml Instance DataMount. */ +export interface ComputeInstanceDataMount { + /** Source of the ComputeInstance data mount. */ + source?: string; + /** Data source type. */ + sourceType?: SourceType; + /** name of the ComputeInstance data mount. */ + mountName?: string; + /** Mount Action. */ + mountAction?: MountAction; + /** who this data mount created by. */ + createdBy?: string; + /** Path of this data mount. */ + mountPath?: string; + /** Mount state. */ + mountState?: MountState; + /** The time when the disk mounted. */ + mountedOn?: Date; + /** Error of this data mount. */ + error?: string; } -/** - * 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; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: string; } -export interface WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken" | "ManagedIdentity"; +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; } -/** Asset input type. */ -export interface AssetJobInput { - /** [Required] Input Asset URI. */ - uri: string; - /** Input Asset Delivery Mode. */ - mode?: InputDeliveryMode; +/** 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; } -/** Asset output type. */ -export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; - /** Output Asset Delivery Mode. */ +/** HDInsight compute properties */ +export interface HDInsightProperties { + /** Port open for ssh connections on the master node of the cluster. */ + sshPort?: number; + /** Public IP address of the master node of the cluster. */ + address?: string; + /** Admin credentials for master node of the cluster */ + administratorAccount?: VirtualMachineSshCredentials; +} + +export interface HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; +} + +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; +} + +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; +} + +export interface DataLakeAnalyticsSchema { + properties?: DataLakeAnalyticsSchemaProperties; +} + +export interface DataLakeAnalyticsSchemaProperties { + /** DataLake Store Account Name */ + dataLakeStoreAccountName?: string; +} + +export interface SynapseSparkProperties { + /** Auto scale properties. */ + autoScaleProperties?: AutoScaleProperties; + /** Auto pause properties. */ + autoPauseProperties?: AutoPauseProperties; + /** Spark version. */ + sparkVersion?: string; + /** The number of compute nodes currently assigned to the compute. */ + nodeCount?: number; + /** Node size. */ + nodeSize?: string; + /** Node size family. */ + nodeSizeFamily?: string; + /** Azure subscription identifier. */ + subscriptionId?: string; + /** Name of the resource group in which workspace is located. */ + resourceGroup?: string; + /** Name of Azure Machine Learning workspace. */ + workspaceName?: string; + /** Pool name. */ + poolName?: string; +} + +/** Auto scale properties */ +export interface AutoScaleProperties { + minNodeCount?: number; + enabled?: boolean; + maxNodeCount?: number; +} + +/** Auto pause properties */ +export interface AutoPauseProperties { + delayInMinutes?: number; + enabled?: boolean; +} + +/** Properties of AksComputeSecrets */ +export interface AksComputeSecretsProperties { + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + userKubeConfig?: string; + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + adminKubeConfig?: string; + /** Image registry pull secret. */ + imagePullSecretName?: string; +} + +export interface VirtualMachineSecretsSchema { + /** Admin credentials for virtual machine. */ + administratorAccount?: VirtualMachineSshCredentials; +} + +/** Properties of Databricks Compute Secrets */ +export interface DatabricksComputeSecretsProperties { + /** access token for databricks account. */ + databricksAccessToken?: string; +} + +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; +} + +export interface MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +} + +/** Monitor compute identity base definition. */ +export interface MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken" | "ManagedIdentity"; +} + +/** Asset input type. */ +export interface AssetJobInput { + /** Input Asset Delivery Mode. */ + mode?: InputDeliveryMode; + /** [Required] Input Asset URI. */ + uri: string; +} + +/** Asset output type. */ +export interface AssetJobOutput { + /** Output Asset Delivery Mode. */ mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; } /** The desired maximum forecast horizon in units of time-series frequency. */ @@ -3174,6 +3076,25 @@ export interface ForecastHorizon { mode: "Auto" | "Custom"; } +/** Job output definition container information on where to find job output/logs. */ +export interface JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: + | "custom_model" + | "mlflow_model" + | "mltable" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the output. */ + description?: string; +} + +export interface QueueSettings { + /** Controls the compute job tier */ + jobTier?: JobTier; +} + /** * AutoML vertical class. * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical @@ -3193,13 +3114,13 @@ export interface AutoMLVertical { | "TextNER"; /** Log verbosity for the job. */ logVerbosity?: LogVerbosity; - /** [Required] Training data input. */ - trainingData: MLTableJobInput; /** * Target column name: This is prediction values column. * Also known as label column name in context of classification tasks. */ targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; } /** Command job definition. */ @@ -3217,25 +3138,6 @@ export interface JobInput { description?: string; } -/** Job output definition container information on where to find job output/logs. */ -export interface JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: - | "custom_model" - | "mlflow_model" - | "mltable" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the output. */ - description?: string; -} - -export interface QueueSettings { - /** Controls the compute job tier */ - jobTier?: JobTier; -} - /** N-Cross validations value. */ export interface NCrossValidations { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3262,20 +3164,20 @@ export interface TargetRollingWindowSize { /** Base definition for Azure datastore contents configuration. */ export interface AzureDatastore { - /** Azure Subscription Id */ - subscriptionId?: string; /** Azure Resource Group name */ resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; } /** Early termination policies enable canceling poor-performing runs before they complete */ export interface EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ policyType: "Bandit" | "MedianStopping" | "TruncationSelection"; - /** Interval (number of runs) between policy evaluations. */ - evaluationInterval?: number; /** Number of intervals by which to delay the first evaluation. */ delayEvaluation?: number; + /** Interval (number of runs) between policy evaluations. */ + evaluationInterval?: number; } /** @@ -3315,10 +3217,12 @@ export interface PredictionDriftMetricThresholdBase { /** Training related configuration. */ export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ + enableModelExplainability?: boolean; /** Flag for enabling onnx compatible models. */ enableOnnxCompatibleModels?: boolean; - /** Stack ensemble settings for stack ensemble run. */ - stackEnsembleSettings?: StackEnsembleSettings; /** Enable stack ensemble run. */ enableStackEnsemble?: boolean; /** Enable voting ensemble run. */ @@ -3328,24 +3232,26 @@ export interface TrainingSettings { * Configure this parameter with a higher value than 300 secs, if more time is needed. */ ensembleModelDownloadTimeout?: string; - /** Flag to turn on explainability on best model. */ - enableModelExplainability?: boolean; - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; } /** Advances setting to customize StackEnsemble run. */ export interface StackEnsembleSettings { - /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ - stackMetaLearnerType?: StackMetaLearnerType; - /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ - stackMetaLearnerTrainPercentage?: number; /** Optional parameters to pass to the initializer of the meta-learner. */ stackMetaLearnerKWargs?: Record; + /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ + stackMetaLearnerTrainPercentage?: number; + /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ + stackMetaLearnerType?: StackMetaLearnerType; } /** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ export interface TableVertical { + /** Columns to use for CVSplit data. */ + cvSplitColumnNames?: string[]; + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: TableVerticalFeaturizationSettings; /** Execution constraints for AutoMLJob. */ limitSettings?: TableVerticalLimitSettings; /** @@ -3353,46 +3259,24 @@ export interface TableVertical { * when validation dataset is not provided. */ nCrossValidations?: NCrossValidationsUnion; - /** Columns to use for CVSplit data. */ - cvSplitColumnNames?: string[]; - /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ - weightColumnName?: string; - /** Validation data inputs. */ - validationData?: MLTableJobInput; /** Test data input. */ testData?: MLTableJobInput; /** - * The fraction of training dataset that needs to be set aside for validation purpose. + * The fraction of test dataset that needs to be set aside for validation purpose. * Values between (0.0 , 1.0) * Applied when validation dataset is not provided. */ - validationDataSize?: number; + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; /** - * The fraction of test dataset that needs to be set aside for validation purpose. + * The fraction of training dataset that needs to be set aside for validation purpose. * Values between (0.0 , 1.0) * Applied when validation dataset is not provided. */ - testDataSize?: number; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: TableVerticalFeaturizationSettings; -} - -/** Job execution constraints. */ -export interface TableVerticalLimitSettings { - /** Number of iterations. */ - maxTrials?: number; - /** Iteration timeout. */ - trialTimeout?: string; - /** AutoML job timeout. */ - timeout?: string; - /** Maximum Concurrent iterations. */ - maxConcurrentTrials?: number; - /** Max cores per iteration. */ - maxCoresPerTrial?: number; - /** Exit score for the AutoML job. */ - exitScore?: number; - /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ - enableEarlyTermination?: boolean; + validationDataSize?: number; + /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ + weightColumnName?: string; } /** Column transformer parameters. */ @@ -3412,6 +3296,24 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +/** Job execution constraints. */ +export interface TableVerticalLimitSettings { + /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ + enableEarlyTermination?: boolean; + /** Exit score for the AutoML job. */ + exitScore?: number; + /** Maximum Concurrent iterations. */ + maxConcurrentTrials?: number; + /** Max cores per iteration. */ + maxCoresPerTrial?: number; + /** Number of iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; + /** Iteration timeout. */ + trialTimeout?: string; +} + /** Base definition for job distribution configuration. */ export interface DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3427,10 +3329,10 @@ export interface JobLimits { /** 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; + /** Container resource request info: */ + containerResourceRequests?: ContainerResourceSettings; } export interface ContainerResourceSettings { @@ -3440,34 +3342,50 @@ export interface ContainerResourceSettings { */ cpu?: string; /** - * Memory size request/limit for container. More info: + * Number of Nvidia GPU cards request/limit for container. More info: * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - memory?: string; + gpu?: string; /** - * Number of Nvidia GPU cards request/limit for container. More info: + * Memory size request/limit for container. More info: * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ */ - gpu?: string; + memory?: string; } export interface MonitorDefinition { + /** The monitor's notification settings. */ + alertNotificationSettings?: MonitorNotificationSettings; + /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ + computeConfiguration: MonitorComputeConfigurationBaseUnion; /** The entities targeted by the monitor. */ monitoringTarget?: MonitoringTarget; /** [Required] The signals to monitor. */ signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; - /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ - computeConfiguration: MonitorComputeConfigurationBaseUnion; - /** The monitor's notification settings. */ - alertNotificationSettings?: MonitorNotificationSettings; +} + +export interface MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; +} + +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; +} + +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; } /** Monitoring target definition. */ export interface MonitoringTarget { - /** Reference to the model asset targeted by this monitor. */ - modelId?: string; /** Reference to the deployment asset targeted by this monitor. */ deploymentId?: string; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; /** [Required] The machine learning task type of the monitored model. */ taskType: ModelTaskType; } @@ -3486,41 +3404,25 @@ export interface MonitoringSignalBase { properties?: { [propertyName: string]: string | null }; } -/** Monitor compute configuration base definition. */ -export interface MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; -} - -export interface MonitorNotificationSettings { - /** The AML notification email settings. */ - emailNotificationSettings?: MonitorEmailNotificationSettings; -} - -export interface MonitorEmailNotificationSettings { - /** The email recipient list which has a limitation of 499 characters in total. */ - emails?: string[]; -} - export interface CustomMetricThreshold { - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; /** [Required] The user-defined metric to calculate. */ metric: string; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } /** Monitoring input data base definition. */ export interface MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ inputDataType: "Fixed" | "Rolling" | "Static"; + /** Mapping of column names to special uses. */ + columns?: { [propertyName: string]: string | null }; /** The context metadata of the data source. */ dataContext?: string; /** [Required] Specifies the type of job. */ jobInputType: JobInputType; /** [Required] Input Asset URI. */ uri: string; - /** Mapping of column names to special uses. */ - columns?: { [propertyName: string]: string | null }; } export interface FeatureImportanceSettings { @@ -3531,10 +3433,10 @@ export interface FeatureImportanceSettings { } export interface FeatureAttributionMetricThreshold { - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; /** [Required] The feature attribution metric to calculate. */ metric: FeatureAttributionMetric; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } /** Forecasting specific parameters. */ @@ -3544,23 +3446,18 @@ export interface ForecastingSettings { * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. */ countryOrRegionForHolidays?: string; - /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ - timeColumnName?: string; - /** The number of past periods to lag from the target column. */ - targetLags?: TargetLagsUnion; - /** The number of past periods used to create a rolling window average of the target column. */ - targetRollingWindowSize?: TargetRollingWindowSizeUnion; - /** The desired maximum forecast horizon in units of time-series frequency. */ - forecastHorizon?: ForecastHorizonUnion; /** - * The names of columns used to group a timeseries. It can be used to create multiple series. - * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. + * Number of periods between the origin time of one CV fold and the next fold. For + * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be + * three days apart. */ - timeSeriesIdColumnNames?: string[]; - /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ - frequency?: string; + cvStepSize?: number; /** Flag for generating lags for the numeric features with 'auto' or null. */ featureLags?: FeatureLags; + /** The desired maximum forecast horizon in units of time-series frequency. */ + forecastHorizon?: ForecastHorizonUnion; + /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ + frequency?: string; /** * Set time series seasonality as an integer multiple of the series frequency. * If seasonality is set to 'auto', it will be inferred. @@ -3568,19 +3465,24 @@ export interface ForecastingSettings { seasonality?: SeasonalityUnion; /** The parameter defining how if AutoML should handle short time series. */ shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; - /** Configure STL Decomposition of the time-series target column. */ - useStl?: UseStl; /** * The function to be used to aggregate the time series target column to conform to a user specified frequency. * If the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: "sum", "max", "min" and "mean". */ targetAggregateFunction?: TargetAggregationFunction; + /** The number of past periods to lag from the target column. */ + targetLags?: TargetLagsUnion; + /** The number of past periods used to create a rolling window average of the target column. */ + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ + timeColumnName?: string; /** - * Number of periods between the origin time of one CV fold and the next fold. For - * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be - * three days apart. + * The names of columns used to group a timeseries. It can be used to create multiple series. + * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. */ - cvStepSize?: number; + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; } /** @@ -3589,10 +3491,10 @@ export interface ForecastingSettings { * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ export interface ImageModelSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: boolean; /** Settings for advanced scenarios. */ advancedSettings?: string; + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: boolean; /** Settings for using Augmentations. */ augmentations?: string; /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ @@ -3601,10 +3503,10 @@ export interface ImageModelSettings { beta2?: number; /** Frequency to store model checkpoints. Must be a positive integer. */ checkpointFrequency?: number; - /** The id of a previous run that has a pretrained checkpoint for incremental training. */ - checkpointRunId?: string; /** The pretrained checkpoint model for incremental training. */ checkpointModel?: MLFlowModelJobInput; + /** The id of a previous run that has a pretrained checkpoint for incremental training. */ + checkpointRunId?: string; /** Whether to use distributed training. */ distributed?: boolean; /** Enable early stopping logic during training. */ @@ -3619,10 +3521,10 @@ export interface ImageModelSettings { * the run is stopped. Must be a positive integer. */ earlyStoppingPatience?: number; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: number; /** Enable normalization when exporting ONNX model. */ enableOnnxNormalization?: boolean; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; /** * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without * updating the model weights while accumulating the gradients of those steps, and then using @@ -3713,10 +3615,10 @@ export interface ImageModelDistributionSettings { * the run is stopped. Must be a positive integer. */ earlyStoppingPatience?: string; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: string; /** Enable normalization when exporting ONNX model. */ enableOnnxNormalization?: string; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: string; /** * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without * updating the model weights while accumulating the gradients of those steps, and then using @@ -3789,20 +3691,20 @@ export interface ImageVertical { /** Limit settings for the AutoML job. */ export interface ImageLimitSettings { + /** Maximum number of concurrent AutoML iterations. */ + maxConcurrentTrials?: number; /** Maximum number of AutoML iterations. */ maxTrials?: number; /** AutoML job timeout. */ timeout?: string; - /** Maximum number of concurrent AutoML iterations. */ - maxConcurrentTrials?: number; } /** Model sweeping and hyperparameter sweeping related settings. */ export interface ImageSweepSettings { - /** [Required] Type of the hyperparameter sampling algorithms. */ - samplingAlgorithm: SamplingAlgorithmType; /** Type of early termination policy. */ earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; } /** OneLake artifact (data source) configuration. */ @@ -3818,30 +3720,36 @@ export interface OneLakeArtifact { * NLP - Natural Language Processing. */ export interface NlpVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: NlpVerticalLimitSettings; /** Featurization inputs needed for AutoML job. */ featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; /** Validation data inputs. */ validationData?: MLTableJobInput; } /** Job execution constraints. */ export interface NlpVerticalLimitSettings { - /** AutoML job timeout. */ - timeout?: string; - /** Number of AutoML iterations. */ - maxTrials?: number; /** Maximum Concurrent AutoML iterations. */ maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; } /** Optimization objective. */ export interface Objective { - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; /** [Required] Defines supported metric goals for hyperparameter tuning */ goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; +} + +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; } export interface SparkResourceConfiguration { @@ -3851,117 +3759,223 @@ export interface SparkResourceConfiguration { runtimeVersion?: string; } -/** Spark job entry point definition. */ -export interface SparkJobEntry { - /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; -} - /** Trial component definition. */ export interface TrialComponent { /** ARM resource ID of the code asset. */ codeId?: string; /** [Required] The command to execute on startup of the job. eg. "python train.py" */ command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; /** [Required] The ARM resource ID of the Environment specification for the job. */ environmentId: string; /** Environment variables included in the job. */ environmentVariables?: { [propertyName: string]: string | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; /** Compute Resource configuration for the job. */ resources?: JobResourceConfiguration; } -/** The PE network resource that is linked to this PE connection. */ -export interface PrivateEndpointResource extends PrivateEndpoint { - /** The subnetId that the private endpoint is connected to. */ - subnetArmId?: string; +/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointDestination { + serviceResourceId?: string; + sparkEnabled?: boolean; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + sparkStatus?: RuleStatus; + subresourceTarget?: string; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface RegistryPartialManagedServiceIdentity - extends ManagedServiceIdentity {} - -/** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; +/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagDestination { + /** The action enum for networking rule. */ + action?: RuleAction; /** - * The provisioning state of the private endpoint connection resource. + * Optional, if provided, the ServiceTag property will be ignored. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + readonly addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; } -/** An object that represents a machine learning workspace. */ -export interface Workspace extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - kind?: string; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The immutable id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly workspaceId?: string; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. This name in mutable */ - friendlyName?: string; - /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ - keyVault?: string; - /** 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. +export interface WorkspaceConnectionUsernamePassword { + username?: string; + password?: string; + /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ + securityToken?: string; +} + +export interface WorkspaceConnectionPersonalAccessToken { + pat?: string; +} + +export interface WorkspaceConnectionSharedAccessSignature { + sas?: string; +} + +export interface WorkspaceConnectionAccountKey { + key?: string; +} + +export interface WorkspaceConnectionManagedIdentity { + resourceId?: string; + clientId?: string; +} + +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; +} + +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; +} + +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [propertyName: string]: string }; +} + +/** + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. + */ +export interface WorkspaceConnectionOAuth2 { + /** Required by Concur connection category */ + authUrl?: string; + /** Client id in the format of UUID */ + clientId?: string; + clientSecret?: string; + /** Required by GoogleAdWords connection category */ + developerToken?: string; + password?: string; + /** + * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho + * where user needs to get RefreshToken offline + */ + refreshToken?: string; + /** Required by QuickBooks and Xero connection categories */ + tenantId?: string; + /** + * Concur, ServiceNow auth server AccessToken grant type is 'Password' + * which requires UsernamePassword + */ + username?: string; +} + +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; +} + +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity extends ManagedServiceIdentity {} + +/** Machine Learning compute object wrapped into ARM resource envelope. */ +export interface ComputeResource extends Resource, ComputeResourceSchema { + /** The identity of the resource. */ + identity?: ManagedServiceIdentity; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; +} + +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export interface ProxyResource extends Resource {} + +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The geo-location where the resource lives */ + location: string; +} + +/** The Private Endpoint Connection resource. */ +export interface PrivateEndpointConnection extends Resource { + /** The identity of the resource. */ + identity?: ManagedServiceIdentity; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; + /** The resource of private end point. */ + privateEndpoint?: PrivateEndpoint; + /** A collection of information about the state of the connection between service consumer and provider. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** + * The provisioning state of the private endpoint connection resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** An object that represents a machine learning workspace. */ +export interface Workspace extends Resource { + /** The identity of the resource. */ + identity?: ManagedServiceIdentity; + kind?: string; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; + /** + * The immutable id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly workspaceId?: string; + /** The description of this workspace. */ + description?: string; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ + keyVault?: string; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + /** ARM id of the container registry associated with this workspace. */ + 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 */ @@ -4005,18 +4019,6 @@ export interface Workspace extends Resource { workspaceHubConfig?: WorkspaceHubConfig; } -/** Machine Learning compute object wrapped into ARM resource envelope. */ -export interface ComputeResource extends Resource, ComputeResourceSchema { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; -} - /** A private link resource */ export interface PrivateLinkResource extends Resource { /** The identity of the resource. */ @@ -4051,40 +4053,6 @@ export interface OutboundRuleBasicResource extends Resource { properties: OutboundRuleUnion; } -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} - -/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResource extends Resource { - /** Resource tags. */ - tags?: { [propertyName: string]: string }; - /** The geo-location where the resource lives */ - location: string; -} - -/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint"; - /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ - destination?: PrivateEndpointDestination; -} - -/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ -export interface ServiceTagOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "ServiceTag"; - /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ - destination?: ServiceTagDestination; -} - -/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ -export interface FqdnOutboundRule extends OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FQDN"; - destination?: string; -} - /** A Machine Learning compute based on AKS. */ export interface Aks extends Compute, AKSSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4147,17 +4115,13 @@ export interface SynapseSpark extends Compute { } /** Secrets related to a Machine Learning compute based on AKS. */ -export interface AksComputeSecrets - extends ComputeSecrets, - AksComputeSecretsProperties { +export interface AksComputeSecrets extends ComputeSecrets, AksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "AKS"; } /** Secrets related to a Machine Learning compute based on AKS. */ -export interface VirtualMachineSecrets - extends ComputeSecrets, - VirtualMachineSecretsSchema { +export interface VirtualMachineSecrets extends ComputeSecrets, VirtualMachineSecretsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "VirtualMachine"; } @@ -4170,149 +4134,32 @@ export interface DatabricksComputeSecrets computeType: "Databricks"; } -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; } -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; -} - -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; -} - -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; -} - -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ManagedIdentity"; - credentials?: WorkspaceConnectionManagedIdentity; -} - -/** This connection type covers the AAD auth for any applicable Azure service */ -export interface AADAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AAD"; -} - -export interface AccessKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccessKey"; - credentials?: WorkspaceConnectionAccessKey; -} - -/** This connection type covers the account key connection for Azure storage */ -export interface AccountKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccountKey"; - credentials?: WorkspaceConnectionAccountKey; -} - -/** - * This connection type covers the generic ApiKey auth connection categories, for examples: - * AzureOpenAI: - * Category:= AzureOpenAI - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {ApiBase} - * - * CognitiveService: - * Category:= CognitiveService - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= ServiceRegion={serviceRegion} - * - * CognitiveSearch: - * Category:= CognitiveSearch - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {Endpoint} - * - * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields - */ -export interface ApiKeyAuthWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ApiKey"; - /** Api key object for workspace connection credential. */ - credentials?: WorkspaceConnectionApiKey; -} - -/** - * Category:= CustomKeys - * AuthType:= CustomKeys (as type discriminator) - * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys - * Target:= {any value} - * Use Metadata property bag for ApiVersion and other metadata fields - */ -export interface CustomKeysWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "CustomKeys"; - /** Custom Keys credential object */ - credentials?: CustomKeys; -} - -export interface OAuth2AuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "OAuth2"; - /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ - credentials?: WorkspaceConnectionOAuth2; -} - -export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ServicePrincipal"; - credentials?: WorkspaceConnectionServicePrincipal; -} - -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly latestVersion?: string; - /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } /** Base definition for datastore contents configuration. */ export interface DatastoreProperties extends ResourceBase { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; /** [Required] Storage type backing the datastore. */ datastoreType: DatastoreType; /** @@ -4320,66 +4167,64 @@ export interface DatastoreProperties extends ResourceBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isDefault?: boolean; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; } /** DTO object representing feature */ export interface FeatureProperties extends ResourceBase { - /** Specifies name */ - featureName?: string; /** Specifies type */ dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; } /** Base definition for a job. */ export interface JobBaseProperties extends ResourceBase { - /** [Required] Specifies the type of job. */ - jobType: JobType; + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; /** Display name of job. */ displayName?: string; - /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: JobStatus; /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ experimentName?: string; - /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - */ - services?: { [propertyName: string]: JobService | null }; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Is the asset archived? */ - isArchived?: boolean; /** * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. * Defaults to AmlToken if null. */ identity?: IdentityConfigurationUnion; - /** ARM resource ID of the component resource. */ - componentId?: string; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; /** Notification setting for the job */ notificationSetting?: NotificationSetting; + /** + * List of JobEndpoints. + * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + */ + services?: { [propertyName: string]: JobService | null }; + /** + * Status of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobStatus; } /** Base definition of a schedule */ export interface ScheduleProperties extends ResourceBase { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; /** Display name of schedule. */ displayName?: string; /** Is the schedule enabled? */ isEnabled?: boolean; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; /** * Provisioning state for the schedule. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ScheduleProvisioningStatus; + /** [Required] Specifies the trigger details */ + trigger: TriggerBaseUnion; } export interface SASCredentialDto extends PendingUploadCredentialDto { @@ -4399,10 +4244,10 @@ export interface AnonymousAccessCredential extends DataReferenceCredential { export interface DockerCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialType: "DockerCredentials"; - /** DockerCredential user name */ - userName?: string; /** DockerCredential user password */ password?: string; + /** DockerCredential user name */ + userName?: string; } /** Credential for user managed identity */ @@ -4411,12 +4256,12 @@ export interface ManagedIdentityCredential extends DataReferenceCredential { credentialType: "ManagedIdentity"; /** ManagedIdentityCredential identity type */ managedIdentityType?: string; - /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityResourceId?: string; /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityClientId?: string; /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityTenantId?: string; } @@ -4442,34 +4287,32 @@ export interface BatchEndpointProperties extends EndpointPropertiesBase { /** Online endpoint configuration */ export interface OnlineEndpointProperties extends EndpointPropertiesBase { - /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: EndpointProvisioningState; /** * ARM resource ID of the compute if it exists. * optional */ compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ publicNetworkAccess?: PublicNetworkAccessType; /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ traffic?: { [propertyName: string]: number }; - /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ - mirrorTraffic?: { [propertyName: string]: number }; } /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithIdentity - extends PartialMinimalTrackedResource { +export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: PartialManagedServiceIdentity; } /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku - extends PartialMinimalTrackedResource { +export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { /** Sku details required for ARM contract for Autoscaling. */ sku?: PartialSku; } @@ -4477,10 +4320,10 @@ export interface PartialMinimalTrackedResourceWithSku /** Strictly used in update requests. */ export interface PartialMinimalTrackedResourceWithSkuAndIdentity extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: PartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } /** Properties for a Batch Pipeline Component Deployment. */ @@ -4510,35 +4353,33 @@ export interface IdAssetReference extends AssetReferenceBase { export interface DataPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "DataPath"; - /** The path of the file/directory in the datastore. */ - path?: string; /** ARM resource ID of the datastore where the asset is located. */ datastoreId?: string; + /** The path of the file/directory in the datastore. */ + path?: string; } /** Reference to an asset via its path in a job output. */ export interface OutputPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "OutputPath"; - /** The path of the file/directory in the job output. */ - path?: string; /** ARM resource ID of the job. */ jobId?: string; + /** The path of the file/directory in the job output. */ + path?: string; } -export interface DeploymentResourceConfiguration - extends ResourceConfiguration {} +export interface DeploymentResourceConfiguration extends ResourceConfiguration {} export interface JobResourceConfiguration extends ResourceConfiguration { - /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ - shmSize?: string; /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ dockerArgs?: string; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; } /** Batch inference settings per deployment. */ -export interface BatchDeploymentProperties - extends EndpointDeploymentPropertiesBase { +export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { /** Compute target for batch inference operation. */ compute?: string; /** Properties relevant to different deployment types. */ @@ -4551,43 +4392,67 @@ export interface BatchDeploymentProperties * If set to -1 (the lower bound), all failures during batch inference will be ignored. */ errorThreshold?: number; - /** - * Retry Settings for the batch inference operation. - * If not provided, will default to the defaults defined in BatchRetrySettings. - */ - retrySettings?: BatchRetrySettings; + /** Logging level for batch inference operation. */ + loggingLevel?: BatchLoggingLevel; + /** Indicates maximum number of parallelism per instance. */ + maxConcurrencyPerInstance?: number; /** * Size of the mini-batch passed to each batch invocation. * For FileDataset, this is the number of files per mini-batch. * For TabularDataset, this is the size of the records in bytes, per mini-batch. */ miniBatchSize?: number; - /** Logging level for batch inference operation. */ - loggingLevel?: BatchLoggingLevel; /** Reference to the model asset for the endpoint deployment. */ model?: AssetReferenceBaseUnion; - /** Indicates maximum number of parallelism per instance. */ - maxConcurrencyPerInstance?: number; /** Indicates how the output will be organized. */ outputAction?: BatchOutputAction; /** Customized output file name for append_row output action. */ outputFileName?: string; + /** + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DeploymentProvisioningState; /** * Indicates compute configuration for the job. * If not provided, will default to the defaults defined in ResourceConfiguration. */ resources?: DeploymentResourceConfiguration; /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Retry Settings for the batch inference operation. + * If not provided, will default to the defaults defined in BatchRetrySettings. */ - readonly provisioningState?: DeploymentProvisioningState; + retrySettings?: BatchRetrySettings; } -export interface OnlineDeploymentProperties - extends EndpointDeploymentPropertiesBase { +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. Default: Standard_F4s_v2. */ + 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; + /** Startup probe verify whether an application within a container has started successfully. */ + startupProbe?: ProbeSettings; + /** Request settings for the deployment. */ + requestSettings?: OnlineRequestSettings; /** * Scale settings for the deployment. * If it is null or not provided, @@ -4595,29 +4460,6 @@ export interface OnlineDeploymentProperties * and to DefaultScaleSettings for ManagedOnlineDeployment. */ scaleSettings?: OnlineScaleSettingsUnion; - /** Request settings for the deployment. */ - requestSettings?: OnlineRequestSettings; - /** The path to mount the model in custom container. */ - modelMountPath?: string; - /** If true, enables Application Insights logging. */ - appInsightsEnabled?: boolean; - /** Liveness probe monitors the health of the container regularly. */ - livenessProbe?: ProbeSettings; - /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ - readinessProbe?: ProbeSettings; - /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: DeploymentProvisioningState; - /** Compute instance type. */ - 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. */ @@ -4634,16 +4476,16 @@ export interface CertificateDatastoreCredentials extends DatastoreCredentials { credentialsType: "Certificate"; /** Authority URL used for authentication. */ authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; /** Resource the service principal has access to. */ resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: CertificateDatastoreSecrets; /** [Required] ID of the tenant to which the service principal belongs. */ tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; /** [Required] Thumbprint of the certificate used for authentication. */ thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; } /** Empty/none datastore credentials. */ @@ -4661,20 +4503,19 @@ export interface SasDatastoreCredentials extends DatastoreCredentials { } /** Service Principal datastore credentials configuration. */ -export interface ServicePrincipalDatastoreCredentials - extends DatastoreCredentials { +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; + /** Resource the service principal has access to. */ + resourceUrl?: string; /** [Required] Service principal secrets. */ secrets: ServicePrincipalDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; } /** Datastore account key secrets. */ @@ -4709,6 +4550,12 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { clientSecret?: string; } +/** Webhook details specific for Azure DevOps */ +export interface AzureDevOpsWebhook extends Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; +} + export interface RecurrenceTrigger extends TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ triggerType: "Recurrence"; @@ -4730,18 +4577,6 @@ export interface CronTrigger extends TriggerBase { expression: string; } -/** Webhook details specific for Azure DevOps */ -export interface AzureDevOpsWebhook extends Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; -} - -/** All nodes means the service will be running on all of the nodes of the job */ -export interface AllNodes extends Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; -} - /** AML Token identity configuration. */ export interface AmlToken extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4766,6 +4601,12 @@ export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; } +/** All nodes means the service will be running on all of the nodes of the job */ +export interface AllNodes extends Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; +} + export interface DefaultScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "Default"; @@ -4774,14 +4615,14 @@ export interface DefaultScaleSettings extends OnlineScaleSettings { export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "TargetUtilization"; + /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ + maxInstances?: number; + /** The minimum number of instances to always be present. */ + minInstances?: number; /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ pollingInterval?: string; /** Target CPU usage for the autoscaler. */ targetUtilizationPercentage?: number; - /** The minimum number of instances to always be present. */ - minInstances?: number; - /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ - maxInstances?: number; } export interface CreateMonitorAction extends ScheduleActionBase { @@ -4808,6 +4649,148 @@ export interface JobScheduleAction extends ScheduleActionBase { jobDefinition: JobBasePropertiesUnion; } +/** The PE network resource that is linked to this PE connection. */ +export interface PrivateEndpointResource extends PrivateEndpoint { + /** The subnetId that the private endpoint is connected to. */ + subnetArmId?: string; +} + +/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; +} + +/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; +} + +/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ +export interface FqdnOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN"; + destination?: string; +} + +export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; +} + +export interface SASAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; +} + +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; +} + +export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "None"; +} + +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ManagedIdentity"; + credentials?: WorkspaceConnectionManagedIdentity; +} + +/** This connection type covers the AAD auth for any applicable Azure service */ +export interface AADAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AAD"; +} + +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; +} + +/** This connection type covers the account key connection for Azure storage */ +export interface AccountKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccountKey"; + credentials?: WorkspaceConnectionAccountKey; +} + +/** + * This connection type covers the generic ApiKey auth connection categories, for examples: + * AzureOpenAI: + * Category:= AzureOpenAI + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {ApiBase} + * + * CognitiveService: + * Category:= CognitiveService + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= ServiceRegion={serviceRegion} + * + * CognitiveSearch: + * Category:= CognitiveSearch + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {Endpoint} + * + * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields + */ +export interface ApiKeyAuthWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ApiKey"; + /** Api key object for workspace connection credential. */ + credentials?: WorkspaceConnectionApiKey; +} + +/** + * Category:= CustomKeys + * AuthType:= CustomKeys (as type discriminator) + * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys + * Target:= {any value} + * Use Metadata property bag for ApiVersion and other metadata fields + */ +export interface CustomKeysWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "CustomKeys"; + /** Custom Keys credential object */ + credentials?: CustomKeys; +} + +export interface OAuth2AuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "OAuth2"; + /** + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. + */ + credentials?: WorkspaceConnectionOAuth2; +} + +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; +} + export interface AllFeatures extends MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ filterType: "AllFeatures"; @@ -4919,22 +4902,22 @@ export interface CustomForecastHorizon extends ForecastHorizon { export interface Classification extends TableVertical, AutoMLVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ taskType: "Classification"; + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; /** Primary metric for the task. */ primaryMetric?: ClassificationPrimaryMetrics; /** Inputs for training phase for an AutoML Job. */ trainingSettings?: ClassificationTrainingSettings; - /** Positive label for binary metrics calculation. */ - positiveLabel?: string; } /** Forecasting task in AutoML Table vertical. */ export interface Forecasting extends TableVertical, AutoMLVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ taskType: "Forecasting"; - /** Primary metric for forecasting task. */ - primaryMetric?: ForecastingPrimaryMetrics; /** Forecasting task specific inputs. */ forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; /** Inputs for training phase for an AutoML Job. */ trainingSettings?: ForecastingTrainingSettings; } @@ -4943,9 +4926,7 @@ export interface Forecasting extends TableVertical, AutoMLVertical { * 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 { +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. */ @@ -4956,9 +4937,7 @@ export interface 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'. */ -export interface ImageClassificationMultilabel - extends ImageClassificationBase, - AutoMLVertical { +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. */ @@ -4969,9 +4948,7 @@ export interface ImageClassificationMultilabel * 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 { +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. */ @@ -4982,9 +4959,7 @@ export interface ImageInstanceSegmentation * 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 { +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. */ @@ -5016,9 +4991,7 @@ export interface TextClassification extends NlpVertical, AutoMLVertical { * Text Classification Multilabel task in AutoML NLP vertical. * NLP - Natural Language Processing. */ -export interface TextClassificationMultilabel - extends NlpVertical, - AutoMLVertical { +export interface TextClassificationMultilabel extends NlpVertical, AutoMLVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ taskType: "TextClassificationMultilabel"; /** @@ -5105,9 +5078,7 @@ export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { } /** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore - extends AzureDatastore, - DatastoreProperties { +export interface AzureBlobDatastore extends AzureDatastore, DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureBlob"; /** Storage account name. */ @@ -5123,29 +5094,25 @@ export interface AzureBlobDatastore } /** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore - extends AzureDatastore, - DatastoreProperties { +export interface AzureDataLakeGen1Datastore extends AzureDatastore, DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureDataLakeGen1"; - /** [Required] Azure Data Lake store name. */ - storeName: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; } /** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore - extends AzureDatastore, - DatastoreProperties { +export interface AzureDataLakeGen2Datastore extends AzureDatastore, DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureDataLakeGen2"; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; /** [Required] Storage account name. */ accountName: string; /** Azure cloud endpoint for the storage account. */ endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; /** Protocol used to communicate with the storage account. */ protocol?: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ @@ -5153,17 +5120,15 @@ export interface AzureDataLakeGen2Datastore } /** Azure File datastore configuration. */ -export interface AzureFileDatastore - extends AzureDatastore, - DatastoreProperties { +export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureFile"; /** [Required] Storage account name. */ accountName: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; /** Azure cloud endpoint for the storage account. */ endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; /** Protocol used to communicate with the storage account. */ protocol?: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ @@ -5174,10 +5139,10 @@ export interface AzureFileDatastore export interface BanditPolicy extends EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ policyType: "Bandit"; - /** Ratio of the allowed distance from the best performing run. */ - slackFactor?: number; /** Absolute distance allowed from the best performing run. */ slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } /** Defines an early termination policy based on running averages of the primary metric of all runs */ @@ -5210,38 +5175,34 @@ export interface GridSamplingAlgorithm extends SamplingAlgorithm { export interface RandomSamplingAlgorithm extends SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ samplingAlgorithmType: "Random"; - /** An optional integer to use as the seed for random number generation */ - seed?: number; /** The specific type of random algorithm */ rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } -export interface CategoricalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +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; } -export interface NumericalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { +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; } -export interface CategoricalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +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; } -export interface NumericalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +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. */ @@ -5289,26 +5250,24 @@ export interface RegressionTrainingSettings extends TrainingSettings { } /** Featurization Configuration. */ -export interface TableVerticalFeaturizationSettings - extends FeaturizationSettings { +export interface TableVerticalFeaturizationSettings extends FeaturizationSettings { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; /** * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. * If 'Off' is selected then no featurization is done. * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. */ mode?: FeaturizationMode; - /** These transformers shall not be used in featurization. */ - blockedTransformers?: BlockedTransformers[]; - /** Dictionary of column name and its type (int, float, string, datetime etc). */ - columnNameAndTypes?: { [propertyName: string]: string | null }; /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; - /** Determines whether to use Dnn based featurizers for data featurization. */ - enableDnnFeaturization?: boolean; } -export interface NlpVerticalFeaturizationSettings - extends FeaturizationSettings {} +export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings {} /** MPI distribution configuration. */ export interface Mpi extends DistributionConfiguration { @@ -5330,10 +5289,10 @@ export interface PyTorch extends DistributionConfiguration { export interface TensorFlow extends DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ distributionType: "TensorFlow"; - /** Number of workers. If not specified, will default to the instance count. */ - workerCount?: number; /** Number of parameter server tasks. */ parameterServerCount?: number; + /** Number of workers. If not specified, will default to the instance count. */ + workerCount?: number; } /** Command Job limit class. */ @@ -5346,23 +5305,35 @@ export interface CommandJobLimits extends JobLimits { export interface SweepJobLimits extends JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ jobLimitsType: "Sweep"; - /** Sweep Job max total trials. */ - maxTotalTrials?: number; /** Sweep Job max concurrent trials. */ maxConcurrentTrials?: number; + /** Sweep Job max total trials. */ + maxTotalTrials?: number; /** Sweep Job Trial timeout value. */ trialTimeout?: string; } -export interface CustomMonitoringSignal extends MonitoringSignalBase { +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: string; +} + +export interface CustomMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ inputs?: { [propertyName: string]: JobInputUnion | null }; - /** [Required] Reference to the component asset used to calculate the custom metrics. */ - componentId: string; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: CustomMetricThreshold[]; } @@ -5370,85 +5341,71 @@ export interface CustomMonitoringSignal extends MonitoringSignalBase { export interface DataDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "DataDrift"; - /** The feature filter which identifies which feature to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** The settings for computing feature importance. */ featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: DataDriftMetricThresholdBaseUnion[]; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface DataQualityMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** The settings for computing feature importance. */ featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: DataQualityMetricThresholdBaseUnion[]; /** [Required] The data produced by the production service which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } -export interface FeatureAttributionDriftMonitoringSignal - extends MonitoringSignalBase { +export interface FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "FeatureAttributionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThreshold: FeatureAttributionMetricThreshold; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** [Required] The settings for computing feature importance. */ featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion[]; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; -} - -/** Monitor serverless spark compute definition. */ -export interface MonitorServerlessSparkCompute - extends MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; - /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ - computeIdentity: MonitorComputeIdentityBaseUnion; - /** [Required] The instance type running the Spark job. */ - instanceType: string; - /** [Required] The Spark runtime version. */ - runtimeVersion: string; } /** Fixed input data definition. */ @@ -5461,24 +5418,24 @@ export interface FixedInputData extends MonitoringInputDataBase { export interface RollingInputData extends MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ inputDataType: "Rolling"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; /** [Required] The time offset between the end of the data window and the monitor's current run time. */ windowOffset: string; /** [Required] The size of the rolling data window. */ windowSize: string; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; } /** Static input data definition. */ export interface StaticInputData extends MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ inputDataType: "Static"; - /** [Required] The start date of the data window. */ - windowStart: Date; - /** [Required] The end date of the data window. */ - windowEnd: Date; /** Reference to the component asset used to preprocess the data. */ preprocessingComponentId?: string; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; } /** @@ -5830,56 +5787,56 @@ export interface Schedule extends ProxyResource { } export interface BatchEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } export interface BatchDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchDeploymentProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchDeploymentProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } export interface OnlineEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } export interface OnlineDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineDeploymentPropertiesUnion; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineDeploymentPropertiesUnion; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } export interface ServerlessEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: ServerlessEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: ServerlessEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } @@ -5897,6 +5854,8 @@ export interface Registry extends TrackedResource { 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 */ @@ -6007,6 +5966,15 @@ export interface DataVersionBaseProperties extends AssetBase { /** Environment version details. */ export interface EnvironmentVersionProperties extends AssetBase { + /** Defines if image needs to be rebuilt based on base image changes. */ + autoRebuild?: AutoRebuildSetting; + /** Configuration settings for Docker build context. */ + build?: BuildContext; + /** + * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. + * + */ + condaFile?: string; /** * Environment type is either user managed or curated by the Azure ML service * @@ -6018,19 +5986,10 @@ export interface EnvironmentVersionProperties extends AssetBase { * */ image?: string; - /** - * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. - * - */ - condaFile?: string; - /** Configuration settings for Docker build context. */ - build?: BuildContext; - /** The OS type of the environment. */ - osType?: OperatingSystemType; /** Defines configuration specific to inference. */ inferenceConfig?: InferenceContainerProperties; - /** Defines if image needs to be rebuilt based on base image changes. */ - autoRebuild?: AutoRebuildSetting; + /** The OS type of the environment. */ + osType?: OperatingSystemType; /** * Provisioning state for the environment version. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6044,12 +6003,12 @@ export interface EnvironmentVersionProperties extends AssetBase { export interface ModelVersionProperties extends AssetBase { /** Mapping of model flavors to their properties. */ flavors?: { [propertyName: string]: FlavorData | null }; + /** Name of the training job which produced this model */ + jobName?: string; /** The storage format for this entity. Used for NCD. */ modelType?: string; /** The URI path to the model contents. */ modelUri?: string; - /** Name of the training job which produced this model */ - jobName?: string; /** * Provisioning state for the model version. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6061,32 +6020,32 @@ export interface ModelVersionProperties extends AssetBase { /** DTO object representing feature set version */ export interface FeaturesetVersionProperties extends AssetBase { - /** Specifies the feature spec details */ - specification?: FeaturesetSpecification; - /** Specifies the materialization settings */ - materializationSettings?: MaterializationSettings; - /** Specifies the asset stage */ - stage?: string; /** Specifies list of entities */ entities?: string[]; + /** Specifies the materialization settings */ + materializationSettings?: MaterializationSettings; /** * Provisioning state for the featureset version container. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: AssetProvisioningState; + /** Specifies the feature spec details */ + specification?: FeaturesetSpecification; + /** Specifies the asset stage */ + stage?: string; } /** DTO object representing feature entity version */ export interface FeaturestoreEntityVersionProperties extends AssetBase { /** Specifies index columns */ indexColumns?: IndexColumn[]; - /** Specifies the asset stage */ - stage?: string; /** * Provisioning state for the featurestore entity version. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: AssetProvisioningState; + /** Specifies the asset stage */ + stage?: string; } /** OneLake (Trident) datastore configuration. */ @@ -6095,10 +6054,10 @@ export interface OneLakeDatastore extends DatastoreProperties { datastoreType: "OneLake"; /** [Required] OneLake artifact backing the datastore. */ artifact: OneLakeArtifactUnion; - /** [Required] OneLake workspace name. */ - oneLakeWorkspaceName: string; /** OneLake endpoint to use for the datastore. */ endpoint?: string; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } @@ -6111,8 +6070,6 @@ export interface OneLakeDatastore extends DatastoreProperties { export interface AutoMLJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "AutoML"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; /** * The ARM resource ID of the Environment specification for the job. * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. @@ -6120,36 +6077,36 @@ export interface AutoMLJob extends JobBaseProperties { environmentId?: string; /** Environment variables included in the job. */ environmentVariables?: { [propertyName: string]: string | null }; - /** [Required] This represents scenario which can be one of Tables/NLP/Image */ - taskDetails: AutoMLVerticalUnion; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; /** Queue settings for the job */ queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; + /** [Required] This represents scenario which can be one of Tables/NLP/Image */ + taskDetails: AutoMLVerticalUnion; } /** Command job definition. */ export interface CommandJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Command"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; /** ARM resource ID of the code asset. */ codeId?: string; /** [Required] The command to execute on startup of the job. eg. "python train.py" */ command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; /** [Required] The ARM resource ID of the Environment specification for the job. */ environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; /** Mapping of input data bindings used in the job. */ inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; /** Command Job limit. */ limits?: CommandJobLimits; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; /** * Input parameters. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6157,20 +6114,22 @@ export interface CommandJob extends JobBaseProperties { readonly parameters?: Record; /** Queue settings for the job */ queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; } /** Pipeline Job definition: defines generic to MFE attributes. */ export interface PipelineJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Pipeline"; - /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ - settings?: Record; - /** Jobs construct the Pipeline Job. */ - jobs?: { [propertyName: string]: Record }; /** Inputs for the pipeline job. */ inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jobs construct the Pipeline Job. */ + jobs?: { [propertyName: string]: Record }; /** Outputs for the pipeline job */ outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ + settings?: Record; /** ARM resource ID of source job. */ sourceJobId?: string; } @@ -6179,58 +6138,58 @@ export interface PipelineJob extends JobBaseProperties { export interface SparkJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Spark"; - /** Compute Resource configuration for the job. */ - resources?: SparkResourceConfiguration; + /** Archive files used in the job. */ + archives?: string[]; /** Arguments for the job. */ args?: string; /** [Required] arm-id of the code asset. */ codeId: string; + /** Spark configured properties. */ + conf?: { [propertyName: string]: string | null }; /** [Required] The entry to execute on startup of the job. */ entry: SparkJobEntryUnion; /** The ARM resource ID of the Environment specification for the job. */ environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Files used in the job. */ + files?: string[]; /** Mapping of input data bindings used in the job. */ inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jar files used in the job. */ + jars?: string[]; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; /** Python files used in the job. */ pyFiles?: string[]; - /** Jar files used in the job. */ - jars?: string[]; - /** Files used in the job. */ - files?: string[]; - /** Archive files used in the job. */ - archives?: string[]; - /** Spark configured properties. */ - conf?: { [propertyName: string]: string | null }; /** Queue settings for the job */ queueSettings?: QueueSettings; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; } /** Sweep job definition. */ export interface SweepJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Sweep"; - /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ - searchSpace: Record; - /** [Required] The hyperparameter sampling algorithm */ - samplingAlgorithm: SamplingAlgorithmUnion; - /** Sweep Job limit. */ - limits?: SweepJobLimits; /** Early termination policies enable canceling poor-performing runs before they complete */ earlyTermination?: EarlyTerminationPolicyUnion; - /** [Required] Optimization objective. */ - objective: Objective; - /** [Required] Trial component definition. */ - trial: TrialComponent; /** Mapping of input data bindings used in the job. */ inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Sweep Job limit. */ + limits?: SweepJobLimits; + /** [Required] Optimization objective. */ + objective: Objective; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; /** Queue settings for the job */ queueSettings?: QueueSettings; + /** [Required] The hyperparameter sampling algorithm */ + samplingAlgorithm: SamplingAlgorithmUnion; + /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ + searchSpace: Record; + /** [Required] Trial component definition. */ + trial: TrialComponent; } /** Properties specific to a KubernetesOnlineDeployment. */ @@ -6267,50 +6226,10 @@ export interface UriFolderDataVersion extends DataVersionBaseProperties { dataType: "uri_folder"; } -/** Defines headers for Workspaces_createOrUpdate operation. */ -export interface WorkspacesCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Workspaces_update operation. */ -export interface WorkspacesUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Workspaces_diagnose operation. */ -export interface WorkspacesDiagnoseHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Workspaces_resyncKeys operation. */ -export interface WorkspacesResyncKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Workspaces_prepareNotebook operation. */ -export interface WorkspacesPrepareNotebookHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines headers for Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } /** Defines headers for Compute_delete operation. */ @@ -6321,28 +6240,6 @@ export interface ComputeDeleteHeaders { location?: string; } -/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ -export interface ManagedNetworkSettingsRuleDeleteHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; -} - -/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - /** Defines headers for RegistryCodeContainers_delete operation. */ export interface RegistryCodeContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ @@ -6873,161 +6770,210 @@ export interface RegistriesRemoveRegionsHeaders { retryAfter?: number; } -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** User */ - User = "user", - /** System */ - System = "system", - /** UserSystem */ - UserSystem = "user,system", +/** Defines headers for Workspaces_createOrUpdate operation. */ +export interface WorkspacesCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for Origin. \ - * {@link KnownOrigin} can be used interchangeably with Origin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **user** \ - * **system** \ - * **user,system** - */ -export type Origin = string; +/** Defines headers for Workspaces_delete operation. */ +export interface WorkspacesDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +/** Defines headers for Workspaces_update operation. */ +export interface WorkspacesUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_diagnose operation. */ +export interface WorkspacesDiagnoseHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_resyncKeys operation. */ +export interface WorkspacesResyncKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_prepareNotebook operation. */ +export interface WorkspacesPrepareNotebookHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", } /** - * Defines values for ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Internal** + * **Count** */ -export type ActionType = string; +export type UsageUnit = string; -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Unknown */ - Unknown = "Unknown", - /** Updating */ - Updating = "Updating", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", } /** - * Defines values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * Defines values for BillingCurrency. \ + * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **USD** */ -export type ProvisioningState = string; +export type BillingCurrency = string; -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", } /** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, + * Defines values for UnitOfMeasure. \ + * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **OneHour** */ -export type EncryptionStatus = string; +export type UnitOfMeasure = string; -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * Defines values for VMPriceOSType. \ + * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Linux** \ + * **Windows** */ -export type PublicNetworkAccess = string; +export type VMPriceOSType = string; -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", - /** Timeout */ - Timeout = "Timeout", +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", } /** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** + * **Standard** \ + * **LowPriority** \ + * **Spot** */ -export type PrivateEndpointServiceConnectionStatus = string; +export type VMTier = string; -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed", +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", } /** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** + * **Count** */ -export type PrivateEndpointConnectionProvisioningState = string; +export type QuotaUnit = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** + */ +export type Status = string; /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ export enum KnownManagedServiceIdentityType { @@ -7077,1622 +7023,1361 @@ export enum KnownCreatedByType { */ export type CreatedByType = string; -/** Known values of {@link IsolationMode} that the service accepts. */ -export enum KnownIsolationMode { - /** Disabled */ - Disabled = "Disabled", - /** AllowInternetOutbound */ - AllowInternetOutbound = "AllowInternetOutbound", - /** AllowOnlyApprovedOutbound */ - AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", +/** Known values of {@link ComputeType} that the service accepts. */ +export enum KnownComputeType { + /** AKS */ + AKS = "AKS", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AmlCompute */ + AmlCompute = "AmlCompute", + /** ComputeInstance */ + ComputeInstance = "ComputeInstance", + /** DataFactory */ + DataFactory = "DataFactory", + /** VirtualMachine */ + VirtualMachine = "VirtualMachine", + /** HDInsight */ + HDInsight = "HDInsight", + /** Databricks */ + Databricks = "Databricks", + /** DataLakeAnalytics */ + DataLakeAnalytics = "DataLakeAnalytics", + /** SynapseSpark */ + SynapseSpark = "SynapseSpark", } /** - * Defines values for IsolationMode. \ - * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, + * Defines values for ComputeType. \ + * {@link KnownComputeType} can be used interchangeably with ComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **AllowInternetOutbound** \ - * **AllowOnlyApprovedOutbound** + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** */ -export type IsolationMode = string; +export type ComputeType = string; -/** Known values of {@link RuleCategory} that the service accepts. */ -export enum KnownRuleCategory { - /** Required */ - Required = "Required", - /** Recommended */ - Recommended = "Recommended", - /** UserDefined */ - UserDefined = "UserDefined", - /** Dependency */ - Dependency = "Dependency", +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Unknown */ + Unknown = "Unknown", + /** Updating */ + Updating = "Updating", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type RuleCategory = string; +export type ProvisioningState = string; -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", } /** - * Defines values for RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, + * Defines values for UnderlyingResourceAction. \ + * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Inactive** \ - * **Active** + * **Delete** \ + * **Detach** */ -export type RuleStatus = string; +export type UnderlyingResourceAction = string; -/** Known values of {@link RuleType} that the service accepts. */ -export enum KnownRuleType { - /** Fqdn */ - Fqdn = "FQDN", - /** PrivateEndpoint */ - PrivateEndpoint = "PrivateEndpoint", - /** ServiceTag */ - ServiceTag = "ServiceTag", +/** Known values of {@link NodeState} that the service accepts. */ +export enum KnownNodeState { + /** Idle */ + Idle = "idle", + /** Running */ + Running = "running", + /** Preparing */ + Preparing = "preparing", + /** Unusable */ + Unusable = "unusable", + /** Leaving */ + Leaving = "leaving", + /** Preempted */ + Preempted = "preempted", } /** - * Defines values for RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, + * Defines values for NodeState. \ + * {@link KnownNodeState} can be used interchangeably with NodeState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** */ -export type RuleType = string; +export type NodeState = string; -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Known values of {@link AssetProvisioningState} that the service accepts. */ +export enum KnownAssetProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", } /** - * Defines values for ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, + * Defines values for AssetProvisioningState. \ + * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Inactive** \ - * **Active** + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** */ -export type ManagedNetworkStatus = string; +export type AssetProvisioningState = string; -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information", +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", } /** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, + * Defines values for PendingUploadType. \ + * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** + * **None** \ + * **TemporaryBlobReference** */ -export type DiagnoseResultLevel = string; +export type PendingUploadType = string; -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", } /** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * Defines values for PendingUploadCredentialType. \ + * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Count** + * **SAS** */ -export type UsageUnit = string; +export type PendingUploadCredentialType = string; -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", } /** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * Defines values for ListViewType. \ + * {@link KnownListViewType} can be used interchangeably with ListViewType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **USD** + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** */ -export type BillingCurrency = string; +export type ListViewType = string; -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +/** Known values of {@link DataType} that the service accepts. */ +export enum KnownDataType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", } /** - * Defines values for UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * Defines values for DataType. \ + * {@link KnownDataType} can be used interchangeably with DataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **OneHour** + * **uri_file** \ + * **uri_folder** \ + * **mltable** */ -export type UnitOfMeasure = string; +export type DataType = string; -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", } /** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** */ -export type VMPriceOSType = string; +export type DataReferenceCredentialType = string; -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot", +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", } /** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard** \ - * **LowPriority** \ - * **Spot** + * **Disabled** \ + * **OnBaseImageUpdate** */ -export type VMTier = string; +export type AutoRebuildSetting = string; -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", } /** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Count** + * **Curated** \ + * **UserCreated** */ -export type QuotaUnit = string; +export type EnvironmentType = string; -/** Known values of {@link Status} that the service accepts. */ -export enum KnownStatus { - /** Undefined */ - Undefined = "Undefined", - /** Success */ - Success = "Success", - /** Failure */ - Failure = "Failure", - /** InvalidQuotaBelowClusterMinimum */ - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - /** InvalidQuotaExceedsSubscriptionLimit */ - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - /** InvalidVMFamilyName */ - InvalidVMFamilyName = "InvalidVMFamilyName", - /** OperationNotSupportedForSku */ - OperationNotSupportedForSku = "OperationNotSupportedForSku", - /** OperationNotEnabledForRegion */ - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Undefined** \ - * **Success** \ - * **Failure** \ - * **InvalidQuotaBelowClusterMinimum** \ - * **InvalidQuotaExceedsSubscriptionLimit** \ - * **InvalidVMFamilyName** \ - * **OperationNotSupportedForSku** \ - * **OperationNotEnabledForRegion** + * **Linux** \ + * **Windows** */ -export type Status = string; +export type OperatingSystemType = string; -/** Known values of {@link ComputeType} that the service accepts. */ -export enum KnownComputeType { - /** AKS */ - AKS = "AKS", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AmlCompute */ - AmlCompute = "AmlCompute", - /** ComputeInstance */ - ComputeInstance = "ComputeInstance", - /** DataFactory */ - DataFactory = "DataFactory", - /** VirtualMachine */ - VirtualMachine = "VirtualMachine", - /** HDInsight */ - HDInsight = "HDInsight", - /** Databricks */ - Databricks = "Databricks", - /** DataLakeAnalytics */ - DataLakeAnalytics = "DataLakeAnalytics", - /** SynapseSpark */ - SynapseSpark = "SynapseSpark", +/** Known values of {@link EndpointProvisioningState} that the service accepts. */ +export enum KnownEndpointProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", } /** - * Defines values for ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, + * Defines values for EndpointProvisioningState. \ + * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** */ -export type ComputeType = string; +export type EndpointProvisioningState = string; -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", } /** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * Defines values for EndpointAuthMode. \ + * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Delete** \ - * **Detach** + * **AMLToken** \ + * **Key** \ + * **AADToken** */ -export type UnderlyingResourceAction = string; +export type EndpointAuthMode = string; -/** Known values of {@link NodeState} that the service accepts. */ -export enum KnownNodeState { - /** Idle */ - Idle = "idle", - /** Running */ - Running = "running", - /** Preparing */ - Preparing = "preparing", - /** Unusable */ - Unusable = "unusable", - /** Leaving */ - Leaving = "leaving", - /** Preempted */ - Preempted = "preempted", +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", } /** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, + * Defines values for BatchDeploymentConfigurationType. \ + * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** + * **Model** \ + * **PipelineComponent** */ -export type NodeState = string; +export type BatchDeploymentConfigurationType = string; -/** Known values of {@link ConnectionAuthType} that the service accepts. */ -export enum KnownConnectionAuthType { - /** PAT */ - PAT = "PAT", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** UsernamePassword */ - UsernamePassword = "UsernamePassword", - /** None */ - None = "None", - /** SAS */ - SAS = "SAS", +/** Known values of {@link BatchLoggingLevel} that the service accepts. */ +export enum KnownBatchLoggingLevel { + /** Info */ + Info = "Info", + /** Warning */ + Warning = "Warning", + /** Debug */ + Debug = "Debug", +} + +/** + * Defines values for BatchLoggingLevel. \ + * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Info** \ + * **Warning** \ + * **Debug** + */ +export type BatchLoggingLevel = string; + +/** Known values of {@link ReferenceType} that the service accepts. */ +export enum KnownReferenceType { + /** Id */ + Id = "Id", + /** DataPath */ + DataPath = "DataPath", + /** OutputPath */ + OutputPath = "OutputPath", +} + +/** + * Defines values for ReferenceType. \ + * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Id** \ + * **DataPath** \ + * **OutputPath** + */ +export type ReferenceType = string; + +/** Known values of {@link BatchOutputAction} that the service accepts. */ +export enum KnownBatchOutputAction { + /** SummaryOnly */ + SummaryOnly = "SummaryOnly", + /** AppendRow */ + AppendRow = "AppendRow", +} + +/** + * Defines values for BatchOutputAction. \ + * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SummaryOnly** \ + * **AppendRow** + */ +export type BatchOutputAction = string; + +/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ +export enum KnownDeploymentProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Scaling */ + Scaling = "Scaling", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for DeploymentProvisioningState. \ + * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Scaling** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type DeploymentProvisioningState = string; + +/** Known values of {@link CredentialsType} that the service accepts. */ +export enum KnownCredentialsType { /** AccountKey */ AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** None */ + None = "None", + /** Sas */ + Sas = "Sas", /** ServicePrincipal */ ServicePrincipal = "ServicePrincipal", - /** AccessKey */ - AccessKey = "AccessKey", - /** ApiKey */ - ApiKey = "ApiKey", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** OAuth2 */ - OAuth2 = "OAuth2", - /** AAD */ - AAD = "AAD", } /** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, + * Defines values for CredentialsType. \ + * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** */ -export type ConnectionAuthType = string; +export type CredentialsType = string; -/** Known values of {@link ConnectionCategory} that the service accepts. */ -export enum KnownConnectionCategory { - /** PythonFeed */ - PythonFeed = "PythonFeed", - /** ContainerRegistry */ - ContainerRegistry = "ContainerRegistry", - /** Git */ - Git = "Git", - /** S3 */ - S3 = "S3", - /** Snowflake */ - Snowflake = "Snowflake", - /** AzureSqlDb */ - AzureSqlDb = "AzureSqlDb", - /** AzureSynapseAnalytics */ - AzureSynapseAnalytics = "AzureSynapseAnalytics", - /** AzureMySqlDb */ - AzureMySqlDb = "AzureMySqlDb", - /** AzurePostgresDb */ - AzurePostgresDb = "AzurePostgresDb", - /** AdlsGen2 */ - AdlsGen2 = "ADLSGen2", - /** Redis */ - Redis = "Redis", - /** ApiKey */ - ApiKey = "ApiKey", - /** AzureOpenAI */ - AzureOpenAI = "AzureOpenAI", - /** CognitiveSearch */ - CognitiveSearch = "CognitiveSearch", - /** CognitiveService */ - CognitiveService = "CognitiveService", - /** CustomKeys */ - CustomKeys = "CustomKeys", +/** Known values of {@link DatastoreType} that the service accepts. */ +export enum KnownDatastoreType { /** AzureBlob */ AzureBlob = "AzureBlob", - /** AzureOneLake */ - AzureOneLake = "AzureOneLake", - /** CosmosDb */ - CosmosDb = "CosmosDb", - /** CosmosDbMongoDbApi */ - CosmosDbMongoDbApi = "CosmosDbMongoDbApi", - /** AzureDataExplorer */ - AzureDataExplorer = "AzureDataExplorer", - /** AzureMariaDb */ - AzureMariaDb = "AzureMariaDb", - /** AzureDatabricksDeltaLake */ - AzureDatabricksDeltaLake = "AzureDatabricksDeltaLake", - /** AzureSqlMi */ - AzureSqlMi = "AzureSqlMi", - /** AzureTableStorage */ - AzureTableStorage = "AzureTableStorage", - /** AmazonRdsForOracle */ - AmazonRdsForOracle = "AmazonRdsForOracle", - /** AmazonRdsForSqlServer */ - AmazonRdsForSqlServer = "AmazonRdsForSqlServer", - /** AmazonRedshift */ - AmazonRedshift = "AmazonRedshift", - /** Db2 */ - Db2 = "Db2", - /** Drill */ - Drill = "Drill", - /** GoogleBigQuery */ - GoogleBigQuery = "GoogleBigQuery", - /** Greenplum */ - Greenplum = "Greenplum", - /** Hbase */ - Hbase = "Hbase", - /** Hive */ - Hive = "Hive", - /** Impala */ - Impala = "Impala", - /** Informix */ - Informix = "Informix", - /** MariaDb */ - MariaDb = "MariaDb", - /** MicrosoftAccess */ - MicrosoftAccess = "MicrosoftAccess", - /** MySql */ - MySql = "MySql", - /** Netezza */ - Netezza = "Netezza", - /** Oracle */ - Oracle = "Oracle", - /** Phoenix */ - Phoenix = "Phoenix", - /** PostgreSql */ - PostgreSql = "PostgreSql", - /** Presto */ - Presto = "Presto", - /** SapOpenHub */ - SapOpenHub = "SapOpenHub", - /** SapBw */ - SapBw = "SapBw", - /** SapHana */ - SapHana = "SapHana", - /** SapTable */ - SapTable = "SapTable", - /** Spark */ - Spark = "Spark", - /** SqlServer */ - SqlServer = "SqlServer", - /** Sybase */ - Sybase = "Sybase", - /** Teradata */ - Teradata = "Teradata", - /** Vertica */ - Vertica = "Vertica", - /** Cassandra */ - Cassandra = "Cassandra", - /** Couchbase */ - Couchbase = "Couchbase", - /** MongoDbV2 */ - MongoDbV2 = "MongoDbV2", - /** MongoDbAtlas */ - MongoDbAtlas = "MongoDbAtlas", - /** AmazonS3Compatible */ - AmazonS3Compatible = "AmazonS3Compatible", - /** FileServer */ - FileServer = "FileServer", - /** FtpServer */ - FtpServer = "FtpServer", - /** GoogleCloudStorage */ - GoogleCloudStorage = "GoogleCloudStorage", - /** Hdfs */ - Hdfs = "Hdfs", - /** OracleCloudStorage */ - OracleCloudStorage = "OracleCloudStorage", - /** Sftp */ - Sftp = "Sftp", - /** GenericHttp */ - GenericHttp = "GenericHttp", - /** ODataRest */ - ODataRest = "ODataRest", - /** Odbc */ - Odbc = "Odbc", - /** GenericRest */ - GenericRest = "GenericRest", - /** AmazonMws */ - AmazonMws = "AmazonMws", - /** Concur */ - Concur = "Concur", - /** Dynamics */ - Dynamics = "Dynamics", - /** DynamicsAx */ - DynamicsAx = "DynamicsAx", - /** DynamicsCrm */ - DynamicsCrm = "DynamicsCrm", - /** GoogleAdWords */ - GoogleAdWords = "GoogleAdWords", - /** Hubspot */ - Hubspot = "Hubspot", - /** Jira */ - Jira = "Jira", - /** Magento */ - Magento = "Magento", - /** Marketo */ - Marketo = "Marketo", - /** Office365 */ - Office365 = "Office365", - /** Eloqua */ - Eloqua = "Eloqua", - /** Responsys */ - Responsys = "Responsys", - /** OracleServiceCloud */ - OracleServiceCloud = "OracleServiceCloud", - /** PayPal */ - PayPal = "PayPal", - /** QuickBooks */ - QuickBooks = "QuickBooks", - /** Salesforce */ - Salesforce = "Salesforce", - /** SalesforceServiceCloud */ - SalesforceServiceCloud = "SalesforceServiceCloud", - /** SalesforceMarketingCloud */ - SalesforceMarketingCloud = "SalesforceMarketingCloud", - /** SapCloudForCustomer */ - SapCloudForCustomer = "SapCloudForCustomer", - /** SapEcc */ - SapEcc = "SapEcc", - /** ServiceNow */ - ServiceNow = "ServiceNow", - /** SharePointOnlineList */ - SharePointOnlineList = "SharePointOnlineList", - /** Shopify */ - Shopify = "Shopify", - /** Square */ - Square = "Square", - /** WebTable */ - WebTable = "WebTable", - /** Xero */ - Xero = "Xero", - /** Zoho */ - Zoho = "Zoho", - /** GenericContainerRegistry */ - GenericContainerRegistry = "GenericContainerRegistry", - /** OpenAI */ - OpenAI = "OpenAI", - /** Serp */ - Serp = "Serp", - /** BingLLMSearch */ - BingLLMSearch = "BingLLMSearch", - /** Serverless */ - Serverless = "Serverless", - /** AIServices */ - AIServices = "AIServices", -} - -/** - * Defines values for ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **PythonFeed** \ - * **ContainerRegistry** \ - * **Git** \ - * **S3** \ - * **Snowflake** \ - * **AzureSqlDb** \ - * **AzureSynapseAnalytics** \ - * **AzureMySqlDb** \ - * **AzurePostgresDb** \ - * **ADLSGen2** \ - * **Redis** \ - * **ApiKey** \ - * **AzureOpenAI** \ - * **CognitiveSearch** \ - * **CognitiveService** \ - * **CustomKeys** \ - * **AzureBlob** \ - * **AzureOneLake** \ - * **CosmosDb** \ - * **CosmosDbMongoDbApi** \ - * **AzureDataExplorer** \ - * **AzureMariaDb** \ - * **AzureDatabricksDeltaLake** \ - * **AzureSqlMi** \ - * **AzureTableStorage** \ - * **AmazonRdsForOracle** \ - * **AmazonRdsForSqlServer** \ - * **AmazonRedshift** \ - * **Db2** \ - * **Drill** \ - * **GoogleBigQuery** \ - * **Greenplum** \ - * **Hbase** \ - * **Hive** \ - * **Impala** \ - * **Informix** \ - * **MariaDb** \ - * **MicrosoftAccess** \ - * **MySql** \ - * **Netezza** \ - * **Oracle** \ - * **Phoenix** \ - * **PostgreSql** \ - * **Presto** \ - * **SapOpenHub** \ - * **SapBw** \ - * **SapHana** \ - * **SapTable** \ - * **Spark** \ - * **SqlServer** \ - * **Sybase** \ - * **Teradata** \ - * **Vertica** \ - * **Cassandra** \ - * **Couchbase** \ - * **MongoDbV2** \ - * **MongoDbAtlas** \ - * **AmazonS3Compatible** \ - * **FileServer** \ - * **FtpServer** \ - * **GoogleCloudStorage** \ - * **Hdfs** \ - * **OracleCloudStorage** \ - * **Sftp** \ - * **GenericHttp** \ - * **ODataRest** \ - * **Odbc** \ - * **GenericRest** \ - * **AmazonMws** \ - * **Concur** \ - * **Dynamics** \ - * **DynamicsAx** \ - * **DynamicsCrm** \ - * **GoogleAdWords** \ - * **Hubspot** \ - * **Jira** \ - * **Magento** \ - * **Marketo** \ - * **Office365** \ - * **Eloqua** \ - * **Responsys** \ - * **OracleServiceCloud** \ - * **PayPal** \ - * **QuickBooks** \ - * **Salesforce** \ - * **SalesforceServiceCloud** \ - * **SalesforceMarketingCloud** \ - * **SapCloudForCustomer** \ - * **SapEcc** \ - * **ServiceNow** \ - * **SharePointOnlineList** \ - * **Shopify** \ - * **Square** \ - * **WebTable** \ - * **Xero** \ - * **Zoho** \ - * **GenericContainerRegistry** \ - * **OpenAI** \ - * **Serp** \ - * **BingLLMSearch** \ - * **Serverless** \ - * **AIServices** - */ -export type ConnectionCategory = string; - -/** Known values of {@link ConnectionGroup} that the service accepts. */ -export enum KnownConnectionGroup { - /** Azure */ - Azure = "Azure", - /** AzureAI */ - AzureAI = "AzureAI", - /** Database */ - Database = "Database", - /** NoSQL */ - NoSQL = "NoSQL", - /** File */ - File = "File", - /** GenericProtocol */ - GenericProtocol = "GenericProtocol", - /** ServicesAndApps */ - ServicesAndApps = "ServicesAndApps", -} - -/** - * Defines values for ConnectionGroup. \ - * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** - */ -export type ConnectionGroup = string; - -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", -} - -/** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JSON** - */ -export type ValueFormat = string; - -/** Known values of {@link AssetProvisioningState} that the service accepts. */ -export enum KnownAssetProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * Defines values for DatastoreType. \ + * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** */ -export type AssetProvisioningState = string; +export type DatastoreType = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** Known values of {@link SecretsType} that the service accepts. */ +export enum KnownSecretsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", } /** - * Defines values for PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * Defines values for SecretsType. \ + * {@link KnownSecretsType} can be used interchangeably with SecretsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **TemporaryBlobReference** + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** */ -export type PendingUploadType = string; +export type SecretsType = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** Known values of {@link FeatureDataType} that the service accepts. */ +export enum KnownFeatureDataType { + /** String */ + String = "String", + /** Integer */ + Integer = "Integer", + /** Long */ + Long = "Long", + /** Float */ + Float = "Float", + /** Double */ + Double = "Double", + /** Binary */ + Binary = "Binary", + /** Datetime */ + Datetime = "Datetime", + /** Boolean */ + Boolean = "Boolean", } /** - * Defines values for PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * Defines values for FeatureDataType. \ + * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** \ + * **Boolean** */ -export type PendingUploadCredentialType = string; +export type FeatureDataType = string; -/** Known values of {@link ListViewType} that the service accepts. */ -export enum KnownListViewType { - /** ActiveOnly */ - ActiveOnly = "ActiveOnly", - /** ArchivedOnly */ - ArchivedOnly = "ArchivedOnly", - /** All */ - All = "All", +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * Defines values for EmailNotificationEnableType. \ + * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** */ -export type ListViewType = string; +export type EmailNotificationEnableType = string; -/** Known values of {@link DataType} that the service accepts. */ -export enum KnownDataType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", +/** Known values of {@link WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * Defines values for WebhookType. \ + * {@link KnownWebhookType} can be used interchangeably with WebhookType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **AzureDevOps** */ -export type DataType = string; +export type WebhookType = string; -/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ -export enum KnownDataReferenceCredentialType { - /** SAS */ - SAS = "SAS", - /** DockerCredentials */ - DockerCredentials = "DockerCredentials", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** NoCredentials */ - NoCredentials = "NoCredentials", +/** Known values of {@link RecurrenceFrequency} that the service accepts. */ +export enum KnownRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", } /** - * Defines values for DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * Defines values for RecurrenceFrequency. \ + * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type DataReferenceCredentialType = string; +export type RecurrenceFrequency = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** Known values of {@link WeekDay} that the service accepts. */ +export enum KnownWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", } /** - * Defines values for EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * Defines values for WeekDay. \ + * {@link KnownWeekDay} can be used interchangeably with WeekDay, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Curated** \ - * **UserCreated** - */ -export type EnvironmentType = string; - -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", + * **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 OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **Recurrence** \ + * **Cron** */ -export type OperatingSystemType = string; +export type TriggerType = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** Known values of {@link MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { + /** None */ + None = "None", + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for MaterializationStoreType. \ + * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** */ -export type AutoRebuildSetting = string; +export type MaterializationStoreType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Updating */ - Updating = "Updating", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ +export enum KnownDataAvailabilityStatus { + /** None */ + None = "None", + /** Pending */ + Pending = "Pending", + /** Incomplete */ + Incomplete = "Incomplete", + /** Complete */ + Complete = "Complete", } /** - * Defines values for EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * Defines values for DataAvailabilityStatus. \ + * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Updating** \ - * **Canceled** + * **None** \ + * **Pending** \ + * **Incomplete** \ + * **Complete** */ -export type EndpointProvisioningState = string; +export type DataAvailabilityStatus = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", /** AMLToken */ AMLToken = "AMLToken", - /** Key */ - Key = "Key", - /** AADToken */ - AADToken = "AADToken", + /** UserIdentity */ + UserIdentity = "UserIdentity", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * Defines values for IdentityConfigurationType. \ + * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **Managed** \ * **AMLToken** \ - * **Key** \ - * **AADToken** + * **UserIdentity** */ -export type EndpointAuthMode = string; +export type IdentityConfigurationType = string; -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", +/** Known values of {@link JobType} that the service accepts. */ +export enum KnownJobType { + /** AutoML */ + AutoML = "AutoML", + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", + /** Spark */ + Spark = "Spark", } /** - * Defines values for BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * Defines values for JobType. \ + * {@link KnownJobType} can be used interchangeably with JobType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Model** \ - * **PipelineComponent** + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** */ -export type BatchDeploymentConfigurationType = string; +export type JobType = string; -/** Known values of {@link BatchLoggingLevel} that the service accepts. */ -export enum KnownBatchLoggingLevel { - /** Info */ - Info = "Info", - /** Warning */ - Warning = "Warning", - /** Debug */ - Debug = "Debug", +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", } /** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * Defines values for NodesValueType. \ + * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Info** \ - * **Warning** \ - * **Debug** + * **All** */ -export type BatchLoggingLevel = string; +export type NodesValueType = string; -/** Known values of {@link ReferenceType} that the service accepts. */ -export enum KnownReferenceType { - /** Id */ - Id = "Id", - /** DataPath */ - DataPath = "DataPath", - /** OutputPath */ - OutputPath = "OutputPath", +/** Known values of {@link JobStatus} that the service accepts. */ +export enum KnownJobStatus { + /** Run hasn't started yet. */ + NotStarted = "NotStarted", + /** Run has started. The user has a run ID. */ + Starting = "Starting", + /** (Not used currently) It will be used if ES is creating the compute target. */ + Provisioning = "Provisioning", + /** The run environment is being prepared. */ + Preparing = "Preparing", + /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ + Queued = "Queued", + /** The job started to run in the compute target. */ + Running = "Running", + /** Job is completed in the target. It is in output collection state now. */ + Finalizing = "Finalizing", + /** Cancellation has been requested for the job. */ + CancelRequested = "CancelRequested", + /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ + Completed = "Completed", + /** Job failed. */ + Failed = "Failed", + /** Following cancellation request, the job is now successfully canceled. */ + Canceled = "Canceled", + /** + * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. + */ + NotResponding = "NotResponding", + /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ + Paused = "Paused", + /** Default job status if not mapped to all other statuses */ + Unknown = "Unknown", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * Defines values for JobStatus. \ + * {@link KnownJobStatus} can be used interchangeably with JobStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **NotStarted**: Run hasn't started yet. \ + * **Starting**: Run has started. The user has a run ID. \ + * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ + * **Preparing**: The run environment is being prepared. \ + * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ + * **Running**: The job started to run in the compute target. \ + * **Finalizing**: Job is completed in the target. It is in output collection state now. \ + * **CancelRequested**: Cancellation has been requested for the job. \ + * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ + * **Failed**: Job failed. \ + * **Canceled**: Following cancellation request, the job is now successfully canceled. \ + * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ + * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ + * **Unknown**: Default job status if not mapped to all other statuses */ -export type ReferenceType = string; +export type JobStatus = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ +export enum KnownMarketplaceSubscriptionStatus { + /** + * The customer can now use the Marketplace Subscription's + * model and will be billed. + */ + Subscribed = "Subscribed", + /** + * The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. + */ + Suspended = "Suspended", + /** + * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ + Unsubscribed = "Unsubscribed", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * Defines values for MarketplaceSubscriptionStatus. \ + * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SummaryOnly** \ - * **AppendRow** + * **Subscribed**: The customer can now use the Marketplace Subscription's + * model and will be billed. \ + * **Suspended**: The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. \ + * **Unsubscribed**: Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. */ -export type BatchOutputAction = string; +export type MarketplaceSubscriptionStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { - /** Creating */ +/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ +export enum KnownMarketplaceSubscriptionProvisioningState { + /** MarketplaceSubscription is being created. */ Creating = "Creating", - /** Deleting */ + /** MarketplaceSubscription is being deleted. */ Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ + /** MarketplaceSubscription is successfully provisioned. */ Succeeded = "Succeeded", - /** Failed */ + /** MarketplaceSubscription provisioning failed. */ Failed = "Failed", + /** MarketplaceSubscription is being updated. */ + Updating = "Updating", /** Canceled */ Canceled = "Canceled", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * Defines values for MarketplaceSubscriptionProvisioningState. \ + * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ + * **Creating**: MarketplaceSubscription is being created. \ + * **Deleting**: MarketplaceSubscription is being deleted. \ + * **Succeeded**: MarketplaceSubscription is successfully provisioned. \ + * **Failed**: MarketplaceSubscription provisioning failed. \ + * **Updating**: MarketplaceSubscription is being updated. \ * **Canceled** */ -export type DeploymentProvisioningState = string; +export type MarketplaceSubscriptionProvisioningState = string; -/** Known values of {@link DatastoreType} that the service accepts. */ -export enum KnownDatastoreType { - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ - AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ - AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile", - /** OneLake */ - OneLake = "OneLake", +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * Defines values for EndpointComputeType. \ + * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** */ -export type DatastoreType = string; +export type EndpointComputeType = string; -/** Known values of {@link CredentialsType} that the service accepts. */ -export enum KnownCredentialsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** None */ - None = "None", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * Defines values for OrderString. \ + * {@link KnownOrderString} can be used interchangeably with OrderString, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** */ -export type CredentialsType = string; +export type OrderString = string; -/** Known values of {@link SecretsType} that the service accepts. */ -export enum KnownSecretsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * Defines values for PublicNetworkAccessType. \ + * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Enabled** \ + * **Disabled** */ -export type SecretsType = string; +export type PublicNetworkAccessType = string; -/** Known values of {@link FeatureDataType} that the service accepts. */ -export enum KnownFeatureDataType { - /** String */ - String = "String", - /** Integer */ - Integer = "Integer", - /** Long */ - Long = "Long", - /** Float */ - Float = "Float", - /** Double */ - Double = "Double", - /** Binary */ - Binary = "Binary", - /** Datetime */ - Datetime = "Datetime", - /** Boolean */ - Boolean = "Boolean", +/** Known values of {@link DataCollectionMode} that the service accepts. */ +export enum KnownDataCollectionMode { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * Defines values for DataCollectionMode. \ + * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** + * **Enabled** \ + * **Disabled** */ -export type FeatureDataType = string; +export type DataCollectionMode = string; -/** Known values of {@link MaterializationStoreType} that the service accepts. */ -export enum KnownMaterializationStoreType { - /** None */ - None = "None", - /** Online */ - Online = "Online", - /** Offline */ - Offline = "Offline", - /** OnlineAndOffline */ - OnlineAndOffline = "OnlineAndOffline", +/** Known values of {@link RollingRateType} that the service accepts. */ +export enum KnownRollingRateType { + /** Year */ + Year = "Year", + /** Month */ + Month = "Month", + /** Day */ + Day = "Day", + /** Hour */ + Hour = "Hour", + /** Minute */ + Minute = "Minute", } /** - * Defines values for MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * Defines values for RollingRateType. \ + * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** */ -export type MaterializationStoreType = string; +export type RollingRateType = string; -/** Known values of {@link RecurrenceFrequency} that the service accepts. */ -export enum KnownRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * Defines values for EgressPublicNetworkAccessType. \ + * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type EgressPublicNetworkAccessType = string; + +/** Known values of {@link ScaleType} that the service accepts. */ +export enum KnownScaleType { + /** Default */ + Default = "Default", + /** TargetUtilization */ + TargetUtilization = "TargetUtilization", } /** - * Defines values for RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * 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 - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Default** \ + * **TargetUtilization** */ -export type RecurrenceFrequency = string; +export type ScaleType = 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 ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", } /** - * Defines values for WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * 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 - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **StorageInitializer** \ + * **InferenceServer** */ -export type WeekDay = string; +export type ContainerType = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** 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 TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * 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 - * **Recurrence** \ - * **Cron** + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. */ -export type TriggerType = string; +export type SkuScaleType = 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 KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * 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 - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Primary** \ + * **Secondary** */ -export type EmailNotificationEnableType = string; +export type KeyType = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * 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 - * **AzureDevOps** + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type WebhookType = string; +export type ScheduleListViewType = 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 ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * 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 - * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type DataAvailabilityStatus = string; +export type ScheduleActionType = 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 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", } /** - * Defines values for JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * 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 - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** + * **Creating** \ + * **Updating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type JobType = string; +export type ScheduleProvisioningStatus = 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 ServerlessInferenceEndpointAuthMode} that the service accepts. */ +export enum KnownServerlessInferenceEndpointAuthMode { + /** Key */ + Key = "Key", } /** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * 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 - * **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 + * ### Known values supported by the service + * **Key** */ -export type JobStatus = string; +export type ServerlessInferenceEndpointAuthMode = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * 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 - * **All** + * **Enabled** \ + * **Disabled** */ -export type NodesValueType = string; +export type ContentSafetyStatus = 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 ServerlessEndpointState} that the service accepts. */ +export enum KnownServerlessEndpointState { + /** Unknown */ + Unknown = "Unknown", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Suspending */ + Suspending = "Suspending", + /** Reinstating */ + Reinstating = "Reinstating", + /** Online */ + Online = "Online", + /** Suspended */ + Suspended = "Suspended", + /** CreationFailed */ + CreationFailed = "CreationFailed", + /** DeletionFailed */ + DeletionFailed = "DeletionFailed", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * 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 - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **Unknown** \ + * **Creating** \ + * **Deleting** \ + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type IdentityConfigurationType = string; +export type ServerlessEndpointState = 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 EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", } /** - * Defines values for MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * 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 - * **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. + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** */ -export type MarketplaceSubscriptionStatus = string; +export type EndpointServiceConnectionStatus = 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 Origin} that the service accepts. */ +export enum KnownOrigin { + /** User */ + User = "user", + /** System */ + System = "system", + /** UserSystem */ + UserSystem = "user,system", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * 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 - * **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** + * **user** \ + * **system** \ + * **user,system** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type Origin = 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 ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * 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 - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **Internal** */ -export type EndpointComputeType = string; +export type ActionType = 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 EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * 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 - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Enabled** \ + * **Disabled** */ -export type OrderString = string; +export type EncryptionStatus = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8700,320 +8385,656 @@ export enum KnownPublicNetworkAccessType { } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * 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 PublicNetworkAccessType = string; +export type PublicNetworkAccess = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", +/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownPrivateEndpointServiceConnectionStatus { + /** Pending */ + Pending = "Pending", + /** Approved */ + Approved = "Approved", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", + /** Timeout */ + Timeout = "Timeout", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * 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 - * **Default** \ - * **TargetUtilization** + * **Pending** \ + * **Approved** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type ScaleType = string; +export type PrivateEndpointServiceConnectionStatus = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** */ -export type EgressPublicNetworkAccessType = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { - /** Enabled */ - Enabled = "Enabled", +/** Known values of {@link IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { /** Disabled */ Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * 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 - * **Enabled** \ - * **Disabled** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type DataCollectionMode = string; +export type IsolationMode = 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 RuleCategory} that the service accepts. */ +export enum KnownRuleCategory { + /** Required */ + Required = "Required", + /** Recommended */ + Recommended = "Recommended", + /** UserDefined */ + UserDefined = "UserDefined", + /** Dependency */ + Dependency = "Dependency", } /** - * Defines values for RollingRateType. \ - * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * 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 - * **Year** \ - * **Month** \ - * **Day** \ - * **Hour** \ - * **Minute** + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** */ -export type RollingRateType = string; +export type RuleCategory = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** Known values of {@link RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** Provisioning */ + Provisioning = "Provisioning", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * 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 - * **StorageInitializer** \ - * **InferenceServer** + * **Inactive** \ + * **Active** \ + * **Provisioning** \ + * **Deleting** \ + * **Failed** */ -export type ContainerType = string; +export type RuleStatus = 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 RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * 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 - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type SkuScaleType = string; +export type RuleType = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * 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 - * **Primary** \ - * **Secondary** + * **Inactive** \ + * **Active** */ -export type KeyType = string; +export type ManagedNetworkStatus = 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 FirewallSku} that the service accepts. */ +export enum KnownFirewallSku { + /** Standard */ + Standard = "Standard", + /** Basic */ + Basic = "Basic", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * Defines values for FirewallSku. \ + * {@link KnownFirewallSku} can be used interchangeably with FirewallSku, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **Standard** \ + * **Basic** */ -export type ScheduleListViewType = string; +export type FirewallSku = 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 ManagedNetworkKind} that the service accepts. */ +export enum KnownManagedNetworkKind { + /** V1 */ + V1 = "V1", + /** V2 */ + V2 = "V2", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * Defines values for ManagedNetworkKind. \ + * {@link KnownManagedNetworkKind} can be used interchangeably with ManagedNetworkKind, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **V1** \ + * **V2** */ -export type ScheduleActionType = string; +export type ManagedNetworkKind = string; -/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ -export enum KnownScheduleProvisioningStatus { - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * Defines values for DiagnoseResultLevel. \ + * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Warning** \ + * **Error** \ + * **Information** */ -export type ScheduleProvisioningStatus = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** Known values of {@link ConnectionAuthType} that the service accepts. */ +export enum KnownConnectionAuthType { + /** PAT */ + PAT = "PAT", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** UsernamePassword */ + UsernamePassword = "UsernamePassword", + /** None */ + None = "None", + /** SAS */ + SAS = "SAS", + /** AccountKey */ + AccountKey = "AccountKey", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", + /** AccessKey */ + AccessKey = "AccessKey", + /** ApiKey */ + ApiKey = "ApiKey", + /** CustomKeys */ + CustomKeys = "CustomKeys", + /** OAuth2 */ + OAuth2 = "OAuth2", + /** AAD */ + AAD = "AAD", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * Defines values for ConnectionAuthType. \ + * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Key** + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ + * **None** \ + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type ConnectionAuthType = string; -/** Known values of {@link ServerlessEndpointState} that the service accepts. */ -export enum KnownServerlessEndpointState { - /** Unknown */ - Unknown = "Unknown", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Suspending */ - Suspending = "Suspending", - /** Reinstating */ - Reinstating = "Reinstating", - /** Online */ - Online = "Online", - /** Suspended */ - Suspended = "Suspended", - /** CreationFailed */ - CreationFailed = "CreationFailed", - /** DeletionFailed */ - DeletionFailed = "DeletionFailed", +/** Known values of {@link ConnectionCategory} that the service accepts. */ +export enum KnownConnectionCategory { + /** PythonFeed */ + PythonFeed = "PythonFeed", + /** ContainerRegistry */ + ContainerRegistry = "ContainerRegistry", + /** Git */ + Git = "Git", + /** S3 */ + S3 = "S3", + /** Snowflake */ + Snowflake = "Snowflake", + /** AzureSqlDb */ + AzureSqlDb = "AzureSqlDb", + /** AzureSynapseAnalytics */ + AzureSynapseAnalytics = "AzureSynapseAnalytics", + /** AzureMySqlDb */ + AzureMySqlDb = "AzureMySqlDb", + /** AzurePostgresDb */ + AzurePostgresDb = "AzurePostgresDb", + /** AdlsGen2 */ + AdlsGen2 = "ADLSGen2", + /** Redis */ + Redis = "Redis", + /** ApiKey */ + ApiKey = "ApiKey", + /** AzureOpenAI */ + AzureOpenAI = "AzureOpenAI", + /** AIServices */ + AIServices = "AIServices", + /** CognitiveSearch */ + CognitiveSearch = "CognitiveSearch", + /** CognitiveService */ + CognitiveService = "CognitiveService", + /** CustomKeys */ + CustomKeys = "CustomKeys", + /** AzureBlob */ + AzureBlob = "AzureBlob", + /** AzureOneLake */ + AzureOneLake = "AzureOneLake", + /** CosmosDb */ + CosmosDb = "CosmosDb", + /** CosmosDbMongoDbApi */ + CosmosDbMongoDbApi = "CosmosDbMongoDbApi", + /** AzureDataExplorer */ + AzureDataExplorer = "AzureDataExplorer", + /** AzureMariaDb */ + AzureMariaDb = "AzureMariaDb", + /** AzureDatabricksDeltaLake */ + AzureDatabricksDeltaLake = "AzureDatabricksDeltaLake", + /** AzureSqlMi */ + AzureSqlMi = "AzureSqlMi", + /** AzureTableStorage */ + AzureTableStorage = "AzureTableStorage", + /** AmazonRdsForOracle */ + AmazonRdsForOracle = "AmazonRdsForOracle", + /** AmazonRdsForSqlServer */ + AmazonRdsForSqlServer = "AmazonRdsForSqlServer", + /** AmazonRedshift */ + AmazonRedshift = "AmazonRedshift", + /** Db2 */ + Db2 = "Db2", + /** Drill */ + Drill = "Drill", + /** GoogleBigQuery */ + GoogleBigQuery = "GoogleBigQuery", + /** Greenplum */ + Greenplum = "Greenplum", + /** Hbase */ + Hbase = "Hbase", + /** Hive */ + Hive = "Hive", + /** Impala */ + Impala = "Impala", + /** Informix */ + Informix = "Informix", + /** MariaDb */ + MariaDb = "MariaDb", + /** MicrosoftAccess */ + MicrosoftAccess = "MicrosoftAccess", + /** MySql */ + MySql = "MySql", + /** Netezza */ + Netezza = "Netezza", + /** Oracle */ + Oracle = "Oracle", + /** Phoenix */ + Phoenix = "Phoenix", + /** PostgreSql */ + PostgreSql = "PostgreSql", + /** Presto */ + Presto = "Presto", + /** SapOpenHub */ + SapOpenHub = "SapOpenHub", + /** SapBw */ + SapBw = "SapBw", + /** SapHana */ + SapHana = "SapHana", + /** SapTable */ + SapTable = "SapTable", + /** Spark */ + Spark = "Spark", + /** SqlServer */ + SqlServer = "SqlServer", + /** Sybase */ + Sybase = "Sybase", + /** Teradata */ + Teradata = "Teradata", + /** Vertica */ + Vertica = "Vertica", + /** Pinecone */ + Pinecone = "Pinecone", + /** Cassandra */ + Cassandra = "Cassandra", + /** Couchbase */ + Couchbase = "Couchbase", + /** MongoDbV2 */ + MongoDbV2 = "MongoDbV2", + /** MongoDbAtlas */ + MongoDbAtlas = "MongoDbAtlas", + /** AmazonS3Compatible */ + AmazonS3Compatible = "AmazonS3Compatible", + /** FileServer */ + FileServer = "FileServer", + /** FtpServer */ + FtpServer = "FtpServer", + /** GoogleCloudStorage */ + GoogleCloudStorage = "GoogleCloudStorage", + /** Hdfs */ + Hdfs = "Hdfs", + /** OracleCloudStorage */ + OracleCloudStorage = "OracleCloudStorage", + /** Sftp */ + Sftp = "Sftp", + /** GenericHttp */ + GenericHttp = "GenericHttp", + /** ODataRest */ + ODataRest = "ODataRest", + /** Odbc */ + Odbc = "Odbc", + /** GenericRest */ + GenericRest = "GenericRest", + /** AmazonMws */ + AmazonMws = "AmazonMws", + /** Concur */ + Concur = "Concur", + /** Dynamics */ + Dynamics = "Dynamics", + /** DynamicsAx */ + DynamicsAx = "DynamicsAx", + /** DynamicsCrm */ + DynamicsCrm = "DynamicsCrm", + /** GoogleAdWords */ + GoogleAdWords = "GoogleAdWords", + /** Hubspot */ + Hubspot = "Hubspot", + /** Jira */ + Jira = "Jira", + /** Magento */ + Magento = "Magento", + /** Marketo */ + Marketo = "Marketo", + /** Office365 */ + Office365 = "Office365", + /** Eloqua */ + Eloqua = "Eloqua", + /** Responsys */ + Responsys = "Responsys", + /** OracleServiceCloud */ + OracleServiceCloud = "OracleServiceCloud", + /** PayPal */ + PayPal = "PayPal", + /** QuickBooks */ + QuickBooks = "QuickBooks", + /** Salesforce */ + Salesforce = "Salesforce", + /** SalesforceServiceCloud */ + SalesforceServiceCloud = "SalesforceServiceCloud", + /** SalesforceMarketingCloud */ + SalesforceMarketingCloud = "SalesforceMarketingCloud", + /** SapCloudForCustomer */ + SapCloudForCustomer = "SapCloudForCustomer", + /** SapEcc */ + SapEcc = "SapEcc", + /** ServiceNow */ + ServiceNow = "ServiceNow", + /** SharePointOnlineList */ + SharePointOnlineList = "SharePointOnlineList", + /** Shopify */ + Shopify = "Shopify", + /** Square */ + Square = "Square", + /** WebTable */ + WebTable = "WebTable", + /** Xero */ + Xero = "Xero", + /** Zoho */ + Zoho = "Zoho", + /** GenericContainerRegistry */ + GenericContainerRegistry = "GenericContainerRegistry", + /** Elasticsearch */ + Elasticsearch = "Elasticsearch", + /** OpenAI */ + OpenAI = "OpenAI", + /** Serp */ + Serp = "Serp", + /** BingLLMSearch */ + BingLLMSearch = "BingLLMSearch", + /** Serverless */ + Serverless = "Serverless", + /** ManagedOnlineEndpoint */ + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", } /** - * Defines values for ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * Defines values for ConnectionCategory. \ + * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **PythonFeed** \ + * **ContainerRegistry** \ + * **Git** \ + * **S3** \ + * **Snowflake** \ + * **AzureSqlDb** \ + * **AzureSynapseAnalytics** \ + * **AzureMySqlDb** \ + * **AzurePostgresDb** \ + * **ADLSGen2** \ + * **Redis** \ + * **ApiKey** \ + * **AzureOpenAI** \ + * **AIServices** \ + * **CognitiveSearch** \ + * **CognitiveService** \ + * **CustomKeys** \ + * **AzureBlob** \ + * **AzureOneLake** \ + * **CosmosDb** \ + * **CosmosDbMongoDbApi** \ + * **AzureDataExplorer** \ + * **AzureMariaDb** \ + * **AzureDatabricksDeltaLake** \ + * **AzureSqlMi** \ + * **AzureTableStorage** \ + * **AmazonRdsForOracle** \ + * **AmazonRdsForSqlServer** \ + * **AmazonRedshift** \ + * **Db2** \ + * **Drill** \ + * **GoogleBigQuery** \ + * **Greenplum** \ + * **Hbase** \ + * **Hive** \ + * **Impala** \ + * **Informix** \ + * **MariaDb** \ + * **MicrosoftAccess** \ + * **MySql** \ + * **Netezza** \ + * **Oracle** \ + * **Phoenix** \ + * **PostgreSql** \ + * **Presto** \ + * **SapOpenHub** \ + * **SapBw** \ + * **SapHana** \ + * **SapTable** \ + * **Spark** \ + * **SqlServer** \ + * **Sybase** \ + * **Teradata** \ + * **Vertica** \ + * **Pinecone** \ + * **Cassandra** \ + * **Couchbase** \ + * **MongoDbV2** \ + * **MongoDbAtlas** \ + * **AmazonS3Compatible** \ + * **FileServer** \ + * **FtpServer** \ + * **GoogleCloudStorage** \ + * **Hdfs** \ + * **OracleCloudStorage** \ + * **Sftp** \ + * **GenericHttp** \ + * **ODataRest** \ + * **Odbc** \ + * **GenericRest** \ + * **AmazonMws** \ + * **Concur** \ + * **Dynamics** \ + * **DynamicsAx** \ + * **DynamicsCrm** \ + * **GoogleAdWords** \ + * **Hubspot** \ + * **Jira** \ + * **Magento** \ + * **Marketo** \ + * **Office365** \ + * **Eloqua** \ + * **Responsys** \ + * **OracleServiceCloud** \ + * **PayPal** \ + * **QuickBooks** \ + * **Salesforce** \ + * **SalesforceServiceCloud** \ + * **SalesforceMarketingCloud** \ + * **SapCloudForCustomer** \ + * **SapEcc** \ + * **ServiceNow** \ + * **SharePointOnlineList** \ + * **Shopify** \ + * **Square** \ + * **WebTable** \ + * **Xero** \ + * **Zoho** \ + * **GenericContainerRegistry** \ + * **Elasticsearch** \ + * **OpenAI** \ + * **Serp** \ + * **BingLLMSearch** \ + * **Serverless** \ + * **ManagedOnlineEndpoint** */ -export type ServerlessEndpointState = string; +export type ConnectionCategory = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ConnectionGroup} that the service accepts. */ +export enum KnownConnectionGroup { + /** Azure */ + Azure = "Azure", + /** AzureAI */ + AzureAI = "AzureAI", + /** Database */ + Database = "Database", + /** NoSQL */ + NoSQL = "NoSQL", + /** File */ + File = "File", + /** GenericProtocol */ + GenericProtocol = "GenericProtocol", + /** ServicesAndApps */ + ServicesAndApps = "ServicesAndApps", } /** - * Defines values for ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * Defines values for ConnectionGroup. \ + * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** */ -export type ContentSafetyStatus = string; +export type ConnectionGroup = string; -/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownEndpointServiceConnectionStatus { - /** Approved */ - Approved = "Approved", - /** Pending */ - Pending = "Pending", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", +/** Known values of {@link ValueFormat} that the service accepts. */ +export enum KnownValueFormat { + /** Json */ + Json = "JSON", } /** - * Defines values for EndpointServiceConnectionStatus. \ - * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, + * Defines values for ValueFormat. \ + * {@link KnownValueFormat} can be used interchangeably with ValueFormat, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** + * **JSON** */ -export type EndpointServiceConnectionStatus = string; +export type ValueFormat = string; /** Known values of {@link ClusterPurpose} that the service accepts. */ export enum KnownClusterPurpose { @@ -9726,24 +9747,6 @@ export enum KnownMountState { */ export type MountState = string; -/** Known values of {@link RuleAction} that the service accepts. */ -export enum KnownRuleAction { - /** Allow */ - Allow = "Allow", - /** Deny */ - Deny = "Deny", -} - -/** - * Defines values for RuleAction. \ - * {@link KnownRuleAction} can be used interchangeably with RuleAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Allow** \ - * **Deny** - */ -export type RuleAction = string; - /** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ export enum KnownMonitoringFeatureFilterType { /** Includes all features. */ @@ -9832,25 +9835,112 @@ export enum KnownOutputDeliveryMode { * **Upload** \ * **Direct** */ -export type OutputDeliveryMode = string; +export type OutputDeliveryMode = string; + +/** Known values of {@link ForecastHorizonMode} that the service accepts. */ +export enum KnownForecastHorizonMode { + /** Forecast horizon to be determined automatically. */ + Auto = "Auto", + /** Use the custom forecast horizon. */ + Custom = "Custom", +} + +/** + * Defines values for ForecastHorizonMode. \ + * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. + */ +export type ForecastHorizonMode = string; + +/** Known values of {@link JobOutputType} that the service accepts. */ +export enum KnownJobOutputType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", +} + +/** + * Defines values for JobOutputType. \ + * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobOutputType = string; + +/** Known values of {@link JobTier} that the service accepts. */ +export enum KnownJobTier { + /** Null */ + Null = "Null", + /** Spot */ + Spot = "Spot", + /** Basic */ + Basic = "Basic", + /** Standard */ + Standard = "Standard", + /** Premium */ + Premium = "Premium", +} + +/** + * Defines values for JobTier. \ + * {@link KnownJobTier} can be used interchangeably with JobTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** + */ +export type JobTier = string; -/** Known values of {@link ForecastHorizonMode} that the service accepts. */ -export enum KnownForecastHorizonMode { - /** Forecast horizon to be determined automatically. */ - Auto = "Auto", - /** Use the custom forecast horizon. */ - Custom = "Custom", +/** Known values of {@link LogVerbosity} that the service accepts. */ +export enum KnownLogVerbosity { + /** No logs emitted. */ + NotSet = "NotSet", + /** Debug and above log statements logged. */ + Debug = "Debug", + /** Info and above log statements logged. */ + Info = "Info", + /** Warning and above log statements logged. */ + Warning = "Warning", + /** Error and above log statements logged. */ + Error = "Error", + /** Only critical statements logged. */ + Critical = "Critical", } /** - * Defines values for ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * Defines values for LogVerbosity. \ + * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **NotSet**: No logs emitted. \ + * **Debug**: Debug and above log statements logged. \ + * **Info**: Info and above log statements logged. \ + * **Warning**: Warning and above log statements logged. \ + * **Error**: Error and above log statements logged. \ + * **Critical**: Only critical statements logged. */ -export type ForecastHorizonMode = string; +export type LogVerbosity = string; /** Known values of {@link TaskType} that the service accepts. */ export enum KnownTaskType { @@ -9926,36 +10016,6 @@ export enum KnownTaskType { */ export type TaskType = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical", -} - -/** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NotSet**: No logs emitted. \ - * **Debug**: Debug and above log statements logged. \ - * **Info**: Info and above log statements logged. \ - * **Warning**: Warning and above log statements logged. \ - * **Error**: Error and above log statements logged. \ - * **Critical**: Only critical statements logged. - */ -export type LogVerbosity = string; - /** Known values of {@link JobInputType} that the service accepts. */ export enum KnownJobInputType { /** Literal */ @@ -9989,63 +10049,6 @@ export enum KnownJobInputType { */ export type JobInputType = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", -} - -/** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** - */ -export type JobOutputType = string; - -/** Known values of {@link JobTier} that the service accepts. */ -export enum KnownJobTier { - /** Null */ - Null = "Null", - /** Spot */ - Spot = "Spot", - /** Basic */ - Basic = "Basic", - /** Standard */ - Standard = "Standard", - /** Premium */ - Premium = "Premium", -} - -/** - * Defines values for JobTier. \ - * {@link KnownJobTier} can be used interchangeably with JobTier, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** - */ -export type JobTier = string; - /** Known values of {@link NCrossValidationsMode} that the service accepts. */ export enum KnownNCrossValidationsMode { /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ @@ -10347,7 +10350,7 @@ export enum KnownClassificationModels { DecisionTree = "DecisionTree", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", @@ -10385,7 +10388,7 @@ export enum KnownClassificationModels { * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ @@ -10430,27 +10433,6 @@ export enum KnownStackMetaLearnerType { */ export type StackMetaLearnerType = string; -/** Known values of {@link FeaturizationMode} that the service accepts. */ -export enum KnownFeaturizationMode { - /** Auto mode, system performs featurization without any custom featurization inputs. */ - Auto = "Auto", - /** Custom featurization. */ - Custom = "Custom", - /** Featurization off. 'Forecasting' task cannot use this value. */ - Off = "Off", -} - -/** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. - */ -export type FeaturizationMode = string; - /** Known values of {@link BlockedTransformers} that the service accepts. */ export enum KnownBlockedTransformers { /** Target encoding for text data. */ @@ -10493,6 +10475,27 @@ export enum KnownBlockedTransformers { */ export type BlockedTransformers = string; +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", +} + +/** + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. + */ +export type FeaturizationMode = string; + /** Known values of {@link DistributionType} that the service accepts. */ export enum KnownDistributionType { /** PyTorch */ @@ -10532,6 +10535,21 @@ export enum KnownJobLimitsType { */ export type JobLimitsType = string; +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", +} + +/** + * Defines values for MonitorComputeType. \ + * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServerlessSpark**: Serverless Spark compute. + */ +export type MonitorComputeType = string; + /** Known values of {@link ModelTaskType} that the service accepts. */ export enum KnownModelTaskType { /** Classification */ @@ -10550,6 +10568,21 @@ export enum KnownModelTaskType { */ export type ModelTaskType = string; +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", +} + +/** + * Defines values for MonitoringNotificationType. \ + * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AmlNotification**: Enables email notifications through AML notifications. + */ +export type MonitoringNotificationType = string; + /** Known values of {@link MonitoringSignalType} that the service accepts. */ export enum KnownMonitoringSignalType { /** Tracks model input data distribution change, comparing against training data or past production data. */ @@ -10577,36 +10610,6 @@ export enum KnownMonitoringSignalType { */ export type MonitoringSignalType = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", -} - -/** - * Defines values for MonitoringNotificationType. \ - * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AmlNotification**: Enables email notifications through AML notifications. - */ -export type MonitoringNotificationType = string; - -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", -} - -/** - * Defines values for MonitorComputeType. \ - * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ServerlessSpark**: Serverless Spark compute. - */ -export type MonitorComputeType = string; - /** Known values of {@link MonitoringInputDataType} that the service accepts. */ export enum KnownMonitoringInputDataType { /** An input data with a fixed window size. */ @@ -10640,50 +10643,26 @@ export enum KnownFeatureImportanceMode { * 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 - * **Disabled**: Disables computing feature importance within a signal. \ - * **Enabled**: Enables computing feature importance within a signal. - */ -export type FeatureImportanceMode = string; - -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", -} - -/** - * Defines values for FeatureAttributionMetric. \ - * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. - */ -export type FeatureAttributionMetric = string; - -/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ -export enum KnownForecastingPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", + * ### Known values supported by the service + * **Disabled**: Disables computing feature importance within a signal. \ + * **Enabled**: Enables computing feature importance within a signal. + */ +export type FeatureImportanceMode = string; + +/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ +export enum KnownFeatureAttributionMetric { + /** The Normalized Discounted Cumulative Gain metric. */ + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * Defines values for FeatureAttributionMetric. \ + * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. */ -export type ForecastingPrimaryMetrics = string; +export type FeatureAttributionMetric = string; /** Known values of {@link FeatureLags} that the service accepts. */ export enum KnownFeatureLags { @@ -10727,6 +10706,33 @@ export enum KnownShortSeriesHandlingConfiguration { */ export type ShortSeriesHandlingConfiguration = string; +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + /** Sum */ + Sum = "Sum", + /** Max */ + Max = "Max", + /** Min */ + Min = "Min", + /** Mean */ + Mean = "Mean", +} + +/** + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** + */ +export type TargetAggregationFunction = string; + /** Known values of {@link UseStl} that the service accepts. */ export enum KnownUseStl { /** No stl decomposition. */ @@ -10748,32 +10754,29 @@ export enum KnownUseStl { */ export type UseStl = string; -/** Known values of {@link TargetAggregationFunction} that the service accepts. */ -export enum KnownTargetAggregationFunction { - /** Represent no value set. */ - None = "None", - /** Sum */ - Sum = "Sum", - /** Max */ - Max = "Max", - /** Min */ - Min = "Min", - /** Mean */ - Mean = "Mean", +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represent no value set. \ - * **Sum** \ - * **Max** \ - * **Min** \ - * **Mean** + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type TargetAggregationFunction = string; +export type ForecastingPrimaryMetrics = string; /** Known values of {@link ForecastingModels} that the service accepts. */ export enum KnownForecastingModels { @@ -10828,7 +10831,7 @@ export enum KnownForecastingModels { SGD = "SGD", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", @@ -10868,7 +10871,7 @@ export enum KnownForecastingModels { * to find the model parameters that correspond to the best fit between predicted and actual outputs. * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ @@ -11077,7 +11080,7 @@ export enum KnownNumericalDataDriftMetric { PopulationStabilityIndex = "PopulationStabilityIndex", /** The Normalized Wasserstein Distance metric. */ NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } @@ -11089,7 +11092,7 @@ export enum KnownNumericalDataDriftMetric { * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ export type NumericalDataDriftMetric = string; @@ -11122,7 +11125,7 @@ export enum KnownNumericalPredictionDriftMetric { PopulationStabilityIndex = "PopulationStabilityIndex", /** The Normalized Wasserstein Distance metric. */ NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } @@ -11134,7 +11137,7 @@ export enum KnownNumericalPredictionDriftMetric { * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ export type NumericalPredictionDriftMetric = string; @@ -11224,217 +11227,79 @@ export enum KnownRegressionModels { SGD = "SGD", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor", -} - -/** - * Defines values for RegressionModels. \ - * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type RegressionModels = string; - -/** Known values of {@link SparkJobEntryType} that the service accepts. */ -export enum KnownSparkJobEntryType { - /** SparkJobPythonEntry */ - SparkJobPythonEntry = "SparkJobPythonEntry", - /** SparkJobScalaEntry */ - SparkJobScalaEntry = "SparkJobScalaEntry", -} - -/** - * Defines values for SparkJobEntryType. \ - * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SparkJobPythonEntry** \ - * **SparkJobScalaEntry** - */ -export type SparkJobEntryType = string; -/** Defines values for SkuTier. */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; - -/** Optional parameters. */ -export interface OperationsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResult; - -/** Optional parameters. */ -export interface WorkspacesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; - -/** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; - -/** Optional parameters. */ -export interface WorkspacesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Flag to indicate delete is a purge request. */ - forceToPurge?: boolean; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the update operation. */ -export type WorkspacesUpdateResponse = Workspace; - -/** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} - -/** Contains response data for the listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams - extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - -/** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; - -/** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} - -/** Contains response data for the listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = - NotebookAccessTokenResult; - -/** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; - -/** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; - -/** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams - extends coreClient.OperationOptions {} + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", +} -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +/** + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + */ +export type RegressionModels = string; -/** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", +} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** + * Defines values for SparkJobEntryType. \ + * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** + */ +export type SparkJobEntryType = string; -/** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} -/** Contains response data for the listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** + * Defines values for RuleAction. \ + * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type RuleAction = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; /** Optional parameters. */ export interface UsagesListOptionalParams extends coreClient.OperationOptions {} @@ -11443,22 +11308,19 @@ export interface UsagesListOptionalParams extends coreClient.OperationOptions {} export type UsagesListResponse = ListUsagesResult; /** Optional parameters. */ -export interface UsagesListNextOptionalParams - extends coreClient.OperationOptions {} +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 {} +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 {} +export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; @@ -11470,8 +11332,7 @@ export interface QuotasListOptionalParams extends coreClient.OperationOptions {} export type QuotasListResponse = ListWorkspaceQuotas; /** Optional parameters. */ -export interface QuotasListNextOptionalParams - extends coreClient.OperationOptions {} +export interface QuotasListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type QuotasListNextResponse = ListWorkspaceQuotas; @@ -11492,8 +11353,7 @@ export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} export type ComputeGetResponse = ComputeResource; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11504,8 +11364,7 @@ export interface ComputeCreateOrUpdateOptionalParams export type ComputeCreateOrUpdateResponse = ComputeResource; /** Optional parameters. */ -export interface ComputeUpdateOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11516,8 +11375,7 @@ export interface ComputeUpdateOptionalParams export type ComputeUpdateResponse = ComputeResource; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11525,22 +11383,19 @@ export interface ComputeDeleteOptionalParams } /** Optional parameters. */ -export interface ComputeListNodesOptionalParams - extends coreClient.OperationOptions {} +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 {} +export interface ComputeListKeysOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listKeys operation. */ export type ComputeListKeysResponse = ComputeSecretsUnion; /** Optional parameters. */ -export interface ComputeStartOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11556,8 +11411,7 @@ export interface ComputeStopOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ -export interface ComputeRestartOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11565,174 +11419,28 @@ export interface ComputeRestartOptionalParams } /** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions {} +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 {} +export interface ComputeListNodesNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNodesNext operation. */ export type ComputeListNodesNextResponse = AmlComputeNodesInformation; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = - PrivateEndpointConnectionListResult; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = - PrivateEndpointConnection; - -/** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; - -/** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} - -/** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = - OutboundRuleBasicResource; - -/** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; - -/** 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 RegistryCodeContainersListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryCodeContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } /** Contains response data for the list operation. */ -export type RegistryCodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; +export type RegistryCodeContainersListResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeContainersDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11740,8 +11448,7 @@ export interface RegistryCodeContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryCodeContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryCodeContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryCodeContainersGetResponse = CodeContainer; @@ -11759,16 +11466,13 @@ export interface RegistryCodeContainersCreateOrUpdateOptionalParams export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ -export interface RegistryCodeContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryCodeContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type RegistryCodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryCodeVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -11778,12 +11482,10 @@ export interface RegistryCodeVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryCodeVersionsListResponse = - CodeVersionResourceArmPaginatedResult; +export type RegistryCodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11791,8 +11493,7 @@ export interface RegistryCodeVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryCodeVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryCodeVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryCodeVersionsGetResponse = CodeVersion; @@ -11814,27 +11515,22 @@ export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface RegistryCodeVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryCodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type RegistryCodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryComponentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } /** Contains response data for the list operation. */ -export type RegistryComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type RegistryComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ export interface RegistryComponentContainersDeleteOptionalParams @@ -11846,8 +11542,7 @@ export interface RegistryComponentContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryComponentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryComponentContainersGetResponse = ComponentContainer; @@ -11862,8 +11557,7 @@ export interface RegistryComponentContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentContainersCreateOrUpdateResponse = - ComponentContainer; +export type RegistryComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ export interface RegistryComponentContainersListNextOptionalParams @@ -11874,8 +11568,7 @@ export type RegistryComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryComponentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -11885,12 +11578,10 @@ export interface RegistryComponentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type RegistryComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11898,8 +11589,7 @@ export interface RegistryComponentVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryComponentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryComponentVersionsGetResponse = ComponentVersion; @@ -11921,12 +11611,10 @@ export interface RegistryComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type RegistryComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryDataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -11934,12 +11622,10 @@ export interface RegistryDataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type RegistryDataContainersListResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -11947,8 +11633,7 @@ export interface RegistryDataContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryDataContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryDataContainersGetResponse = DataContainer; @@ -11966,16 +11651,13 @@ export interface RegistryDataContainersCreateOrUpdateOptionalParams export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface RegistryDataContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type RegistryDataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ @@ -11992,12 +11674,10 @@ export interface RegistryDataVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type RegistryDataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12005,8 +11685,7 @@ export interface RegistryDataVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryDataVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryDataVersionsGetResponse = DataVersionBase; @@ -12028,24 +11707,20 @@ export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface RegistryDataVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type RegistryDataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getBlobReferenceSAS operation. */ -export type RegistryDataReferencesGetBlobReferenceSASResponse = - GetBlobReferenceSASResponseDto; +export type RegistryDataReferencesGetBlobReferenceSASResponse = GetBlobReferenceSASResponseDto; /** Optional parameters. */ export interface RegistryEnvironmentContainersListOptionalParams @@ -12086,8 +11761,7 @@ export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentContainersCreateOrUpdateResponse = - EnvironmentContainer; +export type RegistryEnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ export interface RegistryEnvironmentContainersListNextOptionalParams @@ -12098,8 +11772,7 @@ export type RegistryEnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12111,8 +11784,7 @@ export interface RegistryEnvironmentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryEnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type RegistryEnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface RegistryEnvironmentVersionsDeleteOptionalParams @@ -12124,8 +11796,7 @@ export interface RegistryEnvironmentVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryEnvironmentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryEnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; @@ -12140,8 +11811,7 @@ export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentVersionsCreateOrUpdateResponse = - EnvironmentVersion; +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; /** Optional parameters. */ export interface RegistryEnvironmentVersionsListNextOptionalParams @@ -12152,8 +11822,7 @@ export type RegistryEnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -12161,12 +11830,10 @@ export interface RegistryModelContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type RegistryModelContainersListResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -12174,8 +11841,7 @@ export interface RegistryModelContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryModelContainersGetResponse = ModelContainer; @@ -12197,12 +11863,10 @@ export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type RegistryModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface RegistryModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12222,12 +11886,10 @@ export interface RegistryModelVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryModelVersionsListResponse = - ModelVersionResourceArmPaginatedResult; +export type RegistryModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -12235,8 +11897,7 @@ export interface RegistryModelVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type RegistryModelVersionsGetResponse = ModelVersion; @@ -12258,20 +11919,16 @@ export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParam extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface RegistryModelVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type RegistryModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListOptionalParams - 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. */ @@ -12279,12 +11936,10 @@ export interface BatchEndpointsListOptionalParams } /** Contains response data for the list operation. */ -export type BatchEndpointsListResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type BatchEndpointsListResponse = BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -12292,15 +11947,13 @@ export interface BatchEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type BatchEndpointsGetResponse = BatchEndpoint; /** Optional parameters. */ -export interface BatchEndpointsUpdateOptionalParams - 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. */ @@ -12311,8 +11964,7 @@ export interface BatchEndpointsUpdateOptionalParams export type BatchEndpointsUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface BatchEndpointsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface BatchEndpointsCreateOrUpdateOptionalParams 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. */ @@ -12323,23 +11975,19 @@ export interface BatchEndpointsCreateOrUpdateOptionalParams export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface BatchEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listKeys operation. */ export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface BatchEndpointsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type BatchEndpointsListNextResponse = BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsListOptionalParams - extends coreClient.OperationOptions { +export interface BatchDeploymentsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12349,12 +11997,10 @@ export interface BatchDeploymentsListOptionalParams } /** Contains response data for the list operation. */ -export type BatchDeploymentsListResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type BatchDeploymentsListResponse = BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface BatchDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12362,15 +12008,13 @@ export interface BatchDeploymentsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} +export interface BatchDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type BatchDeploymentsGetResponse = BatchDeployment; /** Optional parameters. */ -export interface BatchDeploymentsUpdateOptionalParams - extends coreClient.OperationOptions { +export interface BatchDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12381,8 +12025,7 @@ export interface BatchDeploymentsUpdateOptionalParams export type BatchDeploymentsUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface BatchDeploymentsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface BatchDeploymentsCreateOrUpdateOptionalParams 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. */ @@ -12393,53 +12036,43 @@ export interface BatchDeploymentsCreateOrUpdateOptionalParams export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface BatchDeploymentsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface BatchDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type BatchDeploymentsListNextResponse = BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersListOptionalParams - extends coreClient.OperationOptions { +export interface CodeContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } /** Contains response data for the list operation. */ -export type CodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; +export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface CodeContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CodeContainersGetOptionalParams - extends coreClient.OperationOptions {} +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 {} +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 {} +export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface CodeVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12456,26 +12089,22 @@ export interface CodeVersionsListOptionalParams export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface CodeVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type CodeVersionsGetResponse = CodeVersion; /** Optional parameters. */ -export interface CodeVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +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 { +export interface CodeVersionsPublishOptionalParams 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. */ @@ -12487,20 +12116,16 @@ export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrGetStartPendingUpload operation. */ -export type CodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type CodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface ComponentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -12508,16 +12133,13 @@ export interface ComponentContainersListOptionalParams } /** Contains response data for the list operation. */ -export type ComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ComponentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type ComponentContainersGetResponse = ComponentContainer; @@ -12530,16 +12152,13 @@ export interface ComponentContainersCreateOrUpdateOptionalParams export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ -export interface ComponentContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface ComponentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12551,16 +12170,13 @@ export interface ComponentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type ComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type ComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type ComponentVersionsGetResponse = ComponentVersion; @@ -12573,8 +12189,7 @@ export interface ComponentVersionsCreateOrUpdateOptionalParams export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface ComponentVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface ComponentVersionsPublishOptionalParams 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,16 +12197,13 @@ export interface ComponentVersionsPublishOptionalParams } /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersListOptionalParams - extends coreClient.OperationOptions { +export interface DataContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -12599,38 +12211,31 @@ export interface DataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type DataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type DataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface DataContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface DataContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface DataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ @@ -12647,30 +12252,25 @@ export interface DataVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type DataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type DataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface DataVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ export type DataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface DataVersionsPublishOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -12678,16 +12278,13 @@ export interface DataVersionsPublishOptionalParams } /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type DataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresListOptionalParams - extends coreClient.OperationOptions { +export interface DatastoresListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Maximum number of results to return. */ @@ -12708,19 +12305,16 @@ export interface DatastoresListOptionalParams export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DatastoresGetOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type DatastoresGetResponse = Datastore; /** Optional parameters. */ -export interface DatastoresCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface DatastoresCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Flag to skip validation. */ skipValidation?: boolean; } @@ -12729,22 +12323,19 @@ export interface DatastoresCreateOrUpdateOptionalParams export type DatastoresCreateOrUpdateResponse = Datastore; /** Optional parameters. */ -export interface DatastoresListSecretsOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresListSecretsOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listSecrets operation. */ export type DatastoresListSecretsResponse = DatastoreSecretsUnion; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -12752,16 +12343,13 @@ export interface EnvironmentContainersListOptionalParams } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface EnvironmentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type EnvironmentContainersGetResponse = EnvironmentContainer; @@ -12774,16 +12362,13 @@ export interface EnvironmentContainersCreateOrUpdateOptionalParams export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -12795,16 +12380,13 @@ export interface EnvironmentVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type EnvironmentVersionsGetResponse = EnvironmentVersion; @@ -12817,8 +12399,7 @@ export interface EnvironmentVersionsCreateOrUpdateOptionalParams export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; /** Optional parameters. */ -export interface EnvironmentVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface EnvironmentVersionsPublishOptionalParams 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. */ @@ -12826,16 +12407,13 @@ export interface EnvironmentVersionsPublishOptionalParams } /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ @@ -12853,12 +12431,10 @@ export interface FeaturesetContainersListOptionalParams } /** Contains response data for the list operation. */ -export type FeaturesetContainersListResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersDeleteOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12866,8 +12442,7 @@ export interface FeaturesetContainersDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetContainersGetEntityOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getEntity operation. */ export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; @@ -12885,16 +12460,13 @@ export interface FeaturesetContainersCreateOrUpdateOptionalParams export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; /** Optional parameters. */ -export interface FeaturesetContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FeaturesetContainersListNextResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ @@ -12913,22 +12485,19 @@ export interface FeaturesListOptionalParams export type FeaturesListResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type FeaturesGetResponse = Feature; /** Optional parameters. */ -export interface FeaturesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsListOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -12950,12 +12519,10 @@ export interface FeaturesetVersionsListOptionalParams } /** Contains response data for the list operation. */ -export type FeaturesetVersionsListResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12963,8 +12530,7 @@ export interface FeaturesetVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type FeaturesetVersionsGetResponse = FeaturesetVersion; @@ -12982,8 +12548,7 @@ export interface FeaturesetVersionsCreateOrUpdateOptionalParams export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; /** Optional parameters. */ -export interface FeaturesetVersionsBackfillOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12991,16 +12556,13 @@ export interface FeaturesetVersionsBackfillOptionalParams } /** Contains response data for the backfill operation. */ -export type FeaturesetVersionsBackfillResponse = - FeaturesetVersionBackfillResponse; +export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; /** Optional parameters. */ -export interface FeaturesetVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FeaturesetVersionsListNextResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface FeaturestoreEntityContainersListOptionalParams @@ -13039,8 +12601,7 @@ export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the getEntity operation. */ -export type FeaturestoreEntityContainersGetEntityResponse = - FeaturestoreEntityContainer; +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; /** Optional parameters. */ export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams @@ -13052,8 +12613,7 @@ export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityContainersCreateOrUpdateResponse = - FeaturestoreEntityContainer; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; /** Optional parameters. */ export interface FeaturestoreEntityContainersListNextOptionalParams @@ -13064,8 +12624,7 @@ export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ @@ -13100,8 +12659,7 @@ export interface FeaturestoreEntityVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturestoreEntityVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; @@ -13116,8 +12674,7 @@ export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = - FeaturestoreEntityVersion; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; /** Optional parameters. */ export interface FeaturestoreEntityVersionsListNextOptionalParams @@ -13159,8 +12716,7 @@ export interface JobsGetOptionalParams extends coreClient.OperationOptions {} export type JobsGetResponse = JobBase; /** Optional parameters. */ -export interface JobsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ export type JobsCreateOrUpdateResponse = JobBase; @@ -13174,15 +12730,13 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ -export interface JobsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface JobsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListOptionalParams - extends coreClient.OperationOptions { +export interface MarketplaceSubscriptionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } @@ -13192,8 +12746,7 @@ export type MarketplaceSubscriptionsListResponse = MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface MarketplaceSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -13201,12 +12754,10 @@ export interface MarketplaceSubscriptionsDeleteOptionalParams } /** Contains response data for the delete operation. */ -export type MarketplaceSubscriptionsDeleteResponse = - MarketplaceSubscriptionsDeleteHeaders; +export type MarketplaceSubscriptionsDeleteResponse = MarketplaceSubscriptionsDeleteHeaders; /** Optional parameters. */ -export interface MarketplaceSubscriptionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface MarketplaceSubscriptionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; @@ -13221,8 +12772,7 @@ export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type MarketplaceSubscriptionsCreateOrUpdateResponse = - MarketplaceSubscription; +export type MarketplaceSubscriptionsCreateOrUpdateResponse = MarketplaceSubscription; /** Optional parameters. */ export interface MarketplaceSubscriptionsListNextOptionalParams @@ -13233,8 +12783,7 @@ export type MarketplaceSubscriptionsListNextResponse = MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelContainersListOptionalParams - extends coreClient.OperationOptions { +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** View type for including/excluding (for example) archived entities. */ @@ -13244,38 +12793,31 @@ export interface ModelContainersListOptionalParams } /** Contains response data for the list operation. */ -export type ModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModelContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type ModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface ModelContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +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 {} +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; /** Ordering of list. */ @@ -13302,26 +12844,22 @@ export interface ModelVersionsListOptionalParams export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type ModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface ModelVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface ModelVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface ModelVersionsPublishOptionalParams 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. */ @@ -13329,16 +12867,13 @@ export interface ModelVersionsPublishOptionalParams } /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsListOptionalParams - extends coreClient.OperationOptions { +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 . */ @@ -13356,12 +12891,10 @@ export interface OnlineEndpointsListOptionalParams } /** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsDeleteOptionalParams - 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. */ @@ -13369,15 +12902,13 @@ export interface OnlineEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface OnlineEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ export type OnlineEndpointsGetResponse = OnlineEndpoint; /** Optional parameters. */ -export interface OnlineEndpointsUpdateOptionalParams - extends coreClient.OperationOptions { +export interface OnlineEndpointsUpdateOptionalParams 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. */ @@ -13388,8 +12919,7 @@ export interface OnlineEndpointsUpdateOptionalParams export type OnlineEndpointsUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface OnlineEndpointsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -13400,15 +12930,13 @@ export interface OnlineEndpointsCreateOrUpdateOptionalParams export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface OnlineEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listKeys operation. */ export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface OnlineEndpointsRegenerateKeysOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -13416,38 +12944,225 @@ export interface OnlineEndpointsRegenerateKeysOptionalParams } /** Optional parameters. */ -export interface OnlineEndpointsGetTokenOptionalParams - extends coreClient.OperationOptions {} +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 {} +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface OnlineDeploymentsListOptionalParams 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 OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +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 OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type OnlineDeploymentsGetResponse = OnlineDeployment; + +/** Optional parameters. */ +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 OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; + +/** Optional parameters. */ +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getLogs operation. */ +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; + +/** Optional parameters. */ +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; +} + +/** Contains response data for the listSkus operation. */ +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listSkusNext operation. */ +export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface SchedulesListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** 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 get operation. */ +export type SchedulesGetResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type SchedulesCreateOrUpdateResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ServerlessEndpointsListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type ServerlessEndpointsListResponse = ServerlessEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ServerlessEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type ServerlessEndpointsDeleteResponse = ServerlessEndpointsDeleteHeaders; + +/** Optional parameters. */ +export interface ServerlessEndpointsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ServerlessEndpointsGetResponse = ServerlessEndpoint; + +/** Optional parameters. */ +export interface ServerlessEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; + +/** Optional parameters. */ +export interface ServerlessEndpointsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; + +/** Optional parameters. */ +export interface ServerlessEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface ServerlessEndpointsRegenerateKeysOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface ServerlessEndpointsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; -} +export interface RegistriesListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -13455,240 +13170,294 @@ export interface OnlineDeploymentsDeleteOptionalParams } /** Optional parameters. */ -export interface OnlineDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type OnlineDeploymentsGetResponse = OnlineDeployment; +export type RegistriesGetResponse = Registry; /** Optional parameters. */ -export interface OnlineDeploymentsUpdateOptionalParams - extends coreClient.OperationOptions { +export interface RegistriesUpdateOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; +/** Contains response data for the createOrUpdate operation. */ +export type RegistriesCreateOrUpdateResponse = Registry; /** Optional parameters. */ -export interface OnlineDeploymentsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface RegistriesRemoveRegionsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +/** Contains response data for the removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; /** Optional parameters. */ -export interface OnlineDeploymentsGetLogsOptionalParams +export interface RegistriesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogs operation. */ -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; -} +export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkus operation. */ -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type RegistriesListNextResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceFeaturesListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusNextOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceFeaturesListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = - SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface SchedulesListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; -} +export interface OperationsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ -export interface SchedulesDeleteOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspacesGetResponse = Workspace; + +/** Optional parameters. */ +export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Optional parameters. */ -export interface SchedulesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; +/** Contains response data for the createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; /** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { + /** Flag to indicate delete is a purge request. */ + forceToPurge?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type SchedulesCreateOrUpdateResponse = Schedule; - /** Optional parameters. */ -export interface SchedulesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +/** Contains response data for the update operation. */ +export type WorkspacesUpdateResponse = Workspace; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; } -/** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + parameters?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +/** Contains response data for the diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspacesListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; - /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; +export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams +export interface WorkspacesListNotebookAccessTokenOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = NotebookAccessTokenResult; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +/** Contains response data for the prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = ListStorageAccountKeysResult; + +/** Optional parameters. */ +export interface WorkspacesListNotebookKeysOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = ExternalFqdnResponse; + +/** Optional parameters. */ +export interface WorkspacesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface RegistriesListOptionalParams +export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {} + /** Contains response data for the list operation. */ -export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface RegistriesGetOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsCreateOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceConnectionsGetResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions { + /** Parameters for workspace connection update. */ + body?: WorkspaceConnectionUpdateParameter; +} + /** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +export type WorkspaceConnectionsUpdateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { + /** 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 WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListSecretsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13696,11 +13465,14 @@ 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 +13480,29 @@ export interface RegistriesRemoveRegionsOptionalParams resumeFrom?: string; } -/** Contains response data for the removeRegions operation. */ -export type RegistriesRemoveRegionsResponse = Registry; - -/** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams - extends coreClient.OperationOptions {} +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 listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +/** 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..6260197af942 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -8,10 +8,10 @@ import * as coreClient from "@azure/core-client"; -export const OperationListResult: coreClient.CompositeMapper = { +export const ListUsagesResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "ListUsagesResult", modelProperties: { value: { serializedName: "value", @@ -21,7 +21,7 @@ export const OperationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation", + className: "Usage", }, }, }, @@ -37,78 +37,78 @@ export const OperationListResult: coreClient.CompositeMapper = { }, }; -export const Operation: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "Usage", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", readOnly: true, type: { name: "String", }, }, - isDataAction: { - serializedName: "isDataAction", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - display: { - serializedName: "display", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "OperationDisplay", + name: "String", }, }, - origin: { - serializedName: "origin", + unit: { + serializedName: "unit", readOnly: true, type: { name: "String", }, }, - actionType: { - serializedName: "actionType", + currentValue: { + serializedName: "currentValue", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const OperationDisplay: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + limit: { + serializedName: "limit", readOnly: true, type: { - name: "String", + name: "Number", }, }, - resource: { - serializedName: "resource", - readOnly: true, + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "UsageName", }, }, - operation: { - serializedName: "operation", + }, + }, +}; + +export const UsageName: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UsageName", + modelProperties: { + value: { + serializedName: "value", readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", + localizedValue: { + serializedName: "localizedValue", readOnly: true, type: { name: "String", @@ -214,155 +214,110 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { }, }; -export const EncryptionProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EncryptionProperty", - modelProperties: { - status: { - serializedName: "status", - required: true, - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityForCmk", - }, - }, - keyVaultProperties: { - serializedName: "keyVaultProperties", - type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", - }, - }, - }, - }, -}; - -export const IdentityForCmk: coreClient.CompositeMapper = { +export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityForCmk", + className: "VirtualMachineSizeListResult", modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineSize", + }, + }, }, }, }, }, }; -export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { +export const VirtualMachineSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultProperties", + className: "VirtualMachineSize", modelProperties: { - keyVaultArmId: { - serializedName: "keyVaultArmId", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - keyIdentifier: { - serializedName: "keyIdentifier", - required: true, + family: { + serializedName: "family", + readOnly: true, type: { name: "String", }, }, - identityClientId: { - serializedName: "identityClientId", + vCPUs: { + serializedName: "vCPUs", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - serializedName: "id", + gpus: { + serializedName: "gpus", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + osVhdSizeMB: { + serializedName: "osVhdSizeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + maxResourceVolumeMB: { + serializedName: "maxResourceVolumeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - actionsRequired: { - serializedName: "actionsRequired", + memoryGB: { + serializedName: "memoryGB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const ManagedServiceIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedServiceIdentity", - modelProperties: { - principalId: { - serializedName: "principalId", + lowPriorityCapable: { + serializedName: "lowPriorityCapable", readOnly: true, type: { - name: "Uuid", + name: "Boolean", }, }, - tenantId: { - serializedName: "tenantId", + premiumIO: { + serializedName: "premiumIO", readOnly: true, type: { - name: "Uuid", + name: "Boolean", }, }, - type: { - serializedName: "type", - required: true, + estimatedVMPrices: { + serializedName: "estimatedVMPrices", type: { - name: "String", + name: "Composite", + className: "EstimatedVMPrices", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + supportedComputeTypes: { + serializedName: "supportedComputeTypes", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" }, + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, @@ -370,204 +325,275 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrices: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "EstimatedVMPrices", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + billingCurrency: { + serializedName: "billingCurrency", + required: true, type: { - name: "Uuid", + name: "String", }, }, - clientId: { - serializedName: "clientId", - readOnly: true, + unitOfMeasure: { + serializedName: "unitOfMeasure", + required: true, type: { - name: "Uuid", + name: "String", }, }, - }, - }, -}; + values: { + serializedName: "values", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EstimatedVMPrice", + }, + }, + }, + }, + }, + }, +}; -export const Sku: coreClient.CompositeMapper = { +export const EstimatedVMPrice: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "EstimatedVMPrice", modelProperties: { - name: { - serializedName: "name", + retailPrice: { + serializedName: "retailPrice", required: true, type: { - name: "String", + name: "Number", }, }, - tier: { - serializedName: "tier", + osType: { + serializedName: "osType", + required: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + vmTier: { + serializedName: "vmTier", + required: true, type: { name: "String", }, }, - family: { - serializedName: "family", + }, + }, +}; + +export const QuotaUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QuotaUpdateParameters", + modelProperties: { + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaBaseProperties", + }, + }, }, }, - capacity: { - serializedName: "capacity", + location: { + serializedName: "location", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const Resource: coreClient.CompositeMapper = { +export const QuotaBaseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "QuotaBaseProperties", modelProperties: { id: { serializedName: "id", - readOnly: true, type: { name: "String", }, }, - name: { - serializedName: "name", - readOnly: true, + type: { + serializedName: "type", type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + limit: { + serializedName: "limit", type: { - name: "String", + name: "Number", }, }, - systemData: { - serializedName: "systemData", + unit: { + serializedName: "unit", type: { - name: "Composite", - className: "SystemData", + name: "String", }, }, }, }, }; -export const SystemData: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UpdateWorkspaceQuotasResult", modelProperties: { - createdBy: { - serializedName: "createdBy", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + }, + }, }, }, - createdByType: { - serializedName: "createdByType", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - createdAt: { - serializedName: "createdAt", + }, + }, +}; + +export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + limit: { + serializedName: "limit", + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", + status: { + serializedName: "status", type: { - name: "DateTime", + name: "String", }, }, }, }, }; -export const ServerlessComputeSettings: coreClient.CompositeMapper = { +export const ListWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ListWorkspaceQuotas", modelProperties: { - serverlessComputeCustomSubnet: { - serializedName: "serverlessComputeCustomSubnet", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceQuota", + }, + }, }, }, - serverlessComputeNoPublicIP: { - serializedName: "serverlessComputeNoPublicIP", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const SharedPrivateLinkResource: coreClient.CompositeMapper = { +export const ResourceQuota: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharedPrivateLinkResource", + className: "ResourceQuota", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", + readOnly: true, type: { name: "String", }, }, - groupId: { - serializedName: "properties.groupId", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - requestMessage: { - serializedName: "properties.requestMessage", + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "ResourceName", }, }, - status: { - serializedName: "properties.status", + limit: { + serializedName: "limit", + readOnly: true, + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, @@ -576,420 +602,428 @@ export const SharedPrivateLinkResource: coreClient.CompositeMapper = { }, }; -export const NotebookResourceInfo: coreClient.CompositeMapper = { +export const ResourceName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookResourceInfo", + className: "ResourceName", modelProperties: { - fqdn: { - serializedName: "fqdn", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, }, - resourceId: { - serializedName: "resourceId", + localizedValue: { + serializedName: "localizedValue", + readOnly: true, type: { name: "String", }, }, - notebookPreparationError: { - serializedName: "notebookPreparationError", - type: { - name: "Composite", - className: "NotebookPreparationError", - }, - }, }, }, }; -export const NotebookPreparationError: coreClient.CompositeMapper = { +export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookPreparationError", + className: "PaginatedComputeResourcesList", modelProperties: { - errorMessage: { - serializedName: "errorMessage", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeResource", + }, + }, }, }, - statusCode: { - serializedName: "statusCode", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { +export const ManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceManagedResourcesSettings", + className: "ManagedServiceIdentity", modelProperties: { - cosmosDb: { - serializedName: "cosmosDb", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Composite", - className: "CosmosDbSettings", + name: "Uuid", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, }, }, }, }, }; -export const CosmosDbSettings: coreClient.CompositeMapper = { +export const UserAssignedIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CosmosDbSettings", + className: "UserAssignedIdentity", modelProperties: { - collectionsThroughput: { - serializedName: "collectionsThroughput", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Number", + name: "Uuid", + }, + }, + clientId: { + serializedName: "clientId", + readOnly: true, + type: { + name: "Uuid", }, }, }, }, }; -export const ManagedNetworkSettings: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkSettings", + className: "Sku", modelProperties: { - isolationMode: { - serializedName: "isolationMode", + name: { + serializedName: "name", + required: true, type: { name: "String", }, }, - networkId: { - serializedName: "networkId", - readOnly: true, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + size: { + serializedName: "size", type: { name: "String", }, }, - outboundRules: { - serializedName: "outboundRules", - nullable: true, + family: { + serializedName: "family", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "OutboundRule" } }, + name: "String", }, }, - status: { - serializedName: "status", + capacity: { + serializedName: "capacity", type: { - name: "Composite", - className: "ManagedNetworkProvisionStatus", + name: "Number", }, }, }, }, }; -export const OutboundRule: coreClient.CompositeMapper = { +export const Resource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, + className: "Resource", modelProperties: { - category: { - serializedName: "category", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - status: { - serializedName: "status", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", - required: true, + readOnly: true, type: { name: "String", }, }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + }, + }, }, }, }; -export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionStatus", + className: "SystemData", modelProperties: { - sparkReady: { - serializedName: "sparkReady", + createdBy: { + serializedName: "createdBy", type: { - name: "Boolean", + name: "String", }, }, - status: { - serializedName: "status", + createdByType: { + serializedName: "createdByType", type: { name: "String", }, }, - }, - }, -}; - -export const FeatureStoreSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureStoreSettings", - modelProperties: { - computeRuntime: { - serializedName: "computeRuntime", + createdAt: { + serializedName: "createdAt", type: { - name: "Composite", - className: "ComputeRuntimeDto", + name: "DateTime", }, }, - offlineStoreConnectionName: { - serializedName: "offlineStoreConnectionName", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { name: "String", }, }, - onlineStoreConnectionName: { - serializedName: "onlineStoreConnectionName", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeRuntimeDto: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeRuntimeDto", - modelProperties: { - sparkRuntimeVersion: { - serializedName: "sparkRuntimeVersion", + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const WorkspaceHubConfig: coreClient.CompositeMapper = { +export const ComputeResourceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceHubConfig", + className: "ComputeResourceSchema", modelProperties: { - additionalWorkspaceStorageAccounts: { - serializedName: "additionalWorkspaceStorageAccounts", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - defaultWorkspaceResourceGroup: { - serializedName: "defaultWorkspaceResourceGroup", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "Compute", }, }, }, }, }; -export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { +export const Compute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceUpdateParameters", + className: "Compute", + uberParent: "Compute", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - identity: { - serializedName: "identity", + computeLocation: { + serializedName: "computeLocation", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + createdOn: { + serializedName: "createdOn", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + modifiedOn: { + serializedName: "modifiedOn", + readOnly: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "DateTime", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", - type: { - name: "Composite", - className: "ServerlessComputeSettings", - }, - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String", - }, - }, - applicationInsights: { - serializedName: "properties.applicationInsights", - type: { - name: "String", - }, - }, - containerRegistry: { - serializedName: "properties.containerRegistry", - type: { - name: "String", - }, - }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", - type: { - name: "Composite", - className: "FeatureStoreSettings", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", + provisioningErrors: { + serializedName: "provisioningErrors", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + isAttachedCompute: { + serializedName: "isAttachedCompute", + readOnly: true, type: { name: "Boolean", }, }, - v1LegacyMode: { - serializedName: "properties.v1LegacyMode", + disableLocalAuth: { + serializedName: "disableLocalAuth", type: { name: "Boolean", }, }, - encryption: { - serializedName: "properties.encryption", + }, + }, +}; + +export const ClusterUpdateParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ClusterUpdateParameters", + modelProperties: { + properties: { + serializedName: "properties.properties", type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ScaleSettingsInformation", }, }, }, }, }; -export const EncryptionUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettingsInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ScaleSettingsInformation", modelProperties: { - keyVaultProperties: { - serializedName: "keyVaultProperties", + scaleSettings: { + serializedName: "scaleSettings", type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettings", }, }, }, }, }; -export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettings", modelProperties: { - keyIdentifier: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "keyIdentifier", + maxNodeCount: { + serializedName: "maxNodeCount", required: true, type: { - name: "String", + name: "Number", + }, + }, + minNodeCount: { + defaultValue: 0, + serializedName: "minNodeCount", + type: { + name: "Number", + }, + }, + nodeIdleTimeBeforeScaleDown: { + serializedName: "nodeIdleTimeBeforeScaleDown", + type: { + name: "TimeSpan", }, }, }, }, }; -export const WorkspaceListResult: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceListResult", + className: "AmlComputeNodesInformation", modelProperties: { - value: { - serializedName: "value", + nodes: { + serializedName: "nodes", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Workspace", + className: "AmlComputeNodeInformation", }, }, }, }, nextLink: { serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -998,267 +1032,210 @@ export const WorkspaceListResult: coreClient.CompositeMapper = { }, }; -export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseWorkspaceParameters", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Composite", - className: "DiagnoseRequestProperties", - }, - }, - }, - }, -}; - -export const DiagnoseRequestProperties: coreClient.CompositeMapper = { +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseRequestProperties", + className: "AmlComputeNodeInformation", modelProperties: { - udr: { - serializedName: "udr", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - nsg: { - serializedName: "nsg", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - resourceLock: { - serializedName: "resourceLock", - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, - dnsResolution: { - serializedName: "dnsResolution", + nodeId: { + serializedName: "nodeId", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - storageAccount: { - serializedName: "storageAccount", + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - keyVault: { - serializedName: "keyVault", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - containerRegistry: { - serializedName: "containerRegistry", + port: { + serializedName: "port", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Number", }, }, - applicationInsights: { - serializedName: "applicationInsights", + nodeState: { + serializedName: "nodeState", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - others: { - serializedName: "others", + runId: { + serializedName: "runId", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResponseResult: coreClient.CompositeMapper = { +export const ComputeSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResult", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - value: { - serializedName: "value", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "DiagnoseResponseResultValue", + name: "String", }, }, }, }, }; -export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResultValue", + className: "CodeContainerResourceArmPaginatedResult", modelProperties: { - userDefinedRouteResults: { - serializedName: "userDefinedRouteResults", + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnoseResult", + className: "CodeContainer", }, }, }, }, - networkSecurityRuleResults: { - serializedName: "networkSecurityRuleResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - resourceLockResults: { - serializedName: "resourceLockResults", + }, + }, +}; + +export const ResourceBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceBase", + modelProperties: { + description: { + serializedName: "description", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - dnsResolutionResults: { - serializedName: "dnsResolutionResults", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - storageAccountResults: { - serializedName: "storageAccountResults", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - keyVaultResults: { - serializedName: "keyVaultResults", + }, + }, +}; + +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - containerRegistryResults: { - serializedName: "containerRegistryResults", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnoseResult", + className: "CodeVersion", }, }, }, }, - applicationInsightsResults: { - serializedName: "applicationInsightsResults", + }, + }, +}; + +export const PendingUploadRequestDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PendingUploadRequestDto", + modelProperties: { + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - otherResults: { - serializedName: "otherResults", + pendingUploadType: { + serializedName: "pendingUploadType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResult: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResult", + className: "PendingUploadResponseDto", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "String", + name: "Composite", + className: "BlobReferenceForConsumptionDto", }, }, - level: { - serializedName: "level", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - message: { - serializedName: "message", - readOnly: true, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1267,77 +1244,76 @@ export const DiagnoseResult: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceKeysResult", + className: "BlobReferenceForConsumptionDto", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, - type: { - name: "String", - }, - }, - userStorageResourceId: { - serializedName: "userStorageResourceId", - readOnly: true, - type: { - name: "String", - }, - }, - appInsightsInstrumentationKey: { - serializedName: "appInsightsInstrumentationKey", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - containerRegistryCredentials: { - serializedName: "containerRegistryCredentials", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "PendingUploadCredentialDto", }, }, - notebookAccessKeys: { - serializedName: "notebookAccessKeys", + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "Composite", - className: "ListNotebookKeysResult", + name: "String", }, }, }, }, }; -export const RegistryListCredentialsResult: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - location: { - serializedName: "location", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, }, - username: { - serializedName: "username", - readOnly: true, + }, + }, +}; + +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - passwords: { - serializedName: "passwords", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Password", + className: "ComponentContainer", }, }, }, @@ -1346,167 +1322,215 @@ export const RegistryListCredentialsResult: coreClient.CompositeMapper = { }, }; -export const Password: coreClient.CompositeMapper = { +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Password", + className: "ComponentVersionResourceArmPaginatedResult", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, value: { serializedName: "value", - readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion", + }, + }, }, }, }, }, }; -export const ListNotebookKeysResult: coreClient.CompositeMapper = { +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "DataContainerResourceArmPaginatedResult", modelProperties: { - primaryAccessKey: { - serializedName: "primaryAccessKey", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - secondaryAccessKey: { - serializedName: "secondaryAccessKey", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, + }, }, }, }, }, }; -export const ListUsagesResult: coreClient.CompositeMapper = { +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListUsagesResult", + className: "DataVersionBaseResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Usage", + className: "DataVersionBase", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const Usage: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + assetId: { + serializedName: "assetId", + nullable: true, type: { name: "String", }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + }, + }, +}; + +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GetBlobReferenceSASResponseDto", + modelProperties: { + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "String", + name: "Composite", + className: "GetBlobReferenceForConsumptionDto", }, }, - unit: { - serializedName: "unit", - readOnly: true, + }, + }, +}; + +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GetBlobReferenceForConsumptionDto", + modelProperties: { + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - currentValue: { - serializedName: "currentValue", - readOnly: true, + credential: { + serializedName: "credential", type: { - name: "Number", + name: "Composite", + className: "DataReferenceCredential", }, }, - limit: { - serializedName: "limit", - readOnly: true, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "Number", + name: "String", }, }, - name: { - serializedName: "name", + }, + }, +}; + +export const DataReferenceCredential: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, + modelProperties: { + credentialType: { + serializedName: "credentialType", + required: true, type: { - name: "Composite", - className: "UsageName", + name: "String", }, }, }, }, }; -export const UsageName: coreClient.CompositeMapper = { +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UsageName", + className: "EnvironmentContainerResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, }, }, }, }, }; -export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSizeListResult", + className: "EnvironmentVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -1514,7 +1538,7 @@ export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "VirtualMachineSize", + className: "EnvironmentVersion", }, }, }, @@ -1523,88 +1547,116 @@ export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSize: coreClient.CompositeMapper = { +export const BuildContext: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSize", + className: "BuildContext", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "contextUri", + required: true, type: { name: "String", }, }, - family: { - serializedName: "family", - readOnly: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, }, - vCPUs: { - serializedName: "vCPUs", - readOnly: true, + }, + }, +}; + +export const InferenceContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceContainerProperties", + modelProperties: { + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "Number", + name: "Composite", + className: "Route", }, }, - gpus: { - serializedName: "gpus", - readOnly: true, + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "Number", + name: "Composite", + className: "Route", }, }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, + startupRoute: { + serializedName: "startupRoute", type: { - name: "Number", + name: "Composite", + className: "Route", }, }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "Number", + name: "Composite", + className: "Route", }, }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, - type: { - name: "Number", + }, + }, +}; + +export const Route: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Route", + modelProperties: { + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, + serializedName: "path", + required: true, type: { - name: "Boolean", + name: "String", }, }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, + port: { + serializedName: "port", + required: true, type: { - name: "Boolean", + name: "Number", }, }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", + }, + }, +}; + +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "EstimatedVMPrices", + name: "String", }, }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "ModelContainer", }, }, }, @@ -1613,34 +1665,25 @@ export const VirtualMachineSize: coreClient.CompositeMapper = { }, }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrices", + className: "ModelVersionResourceArmPaginatedResult", modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, - type: { - name: "String", - }, - }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - values: { - serializedName: "values", - required: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "ModelVersion", }, }, }, @@ -1649,41 +1692,34 @@ export const EstimatedVMPrices: coreClient.CompositeMapper = { }, }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "FlavorData", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", - }, - }, - osType: { - serializedName: "osType", - required: true, - type: { - name: "String", - }, - }, - vmTier: { - serializedName: "vmTier", - required: true, + data: { + serializedName: "data", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaUpdateParameters", + className: "BatchEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -1691,46 +1727,23 @@ export const QuotaUpdateParameters: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "BatchEndpoint", }, }, }, }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, }, }, }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "BatchEndpointDefaults", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - type: { - name: "String", - }, - }, - limit: { - serializedName: "limit", - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, @@ -1739,69 +1752,52 @@ export const QuotaBaseProperties: coreClient.CompositeMapper = { }, }; -export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotasResult", + className: "EndpointPropertiesBase", modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - }, - }, -}; - -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "EndpointAuthKeys", }, }, - limit: { - serializedName: "limit", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - unit: { - serializedName: "unit", + scoringUri: { + serializedName: "scoringUri", readOnly: true, + nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -1810,27 +1806,21 @@ export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { +export const EndpointAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceQuotas", + className: "EndpointAuthKeys", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceQuota", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { name: "String", }, @@ -1839,85 +1829,57 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "PartialManagedServiceIdentity", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, - type: { - name: "String", - }, - }, type: { serializedName: "type", - readOnly: true, type: { name: "String", }, }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "ResourceName", - }, - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", - readOnly: true, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "PartialMinimalTrackedResource", modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "String", - }, - }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PaginatedComputeResourcesList", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -1925,208 +1887,296 @@ export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ComputeResource", + className: "BatchDeployment", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResourceSchema", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: { + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", + }, modelProperties: { - properties: { - serializedName: "properties", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", + required: true, type: { - name: "Composite", - className: "Compute", + name: "String", }, }, }, }, }; -export const Compute: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Compute", - uberParent: "Compute", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: { + serializedName: "referenceType", + clientName: "referenceType", }, modelProperties: { - computeType: { - serializedName: "computeType", + referenceType: { + serializedName: "referenceType", required: true, type: { name: "String", }, }, - computeLocation: { - serializedName: "computeLocation", + }, + }, +}; + +export const ResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceConfiguration", + modelProperties: { + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", type: { - name: "String", + name: "Number", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, }, - description: { - serializedName: "description", + properties: { + serializedName: "properties", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - createdOn: { - serializedName: "createdOn", - readOnly: true, + }, + }, +}; + +export const BatchRetrySettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchRetrySettings", + modelProperties: { + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "DateTime", + name: "Number", }, }, - modifiedOn: { - serializedName: "modifiedOn", - readOnly: true, + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", type: { - name: "DateTime", + name: "TimeSpan", }, }, - resourceId: { - serializedName: "resourceId", + }, + }, +}; + +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointDeploymentPropertiesBase", + modelProperties: { + codeConfiguration: { + serializedName: "codeConfiguration", + type: { + name: "Composite", + className: "CodeConfiguration", + }, + }, + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - provisioningErrors: { - serializedName: "provisioningErrors", - readOnly: true, + environmentId: { + serializedName: "environmentId", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, + name: "String", }, }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - disableLocalAuth: { - serializedName: "disableLocalAuth", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "CodeConfiguration", modelProperties: { - properties: { - serializedName: "properties.properties", + codeId: { + serializedName: "codeId", + nullable: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", + }, + }, + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "scoringScript", + required: true, + type: { + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +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 = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "PartialBatchDeployment", modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + description: { + serializedName: "description", + nullable: true, type: { - name: "Composite", - className: "ScaleSettings", + name: "String", }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "DestinationAsset", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Number", + name: "String", }, }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + destinationVersion: { + serializedName: "destinationVersion", + nullable: true, type: { - name: "Number", + name: "String", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + registryName: { + serializedName: "registryName", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlComputeNodeInformation", + className: "Datastore", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + }, + }, +}; + +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", }, @@ -2135,117 +2185,144 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodeInformation", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType", + }, modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, + secretsType: { + serializedName: "secretsType", + required: true, type: { name: "String", }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + }, + }, +}; + +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - port: { - serializedName: "port", - readOnly: true, + value: { + serializedName: "value", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetContainer", + }, + }, }, }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + }, + }, +}; + +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - runId: { - serializedName: "runId", - readOnly: true, - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature", + }, + }, }, }, }, }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "FeaturesetVersionResourceArmPaginatedResult", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, - type: { - name: "String", - }, - }, - hostName: { - serializedName: "hostName", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - publicDns: { - serializedName: "publicDns", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetVersion", + }, + }, }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, + }, + }, +}; + +export const MaterializationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MaterializationSettings", + modelProperties: { + notification: { + serializedName: "notification", type: { - name: "String", + name: "Composite", + className: "NotificationSetting", }, }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + resource: { + serializedName: "resource", type: { - name: "String", + name: "Composite", + className: "MaterializationComputeResource", }, }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, + schedule: { + serializedName: "schedule", type: { - name: "Number", + name: "Composite", + className: "RecurrenceTrigger", }, }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, + sparkConfiguration: { + serializedName: "sparkConfiguration", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - scope: { - serializedName: "scope", - readOnly: true, + storeType: { + serializedName: "storeType", type: { name: "String", }, @@ -2254,77 +2331,83 @@ export const NotebookAccessTokenResult: coreClient.CompositeMapper = { }, }; -export const ComputeSecrets: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "NotificationSetting", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointConnectionListResult", - modelProperties: { - value: { - serializedName: "value", + emails: { + serializedName: "emails", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PrivateEndpointConnection", + name: "String", }, }, }, }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, + }, + }, }, }, }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "Webhook", + uberParent: "Webhook", + polymorphicDiscriminator: { + serializedName: "webhookType", + clientName: "webhookType", + }, modelProperties: { - value: { - serializedName: "value", + eventType: { + serializedName: "eventType", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource", - }, - }, + name: "String", + }, + }, + webhookType: { + serializedName: "webhookType", + required: true, + type: { + name: "String", }, }, }, }, }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "MaterializationComputeResource", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, @@ -2333,70 +2416,128 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { +export const RecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", - }, + className: "RecurrenceSchedule", modelProperties: { - authType: { - serializedName: "authType", + hours: { + serializedName: "hours", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - category: { - serializedName: "category", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - expiryTime: { - serializedName: "expiryTime", + weekDays: { + serializedName: "weekDays", + nullable: true, type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - group: { - serializedName: "group", - readOnly: true, + }, + }, +}; + +export const TriggerBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, + modelProperties: { + endTime: { + serializedName: "endTime", + nullable: true, type: { name: "String", }, }, - isSharedToAll: { - serializedName: "isSharedToAll", + startTime: { + serializedName: "startTime", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - target: { - serializedName: "target", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { name: "String", }, }, - metadata: { - serializedName: "metadata", + triggerType: { + serializedName: "triggerType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sharedUserList: { - serializedName: "sharedUserList", + }, + }, +}; + +export const FeaturesetSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetSpecification", + modelProperties: { + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionBackfillRequest", + modelProperties: { + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { name: "Sequence", element: { @@ -2406,108 +2547,126 @@ export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { }, }, }, - value: { - serializedName: "value", + description: { + serializedName: "description", type: { name: "String", }, }, - valueFormat: { - serializedName: "valueFormat", + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - }, - }, - }, + featureWindow: { + serializedName: "featureWindow", + type: { + name: "Composite", + className: "FeatureWindow", }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, + }, + jobId: { + serializedName: "jobId", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, - }; + }, +}; -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "FeatureWindow", modelProperties: { - value: { - serializedName: "value", + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoints", - }, - }, + name: "DateTime", + }, + }, + featureWindowStart: { + serializedName: "featureWindowStart", + nullable: true, + type: { + name: "DateTime", }, }, }, }, }; -export const FqdnEndpoints: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoints", + className: "FeaturesetVersionBackfillResponse", modelProperties: { - properties: { - serializedName: "properties", + jobIds: { + serializedName: "jobIds", + nullable: true, type: { - name: "Composite", - className: "FqdnEndpointsProperties", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { - category: { - serializedName: "category", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - endpoints: { - serializedName: "endpoints", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FqdnEndpoint", + className: "FeaturestoreEntityContainer", }, }, }, @@ -2516,25 +2675,25 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { - domainName: { - serializedName: "domainName", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - endpointDetails: { - serializedName: "endpointDetails", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "FeaturestoreEntityVersion", }, }, }, @@ -2543,25 +2702,32 @@ export const FqdnEndpoint: coreClient.CompositeMapper = { }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "IndexColumn", modelProperties: { - port: { - serializedName: "port", + columnName: { + serializedName: "columnName", + nullable: true, type: { - name: "Number", + name: "String", + }, + }, + dataType: { + serializedName: "dataType", + type: { + name: "String", }, }, }, }, }; -export const OutboundRuleListResult: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleListResult", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2576,7 +2742,7 @@ export const OutboundRuleListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "OutboundRuleBasicResource", + className: "JobBase", }, }, }, @@ -2585,67 +2751,66 @@ export const OutboundRuleListResult: coreClient.CompositeMapper = { }, }; -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionOptions", - modelProperties: { - includeSpark: { - serializedName: "includeSpark", - type: { - name: "Boolean", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, + modelProperties: { + identityType: { + serializedName: "identityType", + required: true, + 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", - }, - }, - }, - }, - }; - -export const ResourceBase: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "JobService", modelProperties: { - description: { - serializedName: "description", + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + errorMessage: { + serializedName: "errorMessage", + readOnly: true, nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, + type: { + name: "String", + }, + }, + nodes: { + serializedName: "nodes", + type: { + name: "Composite", + className: "Nodes", + }, + }, + port: { + serializedName: "port", + nullable: true, + type: { + name: "Number", }, }, properties: { @@ -2656,81 +2821,99 @@ export const ResourceBase: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, + status: { + serializedName: "status", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, }, }, }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const Nodes: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, + modelProperties: { + nodesValueType: { + serializedName: "nodesValueType", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MarketplaceSubscription", + }, + }, }, }, }, }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "MarketplaceSubscriptionProperties", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + marketplacePlan: { + serializedName: "marketplacePlan", type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "MarketplacePlan", }, }, - pendingUploadId: { - serializedName: "pendingUploadId", - nullable: true, + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", + readOnly: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -2739,250 +2922,266 @@ export const PendingUploadResponseDto: coreClient.CompositeMapper = { }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "MarketplacePlan", modelProperties: { - blobUri: { - serializedName: "blobUri", + offerId: { + serializedName: "offerId", + readOnly: true, nullable: true, type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + planId: { + serializedName: "planId", + readOnly: true, nullable: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", + publisherId: { + serializedName: "publisherId", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "PendingUploadCredentialDto", + name: "String", }, }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "OnlineEndpointTrackedResourceArmPaginatedResult", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineEndpoint", + }, + }, + }, + }, }, }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer", - }, - }, - }, +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineDeployment", + }, }, }, }, }, - }; + }, +}; -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const DataCollector: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataCollector", + modelProperties: { + collections: { + serializedName: "collections", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Collection" } }, }, }, - }, - }; - -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + requestLogging: { + serializedName: "requestLogging", + type: { + name: "Composite", + className: "RequestLogging", }, }, - }, - }; - -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataVersionBase", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + rollingRate: { + serializedName: "rollingRate", + type: { + name: "String", }, }, }, - }; + }, +}; -export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "Collection", modelProperties: { - assetId: { - serializedName: "assetId", + clientId: { + serializedName: "clientId", nullable: true, type: { name: "String", }, }, - blobUri: { - serializedName: "blobUri", + dataCollectionMode: { + serializedName: "dataCollectionMode", + type: { + name: "String", + }, + }, + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String", }, }, + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", + type: { + name: "Number", + }, + }, }, }, }; -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { +export const RequestLogging: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASResponseDto", + className: "RequestLogging", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + captureHeaders: { + serializedName: "captureHeaders", + nullable: true, type: { - name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "ProbeSettings", modelProperties: { - blobUri: { - serializedName: "blobUri", - nullable: true, + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String", + name: "Number", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + initialDelay: { + serializedName: "initialDelay", nullable: true, type: { - name: "String", + name: "TimeSpan", }, }, - credential: { - serializedName: "credential", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Composite", - className: "DataReferenceCredential", + name: "TimeSpan", + }, + }, + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const OnlineRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", + className: "OnlineRequestSettings", + modelProperties: { + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", + type: { + name: "Number", + }, + }, + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", + type: { + name: "TimeSpan", + }, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const OnlineScaleSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "scaleType", + clientName: "scaleType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + scaleType: { + serializedName: "scaleType", required: true, type: { name: "String", @@ -2992,420 +3191,304 @@ 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 PartialSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialSku", + modelProperties: { + capacity: { + serializedName: "capacity", + type: { + name: "Number", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + family: { + serializedName: "family", + type: { + name: "String", }, }, - }, - }; - -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion", - }, - }, - }, + name: { + serializedName: "name", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, - }; + }, +}; -export const BuildContext: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "DeploymentLogsRequest", modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "contextUri", - required: true, + containerType: { + serializedName: "containerType", type: { name: "String", }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + tail: { + serializedName: "tail", + nullable: true, type: { - name: "String", + name: "Number", }, }, }, }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "DeploymentLogs", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + content: { + serializedName: "content", + nullable: true, type: { - name: "Composite", - className: "Route", + name: "String", }, }, - readinessRoute: { - serializedName: "readinessRoute", + }, + }, +}; + +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "Route", + name: "String", }, }, - scoringRoute: { - serializedName: "scoringRoute", + value: { + serializedName: "value", type: { - name: "Composite", - className: "Route", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuResource", + }, + }, }, }, }, }, }; -export const Route: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "SkuResource", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + capacity: { + serializedName: "capacity", + type: { + name: "Composite", + className: "SkuCapacity", }, - serializedName: "path", - required: true, + }, + resourceType: { + serializedName: "resourceType", + readOnly: true, + nullable: true, type: { name: "String", }, }, - port: { - serializedName: "port", - required: true, + sku: { + serializedName: "sku", type: { - name: "Number", + name: "Composite", + className: "SkuSetting", }, }, }, }, }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const SkuCapacity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuCapacity", + modelProperties: { + default: { + defaultValue: 0, + serializedName: "default", + type: { + name: "Number", }, }, - }, - }; - -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelVersion", - }, - }, - }, + maximum: { + defaultValue: 0, + serializedName: "maximum", + type: { + name: "Number", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + minimum: { + defaultValue: 0, + serializedName: "minimum", + type: { + name: "Number", }, }, - }, - }; - -export const FlavorData: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FlavorData", - modelProperties: { - data: { - serializedName: "data", - nullable: true, + scaleType: { + serializedName: "scaleType", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchEndpoint", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const BatchEndpointDefaults: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "SkuSetting", modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "name", + required: true, type: { name: "String", }, }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, }, }, }; -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "RegenerateEndpointKeysRequest", modelProperties: { - description: { - serializedName: "description", - nullable: true, + keyType: { + serializedName: "keyType", + required: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - scoringUri: { - serializedName: "scoringUri", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, + keyValue: { + serializedName: "keyValue", nullable: true, type: { name: "String", }, }, - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String", - }, - }, - keys: { - serializedName: "keys", - type: { - name: "Composite", - className: "EndpointAuthKeys", - }, - }, }, }, }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "EndpointAuthToken", modelProperties: { - primaryKey: { - serializedName: "primaryKey", + accessToken: { + serializedName: "accessToken", nullable: true, type: { name: "String", }, }, - secondaryKey: { - serializedName: "secondaryKey", - nullable: true, + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - modelProperties: { - type: { - serializedName: "type", + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", type: { - name: "String", + name: "Number", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + tokenType: { + serializedName: "tokenType", + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, }, }, }; -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialMinimalTrackedResource", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - tags: { - serializedName: "tags", + nextLink: { + serializedName: "nextLink", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - }, - }, -}; - -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchDeployment", - }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Schedule", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { +export const ScheduleActionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", + serializedName: "actionType", + clientName: "actionType", }, modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", + actionType: { + serializedName: "actionType", required: true, type: { name: "String", @@ -3415,147 +3498,124 @@ export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { }, }; -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + value: { + serializedName: "value", type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerlessEndpoint", + }, + }, }, }, }, }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", - }, + className: "ServerlessEndpointProperties", modelProperties: { - referenceType: { - serializedName: "referenceType", + authMode: { + serializedName: "authMode", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const ResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ResourceConfiguration", - modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", + contentSafety: { + serializedName: "contentSafety", type: { - name: "Number", + name: "Composite", + className: "ContentSafety", }, }, - instanceType: { - serializedName: "instanceType", - nullable: true, + endpointState: { + serializedName: "endpointState", + readOnly: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "ServerlessInferenceEndpoint", }, }, - }, - }, -}; - -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointDeploymentPropertiesBase", - modelProperties: { - description: { - serializedName: "description", + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - codeConfiguration: { - serializedName: "codeConfiguration", + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "CodeConfiguration", + className: "ModelSettings", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const ContentSafety: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "ContentSafety", modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, type: { name: "String", }, }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + }, + }, +}; + +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessInferenceEndpoint", + modelProperties: { + headers: { + serializedName: "headers", + readOnly: true, + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, - serializedName: "scoringScript", + }, + uri: { + serializedName: "uri", required: true, type: { name: "String", @@ -3565,38 +3625,13 @@ export const CodeConfiguration: coreClient.CompositeMapper = { }, }; -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 ModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "ModelSettings", modelProperties: { - description: { - serializedName: "description", + modelId: { + serializedName: "modelId", nullable: true, type: { name: "String", @@ -3606,27 +3641,40 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { - registryName: { - serializedName: "registryName", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - destinationName: { - serializedName: "destinationName", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Registry", + }, + }, }, }, - destinationVersion: { - serializedName: "destinationVersion", + }, + }, +}; + +export const ArmResourceId: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ArmResourceId", + modelProperties: { + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String", @@ -3636,46 +3684,36 @@ export const DestinationAsset: coreClient.CompositeMapper = { }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ManagedResourceGroupSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "ManagedResourceGroupSettings", modelProperties: { - value: { - serializedName: "value", + assignedIdentities: { + serializedName: "assignedIdentities", + nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Datastore", + className: "ManagedResourceGroupAssignedIdentities", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const ManagedResourceGroupAssignedIdentities: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", - }, + className: "ManagedResourceGroupAssignedIdentities", modelProperties: { - credentialsType: { - serializedName: "credentialsType", - required: true, + principalId: { + serializedName: "principalId", + readOnly: true, type: { name: "String", }, @@ -3684,118 +3722,70 @@ export const DatastoreCredentials: coreClient.CompositeMapper = { }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType", - }, + className: "RegistryPrivateEndpointConnection", modelProperties: { - secretsType: { - serializedName: "secretsType", - required: true, + id: { + serializedName: "id", + nullable: true, 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", - }, + location: { + serializedName: "location", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + groupIds: { + serializedName: "properties.groupIds", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Feature", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String", + name: "Composite", + className: "PrivateEndpointResource", }, }, - }, - }, -}; - -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetVersion", - }, - }, - }, + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", + type: { + name: "Composite", + className: "RegistryPrivateLinkServiceConnectionState", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const FeaturesetSpecification: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetSpecification", + className: "PrivateEndpoint", modelProperties: { - path: { - serializedName: "path", - nullable: true, + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, @@ -3804,226 +3794,232 @@ export const FeaturesetSpecification: coreClient.CompositeMapper = { }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "RegistryPrivateLinkServiceConnectionState", modelProperties: { - storeType: { - serializedName: "storeType", + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, type: { name: "String", }, }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "RecurrenceTrigger", - }, - }, - notification: { - serializedName: "notification", + description: { + serializedName: "description", + nullable: true, type: { - name: "Composite", - className: "NotificationSetting", + name: "String", }, }, - resource: { - serializedName: "resource", + status: { + serializedName: "status", type: { - name: "Composite", - className: "MaterializationComputeResource", - }, - }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "RegistryRegionArmDetails", modelProperties: { - hours: { - serializedName: "hours", - required: true, + acrDetails: { + serializedName: "acrDetails", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "AcrDetails", }, }, }, }, - minutes: { - serializedName: "minutes", - required: true, + location: { + serializedName: "location", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "String", }, }, - weekDays: { - serializedName: "weekDays", + storageAccountDetails: { + serializedName: "storageAccountDetails", nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "StorageAccountDetails", }, }, }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + }, + }, +}; + +export const AcrDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AcrDetails", + modelProperties: { + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Composite", + className: "SystemCreatedAcrAccount", }, }, }, }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "SystemCreatedAcrAccount", modelProperties: { - triggerType: { - serializedName: "triggerType", - required: true, + acrAccountName: { + serializedName: "acrAccountName", + nullable: true, type: { name: "String", }, }, - endTime: { - serializedName: "endTime", + acrAccountSku: { + serializedName: "acrAccountSku", nullable: true, type: { name: "String", }, }, - startTime: { - serializedName: "startTime", - nullable: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + }, + }, +}; + +export const StorageAccountDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageAccountDetails", + modelProperties: { + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "String", + name: "Composite", + className: "SystemCreatedStorageAccount", }, }, }, }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "SystemCreatedStorageAccount", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Boolean", }, }, - emailOn: { - serializedName: "emailOn", + armResourceId: { + serializedName: "armResourceId", + type: { + name: "Composite", + className: "ArmResourceId", + }, + }, + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", + type: { + name: "Boolean", + }, + }, + storageAccountName: { + serializedName: "storageAccountName", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - webhooks: { - serializedName: "webhooks", + storageAccountType: { + serializedName: "storageAccountType", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, + name: "String", }, }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", - polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", - }, + className: "PartialRegistryPartialTrackedResource", modelProperties: { - webhookType: { - serializedName: "webhookType", - required: true, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", }, }, - eventType: { - serializedName: "eventType", - nullable: true, + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "PartialSku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationComputeResource", + className: "ListAmlUserFeatureResult", modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlUserFeature", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, @@ -4032,11 +4028,17 @@ export const MaterializationComputeResource: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillRequest", + className: "AmlUserFeature", modelProperties: { + id: { + serializedName: "id", + type: { + name: "String", + }, + }, displayName: { serializedName: "displayName", type: { @@ -4049,176 +4051,186 @@ export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { name: "String", }, }, - featureWindow: { - serializedName: "featureWindow", - type: { - name: "Composite", - className: "FeatureWindow", - }, - }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + }, + }, +}; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "Operation", }, }, }, }, - jobId: { - serializedName: "jobId", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - resource: { - serializedName: "resource", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, + type: { + name: "Boolean", + }, + }, + display: { + serializedName: "display", type: { name: "Composite", - className: "MaterializationComputeResource", + className: "OperationDisplay", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - properties: { - serializedName: "properties", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const FeatureWindow: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureWindow", + className: "OperationDisplay", modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", - nullable: true, + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - featureWindowEnd: { - serializedName: "featureWindowEnd", - nullable: true, + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "DateTime", + name: "String", + }, + }, + operation: { + serializedName: "operation", + readOnly: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const EncryptionProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "EncryptionProperty", modelProperties: { - jobIds: { - serializedName: "jobIds", - nullable: true, + status: { + serializedName: "status", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityForCmk", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "EncryptionKeyVaultProperties", }, }, }, - }; + }, +}; -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const IdentityForCmk: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdentityForCmk", + modelProperties: { + userAssignedIdentity: { + serializedName: "userAssignedIdentity", + type: { + name: "String", }, }, }, - }; + }, +}; -export const IndexColumn: coreClient.CompositeMapper = { +export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IndexColumn", + className: "EncryptionKeyVaultProperties", modelProperties: { - dataType: { - serializedName: "dataType", + keyVaultArmId: { + serializedName: "keyVaultArmId", + required: true, type: { name: "String", }, }, - columnName: { - serializedName: "columnName", - nullable: true, + keyIdentifier: { + serializedName: "keyIdentifier", + required: true, + type: { + name: "String", + }, + }, + identityClientId: { + serializedName: "identityClientId", type: { name: "String", }, @@ -4227,25 +4239,25 @@ export const IndexColumn: coreClient.CompositeMapper = { }, }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "PrivateLinkServiceConnectionState", modelProperties: { - value: { - serializedName: "value", + status: { + serializedName: "status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobBase", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + actionsRequired: { + serializedName: "actionsRequired", type: { name: "String", }, @@ -4254,170 +4266,193 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const JobService: coreClient.CompositeMapper = { +export const ServerlessComputeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "ServerlessComputeSettings", modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { name: "String", }, }, - port: { - serializedName: "port", - nullable: true, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", type: { - name: "Number", + name: "Boolean", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + }, + }, +}; + +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + modelProperties: { + name: { + serializedName: "name", type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, - nullable: true, + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { name: "String", }, }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, - nullable: true, + groupId: { + serializedName: "properties.groupId", type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + requestMessage: { + serializedName: "properties.requestMessage", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - nodes: { - serializedName: "nodes", + status: { + serializedName: "properties.status", type: { - name: "Composite", - className: "Nodes", + name: "String", }, }, }, }, }; -export const Nodes: coreClient.CompositeMapper = { +export const NotebookResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Nodes", - uberParent: "Nodes", - polymorphicDiscriminator: { - serializedName: "nodesValueType", - clientName: "nodesValueType", - }, + className: "NotebookResourceInfo", modelProperties: { - nodesValueType: { - serializedName: "nodesValueType", - required: true, + fqdn: { + serializedName: "fqdn", + type: { + name: "String", + }, + }, + resourceId: { + serializedName: "resourceId", type: { name: "String", }, }, + notebookPreparationError: { + serializedName: "notebookPreparationError", + type: { + name: "Composite", + className: "NotebookPreparationError", + }, + }, }, }, }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const NotebookPreparationError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, + className: "NotebookPreparationError", modelProperties: { - identityType: { - serializedName: "identityType", - required: true, + errorMessage: { + serializedName: "errorMessage", type: { name: "String", }, }, + statusCode: { + serializedName: "statusCode", + type: { + name: "Number", + }, + }, }, }, }; -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MarketplaceSubscription", - }, - }, - }, +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + modelProperties: { + cosmosDb: { + serializedName: "cosmosDb", + type: { + name: "Composite", + className: "CosmosDbSettings", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + }, + }, +}; + +export const CosmosDbSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CosmosDbSettings", + modelProperties: { + collectionsThroughput: { + serializedName: "collectionsThroughput", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const ManagedNetworkSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "ManagedNetworkSettings", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + isolationMode: { + serializedName: "isolationMode", + type: { + name: "String", }, - serializedName: "modelId", - required: true, + }, + networkId: { + serializedName: "networkId", + readOnly: true, type: { name: "String", }, }, - marketplacePlan: { - serializedName: "marketplacePlan", + outboundRules: { + serializedName: "outboundRules", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, + }, + }, + status: { + serializedName: "status", type: { name: "Composite", - className: "MarketplacePlan", + className: "ManagedNetworkProvisionStatus", }, }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, + firewallSku: { + serializedName: "firewallSku", type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + managedNetworkKind: { + serializedName: "managedNetworkKind", + type: { + name: "String", + }, + }, + firewallPublicIpAddress: { + serializedName: "firewallPublicIpAddress", type: { name: "String", }, @@ -4426,108 +4461,71 @@ export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const OutboundRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - publisherId: { - serializedName: "publisherId", - readOnly: true, - nullable: true, + category: { + serializedName: "category", type: { name: "String", }, }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - planId: { - serializedName: "planId", - readOnly: true, - nullable: true, + type: { + serializedName: "type", + required: true, type: { name: "String", }, }, - }, - }, -}; - -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", - }, + errorInformation: { + serializedName: "errorInformation", + readOnly: 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", - }, + parentRuleNames: { + serializedName: "parentRuleNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType", - }, + className: "ManagedNetworkProvisionStatus", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + sparkReady: { + serializedName: "sparkReady", + type: { + name: "Boolean", + }, + }, + status: { + serializedName: "status", type: { name: "String", }, @@ -4536,237 +4534,222 @@ export const OnlineScaleSettings: coreClient.CompositeMapper = { }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const FeatureStoreSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "FeatureStoreSettings", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", + computeRuntime: { + serializedName: "computeRuntime", type: { - name: "TimeSpan", + name: "Composite", + className: "ComputeRuntimeDto", }, }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", - type: { - name: "TimeSpan", + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", + type: { + name: "String", }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const ComputeRuntimeDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "ComputeRuntimeDto", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", - type: { - name: "Number", - }, - }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", - type: { - name: "Number", - }, - }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { - name: "TimeSpan", + name: "String", }, }, - period: { - defaultValue: "PT10S", - serializedName: "period", + }, + }, +}; + +export const WorkspaceHubConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceHubConfig", + modelProperties: { + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const DataCollector: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataCollector", + className: "WorkspaceUpdateParameters", modelProperties: { - collections: { - serializedName: "collections", - required: true, + tags: { + serializedName: "tags", type: { name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, + value: { type: { name: "String" } }, }, }, - rollingRate: { - serializedName: "rollingRate", + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - requestLogging: { - serializedName: "requestLogging", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "RequestLogging", + className: "ManagedServiceIdentity", }, }, - }, - }, -}; - -export const Collection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Collection", - modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", + description: { + serializedName: "properties.description", type: { - name: "Number", + name: "String", }, }, - dataCollectionMode: { - serializedName: "dataCollectionMode", + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - dataId: { - serializedName: "dataId", - nullable: true, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", - nullable: true, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - }, - }, -}; - -export const RequestLogging: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RequestLogging", - modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ServerlessComputeSettings", }, }, - }, - }, -}; - -export const PartialSku: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialSku", - modelProperties: { - name: { - serializedName: "name", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - tier: { - serializedName: "tier", + applicationInsights: { + serializedName: "properties.applicationInsights", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { name: "String", }, }, - family: { - serializedName: "family", + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { - name: "String", + name: "Composite", + className: "FeatureStoreSettings", }, }, - capacity: { - serializedName: "capacity", + managedNetwork: { + serializedName: "properties.managedNetwork", type: { - name: "Number", + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionUpdateProperties", }, }, }, }, }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "EncryptionUpdateProperties", modelProperties: { - containerType: { - serializedName: "containerType", - type: { - name: "String", - }, - }, - tail: { - serializedName: "tail", - nullable: true, + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "Number", + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", }, }, }, }, }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "EncryptionKeyVaultUpdateProperties", modelProperties: { - content: { - serializedName: "content", - nullable: true, + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, @@ -4775,10 +4758,10 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const WorkspaceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "WorkspaceListResult", modelProperties: { value: { serializedName: "value", @@ -4787,7 +4770,7 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SkuResource", + className: "Workspace", }, }, }, @@ -4802,388 +4785,392 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "DiagnoseWorkspaceParameters", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, - nullable: true, + value: { + serializedName: "value", type: { - name: "String", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "SkuSetting", - }, - }, - capacity: { - serializedName: "capacity", - type: { - name: "Composite", - className: "SkuCapacity", + name: "Composite", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const SkuSetting: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuSetting", + className: "DiagnoseRequestProperties", modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + udr: { + serializedName: "udr", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, - serializedName: "name", - required: true, + }, + nsg: { + serializedName: "nsg", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - tier: { - serializedName: "tier", + resourceLock: { + serializedName: "resourceLock", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - }, - }, -}; - -export const SkuCapacity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuCapacity", - modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + storageAccount: { + serializedName: "storageAccount", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - default: { - defaultValue: 0, - serializedName: "default", + keyVault: { + serializedName: "keyVault", type: { - name: "Number", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - scaleType: { - serializedName: "scaleType", + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + applicationInsights: { + serializedName: "applicationInsights", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + others: { + serializedName: "others", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const DiagnoseResponseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "DiagnoseResponseResult", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, - type: { - name: "String", - }, - }, - keyValue: { - serializedName: "keyValue", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Composite", + className: "DiagnoseResponseResultValue", }, }, }, }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "DiagnoseResponseResultValue", modelProperties: { - accessToken: { - serializedName: "accessToken", - nullable: true, + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + resourceLockResults: { + serializedName: "resourceLockResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + dnsResolutionResults: { + serializedName: "dnsResolutionResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + storageAccountResults: { + serializedName: "storageAccountResults", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Schedule", + className: "DiagnoseResult", }, }, }, }, - nextLink: { - serializedName: "nextLink", + keyVaultResults: { + serializedName: "keyVaultResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + containerRegistryResults: { + serializedName: "containerRegistryResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + otherResults: { + serializedName: "otherResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, }, }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const DiagnoseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", - }, + className: "DiagnoseResult", modelProperties: { - actionType: { - serializedName: "actionType", - required: true, + code: { + serializedName: "code", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, - }, - }, + level: { + serializedName: "level", + readOnly: true, + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "ListWorkspaceKeysResult", modelProperties: { - modelSettings: { - serializedName: "modelSettings", - type: { - name: "Composite", - className: "ModelSettings", - }, - }, - authMode: { - serializedName: "authMode", - required: true, + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, }, - inferenceEndpoint: { - serializedName: "inferenceEndpoint", - type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", - }, - }, - provisioningState: { - serializedName: "provisioningState", + userStorageResourceId: { + serializedName: "userStorageResourceId", readOnly: true, type: { name: "String", }, }, - endpointState: { - serializedName: "endpointState", + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", readOnly: true, type: { name: "String", }, }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", - readOnly: true, - nullable: true, + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", type: { - name: "String", + name: "Composite", + className: "RegistryListCredentialsResult", }, }, - contentSafety: { - serializedName: "contentSafety", + notebookAccessKeys: { + serializedName: "notebookAccessKeys", type: { name: "Composite", - className: "ContentSafety", + className: "ListNotebookKeysResult", }, }, }, }, }; -export const ModelSettings: coreClient.CompositeMapper = { +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelSettings", + className: "RegistryListCredentialsResult", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + location: { + serializedName: "location", + readOnly: true, + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, }, + passwords: { + serializedName: "passwords", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, + }, + }, }, }, }; -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { +export const Password: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessInferenceEndpoint", + className: "Password", modelProperties: { - uri: { - serializedName: "uri", - required: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - headers: { - serializedName: "headers", + value: { + serializedName: "value", readOnly: true, - nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ContentSafety: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSafety", + className: "ListNotebookKeysResult", modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: true, + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryTrackedResourceArmPaginatedResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Registry", - }, - }, - }, - }, - }, - }, - }; - -export const ArmResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ArmResourceId", - modelProperties: { - resourceId: { - serializedName: "resourceId", - nullable: true, + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, type: { name: "String", }, @@ -5192,126 +5179,105 @@ export const ArmResourceId: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryPrivateEndpointConnection", + className: "NotebookAccessTokenResult", modelProperties: { - id: { - serializedName: "id", - nullable: true, + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - location: { - serializedName: "location", - nullable: true, + hostName: { + serializedName: "hostName", + readOnly: true, type: { name: "String", }, }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + accessToken: { + serializedName: "accessToken", + readOnly: true, type: { - name: "Composite", - className: "PrivateEndpointResource", + name: "String", }, }, - registryPrivateLinkServiceConnectionState: { - serializedName: "properties.registryPrivateLinkServiceConnectionState", + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { - name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", + name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - nullable: true, + expiresIn: { + serializedName: "expiresIn", + readOnly: true, + type: { + name: "Number", + }, + }, + refreshToken: { + serializedName: "refreshToken", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -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", - }, + scope: { + serializedName: "scope", + readOnly: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryRegionArmDetails", + className: "PrivateEndpointConnectionListResult", modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AcrDetails", + className: "PrivateEndpointConnection", }, }, }, }, - location: { - serializedName: "location", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + }, + }, +}; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "StorageAccountDetails", + className: "PrivateLinkResource", }, }, }, @@ -5320,132 +5286,103 @@ export const RegistryRegionArmDetails: coreClient.CompositeMapper = { }, }; -export const AcrDetails: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AcrDetails", + className: "ListStorageAccountKeysResult", modelProperties: { - systemCreatedAcrAccount: { - serializedName: "systemCreatedAcrAccount", - type: { - name: "Composite", - className: "SystemCreatedAcrAccount", - }, - }, - userCreatedAcrAccount: { - serializedName: "userCreatedAcrAccount", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { - name: "Composite", - className: "UserCreatedAcrAccount", + name: "String", }, }, }, }, }; -export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedAcrAccount", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - acrAccountName: { - serializedName: "acrAccountName", - nullable: true, + authType: { + serializedName: "authType", + required: true, type: { name: "String", }, }, - acrAccountSku: { - serializedName: "acrAccountSku", - nullable: true, + category: { + serializedName: "category", type: { name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", + readOnly: true, type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, - }, - }, -}; - -export const UserCreatedAcrAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserCreatedAcrAccount", - modelProperties: { - armResourceId: { - serializedName: "armResourceId", + expiryTime: { + serializedName: "expiryTime", type: { - name: "Composite", - className: "ArmResourceId", + name: "DateTime", }, }, - }, - }, -}; - -export const StorageAccountDetails: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StorageAccountDetails", - modelProperties: { - systemCreatedStorageAccount: { - serializedName: "systemCreatedStorageAccount", + group: { + serializedName: "group", + readOnly: true, type: { - name: "Composite", - className: "SystemCreatedStorageAccount", + name: "String", }, }, - userCreatedStorageAccount: { - serializedName: "userCreatedStorageAccount", + isSharedToAll: { + serializedName: "isSharedToAll", type: { - name: "Composite", - className: "UserCreatedStorageAccount", + name: "Boolean", }, }, - }, - }, -}; - -export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SystemCreatedStorageAccount", - modelProperties: { - allowBlobPublicAccess: { - serializedName: "allowBlobPublicAccess", + target: { + serializedName: "target", type: { - name: "Boolean", + name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + metadata: { + serializedName: "metadata", type: { - name: "Composite", - className: "ArmResourceId", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - storageAccountHnsEnabled: { - serializedName: "storageAccountHnsEnabled", + sharedUserList: { + serializedName: "sharedUserList", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - storageAccountName: { - serializedName: "storageAccountName", - nullable: true, + value: { + serializedName: "value", type: { name: "String", }, }, - storageAccountType: { - serializedName: "storageAccountType", - nullable: true, + valueFormat: { + serializedName: "valueFormat", type: { name: "String", }, @@ -5454,124 +5391,214 @@ export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { }, }; -export const UserCreatedStorageAccount: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedStorageAccount", + className: "WorkspaceConnectionUpdateParameter", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ArmResourceId", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialRegistryPartialTrackedResource", + className: "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", modelProperties: { - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", + value: { + serializedName: "value", type: { - name: "Composite", - className: "PartialSku", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, }, }, - tags: { - serializedName: "tags", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const ExternalFqdnResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "ExternalFqdnResponse", modelProperties: { value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlUserFeature", + className: "FqdnEndpoints", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const FqdnEndpoints: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "FqdnEndpoints", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - displayName: { - serializedName: "displayName", - type: { - name: "String", - }, - }, - description: { - serializedName: "description", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "FqdnEndpointsProperties", }, }, }, }, }; -export const ResourceId: coreClient.CompositeMapper = { +export const FqdnEndpointsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceId", + className: "FqdnEndpointsProperties", modelProperties: { - id: { - serializedName: "id", - required: true, + category: { + serializedName: "category", type: { name: "String", }, }, - }, - }, -}; + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpoint", + }, + }, + }, + }, + }, + }, +}; + +export const FqdnEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpoint", + modelProperties: { + domainName: { + serializedName: "domainName", + type: { + name: "String", + }, + }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, + }, + }, + }, + }, +}; + +export const FqdnEndpointDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + modelProperties: { + port: { + serializedName: "port", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const OutboundRuleListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRuleListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + }, + }, + }, + }, + }, + }, +}; + +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionOptions", + modelProperties: { + includeSpark: { + serializedName: "includeSpark", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const ResourceId: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ResourceId", + modelProperties: { + id: { + serializedName: "id", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; export const AKSSchema: coreClient.CompositeMapper = { type: { @@ -5763,9 +5790,7 @@ export const AksNetworkingConfiguration: coreClient.CompositeMapper = { }, serviceCidr: { constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), + Pattern: new RegExp("^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"), }, serializedName: "serviceCidr", type: { @@ -5785,9 +5810,7 @@ export const AksNetworkingConfiguration: coreClient.CompositeMapper = { }, dockerBridgeCidr: { constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), + Pattern: new RegExp("^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"), }, serializedName: "dockerBridgeCidr", type: { @@ -6720,31 +6743,30 @@ export const ImageMetadata: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", - modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: 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", - }, + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; export const ComputeInstanceApplication: coreClient.CompositeMapper = { type: { @@ -7786,31 +7808,19 @@ export const IdleShutdownSetting: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointDestination: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: { + serializedName: "filterType", + clientName: "filterType", + }, modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", - type: { - name: "String", - }, - }, - sparkEnabled: { - serializedName: "sparkEnabled", - type: { - name: "Boolean", - }, - }, - sparkStatus: { - serializedName: "sparkStatus", - type: { - name: "String", - }, - }, - subresourceTarget: { - serializedName: "subresourceTarget", + filterType: { + serializedName: "filterType", + required: true, type: { name: "String", }, @@ -7819,43 +7829,45 @@ export const PrivateEndpointDestination: coreClient.CompositeMapper = { }, }; -export const ServiceTagDestination: coreClient.CompositeMapper = { +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagDestination", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, modelProperties: { - action: { - serializedName: "action", + computeIdentityType: { + serializedName: "computeIdentityType", + required: true, type: { name: "String", }, }, - addressPrefixes: { - serializedName: "addressPrefixes", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - portRanges: { - serializedName: "portRanges", + }, + }, +}; + +export const AssetJobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobInput", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String", }, }, - protocol: { - serializedName: "protocol", - type: { - name: "String", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - serviceTag: { - serializedName: "serviceTag", + serializedName: "uri", + required: true, type: { name: "String", }, @@ -7864,25 +7876,20 @@ export const ServiceTagDestination: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword", + className: "AssetJobOutput", modelProperties: { - username: { - serializedName: "username", - type: { - name: "String", - }, - }, - password: { - serializedName: "password", + mode: { + serializedName: "mode", type: { name: "String", }, }, - securityToken: { - serializedName: "securityToken", + uri: { + serializedName: "uri", + nullable: true, type: { name: "String", }, @@ -7891,66 +7898,19 @@ export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccountKey", - modelProperties: { - key: { - serializedName: "key", - type: { - name: "String", - }, - }, + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", }, - }, -}; - -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", modelProperties: { - resourceId: { - serializedName: "resourceId", - type: { - name: "String", - }, - }, - clientId: { - serializedName: "clientId", + mode: { + serializedName: "mode", + required: true, type: { name: "String", }, @@ -7959,19 +7919,26 @@ export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccessKey", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + jobOutputType: { + serializedName: "jobOutputType", + required: true, type: { name: "String", }, @@ -7980,13 +7947,13 @@ export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionApiKey", + className: "QueueSettings", modelProperties: { - key: { - serializedName: "key", + jobTier: { + serializedName: "jobTier", type: { name: "String", }, @@ -7995,98 +7962,67 @@ export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { }, }; -export const CustomKeys: coreClient.CompositeMapper = { +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomKeys", - modelProperties: { - keys: { - serializedName: "keys", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", }, - }, -}; - -export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionOAuth2", modelProperties: { - authUrl: { - serializedName: "authUrl", - type: { - name: "String", - }, - }, - clientId: { - serializedName: "clientId", - type: { - name: "Uuid", - }, - }, - clientSecret: { - serializedName: "clientSecret", - type: { - name: "String", - }, - }, - developerToken: { - serializedName: "developerToken", - type: { - name: "String", - }, - }, - password: { - serializedName: "password", + logVerbosity: { + serializedName: "logVerbosity", type: { name: "String", }, }, - refreshToken: { - serializedName: "refreshToken", + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + taskType: { + serializedName: "taskType", + required: true, type: { name: "String", }, }, - username: { - serializedName: "username", + trainingData: { + serializedName: "trainingData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, }, }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const JobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, modelProperties: { - clientId: { - serializedName: "clientId", - type: { - name: "String", - }, - }, - clientSecret: { - serializedName: "clientSecret", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, @@ -8095,18 +8031,18 @@ export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { }, }; -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", + className: "NCrossValidations", + uberParent: "NCrossValidations", polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", + serializedName: "mode", + clientName: "mode", }, modelProperties: { - filterType: { - serializedName: "filterType", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -8116,18 +8052,18 @@ export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { }, }; -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { +export const Seasonality: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", + className: "Seasonality", + uberParent: "Seasonality", polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", + serializedName: "mode", + clientName: "mode", }, modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -8137,24 +8073,40 @@ export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { }, }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", + mode: { + serializedName: "mode", required: true, type: { name: "String", }, }, + }, + }, +}; + +export const TargetRollingWindowSize: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { mode: { serializedName: "mode", + required: true, type: { name: "String", }, @@ -8163,20 +8115,21 @@ export const AssetJobInput: coreClient.CompositeMapper = { }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const AzureDatastore: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "AzureDatastore", modelProperties: { - uri: { - serializedName: "uri", + resourceGroup: { + serializedName: "resourceGroup", nullable: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, type: { name: "String", }, @@ -8185,261 +8138,21 @@ export const AssetJobOutput: coreClient.CompositeMapper = { }, }; -export const ForecastHorizon: coreClient.CompositeMapper = { +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const AutoMLVertical: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, - modelProperties: { - taskType: { - serializedName: "taskType", - required: true, - type: { - name: "String", - }, - }, - logVerbosity: { - serializedName: "logVerbosity", - type: { - name: "String", - }, - }, - trainingData: { - serializedName: "trainingData", - type: { - name: "Composite", - className: "MLTableJobInput", - }, - }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const JobInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType", - }, - modelProperties: { - jobInputType: { - serializedName: "jobInputType", - required: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, - modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const QueueSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QueueSettings", - modelProperties: { - jobTier: { - serializedName: "jobTier", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const NCrossValidations: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const Seasonality: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const TargetLags: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const TargetRollingWindowSize: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const AzureDatastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureDatastore", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", polymorphicDiscriminator: { serializedName: "policyType", clientName: "policyType", }, modelProperties: { - policyType: { - serializedName: "policyType", - required: true, + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "String", + name: "Number", }, }, evaluationInterval: { @@ -8449,11 +8162,11 @@ export const EarlyTerminationPolicy: coreClient.CompositeMapper = { name: "Number", }, }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + policyType: { + serializedName: "policyType", + required: true, type: { - name: "Number", + name: "String", }, }, }, @@ -8586,18 +8299,25 @@ export const TrainingSettings: coreClient.CompositeMapper = { name: "Composite", className: "TrainingSettings", modelProperties: { - enableOnnxCompatibleModels: { + enableDnnTraining: { defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + serializedName: "enableDnnTraining", type: { name: "Boolean", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "Composite", - className: "StackEnsembleSettings", + name: "Boolean", + }, + }, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", + type: { + name: "Boolean", }, }, enableStackEnsemble: { @@ -8621,18 +8341,11 @@ export const TrainingSettings: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", - type: { - name: "Boolean", - }, - }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "Boolean", + name: "Composite", + className: "StackEnsembleSettings", }, }, }, @@ -8644,10 +8357,12 @@ export const StackEnsembleSettings: coreClient.CompositeMapper = { name: "Composite", className: "StackEnsembleSettings", modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, stackMetaLearnerTrainPercentage: { @@ -8657,12 +8372,10 @@ export const StackEnsembleSettings: coreClient.CompositeMapper = { name: "Number", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, }, @@ -8674,20 +8387,6 @@ export const TableVertical: coreClient.CompositeMapper = { name: "Composite", className: "TableVertical", modelProperties: { - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - }, - }, - nCrossValidations: { - serializedName: "nCrossValidations", - type: { - name: "Composite", - className: "NCrossValidations", - }, - }, cvSplitColumnNames: { serializedName: "cvSplitColumnNames", nullable: true, @@ -8700,32 +8399,32 @@ export const TableVertical: coreClient.CompositeMapper = { }, }, }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalFeaturizationSettings", }, }, - validationData: { - serializedName: "validationData", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "MLTableJobInput", + className: "TableVerticalLimitSettings", }, }, - testData: { - serializedName: "testData", + nCrossValidations: { + serializedName: "nCrossValidations", type: { name: "Composite", - className: "MLTableJobInput", + className: "NCrossValidations", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + testData: { + serializedName: "testData", type: { - name: "Number", + name: "Composite", + className: "MLTableJobInput", }, }, testDataSize: { @@ -8735,69 +8434,25 @@ export const TableVertical: coreClient.CompositeMapper = { name: "Number", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + validationData: { + serializedName: "validationData", type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", - }, - }, - }, - }, -}; - -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", - type: { - name: "Number", - }, - }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", - type: { - name: "TimeSpan", - }, - }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", - }, - }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", - type: { - name: "Number", + className: "MLTableJobInput", }, }, - exitScore: { - serializedName: "exitScore", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { name: "Number", }, }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, }, @@ -8849,6 +8504,64 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { }, }; +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", + type: { + name: "Boolean", + }, + }, + exitScore: { + serializedName: "exitScore", + nullable: true, + type: { + name: "Number", + }, + }, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + export const DistributionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8903,15 +8616,15 @@ export const ContainerResourceRequirements: coreClient.CompositeMapper = { name: "Composite", className: "ContainerResourceRequirements", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { name: "Composite", className: "ContainerResourceSettings", }, }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + containerResourceRequests: { + serializedName: "containerResourceRequests", type: { name: "Composite", className: "ContainerResourceSettings", @@ -8933,15 +8646,15 @@ export const ContainerResourceSettings: coreClient.CompositeMapper = { name: "String", }, }, - memory: { - serializedName: "memory", + gpu: { + serializedName: "gpu", nullable: true, type: { name: "String", }, }, - gpu: { - serializedName: "gpu", + memory: { + serializedName: "memory", nullable: true, type: { name: "String", @@ -8956,6 +8669,20 @@ export const MonitorDefinition: coreClient.CompositeMapper = { name: "Composite", className: "MonitorDefinition", modelProperties: { + alertNotificationSettings: { + serializedName: "alertNotificationSettings", + type: { + name: "Composite", + className: "MonitorNotificationSettings", + }, + }, + computeConfiguration: { + serializedName: "computeConfiguration", + type: { + name: "Composite", + className: "MonitorComputeConfigurationBase", + }, + }, monitoringTarget: { serializedName: "monitoringTarget", type: { @@ -8973,73 +8700,33 @@ export const MonitorDefinition: coreClient.CompositeMapper = { }, }, }, - computeConfiguration: { - serializedName: "computeConfiguration", - type: { - name: "Composite", - className: "MonitorComputeConfigurationBase", - }, - }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", - type: { - name: "Composite", - className: "MonitorNotificationSettings", - }, - }, }, }, }; -export const MonitoringTarget: coreClient.CompositeMapper = { +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringTarget", + className: "MonitorNotificationSettings", modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, - type: { - name: "String", - }, - }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, - type: { - name: "String", - }, - }, - taskType: { - serializedName: "taskType", - required: true, + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { - name: "String", + name: "Composite", + className: "MonitorEmailNotificationSettings", }, }, }, }, }; -export const MonitoringSignalBase: coreClient.CompositeMapper = { +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, + className: "MonitorEmailNotificationSettings", modelProperties: { - signalType: { - serializedName: "signalType", - required: true, - type: { - name: "String", - }, - }, - notificationTypes: { - serializedName: "notificationTypes", + emails: { + serializedName: "emails", nullable: true, type: { name: "Sequence", @@ -9050,14 +8737,6 @@ export const MonitoringSignalBase: coreClient.CompositeMapper = { }, }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -9083,29 +8762,48 @@ export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { }, }; -export const MonitorNotificationSettings: coreClient.CompositeMapper = { +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorNotificationSettings", + className: "MonitoringTarget", modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", + name: "String", + }, + }, + modelId: { + serializedName: "modelId", + nullable: true, + type: { + name: "String", + }, + }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", }, }, }, }, }; -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", + }, modelProperties: { - emails: { - serializedName: "emails", + notificationTypes: { + serializedName: "notificationTypes", nullable: true, type: { name: "Sequence", @@ -9116,6 +8814,21 @@ export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { }, }, }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + signalType: { + serializedName: "signalType", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9125,13 +8838,6 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "CustomMetricThreshold", modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, metric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9143,6 +8849,13 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { name: "String", }, }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; @@ -9157,11 +8870,12 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { clientName: "inputDataType", }, modelProperties: { - inputDataType: { - serializedName: "inputDataType", - required: true, + columns: { + serializedName: "columns", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, dataContext: { @@ -9171,6 +8885,13 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, + inputDataType: { + serializedName: "inputDataType", + required: true, + type: { + name: "String", + }, + }, jobInputType: { serializedName: "jobInputType", required: true, @@ -9189,14 +8910,6 @@ export const MonitoringInputDataBase: coreClient.CompositeMapper = { name: "String", }, }, - columns: { - serializedName: "columns", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -9228,13 +8941,6 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "FeatureAttributionMetricThreshold", modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, metric: { serializedName: "metric", required: true, @@ -9242,6 +8948,13 @@ export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { name: "String", }, }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; @@ -9258,25 +8971,17 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", + cvStepSize: { + serializedName: "cvStepSize", nullable: true, type: { - name: "String", - }, - }, - targetLags: { - serializedName: "targetLags", - type: { - name: "Composite", - className: "TargetLags", + name: "Number", }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + featureLags: { + serializedName: "featureLags", type: { - name: "Composite", - className: "TargetRollingWindowSize", + name: "String", }, }, forecastHorizon: { @@ -9286,18 +8991,6 @@ export const ForecastingSettings: coreClient.CompositeMapper = { className: "ForecastHorizon", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, frequency: { serializedName: "frequency", nullable: true, @@ -9305,12 +8998,6 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - featureLags: { - serializedName: "featureLags", - type: { - name: "String", - }, - }, seasonality: { serializedName: "seasonality", type: { @@ -9324,23 +9011,49 @@ export const ForecastingSettings: coreClient.CompositeMapper = { name: "String", }, }, - useStl: { - serializedName: "useStl", + targetAggregateFunction: { + serializedName: "targetAggregateFunction", type: { name: "String", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + targetLags: { + serializedName: "targetLags", + type: { + name: "Composite", + className: "TargetLags", + }, + }, + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", + type: { + name: "Composite", + className: "TargetRollingWindowSize", + }, + }, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, type: { name: "String", }, }, - cvStepSize: { - serializedName: "cvStepSize", + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + useStl: { + serializedName: "useStl", + type: { + name: "String", }, }, }, @@ -9352,18 +9065,18 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageModelSettings", modelProperties: { - amsGradient: { - serializedName: "amsGradient", + advancedSettings: { + serializedName: "advancedSettings", nullable: true, type: { - name: "Boolean", + name: "String", }, }, - advancedSettings: { - serializedName: "advancedSettings", + amsGradient: { + serializedName: "amsGradient", nullable: true, type: { - name: "String", + name: "Boolean", }, }, augmentations: { @@ -9394,13 +9107,6 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Number", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, - type: { - name: "String", - }, - }, checkpointModel: { serializedName: "checkpointModel", type: { @@ -9408,8 +9114,15 @@ export const ImageModelSettings: coreClient.CompositeMapper = { className: "MLFlowModelJobInput", }, }, - distributed: { - serializedName: "distributed", + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", nullable: true, type: { name: "Boolean", @@ -9436,18 +9149,18 @@ export const ImageModelSettings: coreClient.CompositeMapper = { name: "Number", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", nullable: true, type: { - name: "Number", + name: "Boolean", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", + evaluationFrequency: { + serializedName: "evaluationFrequency", nullable: true, type: { - name: "Boolean", + name: "Number", }, }, gradientAccumulationStep: { @@ -9639,15 +9352,15 @@ export const ImageModelDistributionSettings: coreClient.CompositeMapper = { name: "String", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", nullable: true, type: { name: "String", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", + evaluationFrequency: { + serializedName: "evaluationFrequency", nullable: true, type: { name: "String", @@ -9825,6 +9538,13 @@ export const ImageLimitSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageLimitSettings", modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, maxTrials: { defaultValue: 1, serializedName: "maxTrials", @@ -9839,13 +9559,6 @@ export const ImageLimitSettings: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", - }, - }, }, }, }; @@ -9855,13 +9568,6 @@ export const ImageSweepSettings: coreClient.CompositeMapper = { name: "Composite", className: "ImageSweepSettings", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, - type: { - name: "String", - }, - }, earlyTermination: { serializedName: "earlyTermination", type: { @@ -9869,6 +9575,13 @@ export const ImageSweepSettings: coreClient.CompositeMapper = { className: "EarlyTerminationPolicy", }, }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9883,13 +9596,6 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { clientName: "artifactType", }, modelProperties: { - artifactType: { - serializedName: "artifactType", - required: true, - type: { - name: "String", - }, - }, artifactName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9901,6 +9607,13 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { name: "String", }, }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, }, }, }; @@ -9910,18 +9623,18 @@ export const NlpVertical: coreClient.CompositeMapper = { name: "Composite", className: "NlpVertical", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + featurizationSettings: { + serializedName: "featurizationSettings", type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "NlpVerticalFeaturizationSettings", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "NlpVerticalFeaturizationSettings", + className: "NlpVerticalLimitSettings", }, }, validationData: { @@ -9940,11 +9653,11 @@ export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { name: "Composite", className: "NlpVerticalLimitSettings", modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "TimeSpan", + name: "Number", }, }, maxTrials: { @@ -9954,11 +9667,11 @@ export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { name: "Number", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + timeout: { + defaultValue: "P7D", + serializedName: "timeout", type: { - name: "Number", + name: "TimeSpan", }, }, }, @@ -9970,6 +9683,13 @@ export const Objective: coreClient.CompositeMapper = { name: "Composite", className: "Objective", modelProperties: { + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, primaryMetric: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -9981,8 +9701,22 @@ export const Objective: coreClient.CompositeMapper = { name: "String", }, }, - goal: { - serializedName: "goal", + }, + }, +}; + +export const SparkJobEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", + }, + modelProperties: { + sparkJobEntryType: { + serializedName: "sparkJobEntryType", required: true, type: { name: "String", @@ -10015,27 +9749,6 @@ export const SparkResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const SparkJobEntry: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SparkJobEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: { - serializedName: "sparkJobEntryType", - clientName: "sparkJobEntryType", - }, - modelProperties: { - sparkJobEntryType: { - serializedName: "sparkJobEntryType", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - export const TrialComponent: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10059,6 +9772,13 @@ export const TrialComponent: coreClient.CompositeMapper = { name: "String", }, }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, environmentId: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -10078,13 +9798,6 @@ export const TrialComponent: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration", - }, - }, resources: { serializedName: "resources", type: { @@ -10096,84 +9809,76 @@ export const TrialComponent: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const PrivateEndpointDestination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "PrivateEndpointDestination", modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + serviceResourceId: { + serializedName: "serviceResourceId", type: { name: "String", }, }, - }, - }, -}; - -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, + sparkEnabled: { + serializedName: "sparkEnabled", + type: { + name: "Boolean", + }, }, - }, - }; - -export const PrivateEndpointConnection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + sparkStatus: { + serializedName: "sparkStatus", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + subresourceTarget: { + serializedName: "subresourceTarget", type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const ServiceTagDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceTagDestination", + modelProperties: { + action: { + serializedName: "action", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + addressPrefixes: { + serializedName: "addressPrefixes", + readOnly: true, type: { - name: "Composite", - className: "Sku", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + portRanges: { + serializedName: "portRanges", type: { - name: "Composite", - className: "PrivateEndpoint", + name: "String", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + protocol: { + serializedName: "protocol", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", + name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + serviceTag: { + serializedName: "serviceTag", type: { name: "String", }, @@ -10182,284 +9887,324 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { }, }; -export const Workspace: coreClient.CompositeMapper = { +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "WorkspaceConnectionUsernamePassword", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + username: { + serializedName: "username", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - kind: { - serializedName: "kind", + password: { + serializedName: "password", type: { name: "String", }, }, - location: { - serializedName: "location", + securityToken: { + serializedName: "securityToken", type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + }, + }, +}; + +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + }, + }, +}; + +export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + modelProperties: { + key: { + serializedName: "key", type: { name: "String", }, }, - description: { - serializedName: "properties.description", + }, + }, +}; + +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + resourceId: { + serializedName: "resourceId", type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + clientId: { + serializedName: "clientId", type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + modelProperties: { + accessKeyId: { + serializedName: "accessKeyId", type: { name: "String", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + secretAccessKey: { + serializedName: "secretAccessKey", type: { name: "String", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", - nullable: true, + }, + }, +}; + +export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + modelProperties: { + key: { + serializedName: "key", type: { name: "String", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + }, + }, +}; + +export const CustomKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomKeys", + modelProperties: { + keys: { + serializedName: "keys", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + }, + }, +}; + +export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + modelProperties: { + authUrl: { + serializedName: "authUrl", type: { name: "String", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + clientId: { + serializedName: "clientId", + type: { + name: "Uuid", + }, + }, + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - encryption: { - serializedName: "properties.encryption", + developerToken: { + serializedName: "developerToken", type: { - name: "Composite", - className: "EncryptionProperty", + name: "String", }, }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", + password: { + serializedName: "password", type: { - name: "Boolean", + name: "String", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + refreshToken: { + serializedName: "refreshToken", type: { name: "String", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + tenantId: { + serializedName: "tenantId", type: { - name: "Number", + name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + username: { + serializedName: "username", type: { name: "String", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + }, + }, +}; + +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + modelProperties: { + clientId: { + serializedName: "clientId", type: { - name: "Boolean", + name: "String", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + clientSecret: { + serializedName: "clientSecret", type: { name: "String", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + tenantId: { + serializedName: "tenantId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + }, + }, +}; + +export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", + modelProperties: { + ...ManagedServiceIdentity.type.modelProperties, + }, + }, +}; + +export const ComputeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResource", + modelProperties: { + ...Resource.type.modelProperties, + ...ComputeResourceSchema.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ManagedServiceIdentity", }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + location: { + serializedName: "location", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource", - }, - }, + name: "String", }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "Composite", - className: "NotebookResourceInfo", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "ServiceManagedResourcesSettings", + className: "Sku", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, - type: { - name: "String", - }, - }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, - type: { - name: "Boolean", - }, - }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, - type: { - name: "String", - }, - }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", - type: { - name: "Boolean", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", - type: { - name: "Composite", - className: "ManagedNetworkSettings", - }, - }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", - type: { - name: "Composite", - className: "FeatureStoreSettings", - }, - }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - hubResourceId: { - serializedName: "properties.hubResourceId", + location: { + serializedName: "location", + required: true, type: { name: "String", }, }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", - type: { - name: "Composite", - className: "WorkspaceHubConfig", - }, - }, }, }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const PrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "PrivateEndpointConnection", modelProperties: { ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, identity: { serializedName: "identity", type: { @@ -10475,7 +10220,6 @@ export const ComputeResource: coreClient.CompositeMapper = { }, tags: { serializedName: "tags", - nullable: true, type: { name: "Dictionary", value: { type: { name: "String" } }, @@ -10488,14 +10232,35 @@ export const ComputeResource: coreClient.CompositeMapper = { className: "Sku", }, }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, }, }, }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const Workspace: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "Workspace", modelProperties: { ...Resource.type.modelProperties, identity: { @@ -10505,6 +10270,12 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { className: "ManagedServiceIdentity", }, }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, location: { serializedName: "location", type: { @@ -10525,164 +10296,335 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { className: "Sku", }, }, - groupId: { - serializedName: "properties.groupId", + workspaceId: { + serializedName: "properties.workspaceId", readOnly: true, type: { name: "String", }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + friendlyName: { + serializedName: "properties.friendlyName", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "String", }, }, - }, - }; - -export const OutboundRuleBasicResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + applicationInsights: { + serializedName: "properties.applicationInsights", type: { - name: "Composite", - className: "OutboundRule", + name: "String", }, }, - }, - }, -}; - -export const ProxyResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties, - }, - }, -}; - -export const TrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + containerRegistry: { + serializedName: "properties.containerRegistry", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - location: { - serializedName: "location", - required: true, + storageAccount: { + serializedName: "properties.storageAccount", type: { name: "String", }, }, - }, - }, -}; - -export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { - serializedName: "PrivateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpointOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, - modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + discoveryUrl: { + serializedName: "properties.discoveryUrl", type: { - name: "Composite", - className: "PrivateEndpointDestination", + 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", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "ServiceTagDestination", + className: "EncryptionProperty", + }, + }, + hbiWorkspace: { + defaultValue: false, + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean", + }, + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String", + }, + }, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, + type: { + name: "Number", + }, + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + allowPublicAccessWhenBehindVnet: { + defaultValue: false, + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean", + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String", + }, + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, + }, + }, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", + type: { + name: "Composite", + className: "ServerlessComputeSettings", + }, + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, + }, + }, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo", + }, + }, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean", + }, + }, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, + type: { + name: "String", + }, + }, + v1LegacyMode: { + defaultValue: false, + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + managedNetwork: { + serializedName: "properties.managedNetwork", + type: { + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + associatedWorkspaces: { + serializedName: "properties.associatedWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + hubResourceId: { + serializedName: "properties.hubResourceId", + type: { + name: "String", + }, + }, + workspaceHubConfig: { + serializedName: "properties.workspaceHubConfig", + type: { + name: "Composite", + className: "WorkspaceHubConfig", }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const PrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "PrivateLinkResource", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", type: { name: "String", }, }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", + }, + }, + }, + }, +}; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OutboundRule", + }, + }, }, }, }; @@ -10874,280 +10816,306 @@ export const DatabricksComputeSecrets: coreClient.CompositeMapper = { }, }; -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 AssetContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetContainer", + modelProperties: { + ...ResourceBase.type.modelProperties, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + latestVersion: { + serializedName: "latestVersion", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + nextVersion: { + serializedName: "nextVersion", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AssetBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetBase", + modelProperties: { + ...ResourceBase.type.modelProperties, + isAnonymous: { + defaultValue: false, + serializedName: "isAnonymous", + type: { + name: "Boolean", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", + type: { + name: "Composite", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials", + }, + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String", + }, + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const FeatureProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + featureName: { + serializedName: "featureName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", + type: { + name: "Composite", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + componentId: { + serializedName: "componentId", + nullable: true, + type: { + name: "String", + }, + }, + computeId: { + serializedName: "computeId", + nullable: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", + type: { + name: "String", + }, + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityConfiguration", }, }, - }, - }; - -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", - }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", }, }, - }, - }; - -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", - }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String", }, }, - }, - }; - -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "None", - type: { - name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - }, - }, - }; - -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - }, + notificationSetting: { + serializedName: "notificationSetting", + type: { + name: "Composite", + className: "NotificationSetting", }, }, - }, - }; - -export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AAD", - type: { - name: "Composite", - className: "AADAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, }, - }, - }; - -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", - }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AccountKey", - type: { - name: "Composite", - className: "AccountKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionAccountKey", - }, +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", }, }, - }, - }; - -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", - }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -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", - }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean", }, }, - }, - }; - -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", - }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + 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", - type: { - name: "Composite", - className: "WorkspaceConnectionServicePrincipal", - }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", }, }, }, - }; + }, +}; -export const AssetContainer: coreClient.CompositeMapper = { +export const SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", type: { name: "Composite", - className: "AssetContainer", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: PendingUploadCredentialDto.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, + }, + }, +}; + +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", }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, + userName: { + serializedName: "userName", nullable: true, type: { name: "String", @@ -11157,82 +11125,90 @@ export const AssetContainer: coreClient.CompositeMapper = { }, }; -export const AssetBase: coreClient.CompositeMapper = { +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", type: { name: "Composite", - className: "AssetBase", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + 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: "Boolean", + name: "String", }, }, }, }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType", - }, + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - datastoreType: { - serializedName: "datastoreType", - required: true, + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, type: { name: "String", }, }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean", - }, - }, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "DatastoreCredentials", - }, - }, }, }, }; -export const FeatureProperties: coreClient.CompositeMapper = { +export const BatchEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureProperties", + className: "BatchEndpointProperties", modelProperties: { - ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", - nullable: true, + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", type: { - name: "String", + name: "Composite", + className: "BatchEndpointDefaults", }, }, - dataType: { - serializedName: "dataType", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -11241,130 +11217,196 @@ export const FeatureProperties: coreClient.CompositeMapper = { }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const OnlineEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType", - }, + className: "OnlineEndpointProperties", modelProperties: { - ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", - required: true, + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", + mirrorTraffic: { + serializedName: "mirrorTraffic", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Number" } }, }, }, - status: { - serializedName: "status", + provisioningState: { + serializedName: "provisioningState", readOnly: true, type: { name: "String", }, }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + publicNetworkAccess: { + serializedName: "publicNetworkAccess", type: { name: "String", }, }, - services: { - serializedName: "services", + traffic: { + serializedName: "traffic", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, + value: { type: { name: "Number" } }, }, }, - computeId: { - serializedName: "computeId", - nullable: true, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "PartialManagedServiceIdentity", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + }, + }, +}; + +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSku", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { - name: "Boolean", + 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: "IdentityConfiguration", - }, - }, - componentId: { - serializedName: "componentId", - nullable: true, - type: { - name: "String", + className: "PartialManagedServiceIdentity", }, }, - notificationSetting: { - serializedName: "notificationSetting", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "NotificationSetting", + className: "PartialSku", }, }, }, }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = { + serializedName: "PipelineComponent", type: { name: "Composite", - className: "ScheduleProperties", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: BatchDeploymentConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - displayName: { - serializedName: "displayName", + ...BatchDeploymentConfiguration.type.modelProperties, + componentId: { + serializedName: "componentId", + type: { + name: "Composite", + className: "IdAssetReference", + }, + }, + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", + settings: { + serializedName: "settings", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - trigger: { - serializedName: "trigger", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "Composite", - className: "TriggerBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - action: { - serializedName: "action", + }, + }, +}; + +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: "Composite", - className: "ScheduleActionBase", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + }, + }, +}; + +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", }, @@ -11373,18 +11415,24 @@ export const ScheduleProperties: coreClient.CompositeMapper = { }, }; -export const SASCredentialDto: coreClient.CompositeMapper = { - serializedName: "SAS", +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", type: { name: "Composite", - className: "SASCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: - PendingUploadCredentialDto.type.polymorphicDiscriminator, + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, modelProperties: { - ...PendingUploadCredentialDto.type.modelProperties, - sasUri: { - serializedName: "sasUri", + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", nullable: true, type: { name: "String", @@ -11394,40 +11442,35 @@ export const SASCredentialDto: coreClient.CompositeMapper = { }, }; -export const AnonymousAccessCredential: coreClient.CompositeMapper = { - serializedName: "NoCredentials", +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnonymousAccessCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "DeploymentResourceConfiguration", modelProperties: { - ...DataReferenceCredential.type.modelProperties, + ...ResourceConfiguration.type.modelProperties, }, }, }; -export const DockerCredential: coreClient.CompositeMapper = { - serializedName: "DockerCredentials", +export const JobResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DockerCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "JobResourceConfiguration", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - userName: { - serializedName: "userName", + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", nullable: true, type: { name: "String", }, }, - password: { - serializedName: "password", - nullable: true, + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]"), + }, + serializedName: "shmSize", type: { name: "String", }, @@ -11436,87 +11479,71 @@ export const DockerCredential: coreClient.CompositeMapper = { }, }; -export const ManagedIdentityCredential: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const BatchDeploymentProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentityCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + className: "BatchDeploymentProperties", modelProperties: { - ...DataReferenceCredential.type.modelProperties, - managedIdentityType: { - serializedName: "managedIdentityType", + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", nullable: true, type: { name: "String", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", - nullable: true, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", type: { - name: "String", + name: "Composite", + className: "BatchDeploymentConfiguration", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", - nullable: true, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", type: { - name: "String", + name: "Number", }, }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", - nullable: true, + loggingLevel: { + serializedName: "loggingLevel", type: { name: "String", }, }, - userManagedIdentityTenantId: { - serializedName: "userManagedIdentityTenantId", - nullable: true, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -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, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const BatchEndpointProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpointProperties", - modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + model: { + serializedName: "model", type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "AssetReferenceBase", + }, + }, + outputAction: { + serializedName: "outputAction", + type: { + name: "String", + }, + }, + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", + type: { + name: "String", }, }, provisioningState: { @@ -11526,232 +11553,202 @@ export const BatchEndpointProperties: coreClient.CompositeMapper = { name: "String", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + }, + }, + retrySettings: { + serializedName: "retrySettings", + type: { + name: "Composite", + className: "BatchRetrySettings", + }, + }, }, }, }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType", + }, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", type: { - name: "String", + name: "Boolean", }, }, - compute: { - serializedName: "compute", - nullable: true, + dataCollector: { + serializedName: "dataCollector", type: { - name: "String", + name: "Composite", + className: "DataCollector", }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", type: { name: "String", }, }, - traffic: { - serializedName: "traffic", - nullable: true, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "String", }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", + instanceType: { + defaultValue: "Standard_F4s_v2", + serializedName: "instanceType", nullable: 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", - }, + livenessProbe: { + serializedName: "livenessProbe", + type: { + name: "Composite", + className: "ProbeSettings", }, }, - }, - }; - -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, + model: { + serializedName: "model", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -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", - }, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -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", - }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, + }, + readinessProbe: { + serializedName: "readinessProbe", + type: { + name: "Composite", + className: "ProbeSettings", }, - settings: { - serializedName: "settings", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + }, + startupProbe: { + serializedName: "startupProbe", + type: { + name: "Composite", + className: "ProbeSettings", }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + }, + requestSettings: { + serializedName: "requestSettings", + type: { + name: "Composite", + className: "OnlineRequestSettings", + }, + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings", }, }, }, - }; + }, +}; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "assetId", - required: true, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { - name: "String", + name: "Composite", + className: "AccountKeyDatastoreSecrets", }, }, }, }, }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", nullable: true, type: { name: "String", }, }, - datastoreId: { - serializedName: "datastoreId", - nullable: true, + clientId: { + serializedName: "clientId", + required: true, type: { - name: "String", + name: "Uuid", }, }, - }, - }, -}; - -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", + resourceUrl: { + serializedName: "resourceUrl", nullable: true, type: { name: "String", }, }, - jobId: { - serializedName: "jobId", - nullable: true, + 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", }, @@ -11760,127 +11757,159 @@ export const OutputPathAssetReference: coreClient.CompositeMapper = { }, }; -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", type: { name: "Composite", - className: "DeploymentResourceConfiguration", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties, + ...DatastoreCredentials.type.modelProperties, }, }, }; -export const JobResourceConfiguration: coreClient.CompositeMapper = { +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties, - shmSize: { - defaultValue: "2g", - constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]"), - }, - serializedName: "shmSize", - type: { - name: "String", - }, - }, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { - name: "String", + name: "Composite", + className: "SasDatastoreSecrets", }, }, }, }, }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", nullable: true, type: { name: "String", }, }, - deploymentConfiguration: { - serializedName: "deploymentConfiguration", - type: { - name: "Composite", - className: "BatchDeploymentConfiguration", - }, - }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", - type: { - name: "Number", - }, - }, - retrySettings: { - serializedName: "retrySettings", - type: { - name: "Composite", - className: "BatchRetrySettings", - }, - }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", + clientId: { + serializedName: "clientId", + required: true, type: { - name: "Number", + name: "Uuid", }, }, - loggingLevel: { - serializedName: "loggingLevel", + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, type: { name: "String", }, }, - model: { - serializedName: "model", + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "AssetReferenceBase", + className: "ServicePrincipalDatastoreSecrets", }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "Number", + name: "Uuid", }, }, - outputAction: { - serializedName: "outputAction", + }, + }, +}; + +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", }, }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", + }, + }, +}; + +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", }, }, - resources: { - serializedName: "resources", + }, + }, +}; + +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: "Composite", - className: "DeploymentResourceConfiguration", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + }, + }, +}; + +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", }, @@ -11889,302 +11918,273 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType", + 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: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", required: true, type: { name: "String", }, }, - scaleSettings: { - serializedName: "scaleSettings", - type: { - name: "Composite", - className: "OnlineScaleSettings", - }, - }, - requestSettings: { - serializedName: "requestSettings", - type: { - name: "Composite", - className: "OnlineRequestSettings", - }, - }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, - type: { - name: "String", - }, - }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", + interval: { + serializedName: "interval", + required: true, type: { - name: "Boolean", + name: "Number", }, }, - livenessProbe: { - serializedName: "livenessProbe", + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "ProbeSettings", + className: "RecurrenceSchedule", }, }, - readinessProbe: { - serializedName: "readinessProbe", - type: { - name: "Composite", - className: "ProbeSettings", + }, + }, +}; + +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, }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + serializedName: "expression", + required: true, type: { name: "String", }, }, - instanceType: { - serializedName: "instanceType", + }, + }, +}; + +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: "String", + name: "Uuid", }, }, - model: { - serializedName: "model", + objectId: { + serializedName: "objectId", nullable: true, type: { - name: "String", + name: "Uuid", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, }, - dataCollector: { - serializedName: "dataCollector", - type: { - name: "Composite", - className: "DataCollector", - }, - }, }, }, }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets", - }, - }, + ...IdentityConfiguration.type.modelProperties, }, }, }; -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", type: { name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, 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, + ...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: "Uuid", + name: "Number", }, }, - clientId: { - serializedName: "clientId", - required: true, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", type: { - name: "Uuid", + name: "Number", }, }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "thumbprint", - required: true, + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", type: { - name: "String", + name: "TimeSpan", }, }, - secrets: { - serializedName: "secrets", + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", type: { - name: "Composite", - className: "CertificateDatastoreSecrets", + name: "Number", }, }, }, }, }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", type: { name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", + type: { + name: "Composite", + className: "MonitorDefinition", + }, + }, }, }, }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, type: { - name: "Composite", - className: "SasDatastoreSecrets", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -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", - }, - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", - required: true, - type: { - name: "Uuid", - }, - }, - clientId: { - serializedName: "clientId", - required: true, - type: { - name: "Uuid", - }, - }, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - }, - }, - }, - }, - }; - -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", type: { - name: "String", + name: "Composite", + className: "JobBaseProperties", }, }, }, }, }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const PrivateEndpointResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "PrivateEndpointResource", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", nullable: true, type: { name: "String", @@ -12194,302 +12194,285 @@ export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { }, }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", type: { - name: "String", + name: "Composite", + className: "PrivateEndpointDestination", }, }, }, }, }; -export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", - nullable: true, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", type: { - name: "String", + name: "Composite", + className: "ServiceTagDestination", }, }, }, }, }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", type: { name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", 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", +export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "PAT", type: { name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "PATAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "expression", - required: true, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { - name: "String", + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", }, }, }, }, }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "SAS", type: { name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...Webhook.type.modelProperties, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, + }, }, }, }; -export const AllNodes: coreClient.CompositeMapper = { - serializedName: "All", +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "UsernamePassword", type: { name: "Composite", - className: "AllNodes", - uberParent: "Nodes", - polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...Nodes.type.modelProperties, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + }, + }, }, }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "None", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, }, }, }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", 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, + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { - name: "String", + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", }, }, }, }, }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AAD", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "AADAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, }, }, }; -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", +export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AccessKey", type: { name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "AccessKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + }, + }, }, }, }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", +export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "AccountKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", - type: { - name: "TimeSpan", - }, - }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", - type: { - name: "Number", - }, - }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { - name: "Number", + name: "Composite", + className: "WorkspaceConnectionAccountKey", }, }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", + }, + }, +}; + +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: "Number", + name: "Composite", + className: "WorkspaceConnectionApiKey", }, }, }, }, }; -export const CreateMonitorAction: coreClient.CompositeMapper = { - serializedName: "CreateMonitor", +export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "CustomKeys", type: { name: "Composite", - className: "CreateMonitorAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "CustomKeysWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - monitorDefinition: { - serializedName: "monitorDefinition", + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { name: "Composite", - className: "MonitorDefinition", + className: "CustomKeys", }, }, }, }, }; -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", +export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "OAuth2", type: { name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "OAuth2AuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "WorkspaceConnectionOAuth2", }, }, }, }, }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { name: "Composite", - className: "JobBaseProperties", + className: "WorkspaceConnectionServicePrincipal", }, }, }, @@ -12502,8 +12485,7 @@ export const AllFeatures: coreClient.CompositeMapper = { name: "Composite", className: "AllFeatures", uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringFeatureFilterBase.type.modelProperties, }, @@ -12516,8 +12498,7 @@ export const FeatureSubset: coreClient.CompositeMapper = { name: "Composite", className: "FeatureSubset", uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringFeatureFilterBase.type.modelProperties, features: { @@ -12542,8 +12523,7 @@ export const TopNFeaturesByAttribution: coreClient.CompositeMapper = { name: "Composite", className: "TopNFeaturesByAttribution", uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringFeatureFilterBase.type.modelProperties, top: { @@ -12563,8 +12543,7 @@ export const AmlTokenComputeIdentity: coreClient.CompositeMapper = { name: "Composite", className: "AmlTokenComputeIdentity", uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: - MonitorComputeIdentityBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitorComputeIdentityBase.type.polymorphicDiscriminator, modelProperties: { ...MonitorComputeIdentityBase.type.modelProperties, }, @@ -12577,8 +12556,7 @@ export const ManagedComputeIdentity: coreClient.CompositeMapper = { name: "Composite", className: "ManagedComputeIdentity", uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: - MonitorComputeIdentityBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitorComputeIdentityBase.type.polymorphicDiscriminator, modelProperties: { ...MonitorComputeIdentityBase.type.modelProperties, identity: { @@ -12803,6 +12781,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 +12801,6 @@ export const Classification: coreClient.CompositeMapper = { className: "ClassificationTrainingSettings", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -12837,12 +12815,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 +12822,12 @@ export const Forecasting: coreClient.CompositeMapper = { className: "ForecastingSettings", }, }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, trainingSettings: { serializedName: "trainingSettings", type: { @@ -13224,8 +13202,7 @@ export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { name: "Composite", className: "AutoTargetRollingWindowSize", uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + polymorphicDiscriminator: TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { ...TargetRollingWindowSize.type.modelProperties, }, @@ -13238,8 +13215,7 @@ export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { name: "Composite", className: "CustomTargetRollingWindowSize", uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + polymorphicDiscriminator: TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { ...TargetRollingWindowSize.type.modelProperties, value: { @@ -13311,6 +13287,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 +13304,6 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String", - }, - }, }, }, }; @@ -13342,17 +13318,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 +13336,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 +13385,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 +13403,6 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, protocol: { serializedName: "protocol", nullable: true, @@ -13450,20 +13426,19 @@ export const BanditPolicy: coreClient.CompositeMapper = { name: "Composite", className: "BanditPolicy", uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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", }, @@ -13478,8 +13453,7 @@ export const MedianStoppingPolicy: coreClient.CompositeMapper = { name: "Composite", className: "MedianStoppingPolicy", uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + polymorphicDiscriminator: EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { ...EarlyTerminationPolicy.type.modelProperties, }, @@ -13492,8 +13466,7 @@ export const TruncationSelectionPolicy: coreClient.CompositeMapper = { name: "Composite", className: "TruncationSelectionPolicy", uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + polymorphicDiscriminator: EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { ...EarlyTerminationPolicy.type.modelProperties, truncationPercentage: { @@ -13542,6 +13515,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 +13528,6 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { name: "Number", }, }, - rule: { - serializedName: "rule", - type: { - name: "String", - }, - }, }, }, }; @@ -13565,8 +13538,7 @@ export const CategoricalDataDriftMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "CategoricalDataDriftMetricThreshold", uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: - DataDriftMetricThresholdBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { ...DataDriftMetricThresholdBase.type.modelProperties, metric: { @@ -13586,8 +13558,7 @@ export const NumericalDataDriftMetricThreshold: coreClient.CompositeMapper = { name: "Composite", className: "NumericalDataDriftMetricThreshold", uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: - DataDriftMetricThresholdBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { ...DataDriftMetricThresholdBase.type.modelProperties, metric: { @@ -13601,38 +13572,75 @@ export const NumericalDataDriftMetricThreshold: coreClient.CompositeMapper = { }, }; -export const CategoricalDataQualityMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Categorical", - type: { - name: "Composite", - className: "CategoricalDataQualityMetricThreshold", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: - DataQualityMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...DataQualityMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, +export const CategoricalDataQualityMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", + type: { + name: "Composite", + className: "CategoricalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", + type: { + name: "Composite", + className: "NumericalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CategoricalPredictionDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", + type: { + name: "Composite", + className: "CategoricalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, + modelProperties: { + ...PredictionDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { +export const NumericalPredictionDriftMetricThreshold: coreClient.CompositeMapper = { serializedName: "Numerical", type: { name: "Composite", - className: "NumericalDataQualityMetricThreshold", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: - DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + className: "NumericalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...DataQualityMetricThresholdBase.type.modelProperties, + ...PredictionDriftMetricThresholdBase.type.modelProperties, metric: { serializedName: "metric", required: true, @@ -13644,50 +13652,6 @@ export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { }, }; -export const CategoricalPredictionDriftMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Categorical", - type: { - name: "Composite", - className: "CategoricalPredictionDriftMetricThreshold", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: - PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...PredictionDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const NumericalPredictionDriftMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Numerical", - type: { - name: "Composite", - className: "NumericalPredictionDriftMetricThreshold", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: - PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...PredictionDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, - }, - }, - }, - }; - export const ClassificationTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", @@ -13796,12 +13760,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 +13780,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 +13808,6 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { }, }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", - type: { - name: "Boolean", - }, - }, }, }, }; @@ -13864,8 +13828,7 @@ export const Mpi: coreClient.CompositeMapper = { name: "Composite", className: "Mpi", uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + polymorphicDiscriminator: DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { ...DistributionConfiguration.type.modelProperties, processCountPerInstance: { @@ -13885,8 +13848,7 @@ export const PyTorch: coreClient.CompositeMapper = { name: "Composite", className: "PyTorch", uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + polymorphicDiscriminator: DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { ...DistributionConfiguration.type.modelProperties, processCountPerInstance: { @@ -13906,20 +13868,19 @@ export const TensorFlow: coreClient.CompositeMapper = { name: "Composite", className: "TensorFlow", uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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 +13911,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,16 +13936,68 @@ 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: { name: "Composite", className: "CustomMonitoringSignal", uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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 +14016,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, @@ -14037,15 +14039,15 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { name: "Composite", className: "DataDriftMonitoringSignal", uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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 +14057,13 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14082,14 +14091,6 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14100,15 +14101,15 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { name: "Composite", className: "DataQualityMonitoringSignal", uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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,112 +14119,13 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, - metricThresholds: { - serializedName: "metricThresholds", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataQualityMetricThresholdBase", - }, - }, - }, - }, - productionData: { - serializedName: "productionData", - type: { - name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - referenceData: { - serializedName: "referenceData", + features: { + serializedName: "features", type: { name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, -}; - -export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper = - { - serializedName: "FeatureAttributionDrift", - type: { - name: "Composite", - className: "FeatureAttributionDriftMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - metricThreshold: { - serializedName: "metricThreshold", - type: { - name: "Composite", - className: "FeatureAttributionMetricThreshold", - }, - }, - featureImportanceSettings: { - serializedName: "featureImportanceSettings", - type: { - name: "Composite", - className: "FeatureImportanceSettings", - }, - }, - productionData: { - serializedName: "productionData", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - }, - }, - referenceData: { - serializedName: "referenceData", - type: { - name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + className: "MonitoringFeatureFilterBase", }, }, - }, - }; - -export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { - serializedName: "PredictionDrift", - type: { - name: "Composite", - className: "PredictionDriftMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitoringSignalBase.type.modelProperties, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14232,7 +14134,7 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "PredictionDriftMetricThresholdBase", + className: "DataQualityMetricThresholdBase", }, }, }, @@ -14251,6 +14153,19 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, + }, + }, +}; + +export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "FeatureAttributionDrift", + type: { + name: "Composite", + className: "FeatureAttributionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringSignalBase.type.modelProperties, featureDataTypeOverride: { serializedName: "featureDataTypeOverride", nullable: true, @@ -14259,47 +14174,86 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, + featureImportanceSettings: { + serializedName: "featureImportanceSettings", + type: { + name: "Composite", + className: "FeatureImportanceSettings", + }, + }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, + productionData: { + serializedName: "productionData", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, }, }, }; -export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { - serializedName: "ServerlessSpark", +export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "PredictionDrift", type: { name: "Composite", - className: "MonitorServerlessSparkCompute", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: - MonitorComputeConfigurationBase.type.polymorphicDiscriminator, + className: "PredictionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...MonitorComputeConfigurationBase.type.modelProperties, - computeIdentity: { - serializedName: "computeIdentity", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "MonitorComputeIdentityBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - instanceType: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "instanceType", + metricThresholds: { + serializedName: "metricThresholds", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + }, + }, }, }, - runtimeVersion: { - constraints: { - Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), - MinLength: 1, + productionData: { + serializedName: "productionData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", }, - serializedName: "runtimeVersion", - required: true, + }, + referenceData: { + serializedName: "referenceData", type: { - name: "String", + name: "Composite", + className: "MonitoringInputDataBase", }, }, }, @@ -14312,8 +14266,7 @@ export const FixedInputData: coreClient.CompositeMapper = { name: "Composite", className: "FixedInputData", uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, }, @@ -14326,10 +14279,16 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "Composite", className: "RollingInputData", uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, windowOffset: { serializedName: "windowOffset", required: true, @@ -14344,13 +14303,6 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14361,15 +14313,14 @@ export const StaticInputData: coreClient.CompositeMapper = { name: "Composite", className: "StaticInputData", uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + polymorphicDiscriminator: 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 +14330,11 @@ export const StaticInputData: coreClient.CompositeMapper = { name: "DateTime", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + windowStart: { + serializedName: "windowStart", + required: true, type: { - name: "String", + name: "DateTime", }, }, }, @@ -14527,146 +14478,144 @@ export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { }, }; -export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsClassification", - modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", - nullable: true, - type: { - name: "String", - }, +export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification", + modelProperties: { + ...ImageModelDistributionSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "String", }, - validationCropSize: { - serializedName: "validationCropSize", - nullable: true, - type: { - name: "String", - }, + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "String", }, - validationResizeSize: { - serializedName: "validationResizeSize", - nullable: true, - type: { - name: "String", - }, + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "String", }, - weightedLoss: { - serializedName: "weightedLoss", - nullable: true, - type: { - name: "String", - }, + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection", - modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", - nullable: true, - type: { - name: "String", - }, +export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection", + modelProperties: { + ...ImageModelDistributionSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "String", }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", - nullable: true, - type: { - name: "String", - }, + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "String", }, - imageSize: { - serializedName: "imageSize", - nullable: true, - type: { - name: "String", - }, + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "String", }, - maxSize: { - serializedName: "maxSize", - nullable: true, - type: { - name: "String", - }, + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "String", }, - minSize: { - serializedName: "minSize", - nullable: true, - type: { - name: "String", - }, + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "String", }, - modelSize: { - serializedName: "modelSize", - nullable: true, - type: { - name: "String", - }, + }, + modelSize: { + serializedName: "modelSize", + nullable: true, + type: { + name: "String", }, - multiScale: { - serializedName: "multiScale", - nullable: true, - type: { - name: "String", - }, + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "String", }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", - nullable: true, - type: { - name: "String", - }, + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "String", }, - tileGridSize: { - serializedName: "tileGridSize", - nullable: true, - type: { - name: "String", - }, + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String", }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", - nullable: true, - type: { - name: "String", - }, + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "String", }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", - nullable: true, - type: { - name: "String", - }, + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, + type: { + name: "String", }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, - type: { - name: "String", - }, + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, + type: { + name: "String", }, - validationMetricType: { - serializedName: "validationMetricType", - nullable: true, - type: { - name: "String", - }, + }, + validationMetricType: { + serializedName: "validationMetricType", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; export const LakeHouseArtifact: coreClient.CompositeMapper = { serializedName: "LakeHouse", @@ -14739,604 +14688,968 @@ export const CodeContainer: coreClient.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - className: "CodeContainerProperties", + className: "CodeContainerProperties", + }, + }, + }, + }, +}; + +export const CodeVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CodeVersionProperties", + }, + }, + }, + }, +}; + +export const ComponentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentContainerProperties", + }, + }, + }, + }, +}; + +export const ComponentVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentVersionProperties", + }, + }, + }, + }, +}; + +export const DataContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DataContainerProperties", + }, + }, + }, + }, +}; + +export const DataVersionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionBase", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DataVersionBaseProperties", + }, + }, + }, + }, +}; + +export const EnvironmentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnvironmentContainerProperties", + }, + }, + }, + }, +}; + +export const EnvironmentVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnvironmentVersionProperties", + }, + }, + }, + }, +}; + +export const ModelContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelContainerProperties", + }, + }, + }, + }, +}; + +export const ModelVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelVersionProperties", + }, + }, + }, + }, +}; + +export const Datastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Datastore", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DatastoreProperties", + }, + }, + }, + }, +}; + +export const FeaturesetContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturesetContainerProperties", + }, + }, + }, + }, +}; + +export const Feature: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Feature", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeatureProperties", + }, + }, + }, + }, +}; + +export const FeaturesetVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturesetVersionProperties", }, }, }, }, }; -export const CodeVersion: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersion", + className: "FeaturestoreEntityContainer", modelProperties: { ...ProxyResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "CodeVersionProperties", + className: "FeaturestoreEntityContainerProperties", }, }, }, }, }; -export const ComponentContainer: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainer", + className: "FeaturestoreEntityVersion", modelProperties: { ...ProxyResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ComponentContainerProperties", + className: "FeaturestoreEntityVersionProperties", }, }, }, }, }; -export const ComponentVersion: coreClient.CompositeMapper = { +export const JobBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersion", + className: "JobBase", modelProperties: { ...ProxyResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "ComponentVersionProperties", + className: "JobBaseProperties", }, }, }, }, }; -export const DataContainer: coreClient.CompositeMapper = { +export const MarketplaceSubscription: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainer", + className: "MarketplaceSubscription", modelProperties: { ...ProxyResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "DataContainerProperties", + className: "MarketplaceSubscriptionProperties", }, }, }, }, }; -export const DataVersionBase: coreClient.CompositeMapper = { +export const Schedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBase", + className: "Schedule", modelProperties: { ...ProxyResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "DataVersionBaseProperties", + className: "ScheduleProperties", }, }, }, }, }; -export const EnvironmentContainer: coreClient.CompositeMapper = { +export const BatchEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainer", + className: "BatchEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "BatchEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const EnvironmentVersion: coreClient.CompositeMapper = { +export const BatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersion", + className: "BatchDeployment", modelProperties: { - ...ProxyResource.type.modelProperties, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "EnvironmentVersionProperties", + className: "BatchDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const ModelContainer: coreClient.CompositeMapper = { +export const OnlineEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainer", + className: "OnlineEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "ModelContainerProperties", + className: "OnlineEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const ModelVersion: coreClient.CompositeMapper = { +export const OnlineDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersion", + className: "OnlineDeployment", modelProperties: { - ...ProxyResource.type.modelProperties, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "ModelVersionProperties", + className: "OnlineDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const Datastore: coreClient.CompositeMapper = { +export const ServerlessEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Datastore", + className: "ServerlessEndpoint", modelProperties: { - ...ProxyResource.type.modelProperties, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "DatastoreProperties", + className: "ServerlessEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const FeaturesetContainer: coreClient.CompositeMapper = { +export const Registry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainer", + className: "Registry", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "FeaturesetContainerProperties", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", + nullable: true, + type: { + name: "String", + }, + }, + intellectualPropertyPublisher: { + serializedName: "properties.intellectualPropertyPublisher", + nullable: true, + type: { + name: "String", + }, + }, + managedResourceGroup: { + serializedName: "properties.managedResourceGroup", + type: { + name: "Composite", + className: "ArmResourceId", + }, + }, + managedResourceGroupSettings: { + serializedName: "properties.managedResourceGroupSettings", + type: { + name: "Composite", + className: "ManagedResourceGroupSettings", + }, + }, + mlFlowRegistryUri: { + serializedName: "properties.mlFlowRegistryUri", + nullable: true, + type: { + name: "String", + }, + }, + registryPrivateEndpointConnections: { + serializedName: "properties.registryPrivateEndpointConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryPrivateEndpointConnection", + }, + }, + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + nullable: true, + type: { + name: "String", + }, + }, + regionDetails: { + serializedName: "properties.regionDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + }, + }, }, }, }, }, }; -export const Feature: coreClient.CompositeMapper = { +export const CodeContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Feature", + className: "CodeContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "FeatureProperties", + name: "String", }, }, }, }, }; -export const FeaturesetVersion: coreClient.CompositeMapper = { +export const ComponentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersion", + className: "ComponentContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "FeaturesetVersionProperties", + name: "String", }, }, }, }, }; -export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { +export const DataContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainer", + className: "DataContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + dataType: { + serializedName: "dataType", + required: true, type: { - name: "Composite", - className: "FeaturestoreEntityContainerProperties", + name: "String", }, }, }, }, }; -export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { +export const EnvironmentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityVersion", + className: "EnvironmentContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "FeaturestoreEntityVersionProperties", + name: "String", }, }, }, }, }; -export const JobBase: coreClient.CompositeMapper = { +export const ModelContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBase", + className: "ModelContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "JobBaseProperties", + name: "String", }, }, }, }, }; -export const MarketplaceSubscription: coreClient.CompositeMapper = { +export const FeaturesetContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscription", + className: "FeaturesetContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "MarketplaceSubscriptionProperties", + name: "String", }, }, }, }, }; -export const Schedule: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Schedule", + className: "FeaturestoreEntityContainerProperties", modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ScheduleProperties", + name: "String", }, }, }, }, }; -export const BatchEndpoint: coreClient.CompositeMapper = { +export const CodeVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpoint", + className: "CodeVersionProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "BatchEndpointProperties", - }, - }, - kind: { - serializedName: "kind", + ...AssetBase.type.modelProperties, + codeUri: { + serializedName: "codeUri", + nullable: true, type: { name: "String", }, }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, }, }, }; -export const BatchDeployment: coreClient.CompositeMapper = { +export const ComponentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeployment", + className: "ComponentVersionProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + ...AssetBase.type.modelProperties, + componentSpec: { + serializedName: "componentSpec", + nullable: true, type: { - name: "Composite", - className: "BatchDeploymentProperties", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - kind: { - serializedName: "kind", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", - }, - }, }, }, }; -export const OnlineEndpoint: coreClient.CompositeMapper = { +export const DataVersionBaseProperties: coreClient.CompositeMapper = { + serializedName: "DataVersionBaseProperties", type: { name: "Composite", - className: "OnlineEndpoint", + className: "DataVersionBaseProperties", + uberParent: "AssetBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "OnlineEndpointProperties", - }, - }, - kind: { - serializedName: "kind", + ...AssetBase.type.modelProperties, + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", + dataUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - sku: { - serializedName: "sku", + serializedName: "dataUri", + required: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, }, }, }; -export const OnlineDeployment: coreClient.CompositeMapper = { +export const EnvironmentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeployment", + className: "EnvironmentVersionProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "OnlineDeploymentProperties", - }, - }, - kind: { - serializedName: "kind", + ...AssetBase.type.modelProperties, + autoRebuild: { + serializedName: "autoRebuild", type: { name: "String", }, }, - identity: { - serializedName: "identity", + build: { + serializedName: "build", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "BuildContext", }, }, - sku: { - serializedName: "sku", + condaFile: { + serializedName: "condaFile", type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - }, - }, -}; - -export const ServerlessEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServerlessEndpoint", - modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + environmentType: { + serializedName: "environmentType", + readOnly: true, type: { - name: "Composite", - className: "ServerlessEndpointProperties", + name: "String", }, }, - kind: { - serializedName: "kind", + image: { + serializedName: "image", type: { name: "String", }, }, - identity: { - serializedName: "identity", + inferenceConfig: { + serializedName: "inferenceConfig", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "InferenceContainerProperties", }, }, - sku: { - serializedName: "sku", + osType: { + serializedName: "osType", type: { - name: "Composite", - className: "Sku", + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + stage: { + serializedName: "stage", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const Registry: coreClient.CompositeMapper = { +export const ModelVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Registry", + className: "ModelVersionProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...AssetBase.type.modelProperties, + flavors: { + serializedName: "flavors", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "Dictionary", + value: { type: { name: "Composite", className: "FlavorData" } }, }, }, - kind: { - serializedName: "kind", + jobName: { + serializedName: "jobName", + nullable: true, type: { name: "String", }, }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", - }, - }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + modelType: { + serializedName: "modelType", nullable: true, type: { name: "String", }, }, - intellectualPropertyPublisher: { - serializedName: "properties.intellectualPropertyPublisher", + modelUri: { + serializedName: "modelUri", nullable: true, type: { name: "String", }, }, - managedResourceGroup: { - serializedName: "properties.managedResourceGroup", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ArmResourceId", + name: "String", }, }, - mlFlowRegistryUri: { - serializedName: "properties.mlFlowRegistryUri", + stage: { + serializedName: "stage", nullable: true, type: { name: "String", }, }, - registryPrivateEndpointConnections: { - serializedName: "properties.registryPrivateEndpointConnections", + }, + }, +}; + +export const FeaturesetVersionProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionProperties", + modelProperties: { + ...AssetBase.type.modelProperties, + entities: { + serializedName: "entities", nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "RegistryPrivateEndpointConnection", + name: "String", }, }, }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - nullable: true, + materializationSettings: { + serializedName: "materializationSettings", + type: { + name: "Composite", + className: "MaterializationSettings", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - regionDetails: { - serializedName: "properties.regionDetails", - nullable: true, + specification: { + serializedName: "specification", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RegistryRegionArmDetails", - }, - }, + name: "Composite", + className: "FeaturesetSpecification", }, }, - }, - }, -}; - -export const CodeContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15345,12 +15658,25 @@ export const CodeContainerProperties: coreClient.CompositeMapper = { }, }; -export const ComponentContainerProperties: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerProperties", + className: "FeaturestoreEntityVersionProperties", modelProperties: { - ...AssetContainer.type.modelProperties, + ...AssetBase.type.modelProperties, + indexColumns: { + serializedName: "indexColumns", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IndexColumn", + }, + }, + }, + }, provisioningState: { serializedName: "provisioningState", readOnly: true, @@ -15358,19 +15684,9 @@ export const ComponentContainerProperties: coreClient.CompositeMapper = { name: "String", }, }, - }, - }, -}; - -export const DataContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15379,49 +15695,42 @@ export const DataContainerProperties: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerProperties: coreClient.CompositeMapper = { +export const OneLakeDatastore: coreClient.CompositeMapper = { + serializedName: "OneLake", type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "OneLakeDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...DatastoreProperties.type.modelProperties, + artifact: { + serializedName: "artifact", + type: { + name: "Composite", + className: "OneLakeArtifact", + }, + }, + endpoint: { + serializedName: "endpoint", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const ModelContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModelContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + oneLakeWorkspaceName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "oneLakeWorkspaceName", + required: true, type: { name: "String", }, }, - }, - }, -}; - -export const FeaturesetContainerProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturesetContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { name: "String", }, @@ -15430,220 +15739,211 @@ export const FeaturesetContainerProperties: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const CodeVersionProperties: coreClient.CompositeMapper = { +export const AutoMLJob: coreClient.CompositeMapper = { + serializedName: "AutoML", type: { name: "Composite", - className: "CodeVersionProperties", + className: "AutoMLJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetBase.type.modelProperties, - codeUri: { - serializedName: "codeUri", + ...JobBaseProperties.type.modelProperties, + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const ComponentVersionProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentVersionProperties", - modelProperties: { - ...AssetBase.type.modelProperties, - componentSpec: { - serializedName: "componentSpec", + outputs: { + serializedName: "outputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "any" } }, + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "String", + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + taskDetails: { + serializedName: "taskDetails", + type: { + name: "Composite", + className: "AutoMLVertical", }, }, }, }, }; -export const DataVersionBaseProperties: coreClient.CompositeMapper = { - serializedName: "DataVersionBaseProperties", +export const CommandJob: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "DataVersionBaseProperties", - uberParent: "AssetBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "CommandJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetBase.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + ...JobBaseProperties.type.modelProperties, + codeId: { + serializedName: "codeId", + nullable: true, type: { name: "String", }, }, - dataUri: { + command: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "dataUri", + serializedName: "command", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const EnvironmentVersionProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnvironmentVersionProperties", - modelProperties: { - ...AssetBase.type.modelProperties, - environmentType: { - serializedName: "environmentType", - readOnly: true, + distribution: { + serializedName: "distribution", type: { - name: "String", + name: "Composite", + className: "DistributionConfiguration", }, }, - image: { - serializedName: "image", - type: { - name: "String", + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - condaFile: { - serializedName: "condaFile", + serializedName: "environmentId", + required: true, type: { name: "String", }, }, - build: { - serializedName: "build", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Composite", - className: "BuildContext", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - osType: { - serializedName: "osType", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - inferenceConfig: { - serializedName: "inferenceConfig", + limits: { + serializedName: "limits", type: { name: "Composite", - className: "InferenceContainerProperties", + className: "CommandJobLimits", }, }, - autoRebuild: { - serializedName: "autoRebuild", + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - provisioningState: { - serializedName: "provisioningState", + parameters: { + serializedName: "parameters", readOnly: true, + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - stage: { - serializedName: "stage", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "String", + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", }, }, }, }, }; -export const ModelVersionProperties: coreClient.CompositeMapper = { +export const PipelineJob: coreClient.CompositeMapper = { + serializedName: "Pipeline", type: { name: "Composite", - className: "ModelVersionProperties", + className: "PipelineJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetBase.type.modelProperties, - flavors: { - serializedName: "flavors", + ...JobBaseProperties.type.modelProperties, + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "FlavorData" } }, + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - modelType: { - serializedName: "modelType", + jobs: { + serializedName: "jobs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - modelUri: { - serializedName: "modelUri", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - jobName: { - serializedName: "jobName", + settings: { + serializedName: "settings", nullable: true, type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - stage: { - serializedName: "stage", + sourceJobId: { + serializedName: "sourceJobId", nullable: true, type: { name: "String", @@ -15653,35 +15953,73 @@ export const ModelVersionProperties: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionProperties: coreClient.CompositeMapper = { +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", - className: "FeaturesetVersionProperties", + className: "SparkJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetBase.type.modelProperties, - specification: { - serializedName: "specification", + ...JobBaseProperties.type.modelProperties, + archives: { + serializedName: "archives", + nullable: true, type: { - name: "Composite", - className: "FeaturesetSpecification", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - materializationSettings: { - serializedName: "materializationSettings", + args: { + serializedName: "args", + nullable: true, + type: { + name: "String", + }, + }, + codeId: { + serializedName: "codeId", + required: true, + type: { + name: "String", + }, + }, + conf: { + serializedName: "conf", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + entry: { + serializedName: "entry", type: { name: "Composite", - className: "MaterializationSettings", + className: "SparkJobEntry", }, }, - stage: { - serializedName: "stage", + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String", }, }, - entities: { - serializedName: "entities", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + files: { + serializedName: "files", nullable: true, type: { name: "Sequence", @@ -15692,134 +16030,100 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { }, }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - }, - }, -}; - -export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionProperties", - modelProperties: { - ...AssetBase.type.modelProperties, - indexColumns: { - serializedName: "indexColumns", + jars: { + serializedName: "jars", nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IndexColumn", + name: "String", }, }, }, }, - stage: { - serializedName: "stage", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + pyFiles: { + serializedName: "pyFiles", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -export const OneLakeDatastore: coreClient.CompositeMapper = { - serializedName: "OneLake", - type: { - name: "Composite", - className: "OneLakeDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreProperties.type.modelProperties, - artifact: { - serializedName: "artifact", + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "OneLakeArtifact", - }, - }, - oneLakeWorkspaceName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "oneLakeWorkspaceName", - required: true, - type: { - name: "String", - }, - }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", + className: "QueueSettings", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + resources: { + serializedName: "resources", type: { - name: "String", + name: "Composite", + className: "SparkResourceConfiguration", }, }, }, }, }; -export const AutoMLJob: coreClient.CompositeMapper = { - serializedName: "AutoML", +export const SweepJob: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "AutoMLJob", + className: "SweepJob", uberParent: "JobBaseProperties", polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + earlyTermination: { + serializedName: "earlyTermination", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "EarlyTerminationPolicy", }, }, - environmentId: { - serializedName: "environmentId", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + limits: { + serializedName: "limits", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "SweepJobLimits", }, }, - taskDetails: { - serializedName: "taskDetails", + objective: { + serializedName: "objective", type: { name: "Composite", - className: "AutoMLVertical", + className: "Objective", }, }, outputs: { @@ -15837,475 +16141,579 @@ export const AutoMLJob: 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", + }, + }, }, }, }; -export const CommandJob: coreClient.CompositeMapper = { - serializedName: "Command", +export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Kubernetes", type: { name: "Composite", - className: "CommandJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "KubernetesOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator, modelProperties: { - ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + ...OnlineDeploymentProperties.type.modelProperties, + containerResourceRequirements: { + serializedName: "containerResourceRequirements", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "ContainerResourceRequirements", }, }, - codeId: { - serializedName: "codeId", + }, + }, +}; + +export const ManagedOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + className: "ManagedOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineDeploymentProperties.type.modelProperties, + }, + }, +}; + +export const MLTableData: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableData", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...DataVersionBaseProperties.type.modelProperties, + referencedUris: { + serializedName: "referencedUris", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "command", - required: true, + }, + }, +}; + +export const UriFileDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileDataVersion", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...DataVersionBaseProperties.type.modelProperties, + }, + }, +}; + +export const UriFolderDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderDataVersion", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...DataVersionBaseProperties.type.modelProperties, + }, + }, +}; + +export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeCreateOrUpdateHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "environmentId", - required: true, + }, + }, +}; + +export const ComputeDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeDeleteHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "String", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + }, + }, +}; + +export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryCodeContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "TimeSpan", }, }, - distribution: { - serializedName: "distribution", + location: { + serializedName: "location", type: { - name: "Composite", - className: "DistributionConfiguration", + name: "String", }, }, - limits: { - serializedName: "limits", - type: { - name: "Composite", - className: "CommandJobLimits", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - parameters: { - serializedName: "parameters", - readOnly: true, - nullable: true, + }, + }, +}; + +export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryCodeContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "TimeSpan", }, }, - queueSettings: { - serializedName: "queueSettings", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "QueueSettings", + name: "String", }, }, }, }, }; -export const PipelineJob: coreClient.CompositeMapper = { - serializedName: "Pipeline", +export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryCodeVersionsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - settings: { - serializedName: "settings", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - jobs: { - serializedName: "jobs", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "TimeSpan", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "String", }, }, - outputs: { - serializedName: "outputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - sourceJobId: { - serializedName: "sourceJobId", - nullable: true, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const SparkJob: coreClient.CompositeMapper = { - serializedName: "Spark", +export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryCodeVersionsCreateOrUpdateHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "SparkResourceConfiguration", - }, - }, - args: { - serializedName: "args", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - codeId: { - serializedName: "codeId", - required: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - entry: { - serializedName: "entry", + }, + }, +}; + +export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "SparkJobEntry", + name: "TimeSpan", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - outputs: { - serializedName: "outputs", - nullable: true, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "Number", }, }, - pyFiles: { - serializedName: "pyFiles", - nullable: true, + }, + }, +}; + +export const RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, - jars: { - serializedName: "jars", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - files: { - serializedName: "files", - nullable: true, + }, + }, +}; + +export const RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, - archives: { - serializedName: "archives", - nullable: true, + location: { + serializedName: "location", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - conf: { - serializedName: "conf", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - queueSettings: { - serializedName: "queueSettings", + }, + }, +}; + +export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "QueueSettings", + name: "TimeSpan", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const SweepJob: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SweepJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryDataContainersDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - searchSpace: { - serializedName: "searchSpace", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "TimeSpan", }, }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + location: { + serializedName: "location", type: { - name: "Composite", - className: "SamplingAlgorithm", + name: "String", }, }, - limits: { - serializedName: "limits", - type: { - name: "Composite", - className: "SweepJobLimits", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - earlyTermination: { - serializedName: "earlyTermination", + serializedName: "retry-after", type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "Number", }, }, - objective: { - serializedName: "objective", + }, + }, +}; + +export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryDataContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "Objective", + name: "TimeSpan", }, }, - trial: { - serializedName: "trial", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "TrialComponent", + name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + }, + }, +}; + +export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryDataVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "TimeSpan", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "String", }, }, - queueSettings: { - serializedName: "queueSettings", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "QueueSettings", + name: "Number", }, }, }, }, }; -export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + className: "RegistryDataVersionsCreateOrUpdateHeaders", modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, - containerResourceRequirements: { - serializedName: "containerResourceRequirements", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "ContainerResourceRequirements", + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, }, }; -export const ManagedOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Managed", +export const RegistryEnvironmentContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentContainersDeleteHeaders", modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const MLTableData: coreClient.CompositeMapper = { - serializedName: "mltable", +export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableData", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - referencedUris: { - serializedName: "referencedUris", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, }, }; -export const UriFileDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentVersionsDeleteHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const UriFolderDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentVersionsCreateOrUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, }, }; -export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesCreateOrUpdateHeaders", + className: "RegistryModelContainersDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16326,36 +16734,38 @@ export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesUpdateHeaders", + className: "RegistryModelContainersCreateOrUpdateHeaders", modelProperties: { - location: { - serializedName: "location", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesDiagnoseHeaders", + className: "RegistryModelVersionsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16376,11 +16786,38 @@ export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { +export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesResyncKeysHeaders", + 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: { @@ -16401,11 +16838,17 @@ export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { +export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesPrepareNotebookHeaders", + className: "BatchEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16426,114 +16869,31 @@ export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { }, }; -export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeCreateOrUpdateHeaders", + className: "BatchEndpointsCreateOrUpdateHeaders", modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - }, - }, -}; - -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", - }, - }, - }, - }, - }; - -export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeContainersDeleteHeaders", + className: "BatchDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16561,32 +16921,10 @@ export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryCodeContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeVersionsDeleteHeaders", + className: "BatchDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16614,147 +16952,32 @@ export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryCodeVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersDeleteHeaders", - 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 RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentVersionsCreateOrUpdateHeaders", - 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 RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataContainersDeleteHeaders", + className: "CodeVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -16775,39 +16998,11 @@ export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryDataContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataVersionsDeleteHeaders", + className: "ComponentVersionsPublishHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -16828,194 +17023,112 @@ export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryDataVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const RegistryEnvironmentContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryEnvironmentContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryEnvironmentVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryEnvironmentVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryModelContainersDeleteHeaders", - 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, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + 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", - }, +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", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsDeleteHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17043,32 +17156,10 @@ export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -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 = { +export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "FeaturesetVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17076,6 +17167,21 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionsBackfillHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17096,10 +17202,10 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "FeaturestoreEntityContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17127,10 +17233,10 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17148,10 +17254,10 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "FeaturestoreEntityVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17170,19 +17276,40 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { InclusiveMaximum: 600, InclusiveMinimum: 10, }, - serializedName: "retry-after", + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "JobsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17210,32 +17337,10 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "JobsCancelHeaders", modelProperties: { location: { serializedName: "location", @@ -17257,11 +17362,17 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionsPublishHeaders", + className: "MarketplaceSubscriptionsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17282,35 +17393,31 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionsPublishHeaders", + className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", modelProperties: { - location: { - serializedName: "location", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "ModelVersionsPublishHeaders", modelProperties: { location: { serializedName: "location", @@ -17332,10 +17439,10 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "OnlineEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17363,32 +17470,10 @@ export const FeaturesetContainersDeleteHeaders: 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 = { +export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17416,32 +17501,31 @@ 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", - }, +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointsCreateOrUpdateHeaders", + 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 FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "OnlineEndpointsRegenerateKeysHeaders", modelProperties: { location: { serializedName: "location", @@ -17463,118 +17547,41 @@ 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 = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17602,11 +17609,38 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "OnlineDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17627,65 +17661,38 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", - 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 ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17706,10 +17713,10 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17737,10 +17744,10 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17748,6 +17755,21 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointsRegenerateKeysHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17768,58 +17790,10 @@ 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", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -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 = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17847,10 +17821,10 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17878,39 +17852,11 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "WorkspacesCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17931,38 +17877,32 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "WorkspacesDeleteHeaders", 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 WorkspacesUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "WorkspacesUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17983,17 +17923,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "WorkspacesDiagnoseHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18014,65 +17948,76 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesResyncKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, +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", - }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistriesDeleteHeaders", + className: "ManagedNetworkSettingsRuleDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, + }, + }, +}; + +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -18093,17 +18038,11 @@ export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistriesRemoveRegionsHeaders", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18125,28 +18064,28 @@ export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { }; export let discriminators = { - OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, - WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, PendingUploadCredentialDto: PendingUploadCredentialDto, DataReferenceCredential: DataReferenceCredential, BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, - TriggerBase: TriggerBase, Webhook: Webhook, - Nodes: Nodes, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, + OutboundRule: OutboundRule, + WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, JobInput: JobInput, - JobOutput: JobOutput, NCrossValidations: NCrossValidations, Seasonality: Seasonality, TargetLags: TargetLags, @@ -18158,14 +18097,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 +18115,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, @@ -18210,13 +18122,11 @@ export let discriminators = { "DataReferenceCredential.DockerCredentials": DockerCredential, "DataReferenceCredential.ManagedIdentity": ManagedIdentityCredential, "DataReferenceCredential.SAS": SASCredential, - "BatchDeploymentConfiguration.PipelineComponent": - BatchPipelineComponentDeploymentConfiguration, + "BatchDeploymentConfiguration.PipelineComponent": BatchPipelineComponentDeploymentConfiguration, "AssetReferenceBase.Id": IdAssetReference, "AssetReferenceBase.DataPath": DataPathAssetReference, "AssetReferenceBase.OutputPath": OutputPathAssetReference, - "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": - OnlineDeploymentProperties, + "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": OnlineDeploymentProperties, "DatastoreCredentials.AccountKey": AccountKeyDatastoreCredentials, "DatastoreCredentials.Certificate": CertificateDatastoreCredentials, "DatastoreCredentials.None": NoneDatastoreCredentials, @@ -18226,18 +18136,36 @@ export let discriminators = { "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, + "Webhook.AzureDevOps": AzureDevOpsWebhook, "TriggerBase.Recurrence": RecurrenceTrigger, "TriggerBase.Cron": CronTrigger, - "Webhook.AzureDevOps": AzureDevOpsWebhook, - "Nodes.All": AllNodes, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, "ScheduleActionBase.CreateMonitor": CreateMonitorAction, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, + "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "OutboundRule.FQDN": FqdnOutboundRule, + "WorkspaceConnectionPropertiesV2.PAT": PATAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.SAS": SASAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.UsernamePassword": + UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.None": NoneAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ManagedIdentity": + ManagedIdentityAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AAD": AADAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccessKey": AccessKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccountKey": AccountKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ApiKey": ApiKeyAuthWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.CustomKeys": CustomKeysWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.OAuth2": OAuth2AuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ServicePrincipal": + ServicePrincipalAuthTypeWorkspaceConnectionProperties, "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, @@ -18286,30 +18214,23 @@ export let discriminators = { "SamplingAlgorithm.Bayesian": BayesianSamplingAlgorithm, "SamplingAlgorithm.Grid": GridSamplingAlgorithm, "SamplingAlgorithm.Random": RandomSamplingAlgorithm, - "DataDriftMetricThresholdBase.Categorical": - CategoricalDataDriftMetricThreshold, + "DataDriftMetricThresholdBase.Categorical": CategoricalDataDriftMetricThreshold, "DataDriftMetricThresholdBase.Numerical": NumericalDataDriftMetricThreshold, - "DataQualityMetricThresholdBase.Categorical": - CategoricalDataQualityMetricThreshold, - "DataQualityMetricThresholdBase.Numerical": - NumericalDataQualityMetricThreshold, - "PredictionDriftMetricThresholdBase.Categorical": - CategoricalPredictionDriftMetricThreshold, - "PredictionDriftMetricThresholdBase.Numerical": - NumericalPredictionDriftMetricThreshold, + "DataQualityMetricThresholdBase.Categorical": CategoricalDataQualityMetricThreshold, + "DataQualityMetricThresholdBase.Numerical": NumericalDataQualityMetricThreshold, + "PredictionDriftMetricThresholdBase.Categorical": CategoricalPredictionDriftMetricThreshold, + "PredictionDriftMetricThresholdBase.Numerical": NumericalPredictionDriftMetricThreshold, "DistributionConfiguration.Mpi": Mpi, "DistributionConfiguration.PyTorch": PyTorch, "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.FeatureAttributionDrift": FeatureAttributionDriftMonitoringSignal, "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, - "MonitorComputeConfigurationBase.ServerlessSpark": - MonitorServerlessSparkCompute, "MonitoringInputDataBase.Fixed": FixedInputData, "MonitoringInputDataBase.Rolling": RollingInputData, "MonitoringInputDataBase.Static": StaticInputData, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 66fdccd327f1..b479a0f34458 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -12,16 +12,9 @@ import { OperationQueryParameter, } from "@azure/core-client"; import { - Workspace as WorkspaceMapper, - WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, - DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, - PrivateEndpointConnection as PrivateEndpointConnectionMapper, - WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, - ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, PendingUploadRequestDto as PendingUploadRequestDtoMapper, @@ -57,6 +50,14 @@ import { ServerlessEndpoint as ServerlessEndpointMapper, PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, Registry as RegistryMapper, + Workspace as WorkspaceMapper, + WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, + DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, + WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, + WorkspaceConnectionUpdateParameter as WorkspaceConnectionUpdateParameterMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, } from "../models/mappers.js"; export const accept: OperationParameter = { @@ -86,7 +87,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2025-04-01", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +110,13 @@ export const subscriptionId: OperationURLParameter = { }, }; -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", +export const location: OperationURLParameter = { + parameterPath: "location", mapper: { constraints: { - MaxLength: 90, - MinLength: 1, + Pattern: new RegExp("^[-\\w\\._]+$"), }, - serializedName: "resourceGroupName", + serializedName: "location", required: true, type: { name: "String", @@ -124,18 +124,16 @@ export const resourceGroupName: OperationURLParameter = { }, }; -export const workspaceName: OperationURLParameter = { - parameterPath: "workspaceName", +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "workspaceName", + serializedName: "nextLink", required: true, type: { name: "String", }, }, + skipEncoding: true, }; export const contentType: OperationParameter = { @@ -152,71 +150,48 @@ export const contentType: OperationParameter = { export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceMapper, + mapper: QuotaUpdateParametersMapper, }; -export const forceToPurge: OperationQueryParameter = { - parameterPath: ["options", "forceToPurge"], +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - defaultValue: false, - serializedName: "forceToPurge", - type: { - name: "Boolean", + constraints: { + MaxLength: 90, + MinLength: 1, }, - }, -}; - -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceUpdateParametersMapper, -}; - -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], - mapper: { - serializedName: "$skip", + serializedName: "resourceGroupName", + required: true, type: { name: "String", }, }, }; -export const parameters2: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: DiagnoseWorkspaceParametersMapper, -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const workspaceName: OperationURLParameter = { + parameterPath: "workspaceName", mapper: { - serializedName: "nextLink", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "workspaceName", required: true, type: { name: "String", }, }, - skipEncoding: true, }; -export const location: OperationURLParameter = { - parameterPath: "location", +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$"), - }, - serializedName: "location", - required: true, + serializedName: "$skip", type: { name: "String", }, }, }; -export const parameters3: OperationParameter = { - parameterPath: "parameters", - mapper: QuotaUpdateParametersMapper, -}; - export const computeName: OperationURLParameter = { parameterPath: "computeName", mapper: { @@ -228,12 +203,12 @@ export const computeName: OperationURLParameter = { }, }; -export const parameters4: OperationParameter = { +export const parameters1: OperationParameter = { parameterPath: "parameters", mapper: ComputeResourceMapper, }; -export const parameters5: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: ClusterUpdateParametersMapper, }; @@ -249,85 +224,6 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", - mapper: { - serializedName: "privateEndpointConnectionName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties: OperationParameter = { - parameterPath: "properties", - mapper: PrivateEndpointConnectionMapper, -}; - -export const parameters6: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, -}; - -export const connectionName: OperationURLParameter = { - parameterPath: "connectionName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "connectionName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const target: OperationQueryParameter = { - parameterPath: ["options", "target"], - mapper: { - serializedName: "target", - type: { - name: "String", - }, - }, -}; - -export const category: OperationQueryParameter = { - parameterPath: ["options", "category"], - mapper: { - serializedName: "category", - type: { - name: "String", - }, - }, -}; - -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", - mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "ruleName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, -}; - -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, -}; - export const registryName: OperationURLParameter = { parameterPath: "registryName", mapper: { @@ -356,7 +252,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +288,12 @@ export const version: OperationURLParameter = { }, }; -export const body3: OperationParameter = { +export const body1: OperationParameter = { parameterPath: "body", mapper: CodeVersionMapper, }; -export const body4: OperationParameter = { +export const body2: OperationParameter = { parameterPath: "body", mapper: PendingUploadRequestDtoMapper, }; @@ -416,12 +312,12 @@ export const componentName: OperationURLParameter = { }, }; -export const body5: OperationParameter = { +export const body3: OperationParameter = { parameterPath: "body", mapper: ComponentContainerMapper, }; -export const body6: OperationParameter = { +export const body4: OperationParameter = { parameterPath: "body", mapper: ComponentVersionMapper, }; @@ -447,7 +343,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +372,12 @@ export const tags: OperationQueryParameter = { }, }; -export const body8: OperationParameter = { +export const body6: OperationParameter = { parameterPath: "body", mapper: DataVersionBaseMapper, }; -export const body9: OperationParameter = { +export const body7: OperationParameter = { parameterPath: "body", mapper: GetBlobReferenceSASRequestDtoMapper, }; @@ -500,12 +396,12 @@ export const environmentName: OperationURLParameter = { }, }; -export const body10: OperationParameter = { +export const body8: OperationParameter = { parameterPath: "body", mapper: EnvironmentContainerMapper, }; -export const body11: OperationParameter = { +export const body9: OperationParameter = { parameterPath: "body", mapper: EnvironmentVersionMapper, }; @@ -524,7 +420,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body10: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +455,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +465,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +491,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +510,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,10 +526,9 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", - mapper: - PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, + mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, }; export const deploymentName1: OperationURLParameter = { @@ -650,7 +545,7 @@ export const deploymentName1: OperationURLParameter = { }, }; -export const body17: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", mapper: BatchDeploymentMapper, }; @@ -675,7 +570,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body16: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +643,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -795,7 +690,7 @@ export const createdBy: OperationQueryParameter = { }, }; -export const body20: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: FeaturesetContainerMapper, }; @@ -880,22 +775,22 @@ export const stage: OperationQueryParameter = { }, }; -export const body21: OperationParameter = { +export const body19: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionMapper, }; -export const body22: OperationParameter = { +export const body20: OperationParameter = { parameterPath: "body", mapper: FeaturesetVersionBackfillRequestMapper, }; -export const body23: OperationParameter = { +export const body21: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityContainerMapper, }; -export const body24: OperationParameter = { +export const body22: OperationParameter = { parameterPath: "body", mapper: FeaturestoreEntityVersionMapper, }; @@ -931,7 +826,7 @@ export const id: OperationURLParameter = { }, }; -export const body25: OperationParameter = { +export const body23: OperationParameter = { parameterPath: "body", mapper: JobBaseMapper, }; @@ -950,7 +845,7 @@ export const id1: OperationURLParameter = { }, }; -export const body26: OperationParameter = { +export const body24: OperationParameter = { parameterPath: "body", mapper: MarketplaceSubscriptionMapper, }; @@ -995,27 +890,27 @@ export const orderBy2: OperationQueryParameter = { }, }; -export const body27: OperationParameter = { +export const body25: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper, }; -export const body28: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper, }; -export const body29: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper, }; -export const body30: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper, }; -export const body31: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper, }; @@ -1030,17 +925,17 @@ export const listViewType1: OperationQueryParameter = { }, }; -export const body32: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper, }; -export const body33: OperationParameter = { +export const body31: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, }; -export const body34: OperationParameter = { +export const body32: OperationParameter = { parameterPath: "body", mapper: ServerlessEndpointMapper, }; @@ -1059,12 +954,133 @@ export const name3: OperationURLParameter = { }, }; -export const body35: OperationParameter = { +export const body33: OperationParameter = { parameterPath: "body", mapper: PartialRegistryPartialTrackedResourceMapper, }; -export const body36: OperationParameter = { +export const body34: OperationParameter = { parameterPath: "body", mapper: RegistryMapper, }; + +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: WorkspaceMapper, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, +}; + +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: WorkspaceUpdateParametersMapper, +}; + +export const parameters5: OperationParameter = { + parameterPath: ["options", "parameters"], + mapper: DiagnoseWorkspaceParametersMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const properties1: OperationParameter = { + parameterPath: "properties", + mapper: PrivateEndpointConnectionMapper, +}; + +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, +}; + +export const connectionName: OperationURLParameter = { + parameterPath: "connectionName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "connectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body35: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionUpdateParameterMapper, +}; + +export const target: OperationQueryParameter = { + parameterPath: ["options", "target"], + mapper: { + serializedName: "target", + type: { + name: "String", + }, + }, +}; + +export const category: OperationQueryParameter = { + parameterPath: ["options", "category"], + mapper: { + serializedName: "category", + type: { + name: "String", + }, + }, +}; + +export const includeAll: OperationQueryParameter = { + parameterPath: ["options", "includeAll"], + mapper: { + defaultValue: false, + serializedName: "includeAll", + type: { + name: "Boolean", + }, + }, +}; + +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "ruleName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body36: OperationParameter = { + parameterPath: "body", + mapper: OutboundRuleBasicResourceMapper, +}; + +export const body37: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkProvisionOptionsMapper, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index e137ae846db9..2d2cfa55c6bf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { BatchDeployment, @@ -61,12 +57,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, options?: BatchDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, endpointName, options); return { next() { return iter.next(); @@ -99,12 +90,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { let result: BatchDeploymentsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + result = await this._list(resourceGroupName, workspaceName, endpointName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +171,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -302,10 +287,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchDeploymentsUpdateResponse - > + SimplePollerLike, BatchDeploymentsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -317,8 +299,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -428,8 +409,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -543,12 +523,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -626,7 +601,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body16, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -660,7 +635,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -688,9 +663,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 59db6da68c48..809a24b4806f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { BatchEndpoint, @@ -73,12 +69,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -99,12 +90,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -117,11 +103,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, options?: BatchEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -166,8 +148,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -221,12 +202,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { endpointName: string, options?: BatchEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, endpointName, options); return poller.pollUntilDone(); } @@ -264,10 +240,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchEndpointsUpdateResponse - > + SimplePollerLike, BatchEndpointsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -279,8 +252,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -378,8 +350,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -575,7 +546,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -608,7 +579,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -657,9 +628,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 a28954bbcd2e..d08eb3a6cac0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -62,12 +62,7 @@ export class CodeContainersImpl implements CodeContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class CodeContainersImpl implements CodeContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class CodeContainersImpl implements CodeContainers { workspaceName: string, options?: CodeContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -291,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -318,9 +304,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 1671740d118d..236c0773e6a5 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeVersion, @@ -63,12 +59,7 @@ export class CodeVersionsImpl implements CodeVersions { name: string, options?: CodeVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -80,13 +71,7 @@ export class CodeVersionsImpl implements CodeVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -101,12 +86,7 @@ export class CodeVersionsImpl implements CodeVersions { let result: CodeVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -133,12 +113,7 @@ export class CodeVersionsImpl implements CodeVersions { name: string, options?: CodeVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -254,8 +229,7 @@ export class CodeVersionsImpl implements CodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -459,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,7 +459,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -510,7 +484,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -538,9 +512,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 771625343c27..d7a85743fa83 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -62,12 +62,7 @@ export class ComponentContainersImpl implements ComponentContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class ComponentContainersImpl implements ComponentContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class ComponentContainersImpl implements ComponentContainers { workspaceName: string, options?: ComponentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,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 919aaa9c3b14..aeff34c5c08b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentVersion, @@ -60,12 +56,7 @@ export class ComponentVersionsImpl implements ComponentVersions { name: string, options?: ComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class ComponentVersionsImpl implements ComponentVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class ComponentVersionsImpl implements ComponentVersions { let result: ComponentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class ComponentVersionsImpl implements ComponentVersions { name: string, options?: ComponentVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class ComponentVersionsImpl implements ComponentVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -432,7 +406,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +432,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +460,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 9245636e39e4..9a30ef7bdb3a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComputeResource, @@ -82,12 +78,7 @@ export class ComputeOperationsImpl implements ComputeOperations { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -108,12 +99,7 @@ export class ComputeOperationsImpl implements ComputeOperations { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -126,11 +112,7 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, options?: ComputeListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -148,12 +130,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeListNodesOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listNodesPagingAll( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const iter = this.listNodesPagingAll(resourceGroupName, workspaceName, computeName, options); return { next() { return iter.next(); @@ -186,12 +163,7 @@ export class ComputeOperationsImpl implements ComputeOperations { let result: ComputeListNodesResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listNodes( - resourceGroupName, - workspaceName, - computeName, - options, - ); + result = await this._listNodes(resourceGroupName, workspaceName, computeName, options); let page = result.nodes || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -282,10 +254,7 @@ export class ComputeOperationsImpl implements ComputeOperations { parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - ComputeCreateOrUpdateResponse - > + SimplePollerLike, ComputeCreateOrUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -297,8 +266,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -389,12 +357,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ComputeUpdateResponse - > - > { + ): Promise, ComputeUpdateResponse>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, @@ -405,8 +368,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -507,8 +469,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -641,8 +602,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -695,12 +655,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeStartOptionalParams, ): Promise { - const poller = await this.beginStart( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const poller = await this.beginStart(resourceGroupName, workspaceName, computeName, options); return poller.pollUntilDone(); } @@ -727,8 +682,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -781,12 +735,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeStopOptionalParams, ): Promise { - const poller = await this.beginStop( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const poller = await this.beginStop(resourceGroupName, workspaceName, computeName, options); return poller.pollUntilDone(); } @@ -813,8 +762,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -867,12 +815,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeRestartOptionalParams, ): Promise { - const poller = await this.beginRestart( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const poller = await this.beginRestart(resourceGroupName, workspaceName, computeName, options); return poller.pollUntilDone(); } @@ -982,7 +925,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +958,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1178,9 +1121,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1142,9 @@ const listNodesNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.computeName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 1cfeb8bc69df..1c0f0236bade 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -62,12 +62,7 @@ export class DataContainersImpl implements DataContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class DataContainersImpl implements DataContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class DataContainersImpl implements DataContainers { workspaceName: string, options?: DataContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,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 37f277a7bc76..b6493085d979 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataVersionBase, @@ -60,12 +56,7 @@ export class DataVersionsImpl implements DataVersions { name: string, options?: DataVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class DataVersionsImpl implements DataVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class DataVersionsImpl implements DataVersions { let result: DataVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class DataVersionsImpl implements DataVersions { name: string, options?: DataVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class DataVersionsImpl implements DataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -433,7 +407,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -459,7 +433,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -487,9 +461,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 be4840c1e409..dfbed9e01e68 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -64,12 +64,7 @@ export class DatastoresImpl implements Datastores { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -90,12 +85,7 @@ export class DatastoresImpl implements Datastores { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -108,11 +98,7 @@ export class DatastoresImpl implements Datastores { workspaceName: string, options?: DatastoresListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -321,7 +307,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body19, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -370,9 +356,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index 05c88924f9d5..9651fabb76fd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -62,12 +62,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { workspaceName: string, options?: EnvironmentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,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 30773e251fba..9ec8bee8716e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentVersion, @@ -60,12 +56,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { name: string, options?: EnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { let result: EnvironmentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { name: string, options?: EnvironmentVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -432,7 +406,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +432,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +460,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 e3ae733e6b0e..05fe6f2dc4cf 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 e2c4938bad1f..0171d5602544 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturesetContainer, @@ -68,12 +64,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { workspaceName: string, options?: FeaturesetContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { name: string, options?: FeaturesetContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -461,7 +436,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body20, + requestBody: Parameters.body18, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -488,9 +463,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 4180d84ffe59..540ee0b6386a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturesetVersion, @@ -61,12 +57,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { name: string, options?: FeaturesetVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -99,12 +84,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { let result: FeaturesetVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -131,12 +111,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { name: string, options?: FeaturesetVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -185,8 +160,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -242,13 +216,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { version: string, options?: FeaturesetVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, version, options); return poller.pollUntilDone(); } @@ -305,8 +273,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -410,8 +377,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -607,7 +573,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body21, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -641,7 +607,7 @@ const backfillOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body22, + requestBody: Parameters.body20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -669,9 +635,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 2ed3abe56e13..0f604c4c2920 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturestoreEntityContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing FeaturestoreEntityContainers operations. */ -export class FeaturestoreEntityContainersImpl - implements FeaturestoreEntityContainers -{ +export class FeaturestoreEntityContainersImpl implements FeaturestoreEntityContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class FeaturestoreEntityContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class FeaturestoreEntityContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class FeaturestoreEntityContainersImpl workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class FeaturestoreEntityContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -218,12 +197,7 @@ export class FeaturestoreEntityContainersImpl name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -276,8 +250,7 @@ export class FeaturestoreEntityContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -463,7 +436,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body23, + requestBody: Parameters.body21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -490,9 +463,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 8aa5d022de48..d08f0794536d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturestoreEntityVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing FeaturestoreEntityVersions operations. */ -export class FeaturestoreEntityVersionsImpl - implements FeaturestoreEntityVersions -{ +export class FeaturestoreEntityVersionsImpl implements FeaturestoreEntityVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class FeaturestoreEntityVersionsImpl name: string, options?: FeaturestoreEntityVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +66,7 @@ export class FeaturestoreEntityVersionsImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +81,7 @@ export class FeaturestoreEntityVersionsImpl let result: FeaturestoreEntityVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +108,7 @@ export class FeaturestoreEntityVersionsImpl name: string, options?: FeaturestoreEntityVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -184,8 +157,7 @@ export class FeaturestoreEntityVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -241,13 +213,7 @@ export class FeaturestoreEntityVersionsImpl version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, version, options); return poller.pollUntilDone(); } @@ -304,8 +270,7 @@ export class FeaturestoreEntityVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -501,7 +466,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body24, + requestBody: Parameters.body22, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -529,9 +494,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 ed0ef53e68b3..3367c68fb3a5 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.js"; -export * from "./workspaces.js"; export * from "./usages.js"; export * from "./virtualMachineSizes.js"; export * from "./quotas.js"; export * from "./computeOperations.js"; -export * from "./privateEndpointConnections.js"; -export * from "./privateLinkResources.js"; -export * from "./workspaceConnections.js"; -export * from "./managedNetworkSettingsRule.js"; -export * from "./managedNetworkProvisions.js"; export * from "./registryCodeContainers.js"; export * from "./registryCodeVersions.js"; export * from "./registryComponentContainers.js"; @@ -54,3 +47,10 @@ export * from "./schedules.js"; export * from "./serverlessEndpoints.js"; export * from "./registries.js"; export * from "./workspaceFeatures.js"; +export * from "./operations.js"; +export * from "./workspaces.js"; +export * from "./privateEndpointConnections.js"; +export * from "./privateLinkResources.js"; +export * from "./workspaceConnections.js"; +export * from "./managedNetworkSettingsRule.js"; +export * from "./managedNetworkProvisions.js"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index fba10ce7c06b..573884f9ff5a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { JobBase, @@ -69,12 +65,7 @@ export class JobsImpl implements Jobs { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -95,12 +86,7 @@ export class JobsImpl implements Jobs { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -113,11 +99,7 @@ export class JobsImpl implements Jobs { workspaceName: string, options?: JobsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -162,8 +144,7 @@ export class JobsImpl implements Jobs { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -217,12 +198,7 @@ export class JobsImpl implements Jobs { id: string, options?: JobsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - id, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, id, options); return poller.pollUntilDone(); } @@ -290,8 +266,7 @@ export class JobsImpl implements Jobs { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -345,12 +320,7 @@ export class JobsImpl implements Jobs { id: string, options?: JobsCancelOptionalParams, ): Promise { - const poller = await this.beginCancel( - resourceGroupName, - workspaceName, - id, - options, - ); + const poller = await this.beginCancel(resourceGroupName, workspaceName, id, options); return poller.pollUntilDone(); } @@ -391,7 +361,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.listViewType, - Parameters.properties1, + Parameters.properties, Parameters.jobType, Parameters.tag, ], @@ -463,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body25, + requestBody: Parameters.body23, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -513,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/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts index 0ee349704cb9..e82d29f25e5d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -11,11 +11,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, @@ -60,8 +56,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -147,7 +142,7 @@ const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts index bf5dd6a76c7f..01fce17f0468 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OutboundRuleBasicResource, @@ -34,9 +30,7 @@ import { /// /** Class containing ManagedNetworkSettingsRule operations. */ -export class ManagedNetworkSettingsRuleImpl - implements ManagedNetworkSettingsRule -{ +export class ManagedNetworkSettingsRuleImpl implements ManagedNetworkSettingsRule { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class ManagedNetworkSettingsRuleImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class ManagedNetworkSettingsRuleImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class ManagedNetworkSettingsRuleImpl workspaceName: string, options?: ManagedNetworkSettingsRuleListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class ManagedNetworkSettingsRuleImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -217,12 +196,7 @@ export class ManagedNetworkSettingsRuleImpl ruleName: string, options?: ManagedNetworkSettingsRuleDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - ruleName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, ruleName, options); return poller.pollUntilDone(); } @@ -276,8 +250,7 @@ export class ManagedNetworkSettingsRuleImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -455,7 +428,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +455,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 347f32a894ad..390a42c96005 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { MarketplaceSubscription, @@ -69,12 +65,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -95,12 +86,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -113,11 +99,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { workspaceName: string, options?: MarketplaceSubscriptionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -167,8 +149,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -225,12 +206,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { name: string, options?: MarketplaceSubscriptionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -283,8 +259,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -469,7 +444,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body26, + requestBody: Parameters.body24, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -496,9 +471,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 5f346261c75e..6f954bb38f3b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -62,12 +62,7 @@ export class ModelContainersImpl implements ModelContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class ModelContainersImpl implements ModelContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class ModelContainersImpl implements ModelContainers { workspaceName: string, options?: ModelContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -296,7 +282,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,9 +309,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 263ba41097f3..669b6e478561 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelVersion, @@ -60,12 +56,7 @@ export class ModelVersionsImpl implements ModelVersions { name: string, options?: ModelVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class ModelVersionsImpl implements ModelVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class ModelVersionsImpl implements ModelVersions { let result: ModelVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class ModelVersionsImpl implements ModelVersions { name: string, options?: ModelVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class ModelVersionsImpl implements ModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -365,7 +339,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.offset, Parameters.feed, ], @@ -438,7 +412,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -464,7 +438,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -492,9 +466,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 d9e14fc6326b..61637ec5c83e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OnlineDeployment, @@ -69,12 +65,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, options?: OnlineDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, endpointName, options); return { next() { return iter.next(); @@ -107,12 +98,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { let result: OnlineDeploymentsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + result = await this._list(resourceGroupName, workspaceName, endpointName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -295,8 +281,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -427,8 +412,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -538,8 +522,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -740,12 +723,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -823,7 +801,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body29, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -857,7 +835,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +860,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body29, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -933,9 +911,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 +933,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 c43f3080cf82..86c7178b877e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OnlineEndpoint, @@ -77,12 +73,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -103,12 +94,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -121,11 +107,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, options?: OnlineEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -170,8 +152,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -225,12 +206,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { endpointName: string, options?: OnlineEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, endpointName, options); return poller.pollUntilDone(); } @@ -268,10 +244,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - OnlineEndpointsUpdateResponse - > + SimplePollerLike, OnlineEndpointsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -283,8 +256,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -382,8 +354,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -496,8 +467,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -619,7 +589,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.count, Parameters.name2, Parameters.computeType, @@ -699,7 +669,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -732,7 +702,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body27, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +749,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -828,9 +798,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 10b0c92234c2..a59ec73b04f7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -35,9 +35,7 @@ export class OperationsImpl implements Operations { * Lists all of the available Azure Machine Learning Workspaces REST API operations. * @param options The options parameters. */ - public list( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator { + public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { next() { @@ -76,9 +74,7 @@ export class OperationsImpl implements Operations { * Lists all of the available Azure Machine Learning Workspaces REST API operations. * @param options The options parameters. */ - private _list( - options?: OperationsListOptionalParams, - ): Promise { + private _list(options?: OperationsListOptionalParams): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index 9147c11e40b3..135749ace6f3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -25,9 +25,7 @@ import { /// /** Class containing PrivateEndpointConnections operations. */ -export class PrivateEndpointConnectionsImpl - implements PrivateEndpointConnections -{ +export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -61,12 +59,7 @@ export class PrivateEndpointConnectionsImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -87,11 +80,7 @@ export class PrivateEndpointConnectionsImpl workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -248,7 +237,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, + requestBody: Parameters.properties1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 8828d42d393c..309e0b812917 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -106,10 +106,7 @@ export class QuotasImpl implements Quotas { parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, parameters, options }, - updateOperationSpec, - ); + return this.client.sendOperationRequest({ location, parameters, options }, updateOperationSpec); } /** @@ -117,14 +114,8 @@ export class QuotasImpl implements Quotas { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - private _list( - location: string, - options?: QuotasListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + private _list(location: string, options?: QuotasListOptionalParams): Promise { + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } /** @@ -138,10 +129,7 @@ export class QuotasImpl implements Quotas { nextLink: string, options?: QuotasListNextOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, nextLink, options }, - listNextOperationSpec, - ); + return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec); } } // Operation Specifications @@ -158,13 +146,9 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", serializer, @@ -181,11 +165,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept], serializer, }; @@ -203,8 +183,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts index 5dd8818effd1..2fb076564f62 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Registry, @@ -149,11 +145,7 @@ export class RegistriesImpl implements Registries { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -177,10 +169,7 @@ export class RegistriesImpl implements Registries { private _listBySubscription( options?: RegistriesListBySubscriptionOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, - ); + return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec); } /** @@ -192,10 +181,7 @@ export class RegistriesImpl implements Registries { resourceGroupName: string, options?: RegistriesListOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listOperationSpec, - ); + return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec); } /** @@ -219,8 +205,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -272,11 +257,7 @@ export class RegistriesImpl implements Registries { registryName: string, options?: RegistriesDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, options); return poller.pollUntilDone(); } @@ -344,8 +325,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -402,12 +382,7 @@ export class RegistriesImpl implements Registries { body: Registry, options?: RegistriesCreateOrUpdateOptionalParams, ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - registryName, - body, - options, - ); + const poller = await this.beginCreateOrUpdate(resourceGroupName, registryName, body, options); return poller.pollUntilDone(); } @@ -439,8 +414,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -497,12 +471,7 @@ export class RegistriesImpl implements Registries { body: Registry, options?: RegistriesRemoveRegionsOptionalParams, ): Promise { - const poller = await this.beginRemoveRegions( - resourceGroupName, - registryName, - body, - options, - ); + const poller = await this.beginRemoveRegions(resourceGroupName, registryName, body, options); return poller.pollUntilDone(); } @@ -569,11 +538,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName], headerParameters: [Parameters.accept], serializer, }; @@ -631,7 +596,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body35, + requestBody: Parameters.body33, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +628,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +660,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -718,11 +683,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink], headerParameters: [Parameters.accept], serializer, }; @@ -740,8 +701,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 2b1473e5c574..1edce40612f9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeContainer, @@ -68,12 +64,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { registryName: string, options?: RegistryCodeContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { codeName: string, options?: RegistryCodeContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - codeName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, codeName, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -452,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -479,8 +454,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 c678e6cbdead..f9c560efd0b8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeVersion, @@ -61,12 +57,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { codeName: string, options?: RegistryCodeVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - codeName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, codeName, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - codeName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, codeName, options, settings); }, }; } @@ -99,12 +84,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { let result: RegistryCodeVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - codeName, - options, - ); + result = await this._list(resourceGroupName, registryName, codeName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +165,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -305,8 +284,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -443,12 +421,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -526,7 +499,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -551,7 +524,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -579,8 +552,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 49660cf43009..f8aa40fa275a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryComponentContainers operations. */ -export class RegistryComponentContainersImpl - implements RegistryComponentContainers -{ +export class RegistryComponentContainersImpl implements RegistryComponentContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class RegistryComponentContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class RegistryComponentContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class RegistryComponentContainersImpl registryName: string, options?: RegistryComponentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class RegistryComponentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -218,12 +197,7 @@ export class RegistryComponentContainersImpl componentName: string, options?: RegistryComponentContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - componentName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, componentName, options); return poller.pollUntilDone(); } @@ -276,8 +250,7 @@ export class RegistryComponentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -454,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -481,8 +454,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 a997c0c189be..a75b3a9dfd13 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryComponentVersions operations. */ -export class RegistryComponentVersionsImpl - implements RegistryComponentVersions -{ +export class RegistryComponentVersionsImpl implements RegistryComponentVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class RegistryComponentVersionsImpl componentName: string, options?: RegistryComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - componentName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, componentName, options); return { next() { return iter.next(); @@ -98,12 +87,7 @@ export class RegistryComponentVersionsImpl let result: RegistryComponentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - componentName, - options, - ); + result = await this._list(resourceGroupName, registryName, componentName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -184,8 +168,7 @@ export class RegistryComponentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -310,8 +293,7 @@ export class RegistryComponentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -425,12 +407,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -508,7 +485,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -536,8 +513,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 81c51afff46b..d2f40c3ac139 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataContainer, @@ -68,12 +64,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { registryName: string, options?: RegistryDataContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { name: string, options?: RegistryDataContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +454,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 8f13b1093c97..8da4ec77697c 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 4f71b454f50c..62b7d9c3e235 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataVersionBase, @@ -61,12 +57,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { name: string, options?: RegistryDataVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, name, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, name, options, settings); }, }; } @@ -126,12 +111,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { name: string, options?: RegistryDataVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, name, options)) { yield* page; } } @@ -180,8 +160,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -237,13 +216,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { version: string, options?: RegistryDataVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, name, version, options); return poller.pollUntilDone(); } @@ -300,8 +273,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -516,7 +488,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -541,7 +513,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -569,8 +541,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 fabfeb1f500d..30d7d35f2011 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryEnvironmentContainers operations. */ -export class RegistryEnvironmentContainersImpl - implements RegistryEnvironmentContainers -{ +export class RegistryEnvironmentContainersImpl implements RegistryEnvironmentContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class RegistryEnvironmentContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class RegistryEnvironmentContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class RegistryEnvironmentContainersImpl registryName: string, options?: RegistryEnvironmentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class RegistryEnvironmentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -276,8 +255,7 @@ export class RegistryEnvironmentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -379,11 +357,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -458,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,8 +459,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 4a84bd40f759..57789ab1601e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryEnvironmentVersions operations. */ -export class RegistryEnvironmentVersionsImpl - implements RegistryEnvironmentVersions -{ +export class RegistryEnvironmentVersionsImpl implements RegistryEnvironmentVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class RegistryEnvironmentVersionsImpl environmentName: string, options?: RegistryEnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - environmentName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, environmentName, options); return { next() { return iter.next(); @@ -98,12 +87,7 @@ export class RegistryEnvironmentVersionsImpl let result: RegistryEnvironmentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - environmentName, - options, - ); + result = await this._list(resourceGroupName, registryName, environmentName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -184,8 +168,7 @@ export class RegistryEnvironmentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -310,8 +293,7 @@ export class RegistryEnvironmentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -509,7 +491,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -537,8 +519,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 b0e7a54cb886..e5d4b56d6c16 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelContainer, @@ -68,12 +64,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { registryName: string, options?: RegistryModelContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { modelName: string, options?: RegistryModelContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - modelName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, modelName, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +454,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 5eab2f2ea3fa..d59d4eda6621 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelVersion, @@ -61,12 +57,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { modelName: string, options?: RegistryModelVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - modelName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, modelName, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - modelName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, modelName, options, settings); }, }; } @@ -99,12 +84,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { let result: RegistryModelVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - modelName, - options, - ); + result = await this._list(resourceGroupName, registryName, modelName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +165,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -305,8 +284,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -452,7 +430,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, ], urlParameters: [ Parameters.$host, @@ -531,7 +509,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -556,7 +534,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -584,8 +562,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 342d4911707d..c900e87ec939 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Schedule, @@ -68,12 +64,7 @@ export class SchedulesImpl implements Schedules { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class SchedulesImpl implements Schedules { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class SchedulesImpl implements Schedules { workspaceName: string, options?: SchedulesListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class SchedulesImpl implements Schedules { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class SchedulesImpl implements Schedules { name: string, options?: SchedulesDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class SchedulesImpl implements Schedules { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType1, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body32, + requestBody: Parameters.body30, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,9 +454,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 de4a8e895e82..7ef1ec09cfad 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ServerlessEndpoint, @@ -77,12 +73,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -103,12 +94,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -121,11 +107,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { workspaceName: string, options?: ServerlessEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -175,8 +157,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -233,12 +214,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { name: string, options?: ServerlessEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -291,8 +267,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -350,13 +325,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: ServerlessEndpointsUpdateOptionalParams, ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - workspaceName, - name, - body, - options, - ); + const poller = await this.beginUpdate(resourceGroupName, workspaceName, name, body, options); return poller.pollUntilDone(); } @@ -390,8 +359,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -509,8 +477,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -695,7 +662,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body33, + requestBody: Parameters.body31, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +695,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body32, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +750,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -810,9 +777,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 c8bfc6d37b90..d1a14640d0ee 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -99,14 +99,8 @@ export class UsagesImpl implements Usages { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - private _list( - location: string, - options?: UsagesListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + private _list(location: string, options?: UsagesListOptionalParams): Promise { + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } /** @@ -120,10 +114,7 @@ export class UsagesImpl implements Usages { nextLink: string, options?: UsagesListNextOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, nextLink, options }, - listNextOperationSpec, - ); + return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec); } } // Operation Specifications @@ -141,11 +132,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept], serializer, }; @@ -163,8 +150,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index 4c82612e00db..4098fea0687e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts @@ -37,10 +37,7 @@ export class VirtualMachineSizesImpl implements VirtualMachineSizes { location: string, options?: VirtualMachineSizesListOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } } // Operation Specifications @@ -58,11 +55,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], 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 ee08a895ab69..6f5fbb8bdec9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -23,6 +23,8 @@ import { WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, WorkspaceConnectionsListNextResponse, @@ -63,12 +65,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -89,12 +86,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -107,11 +99,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { workspaceName: string, options?: WorkspaceConnectionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -172,6 +160,25 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { ); } + /** + * Update machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + update( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + updateOperationSpec, + ); + } + /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName Name of Azure Machine Learning workspace. @@ -296,13 +303,36 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body35, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", httpMethod: "GET", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -312,6 +342,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.target, Parameters.category, + Parameters.includeAll, ], urlParameters: [ Parameters.$host, @@ -349,8 +380,7 @@ const listNextOperationSpec: coreClient.OperationSpec = { httpMethod: "GET", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -359,9 +389,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 db2b05d3203b..37051b8f72bf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -57,12 +57,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -83,12 +78,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -101,11 +91,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { workspaceName: string, options?: WorkspaceFeaturesListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -184,9 +170,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 f3403f100c47..fd5ef20a6fe4 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Workspace, @@ -88,11 +84,7 @@ 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.listByResourceGroupPagingPage(resourceGroupName, options, settings); }, }; } @@ -112,11 +104,7 @@ export class WorkspacesImpl implements Workspaces { yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -128,10 +116,7 @@ export class WorkspacesImpl implements Workspaces { resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options, - )) { + for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) { yield* page; } } @@ -235,8 +220,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -322,8 +306,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -358,6 +341,7 @@ export class WorkspacesImpl implements Workspaces { const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -374,11 +358,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } @@ -394,12 +374,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesUpdateResponse - > - > { + ): Promise, WorkspacesUpdateResponse>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, @@ -410,8 +385,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -467,12 +441,7 @@ export class WorkspacesImpl implements Workspaces { parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - workspaceName, - parameters, - options, - ); + const poller = await this.beginUpdate(resourceGroupName, workspaceName, parameters, options); return poller.pollUntilDone(); } @@ -502,10 +471,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse - > + SimplePollerLike, WorkspacesDiagnoseResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -517,8 +483,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -573,11 +538,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise { - const poller = await this.beginDiagnose( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginDiagnose(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } @@ -621,8 +582,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -674,11 +634,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesResyncKeysOptionalParams, ): Promise { - const poller = await this.beginResyncKeys( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginResyncKeys(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } @@ -689,10 +645,7 @@ export class WorkspacesImpl implements Workspaces { private _listBySubscription( options?: WorkspacesListBySubscriptionOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, - ); + return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec); } /** @@ -738,8 +691,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -794,11 +746,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams, ): Promise { - const poller = await this.beginPrepareNotebook( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginPrepareNotebook(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } @@ -930,7 +878,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters, + requestBody: Parameters.parameters3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -984,7 +932,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.parameters4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1008,11 +956,7 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion, Parameters.skip], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName], headerParameters: [Parameters.accept], serializer, }; @@ -1036,7 +980,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.parameters5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1200,49 +1144,28 @@ 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 = { - path: "{nextLink}", +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.ExternalFqdnResponse, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.nextLink, + Parameters.workspaceName, ], headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1257,7 +1180,23 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, }; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.WorkspaceListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts index adb58a651a82..65f8eb153cd3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts @@ -99,10 +99,7 @@ export interface BatchDeployments { body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchDeploymentsUpdateResponse - > + SimplePollerLike, BatchDeploymentsUpdateResponse> >; /** * Update a batch inference deployment (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts index 2be055dc8a5d..65056ed222ef 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts @@ -91,10 +91,7 @@ export interface BatchEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchEndpointsUpdateResponse - > + SimplePollerLike, BatchEndpointsUpdateResponse> >; /** * Update a batch inference endpoint (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 552580288f95..d520017978c3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -87,10 +87,7 @@ export interface ComputeOperations { parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - ComputeCreateOrUpdateResponse - > + SimplePollerLike, ComputeCreateOrUpdateResponse> >; /** * Creates or updates compute. This call will overwrite a compute if it exists. This is a @@ -124,12 +121,7 @@ export interface ComputeOperations { computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ComputeUpdateResponse - > - >; + ): Promise, ComputeUpdateResponse>>; /** * Updates properties of a compute. This call will overwrite a compute if it exists. This is a * nonrecoverable operation. diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index ed0ef53e68b3..3367c68fb3a5 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.js"; -export * from "./workspaces.js"; export * from "./usages.js"; export * from "./virtualMachineSizes.js"; export * from "./quotas.js"; export * from "./computeOperations.js"; -export * from "./privateEndpointConnections.js"; -export * from "./privateLinkResources.js"; -export * from "./workspaceConnections.js"; -export * from "./managedNetworkSettingsRule.js"; -export * from "./managedNetworkProvisions.js"; export * from "./registryCodeContainers.js"; export * from "./registryCodeVersions.js"; export * from "./registryComponentContainers.js"; @@ -54,3 +47,10 @@ export * from "./schedules.js"; export * from "./serverlessEndpoints.js"; export * from "./registries.js"; export * from "./workspaceFeatures.js"; +export * from "./operations.js"; +export * from "./workspaces.js"; +export * from "./privateEndpointConnections.js"; +export * from "./privateLinkResources.js"; +export * from "./workspaceConnections.js"; +export * from "./managedNetworkSettingsRule.js"; +export * from "./managedNetworkProvisions.js"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts index 9848a1dcfd2c..5f67331c7899 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts @@ -95,10 +95,7 @@ export interface OnlineEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - OnlineEndpointsUpdateResponse - > + SimplePollerLike, OnlineEndpointsUpdateResponse> >; /** * Update Online Endpoint (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index 336d65d55eee..16061fb4358d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -16,7 +16,5 @@ export interface Operations { * Lists all of the available Azure Machine Learning Workspaces REST API operations. * @param options The options parameters. */ - list( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator; + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts index 43e38effab47..8047f8e6d0bc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts @@ -18,8 +18,5 @@ export interface Usages { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - list( - location: string, - options?: UsagesListOptionalParams, - ): PagedAsyncIterableIterator; + list(location: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index 9e244fc83ebf..440beacdbaa7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -15,6 +15,8 @@ import { WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, } from "../models/index.js"; @@ -70,6 +72,19 @@ export interface WorkspaceConnections { connectionName: string, options?: WorkspaceConnectionsDeleteOptionalParams, ): Promise; + /** + * Update machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + update( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise; /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts index 0c53f11e2f98..d4a6f9b6bafa 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -132,12 +132,7 @@ export interface Workspaces { workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesUpdateResponse - > - >; + ): Promise, WorkspacesUpdateResponse>>; /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -162,10 +157,7 @@ export interface Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse - > + SimplePollerLike, WorkspacesDiagnoseResponse> >; /** * Diagnose workspace setup issue. diff --git a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts index 205cccc26592..e362819bdfc4 100644 --- a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts +++ b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts @@ -26,10 +26,7 @@ export function getContinuationToken(page: unknown): string | undefined { return pageMap.get(page)?.continuationToken; } -export function setContinuationToken( - page: unknown, - continuationToken: string | undefined, -): void { +export function setContinuationToken(page: unknown, continuationToken: string | undefined): void { if (typeof page !== "object" || page === null || !continuationToken) { return; } diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts new file mode 100644 index 000000000000..90b3c8a868b4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts @@ -0,0 +1,38 @@ +/* + * 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 } from "@azure-tools/test-recorder"; +import { afterEach, beforeEach, describe, it, assert } from "vitest"; + +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 () => { + recorder = new Recorder(); + await recorder.start(recorderOptions); + }); + + afterEach(async () => { + await recorder.stop(); + }); + + it("sample test", async () => { + assert(true); + }); +}); diff --git a/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts b/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts index c90b8420dcc8..b0c20b76c687 100644 --- a/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts +++ b/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts @@ -1,5 +1,10 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +/* + * 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 { AzureMachineLearningServicesManagementClient } from "../src/index.js"; import { DefaultAzureCredential, InteractiveBrowserCredential } from "@azure/identity"; diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index 19ceb382b521..59ea83c046bf 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -3,11 +3,8 @@ { "path": "./tsconfig.src.json" }, - { - "path": "./tsconfig.samples.json" - }, { "path": "./tsconfig.test.json" } ] -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts index 10e70dbfa8ee..182729ab5ce9 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. @@ -8,7 +9,7 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - include: ["dist-test/browser/test/**/*.spec.js"], + include: ["dist-test/browser/test/**/*.spec.js",], testTimeout: 1200000, hookTimeout: 1200000, }, diff --git a/sdk/machinelearning/arm-machinelearning/vitest.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.config.ts index 86a71911ccc2..40e031385dd8 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. diff --git a/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts index 5e9735e9b144..a70127279fc9 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. @@ -5,4 +6,7 @@ import { mergeConfig } from "vitest/config"; import vitestConfig from "./vitest.config.ts"; import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; -export default mergeConfig(vitestConfig, vitestEsmConfig); +export default mergeConfig( + vitestConfig, + vitestEsmConfig +);