diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index e5b2dd2f31b2..4d484162a5e2 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10703,7 +10703,7 @@ packages: resolve-import: 1.4.6 rimraf: 5.0.10 sync-content: 1.0.2 - typescript: 5.5.4 + typescript: 5.6.3 walk-up-path: 3.0.1 dev: false @@ -16263,7 +16263,7 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-wIB19ohpARdGZZUYL5WD6lZyYgSelyMW9YUfOiR+uYfN6G95+oWc7Xz3KDZuFSbJOXU3vSlqADtVbYBP3kPjOg==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-/Fo5TkvPV/zztOAZd8DhkBRmQnJLWQksq5yV/Y7xnk8va1L6JU11KuAS/djtGrbuK65i7qHx06ccuIW5CsxTPQ==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: @@ -16281,10 +16281,10 @@ packages: mkdirp: 3.0.1 mocha: 10.7.3 rimraf: 5.0.10 - ts-node: 10.9.2(@types/node@18.19.55)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@18.19.55)(typescript@5.5.4) tslib: 2.7.0 tsx: 4.19.1 - typescript: 5.6.3 + typescript: 5.5.4 uglify-js: 3.19.3 transitivePeerDependencies: - '@swc/core' @@ -19905,7 +19905,7 @@ packages: dev: false file:projects/communication-common.tgz: - resolution: {integrity: sha512-BoEaaH3sJLyt/JMQFr7Fw+iEtJ+73S+Ycef8OXgaLJZqUqrKFHONVPvT9PgnMKMm7Drv75jkfxY/yY18ZlOp8A==, tarball: file:projects/communication-common.tgz} + resolution: {integrity: sha512-Wr6eM/yhM5LxsFiCMr1W/yKXpomNZSvt0OWPrqiCIvqFEbubo/2aP+ruDIOHPnrEyjzTNyg4ft7Ndb2Ko/UW7A==, tarball: file:projects/communication-common.tgz} name: '@rush-temp/communication-common' version: 0.0.0 dependencies: @@ -20622,7 +20622,7 @@ packages: dev: false file:projects/core-auth.tgz: - resolution: {integrity: sha512-jFQh88yO9S1mDW8im/imluq1K8wK6vefKOWPXXUcn24FdVvLzlxhaeyhlA+Z7UNYSR1tJMo7CsBIZcQAC+eFNw==, tarball: file:projects/core-auth.tgz} + resolution: {integrity: sha512-RZAaWHXxKCFv8sxtH7gUIXVSxB1fCbTOgDVDfCNhcHB82QY8tMKoSTPUCOskC8/KWJjvYUx+HqVC19qYMES5uw==, tarball: file:projects/core-auth.tgz} name: '@rush-temp/core-auth' version: 0.0.0 dependencies: @@ -20843,7 +20843,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-HX6qgpLR1ensAItzcq5VAZYfZEJ7RWGEBut7YApBUCR6bp344rcVvpRlnBWZHkqXn+g+Mgq7m5F08MbLBLqAEw==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-oLtDVMidlOo+R29FiVr7BqT6W7wCy1kAiNr8RSDFkB9sTjTAtXSv5i9TkuIgNEhd0xCo7mITRVOyzvEkcQyMmg==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -21938,7 +21938,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-AQBiNaB80DZYZ60YqO0uJuMTvxymE/vTC0Xkl0NR0Im1FWTzBd5+ydSh7kye/jy0zHHltW+msY7EWtz+AlRW2A==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-1tahR+8G2KdUFKmtBN5ZaakniCNAyO2WKdC6v3oS7V5vo1gdIMXk13JF2gtAtE/3k438uLFdSgq2ezTtpsJ+wQ==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -22037,7 +22037,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-jG/nY9yv3aWJVO752420iBV6lAZ4+ro5mVuPj/DTqNsGbdaOrgDJ3w4lunNVUsgVKZ+qkLD5WLx81dsrkEXfrw==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-+CgeC7Z8IxP8R7RNW+A2SORwc6oPEQSQ6ZcIqy16sO8U6v9Hw7oj/mTjbKxxcuESfdy6DFr1uaij89mUu5pGeQ==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -22266,7 +22266,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-I2Xr9P7ab6GgkrVV5N+LgvtTn6v/KiEwhiuxmg/t7Ixma5UjL9Q+v0TGLtZN9ThouU/GHBUKYIQH6vdVMbC+4g==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-fhIITLWXGA7iRET2+R9P9CniupXNlgz3yaD1f3uA9MeK2KwTSmNlz26rvRYGQn0G6OAWEVvxpaVbCEAGSKjA3A==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 96e82c8c169c..e86841470f37 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,487 @@ # Release History +## 4.0.0-beta.1 (2024-10-16) +Compared with version 3.0.0 + +### Features Added + + - Added operation group CapabilityHosts + - Added operation group Connection + - Added operation group ConnectionRaiBlocklist + - Added operation group ConnectionRaiBlocklistItem + - Added operation group ConnectionRaiBlocklistItems + - Added operation group ConnectionRaiBlocklists + - Added operation group ConnectionRaiPolicies + - Added operation group ConnectionRaiPolicy + - Added operation group EndpointDeployment + - Added operation group EndpointOperations + - Added operation group InferenceEndpoints + - Added operation group InferenceGroups + - Added operation group InferencePools + - Added operation group RaiPolicies + - Added operation group RaiPolicy + - Added operation ComputeOperations.beginResize + - Added operation ComputeOperations.beginResizeAndWait + - Added operation ComputeOperations.getAllowedResizeSizes + - Added operation ComputeOperations.updateCustomServices + - Added operation ComputeOperations.updateDataMounts + - Added operation ComputeOperations.updateIdleShutdownSetting + - Added operation WorkspaceConnections.beginTestConnection + - Added operation WorkspaceConnections.beginTestConnectionAndWait + - Added operation WorkspaceConnections.update + - Added Interface AccountApiKeys + - Added Interface ActualCapacityInfo + - Added Interface AzureMachineLearningServicesMgmtClientOptionalParams + - Added Interface AzureOpenAiFineTuning + - Added Interface AzureOpenAiHyperParameters + - Added Interface CapabilityHost + - Added Interface CapabilityHostProperties + - Added Interface CapabilityHostsCreateOrUpdateHeaders + - Added Interface CapabilityHostsCreateOrUpdateOptionalParams + - Added Interface CapabilityHostsDeleteHeaders + - Added Interface CapabilityHostsDeleteOptionalParams + - Added Interface CapabilityHostsGetOptionalParams + - Added Interface CapacityConfig + - Added Interface CognitiveServiceEndpointDeploymentResourceProperties + - Added Interface CognitiveServicesSku + - Added Interface ComputeGetAllowedResizeSizesOptionalParams + - Added Interface ComputeInstanceAutologgerSettings + - Added Interface ComputeResizeHeaders + - Added Interface ComputeResizeOptionalParams + - Added Interface ComputeUpdateCustomServicesOptionalParams + - Added Interface ComputeUpdateDataMountsOptionalParams + - Added Interface ComputeUpdateIdleShutdownSettingOptionalParams + - Added Interface ConnectionCreateOrUpdateDeploymentOptionalParams + - Added Interface ConnectionDeleteDeploymentHeaders + - Added Interface ConnectionDeleteDeploymentOptionalParams + - Added Interface ConnectionGetAllModelsOptionalParams + - Added Interface ConnectionGetDeploymentOptionalParams + - Added Interface ConnectionGetModelsNextOptionalParams + - Added Interface ConnectionGetModelsOptionalParams + - Added Interface ConnectionListDeploymentsNextOptionalParams + - Added Interface ConnectionListDeploymentsOptionalParams + - Added Interface ConnectionRaiBlocklistCreateOptionalParams + - Added Interface ConnectionRaiBlocklistDeleteHeaders + - Added Interface ConnectionRaiBlocklistDeleteOptionalParams + - Added Interface ConnectionRaiBlocklistGetOptionalParams + - Added Interface ConnectionRaiBlocklistItemAddBulkHeaders + - Added Interface ConnectionRaiBlocklistItemAddBulkOptionalParams + - Added Interface ConnectionRaiBlocklistItemCreateOptionalParams + - Added Interface ConnectionRaiBlocklistItemDeleteBulkHeaders + - Added Interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams + - Added Interface ConnectionRaiBlocklistItemDeleteHeaders + - Added Interface ConnectionRaiBlocklistItemDeleteOptionalParams + - Added Interface ConnectionRaiBlocklistItemGetOptionalParams + - Added Interface ConnectionRaiBlocklistItemsListNextOptionalParams + - Added Interface ConnectionRaiBlocklistItemsListOptionalParams + - Added Interface ConnectionRaiBlocklistsListNextOptionalParams + - Added Interface ConnectionRaiBlocklistsListOptionalParams + - Added Interface ConnectionRaiPoliciesListNextOptionalParams + - Added Interface ConnectionRaiPoliciesListOptionalParams + - Added Interface ConnectionRaiPolicyCreateOptionalParams + - Added Interface ConnectionRaiPolicyDeleteHeaders + - Added Interface ConnectionRaiPolicyDeleteOptionalParams + - Added Interface ConnectionRaiPolicyGetOptionalParams + - Added Interface ContentSafetyEndpointDeploymentResourceProperties + - Added Interface ContentSafetyEndpointResourceProperties + - Added Interface CustomModelFineTuning + - Added Interface DeltaModelCurrentState + - Added Interface DeltaModelListRequest + - Added Interface DeltaModelModifyRequest + - Added Interface DeltaModelStatusRequest + - Added Interface DeltaModelStatusResponse + - Added Interface EndpointCreateOrUpdateHeaders + - Added Interface EndpointCreateOrUpdateOptionalParams + - Added Interface EndpointDeploymentCreateOrUpdateHeaders + - Added Interface EndpointDeploymentCreateOrUpdateOptionalParams + - Added Interface EndpointDeploymentDeleteHeaders + - Added Interface EndpointDeploymentDeleteOptionalParams + - Added Interface EndpointDeploymentGetInWorkspaceNextOptionalParams + - Added Interface EndpointDeploymentGetInWorkspaceOptionalParams + - Added Interface EndpointDeploymentGetOptionalParams + - Added Interface EndpointDeploymentListNextOptionalParams + - Added Interface EndpointDeploymentListOptionalParams + - Added Interface EndpointDeploymentModel + - Added Interface EndpointDeploymentResourceProperties + - Added Interface EndpointDeploymentResourcePropertiesBasicResource + - Added Interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult + - Added Interface EndpointGetModelsNextOptionalParams + - Added Interface EndpointGetModelsOptionalParams + - Added Interface EndpointGetOptionalParams + - Added Interface EndpointKeys + - Added Interface EndpointListKeysOptionalParams + - Added Interface EndpointListNextOptionalParams + - Added Interface EndpointListOptionalParams + - Added Interface EndpointModelDeprecationProperties + - Added Interface EndpointModelProperties + - Added Interface EndpointModels + - Added Interface EndpointModelSkuCapacityProperties + - Added Interface EndpointModelSkuProperties + - Added Interface EndpointModelSkuRateLimitProperties + - Added Interface EndpointModelSkuRateLimitRulePatternProperties + - Added Interface EndpointModelSkuRateLimitRuleProperties + - Added Interface EndpointRegenerateKeysOptionalParams + - Added Interface EndpointResourceProperties + - Added Interface EndpointResourcePropertiesBasicResource + - Added Interface EndpointResourcePropertiesBasicResourceArmPaginatedResult + - Added Interface FineTuningJob + - Added Interface FineTuningVertical + - Added Interface FqdnEndpointsPropertyBag + - Added Interface GroupEnvironmentConfiguration + - Added Interface GroupModelConfiguration + - Added Interface GroupStatus + - Added Interface InferenceEndpoint + - Added Interface InferenceEndpointProperties + - Added Interface InferenceEndpointsCreateOrUpdateHeaders + - Added Interface InferenceEndpointsCreateOrUpdateOptionalParams + - Added Interface InferenceEndpointsDeleteHeaders + - Added Interface InferenceEndpointsDeleteOptionalParams + - Added Interface InferenceEndpointsGetOptionalParams + - Added Interface InferenceEndpointsListNextOptionalParams + - Added Interface InferenceEndpointsListOptionalParams + - Added Interface InferenceEndpointsUpdateHeaders + - Added Interface InferenceEndpointsUpdateOptionalParams + - Added Interface InferenceEndpointTrackedResourceArmPaginatedResult + - Added Interface InferenceGroup + - Added Interface InferenceGroupProperties + - Added Interface InferenceGroupsCreateOrUpdateHeaders + - Added Interface InferenceGroupsCreateOrUpdateOptionalParams + - Added Interface InferenceGroupsDeleteHeaders + - Added Interface InferenceGroupsDeleteOptionalParams + - Added Interface InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams + - Added Interface InferenceGroupsGetOptionalParams + - Added Interface InferenceGroupsGetStatusOptionalParams + - Added Interface InferenceGroupsListDeltaModelsAsyncNextOptionalParams + - Added Interface InferenceGroupsListDeltaModelsAsyncOptionalParams + - Added Interface InferenceGroupsListNextOptionalParams + - Added Interface InferenceGroupsListOptionalParams + - Added Interface InferenceGroupsListSkusNextOptionalParams + - Added Interface InferenceGroupsListSkusOptionalParams + - Added Interface InferenceGroupsModifyDeltaModelsAsyncOptionalParams + - Added Interface InferenceGroupsUpdateHeaders + - Added Interface InferenceGroupsUpdateOptionalParams + - Added Interface InferenceGroupTrackedResourceArmPaginatedResult + - Added Interface InferencePool + - Added Interface InferencePoolProperties + - Added Interface InferencePoolsCreateOrUpdateHeaders + - Added Interface InferencePoolsCreateOrUpdateOptionalParams + - Added Interface InferencePoolsDeleteHeaders + - Added Interface InferencePoolsDeleteOptionalParams + - Added Interface InferencePoolsGetOptionalParams + - Added Interface InferencePoolsListNextOptionalParams + - Added Interface InferencePoolsListOptionalParams + - Added Interface InferencePoolsUpdateHeaders + - Added Interface InferencePoolsUpdateOptionalParams + - Added Interface InferencePoolTrackedResourceArmPaginatedResult + - Added Interface IPRule + - Added Interface JobResources + - Added Interface JupyterKernelConfig + - Added Interface KeyVaultProperties + - Added Interface ManagedOnlineEndpointDeploymentResourceProperties + - Added Interface ManagedOnlineEndpointResourceProperties + - Added Interface ManagedResourceGroupAssignedIdentities + - Added Interface ManagedResourceGroupSettings + - Added Interface NetworkAcls + - Added Interface OpenAIEndpointDeploymentResourceProperties + - Added Interface OpenAIEndpointResourceProperties + - Added Interface OsPatchingStatus + - Added Interface PropertiesBase + - Added Interface RaiBlocklistConfig + - Added Interface RaiBlocklistItemBulkRequest + - Added Interface RaiBlocklistItemProperties + - Added Interface RaiBlocklistItemPropertiesBasicResource + - Added Interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult + - Added Interface RaiBlocklistProperties + - Added Interface RaiBlocklistPropertiesBasicResource + - Added Interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult + - Added Interface RaiPoliciesListNextOptionalParams + - Added Interface RaiPoliciesListOptionalParams + - Added Interface RaiPolicyContentFilter + - Added Interface RaiPolicyCreateOptionalParams + - Added Interface RaiPolicyDeleteHeaders + - Added Interface RaiPolicyDeleteOptionalParams + - Added Interface RaiPolicyGetOptionalParams + - Added Interface RaiPolicyProperties + - Added Interface RaiPolicyPropertiesBasicResource + - Added Interface RaiPolicyPropertiesBasicResourceArmPaginatedResult + - Added Interface RegenerateServiceAccountKeyContent + - Added Interface RequestConfiguration + - Added Interface ResizeSchema + - Added Interface ScaleUnitConfiguration + - Added Interface SecretExpiry + - Added Interface ServerlessEndpointCapacityReservation + - Added Interface ServerlessEndpointContentSafety + - Added Interface ServerlessEndpointInferenceEndpoint + - Added Interface ServerlessEndpointModelSettings + - Added Interface ServerlessEndpointResourceProperties + - Added Interface ServerlessOffer + - Added Interface SpeechEndpointDeploymentResourceProperties + - Added Interface SpeechEndpointResourceProperties + - Added Interface StringArmPaginatedResult + - Added Interface StringKeyValuePair + - Added Interface WorkspaceConnectionsTestConnectionHeaders + - Added Interface WorkspaceConnectionsTestConnectionOptionalParams + - Added Interface WorkspaceConnectionsUpdateOptionalParams + - Added Interface WorkspaceConnectionUpdateParameter + - Added Interface WorkspacePrivateEndpointResource + - Added Interface WorkspacesDeleteHeaders + - Added Class AzureMachineLearningServicesMgmtClient + - Added Type Alias AllowedContentLevel + - Added Type Alias AuthMode + - Added Type Alias CapabilityHostKind + - Added Type Alias CapabilityHostProvisioningState + - Added Type Alias CapabilityHostsCreateOrUpdateResponse + - Added Type Alias CapabilityHostsDeleteResponse + - Added Type Alias CapabilityHostsGetResponse + - Added Type Alias ComputeGetAllowedResizeSizesResponse + - Added Type Alias ComputeResizeResponse + - Added Type Alias ConnectionCreateOrUpdateDeploymentResponse + - Added Type Alias ConnectionDeleteDeploymentResponse + - Added Type Alias ConnectionGetAllModelsResponse + - Added Type Alias ConnectionGetDeploymentResponse + - Added Type Alias ConnectionGetModelsNextResponse + - Added Type Alias ConnectionGetModelsResponse + - Added Type Alias ConnectionListDeploymentsNextResponse + - Added Type Alias ConnectionListDeploymentsResponse + - Added Type Alias ConnectionRaiBlocklistCreateResponse + - Added Type Alias ConnectionRaiBlocklistDeleteResponse + - Added Type Alias ConnectionRaiBlocklistGetResponse + - Added Type Alias ConnectionRaiBlocklistItemAddBulkResponse + - Added Type Alias ConnectionRaiBlocklistItemCreateResponse + - Added Type Alias ConnectionRaiBlocklistItemDeleteBulkResponse + - Added Type Alias ConnectionRaiBlocklistItemDeleteResponse + - Added Type Alias ConnectionRaiBlocklistItemGetResponse + - Added Type Alias ConnectionRaiBlocklistItemsListNextResponse + - Added Type Alias ConnectionRaiBlocklistItemsListResponse + - Added Type Alias ConnectionRaiBlocklistsListNextResponse + - Added Type Alias ConnectionRaiBlocklistsListResponse + - Added Type Alias ConnectionRaiPoliciesListNextResponse + - Added Type Alias ConnectionRaiPoliciesListResponse + - Added Type Alias ConnectionRaiPolicyCreateResponse + - Added Type Alias ConnectionRaiPolicyDeleteResponse + - Added Type Alias ConnectionRaiPolicyGetResponse + - Added Type Alias DefaultActionType + - Added Type Alias DefaultResourceProvisioningState + - Added Type Alias DeploymentModelVersionUpgradeOption + - Added Type Alias EndpointCreateOrUpdateResponse + - Added Type Alias EndpointDeploymentCreateOrUpdateResponse + - Added Type Alias EndpointDeploymentDeleteResponse + - Added Type Alias EndpointDeploymentGetInWorkspaceNextResponse + - Added Type Alias EndpointDeploymentGetInWorkspaceResponse + - Added Type Alias EndpointDeploymentGetResponse + - Added Type Alias EndpointDeploymentListNextResponse + - Added Type Alias EndpointDeploymentListResponse + - Added Type Alias EndpointDeploymentResourcePropertiesUnion + - Added Type Alias EndpointGetModelsNextResponse + - Added Type Alias EndpointGetModelsResponse + - Added Type Alias EndpointGetResponse + - Added Type Alias EndpointListKeysResponse + - Added Type Alias EndpointListNextResponse + - Added Type Alias EndpointListResponse + - Added Type Alias EndpointRegenerateKeysResponse + - Added Type Alias EndpointResourcePropertiesUnion + - Added Type Alias EndpointType + - Added Type Alias FineTuningTaskType + - Added Type Alias FineTuningVerticalUnion + - Added Type Alias FirewallSku + - Added Type Alias InferenceEndpointsCreateOrUpdateResponse + - Added Type Alias InferenceEndpointsGetResponse + - Added Type Alias InferenceEndpointsListNextResponse + - Added Type Alias InferenceEndpointsListResponse + - Added Type Alias InferenceEndpointsUpdateResponse + - Added Type Alias InferenceGroupsCreateOrUpdateResponse + - Added Type Alias InferenceGroupsGetDeltaModelsStatusAsyncResponse + - Added Type Alias InferenceGroupsGetResponse + - Added Type Alias InferenceGroupsGetStatusResponse + - Added Type Alias InferenceGroupsListDeltaModelsAsyncNextResponse + - Added Type Alias InferenceGroupsListDeltaModelsAsyncResponse + - Added Type Alias InferenceGroupsListNextResponse + - Added Type Alias InferenceGroupsListResponse + - Added Type Alias InferenceGroupsListSkusNextResponse + - Added Type Alias InferenceGroupsListSkusResponse + - Added Type Alias InferenceGroupsUpdateResponse + - Added Type Alias InferencePoolsCreateOrUpdateResponse + - Added Type Alias InferencePoolsGetResponse + - Added Type Alias InferencePoolsListNextResponse + - Added Type Alias InferencePoolsListResponse + - Added Type Alias InferencePoolsUpdateResponse + - Added Type Alias ManagedPERequirement + - Added Type Alias ManagedPEStatus + - Added Type Alias MlflowAutologger + - Added Type Alias ModelLifecycleStatus + - Added Type Alias ModelProvider + - Added Type Alias MountMode + - Added Type Alias PatchStatus + - Added Type Alias PoolProvisioningState + - Added Type Alias RaiPoliciesListNextResponse + - Added Type Alias RaiPoliciesListResponse + - Added Type Alias RaiPolicyContentSource + - Added Type Alias RaiPolicyCreateResponse + - Added Type Alias RaiPolicyDeleteResponse + - Added Type Alias RaiPolicyGetResponse + - Added Type Alias RaiPolicyMode + - Added Type Alias RaiPolicyType + - Added Type Alias ServiceAccountKeyName + - Added Type Alias SystemDatastoresAuthMode + - Added Type Alias WorkspaceConnectionsTestConnectionResponse + - Added Type Alias WorkspaceConnectionsUpdateResponse + - Interface AssetJobOutput has a new optional parameter assetName + - Interface ComputeInstanceDataMount has a new optional parameter mountMode + - Interface ComputeInstanceProperties has a new optional parameter autologgerSettings + - Interface ComputeInstanceProperties has a new optional parameter enableOSPatching + - Interface ComputeInstanceProperties has a new optional parameter enableRootAccess + - Interface ComputeInstanceProperties has a new optional parameter enableSSO + - Interface ComputeInstanceProperties has a new optional parameter idleTimeBeforeShutdown + - Interface ComputeInstanceProperties has a new optional parameter releaseQuotaOnStop + - Interface CustomService has a new optional parameter kernel + - Interface DatastoresListSecretsOptionalParams has a new optional parameter body + - Interface DiagnoseRequestProperties has a new optional parameter requiredResourceProviders + - Interface EncryptionProperty has a new optional parameter cosmosDbResourceId + - Interface EncryptionProperty has a new optional parameter searchAccountResourceId + - Interface EncryptionProperty has a new optional parameter storageAccountResourceId + - Interface FqdnEndpoints has a new optional parameter category + - Interface FqdnEndpoints has a new optional parameter endpoints + - Interface Image_2 has a new optional parameter version + - Interface ImageMetadata has a new optional parameter osPatchingStatus + - Interface ListWorkspaceKeysResult has a new optional parameter userStorageArmId + - Interface ManagedNetworkSettings has a new optional parameter changeableIsolationModes + - Interface ManagedNetworkSettings has a new optional parameter firewallSku + - Interface ManagedNetworkSettingsRuleDeleteHeaders has a new optional parameter retryAfter + - Interface NotebookResourceInfo has a new optional parameter isPrivateLinkEnabled + - Interface OutboundRule has a new optional parameter parentRuleNames + - Interface PrivateEndpointOutboundRule has a new optional parameter fqdns + - Interface Registry has a new optional parameter managedResourceGroupSettings + - Interface Workspace has a new optional parameter agentsEndpointUri + - Interface Workspace has a new optional parameter allowRoleAssignmentOnRG + - Interface Workspace has a new optional parameter containerRegistries + - Interface Workspace has a new optional parameter enableServiceSideCMKEncryption + - Interface Workspace has a new optional parameter enableSimplifiedCmk + - Interface Workspace has a new optional parameter enableSoftwareBillOfMaterials + - Interface Workspace has a new optional parameter existingWorkspaces + - Interface Workspace has a new optional parameter ipAllowlist + - Interface Workspace has a new optional parameter keyVaults + - Interface Workspace has a new optional parameter networkAcls + - Interface Workspace has a new optional parameter provisionNetworkNow + - Interface Workspace has a new optional parameter softDeleteRetentionInDays + - Interface Workspace has a new optional parameter storageAccounts + - Interface Workspace has a new optional parameter systemDatastoresAuthMode + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter error + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter peRequirement + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter peStatus + - Interface WorkspaceConnectionPropertiesV2 has a new optional parameter useWorkspaceManagedIdentity + - Interface WorkspaceConnectionsCreateOptionalParams has a new optional parameter body + - Interface WorkspaceConnectionsListOptionalParams has a new optional parameter includeAll + - Interface WorkspacesDiagnoseOptionalParams has a new optional parameter body + - Interface WorkspacesListByResourceGroupOptionalParams has a new optional parameter aiCapabilities + - Interface WorkspacesListByResourceGroupOptionalParams has a new optional parameter kind + - Interface WorkspacesListBySubscriptionOptionalParams has a new optional parameter aiCapabilities + - Interface WorkspacesListBySubscriptionOptionalParams has a new optional parameter kind + - Interface WorkspaceUpdateParameters has a new optional parameter allowRoleAssignmentOnRG + - Interface WorkspaceUpdateParameters has a new optional parameter enableSoftwareBillOfMaterials + - Interface WorkspaceUpdateParameters has a new optional parameter ipAllowlist + - Interface WorkspaceUpdateParameters has a new optional parameter networkAcls + - Interface WorkspaceUpdateParameters has a new optional parameter softDeleteRetentionInDays + - Interface WorkspaceUpdateParameters has a new optional parameter systemDatastoresAuthMode + - Type of parameter type of interface OutboundRule is changed from "PrivateEndpoint" | "ServiceTag" | "FQDN" to "FQDN" | "PrivateEndpoint" | "ServiceTag" + - Type of parameter authType of interface WorkspaceConnectionPropertiesV2 is changed from "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity" | "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "OAuth2" | "ServicePrincipal" to "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "ManagedIdentity" | "None" | "OAuth2" | "PAT" | "SAS" | "ServicePrincipal" | "UsernamePassword" + - Added Enum KnownAllowedContentLevel + - Added Enum KnownAuthMode + - Added Enum KnownCapabilityHostKind + - Added Enum KnownCapabilityHostProvisioningState + - Added Enum KnownDefaultActionType + - Added Enum KnownDefaultResourceProvisioningState + - Added Enum KnownDeploymentModelVersionUpgradeOption + - Added Enum KnownEndpointType + - Added Enum KnownFineTuningTaskType + - Added Enum KnownFirewallSku + - Added Enum KnownManagedPERequirement + - Added Enum KnownManagedPEStatus + - Added Enum KnownMlflowAutologger + - Added Enum KnownModelLifecycleStatus + - Added Enum KnownModelProvider + - Added Enum KnownMountMode + - Added Enum KnownPatchStatus + - Added Enum KnownPoolProvisioningState + - Added Enum KnownRaiPolicyContentSource + - Added Enum KnownRaiPolicyMode + - Added Enum KnownRaiPolicyType + - Added Enum KnownServiceAccountKeyName + - Added Enum KnownSystemDatastoresAuthMode + - Enum KnownComputeInstanceState has a new value Resizing + - Enum KnownConnectionCategory has a new value Elasticsearch + - Enum KnownConnectionCategory has a new value ManagedOnlineEndpoint + - Enum KnownConnectionCategory has a new value Pinecone + - Enum KnownEndpointServiceConnectionStatus has a new value Timeout + - Enum KnownJobType has a new value FineTuning + - Enum KnownOperationName has a new value Resize + - Enum KnownOperationStatus has a new value ResizeFailed + +### Breaking Changes + + - Operation WorkspaceConnections.create has a new signature + - Deleted Class AzureMachineLearningServicesManagementClient + - Interface FqdnEndpoints no longer has parameter properties + - Interface ListWorkspaceKeysResult no longer has parameter userStorageResourceId + - Interface WorkspaceConnectionPropertiesV2 no longer has parameter value + - Interface WorkspaceConnectionPropertiesV2 no longer has parameter valueFormat + - Interface WorkspacesDiagnoseOptionalParams no longer has parameter parameters + - Type of parameter applicationInsights of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter containerRegistry of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter dnsResolution of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter keyVault of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter nsg of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter others of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter resourceLock of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter storageAccount of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter udr of interface DiagnoseRequestProperties is changed from { + [propertyName: string]: Record; + } to { + [propertyName: string]: any; + } + - Type of parameter keyVaultProperties of interface EncryptionProperty is changed from EncryptionKeyVaultProperties to KeyVaultProperties + - Type of parameter value of interface ExternalFqdnResponse is changed from FqdnEndpoints[] to FqdnEndpointsPropertyBag[] + - Type of parameter privateEndpoint of interface PrivateEndpointConnection is changed from PrivateEndpoint to WorkspacePrivateEndpointResource + - Type of parameter status of interface PrivateLinkServiceConnectionState is changed from PrivateEndpointServiceConnectionStatus to EndpointServiceConnectionStatus + - Type of parameter status of interface SharedPrivateLinkResource is changed from PrivateEndpointServiceConnectionStatus to EndpointServiceConnectionStatus + - Type of parameter publicNetworkAccess of interface Workspace is changed from PublicNetworkAccess to PublicNetworkAccessType + - Type of parameter publicNetworkAccess of interface WorkspaceUpdateParameters is changed from PublicNetworkAccess to PublicNetworkAccessType + - Removed Enum KnownPrivateEndpointServiceConnectionStatus + - Removed Enum KnownPublicNetworkAccess + - Removed Enum KnownValueFormat + + ## 3.0.0 (2024-08-15) ### Features Added diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index 0042b67f7c55..c60a0909c803 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -1,12 +1,12 @@ -# AzureMachineLearningServicesManagement client library for JavaScript +# AzureMachineLearningServicesMgmt client library for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningServicesManagement client. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningServicesMgmt client. These APIs allow end users to operate on Azure Machine Learning Workspace resources. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearning) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -24,16 +24,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ### Install the `@azure/arm-machinelearning` package -Install the AzureMachineLearningServicesManagement client library for JavaScript with `npm`: +Install the AzureMachineLearningServicesMgmt client library for JavaScript with `npm`: ```bash npm install @azure/arm-machinelearning ``` -### Create and authenticate a `AzureMachineLearningServicesManagementClient` +### Create and authenticate a `AzureMachineLearningServicesMgmtClient` -To create a client object to access the AzureMachineLearningServicesManagement API, you will need the `endpoint` of your AzureMachineLearningServicesManagement resource and a `credential`. The AzureMachineLearningServicesManagement client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your AzureMachineLearningServicesManagement resource in the [Azure Portal][azure_portal]. +To create a client object to access the AzureMachineLearningServicesMgmt API, you will need the `endpoint` of your AzureMachineLearningServicesMgmt resource and a `credential`. The AzureMachineLearningServicesMgmt client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your AzureMachineLearningServicesMgmt resource in the [Azure Portal][azure_portal]. You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). @@ -43,25 +43,25 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below npm install @azure/identity ``` -You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesMgmt** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). ```javascript -const { AzureMachineLearningServicesManagementClient } = require("@azure/arm-machinelearning"); +const { AzureMachineLearningServicesMgmtClient } = require("@azure/arm-machinelearning"); const { DefaultAzureCredential } = require("@azure/identity"); // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new AzureMachineLearningServicesManagementClient(new DefaultAzureCredential(), subscriptionId); +const client = new AzureMachineLearningServicesMgmtClient(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new AzureMachineLearningServicesManagementClient(credential, subscriptionId); +// const client = new AzureMachineLearningServicesMgmtClient(credential, subscriptionId); ``` @@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### AzureMachineLearningServicesManagementClient +### AzureMachineLearningServicesMgmtClient -`AzureMachineLearningServicesManagementClient` is the primary interface for developers using the AzureMachineLearningServicesManagement client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningServicesManagement service that you can access. +`AzureMachineLearningServicesMgmtClient` is the primary interface for developers using the AzureMachineLearningServicesMgmt client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningServicesMgmt service that you can access. ## Troubleshooting diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 857e6795e82d..ab0da616e7be 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "8f177ea073f3b3455446088829599d799bd71119", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.11", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.14", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 34468d0840e2..fdfe9651eea5 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -2,17 +2,17 @@ "name": "@azure/arm-machinelearning", "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "description": "A generated SDK for AzureMachineLearningServicesMgmtClient.", + "version": "4.0.0-beta.1", "engines": { "node": ">=18.0.0" }, "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.6.0", - "@azure/core-client": "^1.7.0", "@azure/core-lro": "^2.5.4", + "@azure/abort-controller": "^2.1.2", "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.7.0", + "@azure/core-auth": "^1.6.0", "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, @@ -28,24 +28,24 @@ "module": "./dist-esm/src/index.js", "types": "./types/arm-machinelearning.d.ts", "devDependencies": { - "@azure-tools/test-credential": "^1.1.0", - "@azure-tools/test-recorder": "^3.0.0", - "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.0.1", "@microsoft/api-extractor": "^7.31.1", - "@types/chai": "^4.2.8", - "@types/mocha": "^10.0.0", - "@types/node": "^18.0.0", - "chai": "^4.2.0", - "cross-env": "^7.0.2", - "dotenv": "^16.0.0", "mkdirp": "^3.0.1", - "mocha": "^10.0.0", + "typescript": "~5.5.3", + "uglify-js": "^3.4.9", "rimraf": "^5.0.0", - "ts-node": "^10.0.0", + "dotenv": "^16.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/identity": "^4.2.1", + "@azure-tools/test-recorder": "^3.0.0", + "@azure-tools/test-credential": "^1.1.0", + "mocha": "^10.0.0", + "@types/mocha": "^10.0.0", "tsx": "^4.7.1", - "typescript": "~5.6.2", - "uglify-js": "^3.4.9" + "@types/chai": "^4.2.8", + "chai": "^4.2.0", + "cross-env": "^7.0.2", + "@types/node": "^18.0.0", + "ts-node": "^10.0.0" }, "repository": { "type": "git", @@ -73,47 +73,38 @@ ], "scripts": { "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api", - "build:browser": "echo skipped", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", + "pack": "npm pack 2>&1", + "extract-api": "dev-tool run extract-api", + "lint": "echo skipped", + "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", - "build:samples": "echo skipped.", + "build:browser": "echo skipped", "build:test": "echo skipped", + "build:samples": "echo skipped.", "check-format": "echo skipped", - "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", - "extract-api": "dev-tool run extract-api", "format": "echo skipped", - "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "echo skipped", - "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "lint": "echo skipped", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "pack": "npm pack 2>&1", - "prepack": "npm run build", "test": "npm run integration-test", - "test:browser": "echo skipped", "test:node": "echo skipped", + "test:browser": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "echo skipped", "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", - "update-snippets": "echo skipped" + "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { "constantPaths": [ { - "path": "src/azureMachineLearningServicesManagementClient.ts", + "path": "src/azureMachineLearningServicesMgmtClient.ts", "prefix": "packageDetails" } ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - } + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md index 6e7caefe28c0..9ef6b04ed9ad 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -22,10 +22,17 @@ export interface AccessKeyAuthTypeWorkspaceConnectionProperties extends Workspac credentials?: WorkspaceConnectionAccessKey; } +// @public (undocumented) +export interface AccountApiKeys { + // (undocumented) + key1?: string; + // (undocumented) + key2?: string; +} + // @public export interface AccountKeyAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { authType: "AccountKey"; - // (undocumented) credentials?: WorkspaceConnectionAccountKey; } @@ -50,6 +57,13 @@ export interface AcrDetails { // @public export type ActionType = string; +// @public (undocumented) +export interface ActualCapacityInfo { + allocated?: number; + assignmentFailed?: number; + assignmentSuccess?: number; +} + // @public export interface Aks extends Compute, AKSSchema { computeType: "AKS"; @@ -106,6 +120,9 @@ export interface AllNodes extends Nodes { // @public export type AllocationState = string; +// @public +export type AllowedContentLevel = string; + // @public export interface AmlCompute extends Compute, AmlComputeSchema { computeType: "AmlCompute"; @@ -210,6 +227,7 @@ export interface AssetJobInput { // @public export interface AssetJobOutput { + assetName?: string; mode?: OutputDeliveryMode; uri?: string; } @@ -231,6 +249,9 @@ export interface AssignedUser { tenantId: string; } +// @public +export type AuthMode = string; + // @public export interface AutoForecastHorizon extends ForecastHorizon { mode: "Auto"; @@ -355,10 +376,10 @@ export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties } // @public (undocumented) -export class AzureMachineLearningServicesManagementClient extends coreClient.ServiceClient { +export class AzureMachineLearningServicesMgmtClient extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesManagementClientOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesMgmtClientOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -366,6 +387,8 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) batchEndpoints: BatchEndpoints; // (undocumented) + capabilityHosts: CapabilityHosts; + // (undocumented) codeContainers: CodeContainers; // (undocumented) codeVersions: CodeVersions; @@ -376,12 +399,30 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) computeOperations: ComputeOperations; // (undocumented) + connection: Connection; + // (undocumented) + connectionRaiBlocklist: ConnectionRaiBlocklist; + // (undocumented) + connectionRaiBlocklistItem: ConnectionRaiBlocklistItem; + // (undocumented) + connectionRaiBlocklistItems: ConnectionRaiBlocklistItems; + // (undocumented) + connectionRaiBlocklists: ConnectionRaiBlocklists; + // (undocumented) + connectionRaiPolicies: ConnectionRaiPolicies; + // (undocumented) + connectionRaiPolicy: ConnectionRaiPolicy; + // (undocumented) dataContainers: DataContainers; // (undocumented) datastores: Datastores; // (undocumented) dataVersions: DataVersions; // (undocumented) + endpointDeployment: EndpointDeployment; + // (undocumented) + endpointOperations: EndpointOperations; + // (undocumented) environmentContainers: EnvironmentContainers; // (undocumented) environmentVersions: EnvironmentVersions; @@ -396,6 +437,12 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) featurestoreEntityVersions: FeaturestoreEntityVersions; // (undocumented) + inferenceEndpoints: InferenceEndpoints; + // (undocumented) + inferenceGroups: InferenceGroups; + // (undocumented) + inferencePools: InferencePools; + // (undocumented) jobs: Jobs; // (undocumented) managedNetworkProvisions: ManagedNetworkProvisions; @@ -420,6 +467,10 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) quotas: Quotas; // (undocumented) + raiPolicies: RaiPolicies; + // (undocumented) + raiPolicy: RaiPolicy; + // (undocumented) registries: Registries; // (undocumented) registryCodeContainers: RegistryCodeContainers; @@ -462,12 +513,25 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser } // @public -export interface AzureMachineLearningServicesManagementClientOptionalParams extends coreClient.ServiceClientOptions { +export interface AzureMachineLearningServicesMgmtClientOptionalParams extends coreClient.ServiceClientOptions { $host?: string; apiVersion?: string; endpoint?: string; } +// @public (undocumented) +export interface AzureOpenAiFineTuning extends FineTuningVertical { + hyperParameters?: AzureOpenAiHyperParameters; + modelProvider: "AzureOpenAI"; +} + +// @public +export interface AzureOpenAiHyperParameters { + batchSize?: number; + learningRateMultiplier?: number; + nEpochs?: number; +} + // @public export interface BanditPolicy extends EarlyTerminationPolicy { policyType: "Bandit"; @@ -741,7 +805,7 @@ export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { // @public export type BillingCurrency = string; -// @public +// @public (undocumented) export interface BindOptions { createHostPath?: boolean; propagation?: string; @@ -767,6 +831,83 @@ export interface BuildContext { // @public export type Caching = string; +// @public +export interface CapabilityHost extends ProxyResource { + properties: CapabilityHostProperties; +} + +// @public +export type CapabilityHostKind = string; + +// @public (undocumented) +export interface CapabilityHostProperties extends ResourceBase { + aiServicesConnections?: string[]; + capabilityHostKind?: CapabilityHostKind; + customerSubnet?: string; + readonly provisioningState?: CapabilityHostProvisioningState; + storageConnections?: string[]; + vectorStoreConnections?: string[]; +} + +// @public +export type CapabilityHostProvisioningState = string; + +// @public +export interface CapabilityHosts { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: CapabilityHost, options?: CapabilityHostsCreateOrUpdateOptionalParams): Promise, CapabilityHostsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: CapabilityHost, options?: CapabilityHostsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: CapabilityHostsDeleteOptionalParams): Promise, CapabilityHostsDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: CapabilityHostsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, options?: CapabilityHostsGetOptionalParams): Promise; +} + +// @public +export interface CapabilityHostsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface CapabilityHostsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type CapabilityHostsCreateOrUpdateResponse = CapabilityHost; + +// @public +export interface CapabilityHostsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface CapabilityHostsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type CapabilityHostsDeleteResponse = CapabilityHostsDeleteHeaders; + +// @public +export interface CapabilityHostsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type CapabilityHostsGetResponse = CapabilityHost; + +// @public +export interface CapacityConfig { + allowedValues?: number[]; + default?: number; + maximum?: number; + minimum?: number; + step?: number; +} + // @public export type CategoricalDataDriftMetric = string; @@ -989,6 +1130,29 @@ export interface CodeVersionsPublishOptionalParams extends coreClient.OperationO updateIntervalInMs?: number; } +// @public (undocumented) +export interface CognitiveServiceEndpointDeploymentResourceProperties { + model: EndpointDeploymentModel; + raiPolicyName?: string; + // (undocumented) + sku?: CognitiveServicesSku; + versionUpgradeOption?: DeploymentModelVersionUpgradeOption; +} + +// @public (undocumented) +export interface CognitiveServicesSku { + // (undocumented) + capacity?: number; + // (undocumented) + family?: string; + // (undocumented) + name?: string; + // (undocumented) + size?: string; + // (undocumented) + tier?: string; +} + // @public (undocumented) export interface Collection { clientId?: string; @@ -1203,6 +1367,13 @@ export interface ComputeDeleteOptionalParams extends coreClient.OperationOptions updateIntervalInMs?: number; } +// @public +export interface ComputeGetAllowedResizeSizesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ComputeGetAllowedResizeSizesResponse = VirtualMachineSizeListResult; + // @public export interface ComputeGetOptionalParams extends coreClient.OperationOptions { } @@ -1224,6 +1395,11 @@ export interface ComputeInstanceApplication { // @public export type ComputeInstanceAuthorizationType = string; +// @public +export interface ComputeInstanceAutologgerSettings { + mlflowAutologger?: MlflowAutologger; +} + // @public export interface ComputeInstanceConnectivityEndpoints { readonly privateIpAddress?: string; @@ -1261,6 +1437,7 @@ export interface ComputeInstanceDataMount { error?: string; mountAction?: MountAction; mountedOn?: Date; + mountMode?: MountMode; mountName?: string; mountPath?: string; mountState?: MountState; @@ -1286,6 +1463,7 @@ export interface ComputeInstanceLastOperation { export interface ComputeInstanceProperties { readonly applications?: ComputeInstanceApplication[]; applicationSharingPolicy?: ApplicationSharingPolicy; + autologgerSettings?: ComputeInstanceAutologgerSettings; computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; readonly containers?: ComputeInstanceContainer[]; @@ -1294,10 +1472,15 @@ export interface ComputeInstanceProperties { readonly dataDisks?: ComputeInstanceDataDisk[]; readonly dataMounts?: ComputeInstanceDataMount[]; enableNodePublicIp?: boolean; + enableOSPatching?: boolean; + enableRootAccess?: boolean; + enableSSO?: boolean; readonly errors?: ErrorResponse[]; + idleTimeBeforeShutdown?: string; readonly lastOperation?: ComputeInstanceLastOperation; readonly osImageMetadata?: ImageMetadata; personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + releaseQuotaOnStop?: boolean; schedules?: ComputeSchedules; setupScripts?: SetupScripts; sshSettings?: ComputeInstanceSshSettings; @@ -1370,6 +1553,8 @@ export interface ComputeOperations { beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, computeName: string, underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams): Promise; + beginResize(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ResizeSchema, options?: ComputeResizeOptionalParams): Promise, ComputeResizeResponse>>; + beginResizeAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ResizeSchema, options?: ComputeResizeOptionalParams): Promise; beginRestart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise, void>>; beginRestartAndWait(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeRestartOptionalParams): Promise; beginStart(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeStartOptionalParams): Promise, void>>; @@ -1379,9 +1564,13 @@ export interface ComputeOperations { beginUpdate(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise, ComputeUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, workspaceName: string, computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeGetOptionalParams): Promise; + getAllowedResizeSizes(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeGetAllowedResizeSizesOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: ComputeListOptionalParams): PagedAsyncIterableIterator; listKeys(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeListKeysOptionalParams): Promise; listNodes(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeListNodesOptionalParams): PagedAsyncIterableIterator; + updateCustomServices(resourceGroupName: string, workspaceName: string, computeName: string, customServices: CustomService[], options?: ComputeUpdateCustomServicesOptionalParams): Promise; + updateDataMounts(resourceGroupName: string, workspaceName: string, computeName: string, dataMounts: ComputeInstanceDataMount[], options?: ComputeUpdateDataMountsOptionalParams): Promise; + updateIdleShutdownSetting(resourceGroupName: string, workspaceName: string, computeName: string, parameters: IdleShutdownSetting, options?: ComputeUpdateIdleShutdownSettingOptionalParams): Promise; } // @public @@ -1398,6 +1587,21 @@ export interface ComputeRecurrenceSchedule { weekDays?: ComputeWeekDay[]; } +// @public +export interface ComputeResizeHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface ComputeResizeOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ComputeResizeResponse = ComputeResizeHeaders; + // @public export interface ComputeResource extends Resource, ComputeResourceSchema { identity?: ManagedServiceIdentity; @@ -1419,7 +1623,7 @@ export interface ComputeRestartOptionalParams extends coreClient.OperationOption updateIntervalInMs?: number; } -// @public +// @public (undocumented) export interface ComputeRuntimeDto { // (undocumented) sparkRuntimeVersion?: string; @@ -1471,6 +1675,18 @@ export type ComputeType = string; // @public (undocumented) export type ComputeUnion = Compute | Aks | Kubernetes | AmlCompute | ComputeInstance | VirtualMachine | HDInsight | DataFactory | Databricks | DataLakeAnalytics | SynapseSpark; +// @public +export interface ComputeUpdateCustomServicesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ComputeUpdateDataMountsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ComputeUpdateIdleShutdownSettingOptionalParams extends coreClient.OperationOptions { +} + // @public export interface ComputeUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1483,6 +1699,18 @@ export type ComputeUpdateResponse = ComputeResource; // @public export type ComputeWeekDay = string; +// @public +export interface Connection { + beginCreateOrUpdateDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams): Promise, ConnectionCreateOrUpdateDeploymentResponse>>; + beginCreateOrUpdateDeploymentAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams): Promise; + beginDeleteDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams): Promise, ConnectionDeleteDeploymentResponse>>; + beginDeleteDeploymentAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams): Promise; + getAllModels(resourceGroupName: string, workspaceName: string, options?: ConnectionGetAllModelsOptionalParams): Promise; + getDeployment(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionGetDeploymentOptionalParams): Promise; + listDeployments(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionListDeploymentsOptionalParams): PagedAsyncIterableIterator; + listModels(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionGetModelsOptionalParams): PagedAsyncIterableIterator; +} + // @public export type ConnectionAuthType = string; @@ -1490,139 +1718,449 @@ export type ConnectionAuthType = string; export type ConnectionCategory = string; // @public -export type ConnectionGroup = string; +export interface ConnectionCreateOrUpdateDeploymentOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface ContainerResourceRequirements { - containerResourceLimits?: ContainerResourceSettings; - containerResourceRequests?: ContainerResourceSettings; +export type ConnectionCreateOrUpdateDeploymentResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface ConnectionDeleteDeploymentHeaders { + location?: string; + retryAfter?: number; } -// @public (undocumented) -export interface ContainerResourceSettings { - cpu?: string; - gpu?: string; - memory?: string; +// @public +export interface ConnectionDeleteDeploymentOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ContainerType = string; +export type ConnectionDeleteDeploymentResponse = ConnectionDeleteDeploymentHeaders; -// @public (undocumented) -export interface ContentSafety { - contentSafetyStatus: ContentSafetyStatus; +// @public +export interface ConnectionGetAllModelsOptionalParams extends coreClient.OperationOptions { } // @public -export type ContentSafetyStatus = string; +export type ConnectionGetAllModelsResponse = EndpointModels; -// @public (undocumented) -export interface CosmosDbSettings { - collectionsThroughput?: number; +// @public +export interface ConnectionGetDeploymentOptionalParams extends coreClient.OperationOptions { } // @public -export type CreatedByType = string; +export type ConnectionGetDeploymentResponse = EndpointDeploymentResourcePropertiesBasicResource; -// @public (undocumented) -export interface CreateMonitorAction extends ScheduleActionBase { - actionType: "CreateMonitor"; - monitorDefinition: MonitorDefinition; +// @public +export interface ConnectionGetModelsNextOptionalParams extends coreClient.OperationOptions { } // @public -export type CredentialsType = string; +export type ConnectionGetModelsNextResponse = EndpointModels; // @public -export interface Cron { - expression?: string; - startTime?: string; - timeZone?: string; +export interface ConnectionGetModelsOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; } -// @public (undocumented) -export interface CronTrigger extends TriggerBase { - expression: string; - triggerType: "Cron"; -} +// @public +export type ConnectionGetModelsResponse = EndpointModels; // @public -export interface CustomForecastHorizon extends ForecastHorizon { - mode: "Custom"; - value: number; -} +export type ConnectionGroup = string; // @public -export interface CustomKeys { - keys?: { - [propertyName: string]: string; - }; +export interface ConnectionListDeploymentsNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface CustomKeysWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "CustomKeys"; - credentials?: CustomKeys; -} +export type ConnectionListDeploymentsNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; -// @public (undocumented) -export interface CustomMetricThreshold { - metric: string; - threshold?: MonitoringThreshold; +// @public +export interface ConnectionListDeploymentsOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; } -// @public (undocumented) -export interface CustomModelJobInput extends AssetJobInput, JobInput { - jobInputType: "custom_model"; -} +// @public +export type ConnectionListDeploymentsResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; -// @public (undocumented) -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { - jobOutputType: "custom_model"; +// @public +export interface ConnectionRaiBlocklist { + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams): Promise, ConnectionRaiBlocklistCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams): Promise, ConnectionRaiBlocklistDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistGetOptionalParams): Promise; } -// @public (undocumented) -export interface CustomMonitoringSignal extends MonitoringSignalBase { - componentId: string; - inputAssets?: { - [propertyName: string]: MonitoringInputDataBaseUnion | null; - }; - inputs?: { - [propertyName: string]: JobInputUnion | null; - }; - metricThresholds: CustomMetricThreshold[]; - signalType: "Custom"; +// @public +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface CustomNCrossValidations extends NCrossValidations { - mode: "Custom"; - value: number; +export type ConnectionRaiBlocklistCreateResponse = RaiBlocklistPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistDeleteHeaders { + location?: string; + retryAfter?: number; } -// @public (undocumented) -export interface CustomSeasonality extends Seasonality { - mode: "Custom"; - value: number; +// @public +export interface ConnectionRaiBlocklistDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface CustomService { - [property: string]: any; - docker?: Docker; - endpoints?: Endpoint[]; - environmentVariables?: { - [propertyName: string]: EnvironmentVariable; - }; - image?: Image_2; - name?: string; - volumes?: VolumeDefinition[]; +export type ConnectionRaiBlocklistDeleteResponse = ConnectionRaiBlocklistDeleteHeaders; + +// @public +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface CustomTargetLags extends TargetLags { - mode: "Custom"; - values: number[]; +// @public +export type ConnectionRaiBlocklistGetResponse = RaiBlocklistPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItem { + beginAddBulk(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistItemBulkRequest[], options?: ConnectionRaiBlocklistItemAddBulkOptionalParams): Promise, ConnectionRaiBlocklistItemAddBulkResponse>>; + beginAddBulkAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistItemBulkRequest[], options?: ConnectionRaiBlocklistItemAddBulkOptionalParams): Promise; + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, body: RaiBlocklistItemPropertiesBasicResource, options?: ConnectionRaiBlocklistItemCreateOptionalParams): Promise, ConnectionRaiBlocklistItemCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, body: RaiBlocklistItemPropertiesBasicResource, options?: ConnectionRaiBlocklistItemCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemDeleteOptionalParams): Promise, ConnectionRaiBlocklistItemDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemDeleteOptionalParams): Promise; + beginDeleteBulk(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: Record, options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams): Promise, ConnectionRaiBlocklistItemDeleteBulkResponse>>; + beginDeleteBulkAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: Record, options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: ConnectionRaiBlocklistItemGetOptionalParams): Promise; +} + +// @public +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemAddBulkResponse = RaiBlocklistItemPropertiesBasicResource[]; + +// @public +export interface ConnectionRaiBlocklistItemCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemCreateResponse = RaiBlocklistItemPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItemDeleteBulkHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemDeleteBulkResponse = ConnectionRaiBlocklistItemDeleteBulkHeaders; + +// @public +export interface ConnectionRaiBlocklistItemDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiBlocklistItemDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiBlocklistItemDeleteResponse = ConnectionRaiBlocklistItemDeleteHeaders; + +// @public +export interface ConnectionRaiBlocklistItemGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiBlocklistItemGetResponse = RaiBlocklistItemPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistItems { + list(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistItemsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiBlocklistItemsListNextResponse = RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistItemsListResponse = RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklists { + list(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionRaiBlocklistsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiBlocklistsListNextResponse = RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiBlocklistsListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiBlocklistsListResponse = RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPolicies { + list(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionRaiPoliciesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ConnectionRaiPoliciesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiPoliciesListNextResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPoliciesListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type ConnectionRaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface ConnectionRaiPolicy { + beginCreate(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: ConnectionRaiPolicyCreateOptionalParams): Promise, ConnectionRaiPolicyCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: ConnectionRaiPolicyCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyDeleteOptionalParams): Promise, ConnectionRaiPolicyDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, connectionName: string, raiPolicyName: string, options?: ConnectionRaiPolicyGetOptionalParams): Promise; +} + +// @public +export interface ConnectionRaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +// @public +export interface ConnectionRaiPolicyDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ConnectionRaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ConnectionRaiPolicyDeleteResponse = ConnectionRaiPolicyDeleteHeaders; + +// @public +export interface ConnectionRaiPolicyGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; + +// @public +export interface ContainerResourceRequirements { + containerResourceLimits?: ContainerResourceSettings; + containerResourceRequests?: ContainerResourceSettings; +} + +// @public (undocumented) +export interface ContainerResourceSettings { + cpu?: string; + gpu?: string; + memory?: string; +} + +// @public +export type ContainerType = string; + +// @public (undocumented) +export interface ContentSafety { + contentSafetyStatus: ContentSafetyStatus; +} + +// @public (undocumented) +export interface ContentSafetyEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.ContentSafety"; +} + +// @public (undocumented) +export interface ContentSafetyEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.ContentSafety"; +} + +// @public +export type ContentSafetyStatus = string; + +// @public (undocumented) +export interface CosmosDbSettings { + // (undocumented) + collectionsThroughput?: number; +} + +// @public +export type CreatedByType = string; + +// @public (undocumented) +export interface CreateMonitorAction extends ScheduleActionBase { + actionType: "CreateMonitor"; + monitorDefinition: MonitorDefinition; +} + +// @public +export type CredentialsType = string; + +// @public +export interface Cron { + expression?: string; + startTime?: string; + timeZone?: string; +} + +// @public (undocumented) +export interface CronTrigger extends TriggerBase { + expression: string; + triggerType: "Cron"; +} + +// @public +export interface CustomForecastHorizon extends ForecastHorizon { + mode: "Custom"; + value: number; +} + +// @public +export interface CustomKeys { + keys?: { + [propertyName: string]: string; + }; +} + +// @public +export interface CustomKeysWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "CustomKeys"; + credentials?: CustomKeys; +} + +// @public (undocumented) +export interface CustomMetricThreshold { + metric: string; + threshold?: MonitoringThreshold; +} + +// @public (undocumented) +export interface CustomModelFineTuning extends FineTuningVertical { + hyperParameters?: { + [propertyName: string]: string | null; + }; + modelProvider: "Custom"; +} + +// @public (undocumented) +export interface CustomModelJobInput extends AssetJobInput, JobInput { + jobInputType: "custom_model"; +} + +// @public (undocumented) +export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { + jobOutputType: "custom_model"; +} + +// @public (undocumented) +export interface CustomMonitoringSignal extends MonitoringSignalBase { + componentId: string; + inputAssets?: { + [propertyName: string]: MonitoringInputDataBaseUnion | null; + }; + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + metricThresholds: CustomMetricThreshold[]; + signalType: "Custom"; +} + +// @public +export interface CustomNCrossValidations extends NCrossValidations { + mode: "Custom"; + value: number; +} + +// @public (undocumented) +export interface CustomSeasonality extends Seasonality { + mode: "Custom"; + value: number; +} + +// @public +export interface CustomService { + [property: string]: any; + docker?: Docker; + endpoints?: Endpoint[]; + environmentVariables?: { + [propertyName: string]: EnvironmentVariable; + }; + image?: Image_2; + kernel?: JupyterKernelConfig; + name?: string; + volumes?: VolumeDefinition[]; +} + +// @public (undocumented) +export interface CustomTargetLags extends TargetLags { + mode: "Custom"; + values: number[]; } // @public (undocumented) @@ -1901,6 +2439,7 @@ export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; // @public export interface DatastoresListSecretsOptionalParams extends coreClient.OperationOptions { + body?: SecretExpiry; } // @public @@ -1991,11 +2530,55 @@ export interface DataVersionsPublishOptionalParams extends coreClient.OperationO updateIntervalInMs?: number; } +// @public +export type DefaultActionType = string; + +// @public +export type DefaultResourceProvisioningState = string; + // @public (undocumented) export interface DefaultScaleSettings extends OnlineScaleSettings { scaleType: "Default"; } +// @public +export interface DeltaModelCurrentState { + count?: number; + sampleInstanceID?: string; + status?: string; +} + +// @public (undocumented) +export interface DeltaModelListRequest { + count?: number; + skipToken?: string; + targetBaseModel?: string; +} + +// @public +export interface DeltaModelModifyRequest { + addDeltaModels?: string[]; + removeDeltaModels?: string[]; + targetBaseModel?: string; +} + +// @public (undocumented) +export interface DeltaModelStatusRequest { + deltaModels?: string[]; + targetBaseModel?: string; +} + +// @public +export interface DeltaModelStatusResponse { + actualInstanceCount?: number; + deltaModels?: { + [propertyName: string]: DeltaModelCurrentState[] | null; + }; + expectedInstanceCount?: number; + revisionId?: string; + targetBaseModel?: string; +} + // @public (undocumented) export interface DeploymentLogs { content?: string; @@ -2007,6 +2590,9 @@ export interface DeploymentLogsRequest { tail?: number; } +// @public +export type DeploymentModelVersionUpgradeOption = string; + // @public export type DeploymentProvisioningState = string; @@ -2024,31 +2610,34 @@ export interface DestinationAsset { // @public (undocumented) export interface DiagnoseRequestProperties { applicationInsights?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; containerRegistry?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; dnsResolution?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; keyVault?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; nsg?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; others?: { - [propertyName: string]: Record; + [propertyName: string]: any; + }; + requiredResourceProviders?: { + [propertyName: string]: any; }; resourceLock?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; storageAccount?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; udr?: { - [propertyName: string]: Record; + [propertyName: string]: any; }; } @@ -2092,6 +2681,7 @@ export type DiagnoseResultLevel = string; // @public export interface DiagnoseWorkspaceParameters { + // (undocumented) value?: DiagnoseRequestProperties; } @@ -2106,7 +2696,7 @@ export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | P // @public export type DistributionType = string; -// @public +// @public (undocumented) export interface Docker { [property: string]: any; privileged?: boolean; @@ -2138,13 +2728,6 @@ export type EgressPublicNetworkAccessType = string; // @public export type EmailNotificationEnableType = string; -// @public (undocumented) -export interface EncryptionKeyVaultProperties { - identityClientId?: string; - keyIdentifier: string; - keyVaultArmId: string; -} - // @public (undocumented) export interface EncryptionKeyVaultUpdateProperties { // (undocumented) @@ -2153,9 +2736,12 @@ export interface EncryptionKeyVaultUpdateProperties { // @public (undocumented) export interface EncryptionProperty { + cosmosDbResourceId?: string; identity?: IdentityForCmk; - keyVaultProperties: EncryptionKeyVaultProperties; + keyVaultProperties: KeyVaultProperties; + searchAccountResourceId?: string; status: EncryptionStatus; + storageAccountResourceId?: string; } // @public @@ -2167,7 +2753,7 @@ export interface EncryptionUpdateProperties { keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -// @public +// @public (undocumented) export interface Endpoint { hostIp?: string; name?: string; @@ -2196,6 +2782,108 @@ export interface EndpointAuthToken { // @public export type EndpointComputeType = string; +// @public +export interface EndpointCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointCreateOrUpdateResponse = EndpointResourcePropertiesBasicResource; + +// @public +export interface EndpointDeployment { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: EndpointDeploymentCreateOrUpdateOptionalParams): Promise, EndpointDeploymentCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: EndpointDeploymentCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentDeleteOptionalParams): Promise, EndpointDeploymentDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: EndpointDeploymentGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointDeploymentListOptionalParams): PagedAsyncIterableIterator; + listInWorkspace(resourceGroupName: string, workspaceName: string, options?: EndpointDeploymentGetInWorkspaceOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface EndpointDeploymentCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointDeploymentCreateOrUpdateResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface EndpointDeploymentDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; + +// @public +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentGetInWorkspaceNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + skip?: string; +} + +// @public +export type EndpointDeploymentGetInWorkspaceResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentGetResponse = EndpointDeploymentResourcePropertiesBasicResource; + +// @public +export interface EndpointDeploymentListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentListNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointDeploymentListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointDeploymentListResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +// @public (undocumented) +export interface EndpointDeploymentModel { + format?: string; + name?: string; + source?: string; + version?: string; +} + // @public export interface EndpointDeploymentPropertiesBase { codeConfiguration?: CodeConfiguration; @@ -2209,6 +2897,177 @@ export interface EndpointDeploymentPropertiesBase { }; } +// @public (undocumented) +export interface EndpointDeploymentResourceProperties { + failureReason?: string; + readonly provisioningState?: DefaultResourceProvisioningState; + type: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "Azure.Speech"; +} + +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointDeploymentResourcePropertiesUnion; +} + +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: EndpointDeploymentResourcePropertiesBasicResource[]; +} + +// @public (undocumented) +export type EndpointDeploymentResourcePropertiesUnion = EndpointDeploymentResourceProperties | ContentSafetyEndpointDeploymentResourceProperties | ManagedOnlineEndpointDeploymentResourceProperties | OpenAIEndpointDeploymentResourceProperties | SpeechEndpointDeploymentResourceProperties; + +// @public +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetModelsNextResponse = EndpointModels; + +// @public +export interface EndpointGetModelsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetModelsResponse = EndpointModels; + +// @public +export interface EndpointGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; + +// @public (undocumented) +export interface EndpointKeys { + keys?: AccountApiKeys; +} + +// @public +export interface EndpointListKeysOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointListKeysResponse = EndpointKeys; + +// @public +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointListNextResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; + +// @public +export interface EndpointListOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + expand?: string; + // (undocumented) + includeConnections?: boolean; + // (undocumented) + includeOnlineEndpoints?: boolean; + // (undocumented) + includeServerlessEndpoints?: boolean; + skip?: string; +} + +// @public +export type EndpointListResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; + +// @public (undocumented) +export interface EndpointModelDeprecationProperties { + fineTune?: Date; + inference?: Date; +} + +// @public +export interface EndpointModelProperties { + capabilities?: { + [propertyName: string]: string; + }; + // (undocumented) + deprecation?: EndpointModelDeprecationProperties; + finetuneCapabilities?: { + [propertyName: string]: string; + }; + format?: string; + isDefaultVersion?: boolean; + lifecycleStatus?: ModelLifecycleStatus; + maxCapacity?: number; + name?: string; + skus?: EndpointModelSkuProperties[]; + readonly systemData?: SystemData; + version?: string; +} + +// @public (undocumented) +export interface EndpointModels { + nextLink?: string; + value?: EndpointModelProperties[]; +} + +// @public (undocumented) +export interface EndpointModelSkuCapacityProperties { + default?: number; + maximum?: number; +} + +// @public (undocumented) +export interface EndpointModelSkuProperties { + // (undocumented) + capacity?: EndpointModelSkuCapacityProperties; + connectionIds?: string[]; + deprecationDate?: Date; + name?: string; + // (undocumented) + rateLimits?: EndpointModelSkuRateLimitProperties[]; + usageName?: string; +} + +// @public (undocumented) +export interface EndpointModelSkuRateLimitProperties { + count?: number; + renewalPeriod?: number; + rules?: EndpointModelSkuRateLimitRuleProperties[]; +} + +// @public (undocumented) +export interface EndpointModelSkuRateLimitRulePatternProperties { + // (undocumented) + method?: string; + // (undocumented) + path?: string; +} + +// @public (undocumented) +export interface EndpointModelSkuRateLimitRuleProperties { + // (undocumented) + count?: number; + dynamicThrottlingEnabled?: boolean; + // (undocumented) + key?: string; + // (undocumented) + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + // (undocumented) + minCount?: number; + // (undocumented) + renewalPeriod?: number; +} + +// @public +export interface EndpointOperations { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: EndpointResourcePropertiesBasicResource, options?: EndpointCreateOrUpdateOptionalParams): Promise, EndpointCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: EndpointResourcePropertiesBasicResource, options?: EndpointCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: EndpointListOptionalParams): PagedAsyncIterableIterator; + listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointListKeysOptionalParams): Promise; + listModels(resourceGroupName: string, workspaceName: string, endpointName: string, options?: EndpointGetModelsOptionalParams): PagedAsyncIterableIterator; + regenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateServiceAccountKeyContent, options?: EndpointRegenerateKeysOptionalParams): Promise; +} + // @public export interface EndpointPropertiesBase { authMode: EndpointAuthMode; @@ -2224,6 +3083,43 @@ export interface EndpointPropertiesBase { // @public export type EndpointProvisioningState = string; +// @public +export interface EndpointRegenerateKeysOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type EndpointRegenerateKeysResponse = AccountApiKeys; + +// @public (undocumented) +export interface EndpointResourceProperties { + associatedResourceId?: string; + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + endpointType: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "serverlessEndpoint" | "Azure.Speech"; + endpointUri?: string; + failureReason?: string; + location?: string; + name?: string; + readonly provisioningState?: DefaultResourceProvisioningState; + shouldCreateAiServicesEndpoint?: boolean; +} + +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointResourcePropertiesUnion; +} + +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: EndpointResourcePropertiesBasicResource[]; +} + +// @public (undocumented) +export type EndpointResourcePropertiesUnion = EndpointResourceProperties | ContentSafetyEndpointResourceProperties | ManagedOnlineEndpointResourceProperties | OpenAIEndpointResourceProperties | ServerlessEndpointResourceProperties | SpeechEndpointResourceProperties; + // @public (undocumented) export interface EndpointScheduleAction extends ScheduleActionBase { actionType: "InvokeBatchEndpoint"; @@ -2233,6 +3129,9 @@ export interface EndpointScheduleAction extends ScheduleActionBase { // @public export type EndpointServiceConnectionStatus = string; +// @public +export type EndpointType = string; + // @public export interface EnvironmentContainer extends ProxyResource { properties: EnvironmentContainerProperties; @@ -2294,7 +3193,7 @@ export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmP // @public export type EnvironmentType = string; -// @public +// @public (undocumented) export interface EnvironmentVariable { [property: string]: any; type?: EnvironmentVariableType; @@ -2423,7 +3322,7 @@ export interface EstimatedVMPrices { // @public (undocumented) export interface ExternalFqdnResponse { // (undocumented) - value?: FqdnEndpoints[]; + value?: FqdnEndpointsPropertyBag[]; } // @public @@ -2896,8 +3795,9 @@ export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient // @public export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; -// @public +// @public (undocumented) export interface FeatureStoreSettings { + // (undocumented) computeRuntime?: ComputeRuntimeDto; // (undocumented) offlineStoreConnectionName?: string; @@ -2925,6 +3825,35 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +// @public +export interface FineTuningJob extends JobBaseProperties { + fineTuningDetails: FineTuningVerticalUnion; + jobType: "FineTuning"; + outputs: { + [propertyName: string]: JobOutputUnion | null; + }; + queueSettings?: QueueSettings; + resources?: JobResources; +} + +// @public +export type FineTuningTaskType = string; + +// @public (undocumented) +export interface FineTuningVertical { + model: JobInputUnion; + modelProvider: "AzureOpenAI" | "Custom"; + taskType: FineTuningTaskType; + trainingData: JobInputUnion; + validationData?: JobInputUnion; +} + +// @public (undocumented) +export type FineTuningVerticalUnion = FineTuningVertical | AzureOpenAiFineTuning | CustomModelFineTuning; + +// @public +export type FirewallSku = string; + // @public export interface FixedInputData extends MonitoringInputDataBase { inputDataType: "Fixed"; @@ -3001,18 +3930,18 @@ export interface FqdnEndpointDetail { // @public (undocumented) export interface FqdnEndpoints { - // (undocumented) - properties?: FqdnEndpointsProperties; -} - -// @public (undocumented) -export interface FqdnEndpointsProperties { // (undocumented) category?: string; // (undocumented) endpoints?: FqdnEndpoint[]; } +// @public +export interface FqdnEndpointsPropertyBag { + // (undocumented) + properties?: FqdnEndpoints; +} + // @public export interface FqdnOutboundRule extends OutboundRule { // (undocumented) @@ -3049,6 +3978,27 @@ export interface GridSamplingAlgorithm extends SamplingAlgorithm { samplingAlgorithmType: "Grid"; } +// @public +export interface GroupEnvironmentConfiguration { + environmentId?: string; + environmentVariables?: StringKeyValuePair[]; + livenessProbe?: ProbeSettings; + readinessProbe?: ProbeSettings; + startupProbe?: ProbeSettings; +} + +// @public +export interface GroupModelConfiguration { + modelId?: string; +} + +// @public (undocumented) +export interface GroupStatus { + actualCapacityInfo?: ActualCapacityInfo; + endpointCount?: number; + requestedCapacity?: number; +} + // @public export interface HDInsight extends Compute, HDInsightSchema { computeType: "HDInsight"; @@ -3093,11 +4043,12 @@ export interface IdleShutdownSetting { idleTimeBeforeShutdown?: string; } -// @public +// @public (undocumented) interface Image_2 { [property: string]: any; reference?: string; type?: ImageType; + version?: string; } export { Image_2 as Image } @@ -3137,6 +4088,7 @@ export interface ImageMetadata { currentImageVersion?: string; isLatestOsImageVersion?: boolean; latestImageVersion?: string; + readonly osPatchingStatus?: OsPatchingStatus; } // @public @@ -3258,45 +4210,410 @@ export interface ImageModelSettingsObjectDetection extends ImageModelSettings { } // @public -export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: ObjectDetectionPrimaryMetrics; - taskType: "ImageObjectDetection"; +export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: ObjectDetectionPrimaryMetrics; + taskType: "ImageObjectDetection"; +} + +// @public (undocumented) +export interface ImageObjectDetectionBase extends ImageVertical { + modelSettings?: ImageModelSettingsObjectDetection; + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} + +// @public +export interface ImageSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; +} + +// @public +export type ImageType = string; + +// @public +export interface ImageVertical { + limitSettings: ImageLimitSettings; + sweepSettings?: ImageSweepSettings; + validationData?: MLTableJobInput; + validationDataSize?: number; +} + +// @public +export interface IndexColumn { + columnName?: string; + dataType?: FeatureDataType; +} + +// @public (undocumented) +export interface InferenceContainerProperties { + livenessRoute?: Route; + readinessRoute?: Route; + scoringRoute?: Route; +} + +// @public (undocumented) +export interface InferenceEndpoint extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferenceEndpointProperties; + sku?: Sku; +} + +// @public +export interface InferenceEndpointProperties extends PropertiesBase { + authMode: AuthMode; + readonly endpointUri?: string; + groupName: string; + readonly provisioningState?: PoolProvisioningState; + requestConfiguration?: RequestConfiguration; +} + +// @public +export interface InferenceEndpoints { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, body: InferenceEndpoint, options?: InferenceEndpointsCreateOrUpdateOptionalParams): Promise, InferenceEndpointsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, body: InferenceEndpoint, options?: InferenceEndpointsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, options?: InferenceEndpointsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, options?: InferenceEndpointsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, body: any, options?: InferenceEndpointsUpdateOptionalParams): Promise, InferenceEndpointsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, body: any, options?: InferenceEndpointsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, poolName: string, endpointName: string, options?: InferenceEndpointsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, poolName: string, options?: InferenceEndpointsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface InferenceEndpointsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type InferenceEndpointsCreateOrUpdateResponse = InferenceEndpoint; + +// @public +export interface InferenceEndpointsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface InferenceEndpointsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceEndpointsGetResponse = InferenceEndpoint; + +// @public +export interface InferenceEndpointsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceEndpointsListNextResponse = InferenceEndpointTrackedResourceArmPaginatedResult; + +// @public +export interface InferenceEndpointsListOptionalParams extends coreClient.OperationOptions { + count?: number; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; +} + +// @public +export type InferenceEndpointsListResponse = InferenceEndpointTrackedResourceArmPaginatedResult; + +// @public +export interface InferenceEndpointsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type InferenceEndpointsUpdateResponse = InferenceEndpoint; + +// @public +export interface InferenceEndpointTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: InferenceEndpoint[]; +} + +// @public (undocumented) +export interface InferenceGroup extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferenceGroupProperties; + sku?: Sku; +} + +// @public +export interface InferenceGroupProperties extends PropertiesBase { + environmentConfiguration?: GroupEnvironmentConfiguration; + modelConfiguration?: GroupModelConfiguration; + nodeSkuType?: string; + readonly provisioningState?: PoolProvisioningState; + scaleUnitSize?: number; +} + +// @public +export interface InferenceGroups { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: InferenceGroup, options?: InferenceGroupsCreateOrUpdateOptionalParams): Promise, InferenceGroupsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: InferenceGroup, options?: InferenceGroupsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, options?: InferenceGroupsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, options?: InferenceGroupsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: PartialMinimalTrackedResourceWithSku, options?: InferenceGroupsUpdateOptionalParams): Promise, InferenceGroupsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: PartialMinimalTrackedResourceWithSku, options?: InferenceGroupsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, options?: InferenceGroupsGetOptionalParams): Promise; + getDeltaModelsStatusAsync(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: DeltaModelStatusRequest, options?: InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams): Promise; + getStatus(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, options?: InferenceGroupsGetStatusOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, poolName: string, options?: InferenceGroupsListOptionalParams): PagedAsyncIterableIterator; + listDeltaModelsAsync(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: DeltaModelListRequest, options?: InferenceGroupsListDeltaModelsAsyncOptionalParams): PagedAsyncIterableIterator; + listSkus(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, options?: InferenceGroupsListSkusOptionalParams): PagedAsyncIterableIterator; + modifyDeltaModelsAsync(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: DeltaModelModifyRequest, options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams): Promise; +} + +// @public +export interface InferenceGroupsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type InferenceGroupsCreateOrUpdateResponse = InferenceGroup; + +// @public +export interface InferenceGroupsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceGroupsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsGetDeltaModelsStatusAsyncResponse = DeltaModelStatusResponse; + +// @public +export interface InferenceGroupsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsGetResponse = InferenceGroup; + +// @public +export interface InferenceGroupsGetStatusOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsGetStatusResponse = GroupStatus; + +// @public +export interface InferenceGroupsListDeltaModelsAsyncNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsListDeltaModelsAsyncNextResponse = StringArmPaginatedResult; + +// @public +export interface InferenceGroupsListDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsListDeltaModelsAsyncResponse = StringArmPaginatedResult; + +// @public +export interface InferenceGroupsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsListNextResponse = InferenceGroupTrackedResourceArmPaginatedResult; + +// @public +export interface InferenceGroupsListOptionalParams extends coreClient.OperationOptions { + count?: number; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; +} + +// @public +export type InferenceGroupsListResponse = InferenceGroupTrackedResourceArmPaginatedResult; + +// @public +export interface InferenceGroupsListSkusNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type InferenceGroupsListSkusNextResponse = SkuResourceArmPaginatedResult; + +// @public +export interface InferenceGroupsListSkusOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; +} + +// @public +export type InferenceGroupsListSkusResponse = SkuResourceArmPaginatedResult; + +// @public +export interface InferenceGroupsModifyDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface InferenceGroupsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferenceGroupsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type InferenceGroupsUpdateResponse = InferenceGroup; + +// @public +export interface InferenceGroupTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: InferenceGroup[]; +} + +// @public (undocumented) +export interface InferencePool extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferencePoolProperties; + sku?: Sku; +} + +// @public +export interface InferencePoolProperties extends PropertiesBase { + readonly provisioningState?: PoolProvisioningState; + scaleUnitConfiguration?: ScaleUnitConfiguration; +} + +// @public +export interface InferencePools { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, inferencePoolName: string, body: InferencePool, options?: InferencePoolsCreateOrUpdateOptionalParams): Promise, InferencePoolsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, inferencePoolName: string, body: InferencePool, options?: InferencePoolsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, inferencePoolName: string, options?: InferencePoolsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, inferencePoolName: string, options?: InferencePoolsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, inferencePoolName: string, body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: InferencePoolsUpdateOptionalParams): Promise, InferencePoolsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, inferencePoolName: string, body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: InferencePoolsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, inferencePoolName: string, options?: InferencePoolsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: InferencePoolsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface InferencePoolsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferencePoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type InferencePoolsCreateOrUpdateResponse = InferencePool; + +// @public +export interface InferencePoolsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface InferencePoolsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface InferencePoolsGetOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface ImageObjectDetectionBase extends ImageVertical { - modelSettings?: ImageModelSettingsObjectDetection; - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +// @public +export type InferencePoolsGetResponse = InferencePool; + +// @public +export interface InferencePoolsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageSweepSettings { - earlyTermination?: EarlyTerminationPolicyUnion; - samplingAlgorithm: SamplingAlgorithmType; +export type InferencePoolsListNextResponse = InferencePoolTrackedResourceArmPaginatedResult; + +// @public +export interface InferencePoolsListOptionalParams extends coreClient.OperationOptions { + count?: number; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; } // @public -export type ImageType = string; +export type InferencePoolsListResponse = InferencePoolTrackedResourceArmPaginatedResult; // @public -export interface ImageVertical { - limitSettings: ImageLimitSettings; - sweepSettings?: ImageSweepSettings; - validationData?: MLTableJobInput; - validationDataSize?: number; +export interface InferencePoolsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface IndexColumn { - columnName?: string; - dataType?: FeatureDataType; +export interface InferencePoolsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface InferenceContainerProperties { - livenessRoute?: Route; - readinessRoute?: Route; - scoringRoute?: Route; +// @public +export type InferencePoolsUpdateResponse = InferencePool; + +// @public +export interface InferencePoolTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: InferencePool[]; } // @public @@ -3323,6 +4640,11 @@ export interface InstanceTypeSchemaResources { }; } +// @public +export interface IPRule { + value?: string; +} + // @public export type IsolationMode = string; @@ -3348,7 +4670,7 @@ export interface JobBaseProperties extends ResourceBase { } // @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; +export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | FineTuningJob | PipelineJob | SparkJob | SweepJob; // @public export interface JobBaseResourceArmPaginatedResult { @@ -3398,6 +4720,11 @@ export interface JobResourceConfiguration extends ResourceConfiguration { shmSize?: string; } +// @public (undocumented) +export interface JobResources { + instanceTypes?: string[]; +} + // @public export interface Jobs { beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; @@ -3495,10 +4822,24 @@ export type JobTier = string; // @public export type JobType = string; +// @public +export interface JupyterKernelConfig { + argv?: string[]; + displayName?: string; + language?: string; +} + // @public type KeyType_2 = string; export { KeyType_2 as KeyType } +// @public +export interface KeyVaultProperties { + identityClientId?: string; + keyIdentifier: string; + keyVaultArmId: string; +} + // @public export enum KnownActionType { Internal = "Internal" @@ -3510,6 +4851,13 @@ export enum KnownAllocationState { Steady = "Steady" } +// @public +export enum KnownAllowedContentLevel { + High = "High", + Low = "Low", + Medium = "Medium" +} + // @public export enum KnownApplicationSharingPolicy { Personal = "Personal", @@ -3526,6 +4874,11 @@ export enum KnownAssetProvisioningState { Updating = "Updating" } +// @public +export enum KnownAuthMode { + AAD = "AAD" +} + // @public export enum KnownAutoRebuildSetting { Disabled = "Disabled", @@ -3584,6 +4937,21 @@ export enum KnownCaching { ReadWrite = "ReadWrite" } +// @public +export enum KnownCapabilityHostKind { + Agents = "Agents" +} + +// @public +export enum KnownCapabilityHostProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownCategoricalDataDriftMetric { JensenShannonDistance = "JensenShannonDistance", @@ -3659,6 +5027,7 @@ export enum KnownComputeInstanceState { Creating = "Creating", Deleting = "Deleting", JobRunning = "JobRunning", + Resizing = "Resizing", Restarting = "Restarting", Running = "Running", SettingUp = "SettingUp", @@ -3771,6 +5140,7 @@ export enum KnownConnectionCategory { Dynamics = "Dynamics", DynamicsAx = "DynamicsAx", DynamicsCrm = "DynamicsCrm", + Elasticsearch = "Elasticsearch", Eloqua = "Eloqua", FileServer = "FileServer", FtpServer = "FtpServer", @@ -3790,6 +5160,7 @@ export enum KnownConnectionCategory { Informix = "Informix", Jira = "Jira", Magento = "Magento", + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", MariaDb = "MariaDb", Marketo = "Marketo", MicrosoftAccess = "MicrosoftAccess", @@ -3806,6 +5177,7 @@ export enum KnownConnectionCategory { OracleServiceCloud = "OracleServiceCloud", PayPal = "PayPal", Phoenix = "Phoenix", + Pinecone = "Pinecone", PostgreSql = "PostgreSql", Presto = "Presto", PythonFeed = "PythonFeed", @@ -3918,6 +5290,33 @@ export enum KnownDataType { UriFolder = "uri_folder" } +// @public +export enum KnownDefaultActionType { + Allow = "Allow", + Deny = "Deny" +} + +// @public +export enum KnownDefaultResourceProvisioningState { + Accepted = "Accepted", + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Disabled = "Disabled", + Failed = "Failed", + NotStarted = "NotStarted", + Scaling = "Scaling", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownDeploymentModelVersionUpgradeOption { + NoAutoUpgrade = "NoAutoUpgrade", + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable" +} + // @public export enum KnownDeploymentProvisioningState { Canceled = "Canceled", @@ -3998,7 +5397,18 @@ export enum KnownEndpointServiceConnectionStatus { Approved = "Approved", Disconnected = "Disconnected", Pending = "Pending", - Rejected = "Rejected" + Rejected = "Rejected", + Timeout = "Timeout" +} + +// @public +export enum KnownEndpointType { + AzureContentSafety = "Azure.ContentSafety", + AzureLlama = "Azure.Llama", + AzureOpenAI = "Azure.OpenAI", + AzureSpeech = "Azure.Speech", + ManagedOnlineEndpoint = "managedOnlineEndpoint", + ServerlessEndpoint = "serverlessEndpoint" } // @public @@ -4048,6 +5458,27 @@ export enum KnownFeaturizationMode { Off = "Off" } +// @public +export enum KnownFineTuningTaskType { + ChatCompletion = "ChatCompletion", + ImageClassification = "ImageClassification", + ImageInstanceSegmentation = "ImageInstanceSegmentation", + ImageObjectDetection = "ImageObjectDetection", + QuestionAnswering = "QuestionAnswering", + TextClassification = "TextClassification", + TextCompletion = "TextCompletion", + TextSummarization = "TextSummarization", + TextTranslation = "TextTranslation", + TokenClassification = "TokenClassification", + VideoMultiObjectTracking = "VideoMultiObjectTracking" +} + +// @public +export enum KnownFirewallSku { + Basic = "Basic", + Standard = "Standard" +} + // @public export enum KnownForecastHorizonMode { Auto = "Auto", @@ -4184,6 +5615,7 @@ export enum KnownJobTier { export enum KnownJobType { AutoML = "AutoML", Command = "Command", + FineTuning = "FineTuning", Pipeline = "Pipeline", Spark = "Spark", Sweep = "Sweep" @@ -4231,6 +5663,20 @@ export enum KnownManagedNetworkStatus { Inactive = "Inactive" } +// @public +export enum KnownManagedPERequirement { + NotApplicable = "NotApplicable", + NotRequired = "NotRequired", + Required = "Required" +} + +// @public +export enum KnownManagedPEStatus { + Active = "Active", + Inactive = "Inactive", + NotApplicable = "NotApplicable" +} + // @public export enum KnownManagedServiceIdentityType { None = "None", @@ -4264,6 +5710,24 @@ export enum KnownMaterializationStoreType { OnlineAndOffline = "OnlineAndOffline" } +// @public +export enum KnownMlflowAutologger { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownModelLifecycleStatus { + GenerallyAvailable = "GenerallyAvailable", + Preview = "Preview" +} + +// @public +export enum KnownModelProvider { + AzureOpenAI = "AzureOpenAI", + Custom = "Custom" +} + // @public export enum KnownModelSize { ExtraLarge = "ExtraLarge", @@ -4330,6 +5794,12 @@ export enum KnownMountAction { Unmount = "Unmount" } +// @public +export enum KnownMountMode { + ReadOnly = "ReadOnly", + ReadWrite = "ReadWrite" +} + // @public export enum KnownMountState { Mounted = "Mounted", @@ -4411,6 +5881,7 @@ export enum KnownOperationName { Create = "Create", Delete = "Delete", Reimage = "Reimage", + Resize = "Resize", Restart = "Restart", Start = "Start", Stop = "Stop" @@ -4422,6 +5893,7 @@ export enum KnownOperationStatus { DeleteFailed = "DeleteFailed", InProgress = "InProgress", ReimageFailed = "ReimageFailed", + ResizeFailed = "ResizeFailed", RestartFailed = "RestartFailed", StartFailed = "StartFailed", StopFailed = "StopFailed", @@ -4463,6 +5935,15 @@ export enum KnownOutputDeliveryMode { Upload = "Upload" } +// @public +export enum KnownPatchStatus { + CompletedWithWarnings = "CompletedWithWarnings", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded", + Unknown = "Unknown" +} + // @public export enum KnownPendingUploadCredentialType { SAS = "SAS" @@ -4475,20 +5956,21 @@ export enum KnownPendingUploadType { } // @public -export enum KnownPrivateEndpointConnectionProvisioningState { +export enum KnownPoolProvisioningState { + Canceled = "Canceled", Creating = "Creating", Deleting = "Deleting", Failed = "Failed", - Succeeded = "Succeeded" + Succeeded = "Succeeded", + Updating = "Updating" } // @public -export enum KnownPrivateEndpointServiceConnectionStatus { - Approved = "Approved", - Disconnected = "Disconnected", - Pending = "Pending", - Rejected = "Rejected", - Timeout = "Timeout" +export enum KnownPrivateEndpointConnectionProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded" } // @public @@ -4516,12 +5998,6 @@ export enum KnownProvisioningStatus { Provisioning = "Provisioning" } -// @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} - // @public export enum KnownPublicNetworkAccessType { Disabled = "Disabled", @@ -4533,6 +6009,25 @@ export enum KnownQuotaUnit { Count = "Count" } +// @public +export enum KnownRaiPolicyContentSource { + Completion = "Completion", + Prompt = "Prompt" +} + +// @public +export enum KnownRaiPolicyMode { + Blocking = "Blocking", + Default = "Default", + Deferred = "Deferred" +} + +// @public +export enum KnownRaiPolicyType { + SystemManaged = "SystemManaged", + UserManaged = "UserManaged" +} + // @public export enum KnownRandomSamplingAlgorithmRule { Random = "Random", @@ -4702,6 +6197,12 @@ export enum KnownServerlessInferenceEndpointAuthMode { Key = "Key" } +// @public +export enum KnownServiceAccountKeyName { + Key1 = "Key1", + Key2 = "Key2" +} + // @public export enum KnownServiceDataAccessAuthIdentity { None = "None", @@ -4788,6 +6289,13 @@ export enum KnownStorageAccountType { StandardLRS = "Standard_LRS" } +// @public +export enum KnownSystemDatastoresAuthMode { + AccessKey = "AccessKey", + Identity = "Identity", + UserDelegationSAS = "UserDelegationSAS" +} + // @public export enum KnownTargetAggregationFunction { Max = "Max", @@ -4860,11 +6368,6 @@ export enum KnownValidationMetricType { Voc = "Voc" } -// @public -export enum KnownValueFormat { - Json = "JSON" -} - // @public export enum KnownVMPriceOSType { Linux = "Linux", @@ -4975,10 +6478,12 @@ export type ListViewType = string; // @public (undocumented) export interface ListWorkspaceKeysResult { readonly appInsightsInstrumentationKey?: string; - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - readonly notebookAccessKeys?: ListNotebookKeysResult; + // (undocumented) + containerRegistryCredentials?: RegistryListCredentialsResult; + // (undocumented) + notebookAccessKeys?: ListNotebookKeysResult; + readonly userStorageArmId?: string; readonly userStorageKey?: string; - readonly userStorageResourceId?: string; } // @public @@ -5067,6 +6572,8 @@ export interface ManagedNetworkProvisionStatus { // @public export interface ManagedNetworkSettings { + readonly changeableIsolationModes?: IsolationMode[]; + firewallSku?: FirewallSku; isolationMode?: IsolationMode; readonly networkId?: string; outboundRules?: { @@ -5103,6 +6610,7 @@ export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasic // @public export interface ManagedNetworkSettingsRuleDeleteHeaders { location?: string; + retryAfter?: number; } // @public @@ -5140,6 +6648,48 @@ export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { endpointComputeType: "Managed"; } +// @public (undocumented) +export interface ManagedOnlineEndpointDeploymentResourceProperties extends EndpointDeploymentResourceProperties { + endpointComputeType?: EndpointComputeType; + // (undocumented) + model?: string; + type: "managedOnlineEndpoint"; +} + +// @public (undocumented) +export interface ManagedOnlineEndpointResourceProperties extends EndpointResourceProperties { + authMode?: EndpointAuthMode; + // (undocumented) + compute?: string; + // (undocumented) + description?: string; + endpointType: "managedOnlineEndpoint"; + mirrorTraffic?: { + [propertyName: string]: number; + }; + // (undocumented) + scoringUri?: string; + traffic?: { + [propertyName: string]: number; + }; +} + +// @public +export type ManagedPERequirement = string; + +// @public +export type ManagedPEStatus = string; + +// @public +export interface ManagedResourceGroupAssignedIdentities { + readonly principalId?: string; +} + +// @public +export interface ManagedResourceGroupSettings { + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + // @public export interface ManagedServiceIdentity { readonly principalId?: string; @@ -5272,6 +6822,9 @@ export interface MedianStoppingPolicy extends EarlyTerminationPolicy { policyType: "MedianStopping"; } +// @public +export type MlflowAutologger = string; + // @public (undocumented) export interface MLFlowModelJobInput extends AssetJobInput, JobInput { jobInputType: "mlflow_model"; @@ -5357,6 +6910,12 @@ export interface ModelContainersListOptionalParams extends coreClient.OperationO // @public export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; +// @public +export type ModelLifecycleStatus = string; + +// @public +export type ModelProvider = string; + // @public (undocumented) export interface ModelSettings { modelId?: string; @@ -5569,6 +7128,9 @@ export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurati // @public export type MountAction = string; +// @public +export type MountMode = string; + // @public export type MountState = string; @@ -5592,6 +7154,12 @@ export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | // @public export type Network = string; +// @public (undocumented) +export interface NetworkAcls { + defaultAction?: DefaultActionType; + ipRules?: IPRule[]; +} + // @public export interface NlpVertical { featurizationSettings?: NlpVerticalFeaturizationSettings; @@ -5668,6 +7236,8 @@ export interface NotebookPreparationError { export interface NotebookResourceInfo { // (undocumented) fqdn?: string; + // (undocumented) + isPrivateLinkEnabled?: boolean; notebookPreparationError?: NotebookPreparationError; resourceId?: string; } @@ -6038,6 +7608,16 @@ export interface OnlineScaleSettings { // @public (undocumented) export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; +// @public (undocumented) +export interface OpenAIEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.OpenAI"; +} + +// @public (undocumented) +export interface OpenAIEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.OpenAI"; +} + // @public export type OperatingSystemType = string; @@ -6091,17 +7671,27 @@ export type OrderString = string; // @public export type Origin = string; +// @public +export interface OsPatchingStatus { + latestPatchTime?: string; + osPatchingErrors?: ErrorResponse[]; + patchStatus?: PatchStatus; + rebootPending?: boolean; + scheduledRebootTime?: string; +} + // @public export type OsType = string; // @public export interface OutboundRule { category?: RuleCategory; + readonly parentRuleNames?: string[]; status?: RuleStatus; - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; } -// @public +// @public (undocumented) export interface OutboundRuleBasicResource extends Resource { properties: OutboundRuleUnion; } @@ -6113,7 +7703,7 @@ export interface OutboundRuleListResult { } // @public (undocumented) -export type OutboundRuleUnion = OutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule | FqdnOutboundRule; +export type OutboundRuleUnion = OutboundRule | FqdnOutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule; // @public export type OutputDeliveryMode = string; @@ -6206,6 +7796,9 @@ export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConne credentials?: WorkspaceConnectionPersonalAccessToken; } +// @public +export type PatchStatus = string; + // @public (undocumented) export interface PendingUploadCredentialDto { credentialType: "SAS"; @@ -6254,6 +7847,9 @@ export interface PipelineJob extends JobBaseProperties { sourceJobId?: string; } +// @public +export type PoolProvisioningState = string; + // @public (undocumented) export interface PredictionDriftMetricThresholdBase { dataType: "Categorical" | "Numerical"; @@ -6283,9 +7879,9 @@ export interface PrivateEndpoint { export interface PrivateEndpointConnection extends Resource { identity?: ManagedServiceIdentity; location?: string; - privateEndpoint?: PrivateEndpoint; + privateEndpoint?: WorkspacePrivateEndpointResource; privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + provisioningState?: PrivateEndpointConnectionProvisioningState; sku?: Sku; tags?: { [propertyName: string]: string; @@ -6302,7 +7898,7 @@ export type PrivateEndpointConnectionProvisioningState = string; // @public export interface PrivateEndpointConnections { - createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, body: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator; @@ -6347,6 +7943,8 @@ export interface PrivateEndpointDestination { // @public export interface PrivateEndpointOutboundRule extends OutboundRule { destination?: PrivateEndpointDestination; + // (undocumented) + fqdns?: string[]; type: "PrivateEndpoint"; } @@ -6355,15 +7953,12 @@ export interface PrivateEndpointResource extends PrivateEndpoint { subnetArmId?: string; } -// @public -export type PrivateEndpointServiceConnectionStatus = string; - // @public export interface PrivateLinkResource extends Resource { - readonly groupId?: string; + groupId?: string; identity?: ManagedServiceIdentity; location?: string; - readonly requiredMembers?: string[]; + requiredMembers?: string[]; requiredZoneNames?: string[]; sku?: Sku; tags?: { @@ -6373,12 +7968,13 @@ export interface PrivateLinkResource extends Resource { // @public export interface PrivateLinkResourceListResult { + // (undocumented) value?: PrivateLinkResource[]; } // @public export interface PrivateLinkResources { - list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator; } // @public @@ -6392,7 +7988,7 @@ export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; export interface PrivateLinkServiceConnectionState { actionsRequired?: string; description?: string; - status?: PrivateEndpointServiceConnectionStatus; + status?: EndpointServiceConnectionStatus; } // @public @@ -6404,6 +8000,12 @@ export interface ProbeSettings { timeout?: string; } +// @public +export interface PropertiesBase { + description?: string; + properties?: StringKeyValuePair[]; +} + // @public export type Protocol = string; @@ -6417,9 +8019,6 @@ export type ProvisioningStatus = string; export interface ProxyResource extends Resource { } -// @public -export type PublicNetworkAccess = string; - // @public export type PublicNetworkAccessType = string; @@ -6478,6 +8077,162 @@ export interface QuotaUpdateParameters { value?: QuotaBaseProperties[]; } +// @public +export interface RaiBlocklistConfig { + blocking?: boolean; + blocklistName?: string; +} + +// @public +export interface RaiBlocklistItemBulkRequest { + // (undocumented) + name?: string; + properties?: RaiBlocklistItemProperties; +} + +// @public +export interface RaiBlocklistItemProperties { + isRegex?: boolean; + pattern?: string; +} + +// @public (undocumented) +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + properties: RaiBlocklistItemProperties; +} + +// @public (undocumented) +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiBlocklistItemPropertiesBasicResource[]; +} + +// @public +export interface RaiBlocklistProperties { + description?: string; +} + +// @public (undocumented) +export interface RaiBlocklistPropertiesBasicResource extends Resource { + properties: RaiBlocklistProperties; +} + +// @public (undocumented) +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiBlocklistPropertiesBasicResource[]; +} + +// @public +export interface RaiPolicies { + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: RaiPoliciesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface RaiPoliciesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type RaiPoliciesListNextResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} + +// @public +export type RaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +// @public +export interface RaiPolicy { + beginCreate(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams): Promise, RaiPolicyCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams): Promise, RaiPolicyDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyGetOptionalParams): Promise; +} + +// @public +export interface RaiPolicyContentFilter { + allowedContentLevel?: AllowedContentLevel; + blocking?: boolean; + enabled?: boolean; + name?: string; + source?: RaiPolicyContentSource; +} + +// @public +export type RaiPolicyContentSource = string; + +// @public +export interface RaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +// @public +export interface RaiPolicyDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; + +// @public +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; + +// @public +export type RaiPolicyMode = string; + +// @public +export interface RaiPolicyProperties { + basePolicyName?: string; + // (undocumented) + completionBlocklists?: RaiBlocklistConfig[]; + // (undocumented) + contentFilters?: RaiPolicyContentFilter[]; + mode?: RaiPolicyMode; + // (undocumented) + promptBlocklists?: RaiBlocklistConfig[]; + type?: RaiPolicyType; +} + +// @public +export interface RaiPolicyPropertiesBasicResource extends Resource { + properties: RaiPolicyProperties; +} + +// @public +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiPolicyPropertiesBasicResource[]; +} + +// @public +export type RaiPolicyType = string; + // @public export interface RandomSamplingAlgorithm extends SamplingAlgorithm { rule?: RandomSamplingAlgorithmRule; @@ -6525,6 +8280,12 @@ export interface RegenerateEndpointKeysRequest { keyValue?: string; } +// @public (undocumented) +export interface RegenerateServiceAccountKeyContent { + // (undocumented) + keyName?: ServiceAccountKeyName; +} + // @public export interface Registries { beginCreateOrUpdate(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise, RegistriesCreateOrUpdateResponse>>; @@ -6626,6 +8387,7 @@ export interface Registry extends TrackedResource { intellectualPropertyPublisher?: string; kind?: string; managedResourceGroup?: ArmResourceId; + managedResourceGroupSettings?: ManagedResourceGroupSettings; mlFlowRegistryUri?: string; publicNetworkAccess?: string; regionDetails?: RegistryRegionArmDetails[]; @@ -7354,11 +9116,22 @@ export interface RegressionTrainingSettings extends TrainingSettings { // @public export type RemoteLoginPortPublicAccess = string; +// @public +export interface RequestConfiguration { + maxConcurrentRequestsPerInstance?: number; + requestTimeout?: string; +} + // @public (undocumented) export interface RequestLogging { captureHeaders?: string[]; } +// @public +export interface ResizeSchema { + targetVMSize?: string; +} + // @public export interface Resource { readonly id?: string; @@ -7494,6 +9267,12 @@ export interface ScaleSettingsInformation { // @public export type ScaleType = string; +// @public +export interface ScaleUnitConfiguration { + disablePublicEgress?: boolean; + registries?: string[]; +} + // @public export interface Schedule extends ProxyResource { properties: ScheduleProperties; @@ -7630,6 +9409,12 @@ export type SeasonalityMode = string; // @public (undocumented) export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality; +// @public +export interface SecretExpiry { + expirableSecret?: boolean; + expireAfterHours?: number; +} + // @public export type SecretsType = string; @@ -7647,6 +9432,34 @@ export interface ServerlessEndpoint extends TrackedResource { sku?: Sku; } +// @public (undocumented) +export interface ServerlessEndpointCapacityReservation { + // (undocumented) + capacityReservationGroupId: string; + // (undocumented) + endpointReservedCapacity?: number; +} + +// @public (undocumented) +export interface ServerlessEndpointContentSafety { + contentSafetyStatus: ContentSafetyStatus; +} + +// @public (undocumented) +export interface ServerlessEndpointInferenceEndpoint { + readonly headers?: { + [propertyName: string]: string; + }; + // (undocumented) + uri: string; +} + +// @public (undocumented) +export interface ServerlessEndpointModelSettings { + // (undocumented) + modelId: string; +} + // @public (undocumented) export interface ServerlessEndpointProperties { authMode: ServerlessInferenceEndpointAuthMode; @@ -7658,6 +9471,27 @@ export interface ServerlessEndpointProperties { readonly provisioningState?: EndpointProvisioningState; } +// @public (undocumented) +export interface ServerlessEndpointResourceProperties extends EndpointResourceProperties { + // (undocumented) + authMode?: ServerlessInferenceEndpointAuthMode; + // (undocumented) + capacityReservation?: ServerlessEndpointCapacityReservation; + // (undocumented) + contentSafety?: ServerlessEndpointContentSafety; + endpointState?: ServerlessEndpointState; + endpointType: "serverlessEndpoint"; + // (undocumented) + inferenceEndpoint?: ServerlessEndpointInferenceEndpoint; + // (undocumented) + marketplaceSubscriptionId?: string; + metadata?: any; + // (undocumented) + modelSettings?: ServerlessEndpointModelSettings; + // (undocumented) + offer?: ServerlessOffer; +} + // @public export interface ServerlessEndpoints { beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ServerlessEndpoint, options?: ServerlessEndpointsCreateOrUpdateOptionalParams): Promise, ServerlessEndpointsCreateOrUpdateResponse>>; @@ -7784,11 +9618,23 @@ export interface ServerlessInferenceEndpoint { // @public export type ServerlessInferenceEndpointAuthMode = string; +// @public (undocumented) +export interface ServerlessOffer { + // (undocumented) + offerName: string; + // (undocumented) + publisher: string; +} + +// @public +export type ServiceAccountKeyName = string; + // @public export type ServiceDataAccessAuthIdentity = string; // @public (undocumented) export interface ServiceManagedResourcesSettings { + // (undocumented) cosmosDb?: CosmosDbSettings; } @@ -7818,7 +9664,7 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { // @public export interface ServiceTagDestination { action?: RuleAction; - readonly addressPrefixes?: string[]; + addressPrefixes?: string[]; // (undocumented) portRanges?: string; // (undocumented) @@ -7844,7 +9690,7 @@ export interface SharedPrivateLinkResource { name?: string; privateLinkResourceId?: string; requestMessage?: string; - status?: PrivateEndpointServiceConnectionStatus; + status?: EndpointServiceConnectionStatus; } // @public @@ -7951,6 +9797,16 @@ export interface SparkResourceConfiguration { runtimeVersion?: string; } +// @public (undocumented) +export interface SpeechEndpointDeploymentResourceProperties extends CognitiveServiceEndpointDeploymentResourceProperties, EndpointDeploymentResourceProperties { + type: "Azure.Speech"; +} + +// @public (undocumented) +export interface SpeechEndpointResourceProperties extends EndpointResourceProperties { + endpointType: "Azure.Speech"; +} + // @public export type SshPublicAccess = string; @@ -8000,6 +9856,20 @@ export interface StorageAccountDetails { // @public export type StorageAccountType = string; +// @public +export interface StringArmPaginatedResult { + nextLink?: string; + value?: string[]; +} + +// @public (undocumented) +export interface StringKeyValuePair { + // (undocumented) + key?: string; + // (undocumented) + value?: string; +} + // @public export interface SweepJob extends JobBaseProperties { earlyTermination?: EarlyTerminationPolicyUnion; @@ -8073,6 +9943,9 @@ export interface SystemData { lastModifiedByType?: CreatedByType; } +// @public +export type SystemDatastoresAuthMode = string; + // @public export interface SystemService { readonly publicIpAddress?: string; @@ -8179,7 +10052,7 @@ export interface TextNer extends NlpVertical, AutoMLVertical { taskType: "TextNER"; } -// @public +// @public (undocumented) export interface TmpfsOptions { size?: number; } @@ -8382,9 +10255,6 @@ export type UseStl = string; // @public export type ValidationMetricType = string; -// @public -export type ValueFormat = string; - // @public export interface VirtualMachine extends Compute, VirtualMachineSchema { computeType: "VirtualMachine"; @@ -8470,7 +10340,7 @@ export type VmPriority = string; // @public export type VMTier = string; -// @public +// @public (undocumented) export interface VolumeDefinition { bind?: BindOptions; consistency?: string; @@ -8485,7 +10355,7 @@ export interface VolumeDefinition { // @public export type VolumeDefinitionType = string; -// @public +// @public (undocumented) export interface VolumeOptions { nocopy?: boolean; } @@ -8507,16 +10377,27 @@ export type WeekDay = string; // @public export interface Workspace extends Resource { + readonly agentsEndpointUri?: string; allowPublicAccessWhenBehindVnet?: boolean; + allowRoleAssignmentOnRG?: boolean; applicationInsights?: string; // (undocumented) associatedWorkspaces?: string[]; + // (undocumented) + containerRegistries?: string[]; containerRegistry?: string; description?: string; discoveryUrl?: string; // (undocumented) enableDataIsolation?: boolean; + // (undocumented) + enableServiceSideCMKEncryption?: boolean; + enableSimplifiedCmk?: boolean; + enableSoftwareBillOfMaterials?: boolean; + // (undocumented) encryption?: EncryptionProperty; + // (undocumented) + existingWorkspaces?: string[]; featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; hbiWorkspace?: boolean; @@ -8524,25 +10405,35 @@ export interface Workspace extends Resource { hubResourceId?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; + ipAllowlist?: string[]; keyVault?: string; // (undocumented) + keyVaults?: string[]; + // (undocumented) kind?: string; + // (undocumented) location?: string; managedNetwork?: ManagedNetworkSettings; readonly mlFlowTrackingUri?: string; + networkAcls?: NetworkAcls; readonly notebookInfo?: NotebookResourceInfo; primaryUserAssignedIdentity?: string; readonly privateEndpointConnections?: PrivateEndpointConnection[]; readonly privateLinkCount?: number; readonly provisioningState?: ProvisioningState; - publicNetworkAccess?: PublicNetworkAccess; + provisionNetworkNow?: boolean; + publicNetworkAccess?: PublicNetworkAccessType; serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; readonly serviceProvisionedResourceGroup?: string; sharedPrivateLinkResources?: SharedPrivateLinkResource[]; sku?: Sku; + softDeleteRetentionInDays?: number; storageAccount?: string; + // (undocumented) + storageAccounts?: string[]; readonly storageHnsEnabled?: boolean; + systemDatastoresAuthMode?: SystemDatastoresAuthMode; tags?: { [propertyName: string]: string; }; @@ -8560,7 +10451,7 @@ export interface WorkspaceConnectionAccessKey { secretAccessKey?: string; } -// @public (undocumented) +// @public export interface WorkspaceConnectionAccountKey { // (undocumented) key?: string; @@ -8602,10 +10493,12 @@ export interface WorkspaceConnectionPersonalAccessToken { // @public (undocumented) export interface WorkspaceConnectionPropertiesV2 { - authType: "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity" | "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "OAuth2" | "ServicePrincipal"; + authType: "AAD" | "AccessKey" | "AccountKey" | "ApiKey" | "CustomKeys" | "ManagedIdentity" | "None" | "OAuth2" | "PAT" | "SAS" | "ServicePrincipal" | "UsernamePassword"; category?: ConnectionCategory; readonly createdByWorkspaceArmId?: string; // (undocumented) + error?: string; + // (undocumented) expiryTime?: Date; readonly group?: ConnectionGroup; // (undocumented) @@ -8614,11 +10507,15 @@ export interface WorkspaceConnectionPropertiesV2 { [propertyName: string]: string; }; // (undocumented) + peRequirement?: ManagedPERequirement; + // (undocumented) + peStatus?: ManagedPEStatus; + // (undocumented) sharedUserList?: string[]; // (undocumented) target?: string; - value?: string; - valueFormat?: ValueFormat; + // (undocumented) + useWorkspaceManagedIdentity?: boolean; } // @public (undocumented) @@ -8629,29 +10526,30 @@ export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { // @public (undocumented) export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - readonly nextLink?: string; + // (undocumented) + nextLink?: string; // (undocumented) value?: WorkspaceConnectionPropertiesV2BasicResource[]; } // @public (undocumented) -export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties | AADAuthTypeWorkspaceConnectionProperties | AccessKeyAuthTypeWorkspaceConnectionProperties | AccountKeyAuthTypeWorkspaceConnectionProperties | ApiKeyAuthWorkspaceConnectionProperties | CustomKeysWorkspaceConnectionProperties | OAuth2AuthTypeWorkspaceConnectionProperties | ServicePrincipalAuthTypeWorkspaceConnectionProperties; +export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | AADAuthTypeWorkspaceConnectionProperties | AccessKeyAuthTypeWorkspaceConnectionProperties | AccountKeyAuthTypeWorkspaceConnectionProperties | ApiKeyAuthWorkspaceConnectionProperties | CustomKeysWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | OAuth2AuthTypeWorkspaceConnectionProperties | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | ServicePrincipalAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties; // @public export interface WorkspaceConnections { - // (undocumented) - create(resourceGroupName: string, workspaceName: string, connectionName: string, parameters: WorkspaceConnectionPropertiesV2BasicResource, options?: WorkspaceConnectionsCreateOptionalParams): Promise; - // (undocumented) + beginTestConnection(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsTestConnectionOptionalParams): Promise, WorkspaceConnectionsTestConnectionResponse>>; + beginTestConnectionAndWait(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsTestConnectionOptionalParams): Promise; + create(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsCreateOptionalParams): Promise; delete(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsDeleteOptionalParams): Promise; - // (undocumented) get(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsGetOptionalParams): Promise; - // (undocumented) list(resourceGroupName: string, workspaceName: string, options?: WorkspaceConnectionsListOptionalParams): PagedAsyncIterableIterator; listSecrets(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams): Promise; + update(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsUpdateOptionalParams): Promise; } // @public export interface WorkspaceConnectionsCreateOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionPropertiesV2BasicResource; } // @public @@ -8694,6 +10592,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties // @public export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { category?: string; + includeAll?: boolean; target?: string; } @@ -8707,6 +10606,35 @@ export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClien // @public export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; +// @public +export interface WorkspaceConnectionsTestConnectionHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface WorkspaceConnectionsTestConnectionOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionPropertiesV2BasicResource; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type WorkspaceConnectionsTestConnectionResponse = WorkspaceConnectionsTestConnectionHeaders; + +// @public +export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions { + body?: WorkspaceConnectionUpdateParameter; +} + +// @public +export type WorkspaceConnectionsUpdateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +// @public +export interface WorkspaceConnectionUpdateParameter { + properties?: WorkspaceConnectionPropertiesV2Union; +} + // @public (undocumented) export interface WorkspaceConnectionUsernamePassword { // (undocumented) @@ -8749,10 +10677,16 @@ export interface WorkspaceListResult { value?: Workspace[]; } +// @public +export interface WorkspacePrivateEndpointResource { + readonly id?: string; + readonly subnetArmId?: string; +} + // @public export interface Workspaces { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, body: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise, WorkspacesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, body: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise; beginDiagnose(resourceGroupName: string, workspaceName: string, options?: WorkspacesDiagnoseOptionalParams): Promise, WorkspacesDiagnoseResponse>>; @@ -8761,8 +10695,8 @@ export interface Workspaces { beginPrepareNotebookAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams): Promise; beginResyncKeys(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise, void>>; beginResyncKeysAndWait(resourceGroupName: string, workspaceName: string, options?: WorkspacesResyncKeysOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise, WorkspacesUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise; get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; @@ -8788,6 +10722,12 @@ export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.Opera // @public export type WorkspacesCreateOrUpdateResponse = Workspace; +// @public +export interface WorkspacesDeleteHeaders { + location?: string; + retryAfter?: number; +} + // @public export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions { forceToPurge?: boolean; @@ -8803,7 +10743,7 @@ export interface WorkspacesDiagnoseHeaders { // @public export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { - parameters?: DiagnoseWorkspaceParameters; + body?: DiagnoseWorkspaceParameters; resumeFrom?: string; updateIntervalInMs?: number; } @@ -8827,6 +10767,9 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; // @public export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8842,6 +10785,9 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; // @public export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8910,12 +10856,6 @@ export interface WorkspacesResyncKeysOptionalParams extends coreClient.Operation updateIntervalInMs?: number; } -// @public -export interface WorkspacesUpdateHeaders { - location?: string; - retryAfter?: number; -} - // @public export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -8927,23 +10867,30 @@ export type WorkspacesUpdateResponse = Workspace; // @public export interface WorkspaceUpdateParameters { + // (undocumented) + allowRoleAssignmentOnRG?: boolean; applicationInsights?: string; containerRegistry?: string; description?: string; // (undocumented) enableDataIsolation?: boolean; + enableSoftwareBillOfMaterials?: boolean; // (undocumented) encryption?: EncryptionUpdateProperties; featureStoreSettings?: FeatureStoreSettings; friendlyName?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; + ipAllowlist?: string[]; managedNetwork?: ManagedNetworkSettings; + networkAcls?: NetworkAcls; primaryUserAssignedIdentity?: string; - publicNetworkAccess?: PublicNetworkAccess; + publicNetworkAccess?: PublicNetworkAccessType; serverlessComputeSettings?: ServerlessComputeSettings; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; sku?: Sku; + softDeleteRetentionInDays?: number; + systemDatastoresAuthMode?: SystemDatastoresAuthMode; tags?: { [propertyName: string]: string; }; diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts similarity index 79% rename from sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts rename to sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts index c23752c7fa1d..d3e666765b1a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesMgmtClient.ts @@ -15,17 +15,10 @@ import { } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - OperationsImpl, - WorkspacesImpl, UsagesImpl, VirtualMachineSizesImpl, QuotasImpl, ComputeOperationsImpl, - PrivateEndpointConnectionsImpl, - PrivateLinkResourcesImpl, - WorkspaceConnectionsImpl, - ManagedNetworkSettingsRuleImpl, - ManagedNetworkProvisionsImpl, RegistryCodeContainersImpl, RegistryCodeVersionsImpl, RegistryComponentContainersImpl, @@ -39,6 +32,7 @@ import { RegistryModelVersionsImpl, BatchEndpointsImpl, BatchDeploymentsImpl, + CapabilityHostsImpl, CodeContainersImpl, CodeVersionsImpl, ComponentContainersImpl, @@ -53,6 +47,9 @@ import { FeaturesetVersionsImpl, FeaturestoreEntityContainersImpl, FeaturestoreEntityVersionsImpl, + InferencePoolsImpl, + InferenceEndpointsImpl, + InferenceGroupsImpl, JobsImpl, MarketplaceSubscriptionsImpl, ModelContainersImpl, @@ -63,19 +60,30 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + WorkspaceConnectionsImpl, + ConnectionImpl, + ConnectionRaiBlocklistsImpl, + ConnectionRaiBlocklistImpl, + ConnectionRaiBlocklistItemImpl, + ConnectionRaiBlocklistItemsImpl, + ConnectionRaiPoliciesImpl, + ConnectionRaiPolicyImpl, + EndpointDeploymentImpl, + EndpointOperationsImpl, + RaiPoliciesImpl, + RaiPolicyImpl, + ManagedNetworkSettingsRuleImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + ManagedNetworkProvisionsImpl, } from "./operations"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -89,6 +97,7 @@ import { RegistryModelVersions, BatchEndpoints, BatchDeployments, + CapabilityHosts, CodeContainers, CodeVersions, ComponentContainers, @@ -103,6 +112,9 @@ import { FeaturesetVersions, FeaturestoreEntityContainers, FeaturestoreEntityVersions, + InferencePools, + InferenceEndpoints, + InferenceGroups, Jobs, MarketplaceSubscriptions, ModelContainers, @@ -113,16 +125,34 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + WorkspaceConnections, + Connection, + ConnectionRaiBlocklists, + ConnectionRaiBlocklist, + ConnectionRaiBlocklistItem, + ConnectionRaiBlocklistItems, + ConnectionRaiPolicies, + ConnectionRaiPolicy, + EndpointDeployment, + EndpointOperations, + RaiPolicies, + RaiPolicy, + ManagedNetworkSettingsRule, + PrivateEndpointConnections, + PrivateLinkResources, + ManagedNetworkProvisions, } from "./operationsInterfaces"; -import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models"; +import { AzureMachineLearningServicesMgmtClientOptionalParams } from "./models"; -export class AzureMachineLearningServicesManagementClient extends coreClient.ServiceClient { +export class AzureMachineLearningServicesMgmtClient extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; /** - * Initializes a new instance of the AzureMachineLearningServicesManagementClient class. + * Initializes a new instance of the AzureMachineLearningServicesMgmtClient class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The ID of the target subscription. * @param options The parameter options @@ -130,7 +160,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: AzureMachineLearningServicesManagementClientOptionalParams, + options?: AzureMachineLearningServicesMgmtClientOptionalParams, ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -143,13 +173,12 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser if (!options) { options = {}; } - const defaults: AzureMachineLearningServicesManagementClientOptionalParams = - { - requestContentType: "application/json; charset=utf-8", - credential: credentials, - }; + const defaults: AzureMachineLearningServicesMgmtClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials, + }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/4.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -203,18 +232,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-04-01"; - this.operations = new OperationsImpl(this); - this.workspaces = new WorkspacesImpl(this); + this.apiVersion = options.apiVersion || "2024-10-01-preview"; this.usages = new UsagesImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); this.quotas = new QuotasImpl(this); this.computeOperations = new ComputeOperationsImpl(this); - this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); - this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.workspaceConnections = new WorkspaceConnectionsImpl(this); - this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); - this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.registryCodeContainers = new RegistryCodeContainersImpl(this); this.registryCodeVersions = new RegistryCodeVersionsImpl(this); this.registryComponentContainers = new RegistryComponentContainersImpl( @@ -234,6 +256,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); this.batchDeployments = new BatchDeploymentsImpl(this); + this.capabilityHosts = new CapabilityHostsImpl(this); this.codeContainers = new CodeContainersImpl(this); this.codeVersions = new CodeVersionsImpl(this); this.componentContainers = new ComponentContainersImpl(this); @@ -250,6 +273,9 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this, ); this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this); + this.inferencePools = new InferencePoolsImpl(this); + this.inferenceEndpoints = new InferenceEndpointsImpl(this); + this.inferenceGroups = new InferenceGroupsImpl(this); this.jobs = new JobsImpl(this); this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this); this.modelContainers = new ModelContainersImpl(this); @@ -260,6 +286,26 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.serverlessEndpoints = new ServerlessEndpointsImpl(this); this.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); + this.operations = new OperationsImpl(this); + this.workspaces = new WorkspacesImpl(this); + this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.connection = new ConnectionImpl(this); + this.connectionRaiBlocklists = new ConnectionRaiBlocklistsImpl(this); + this.connectionRaiBlocklist = new ConnectionRaiBlocklistImpl(this); + this.connectionRaiBlocklistItem = new ConnectionRaiBlocklistItemImpl(this); + this.connectionRaiBlocklistItems = new ConnectionRaiBlocklistItemsImpl( + this, + ); + this.connectionRaiPolicies = new ConnectionRaiPoliciesImpl(this); + this.connectionRaiPolicy = new ConnectionRaiPolicyImpl(this); + this.endpointDeployment = new EndpointDeploymentImpl(this); + this.endpointOperations = new EndpointOperationsImpl(this); + this.raiPolicies = new RaiPoliciesImpl(this); + this.raiPolicy = new RaiPolicyImpl(this); + this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); + this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -291,17 +337,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; @@ -315,6 +354,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser registryModelVersions: RegistryModelVersions; batchEndpoints: BatchEndpoints; batchDeployments: BatchDeployments; + capabilityHosts: CapabilityHosts; codeContainers: CodeContainers; codeVersions: CodeVersions; componentContainers: ComponentContainers; @@ -329,6 +369,9 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser featuresetVersions: FeaturesetVersions; featurestoreEntityContainers: FeaturestoreEntityContainers; featurestoreEntityVersions: FeaturestoreEntityVersions; + inferencePools: InferencePools; + inferenceEndpoints: InferenceEndpoints; + inferenceGroups: InferenceGroups; jobs: Jobs; marketplaceSubscriptions: MarketplaceSubscriptions; modelContainers: ModelContainers; @@ -339,4 +382,22 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser serverlessEndpoints: ServerlessEndpoints; registries: Registries; workspaceFeatures: WorkspaceFeatures; + operations: Operations; + workspaces: Workspaces; + workspaceConnections: WorkspaceConnections; + connection: Connection; + connectionRaiBlocklists: ConnectionRaiBlocklists; + connectionRaiBlocklist: ConnectionRaiBlocklist; + connectionRaiBlocklistItem: ConnectionRaiBlocklistItem; + connectionRaiBlocklistItems: ConnectionRaiBlocklistItems; + connectionRaiPolicies: ConnectionRaiPolicies; + connectionRaiPolicy: ConnectionRaiPolicy; + endpointDeployment: EndpointDeployment; + endpointOperations: EndpointOperations; + raiPolicies: RaiPolicies; + raiPolicy: RaiPolicy; + managedNetworkSettingsRule: ManagedNetworkSettingsRule; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; + managedNetworkProvisions: ManagedNetworkProvisions; } diff --git a/sdk/machinelearning/arm-machinelearning/src/index.ts b/sdk/machinelearning/arm-machinelearning/src/index.ts index 1289db1ee27d..9506930456fc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/index.ts @@ -9,5 +9,5 @@ /// export { getContinuationToken } from "./pagingHelper"; export * from "./models"; -export { AzureMachineLearningServicesManagementClient } from "./azureMachineLearningServicesManagementClient"; +export { AzureMachineLearningServicesMgmtClient } from "./azureMachineLearningServicesMgmtClient"; export * from "./operationsInterfaces"; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..bf25939a0c28 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -8,11 +8,6 @@ import * as coreClient from "@azure/core-client"; -export type OutboundRuleUnion = - | OutboundRule - | PrivateEndpointOutboundRule - | ServiceTagOutboundRule - | FqdnOutboundRule; export type ComputeUnion = | Compute | Aks @@ -30,20 +25,6 @@ export type ComputeSecretsUnion = | AksComputeSecrets | VirtualMachineSecrets | DatabricksComputeSecrets; -export type WorkspaceConnectionPropertiesV2Union = - | WorkspaceConnectionPropertiesV2 - | PATAuthTypeWorkspaceConnectionProperties - | SASAuthTypeWorkspaceConnectionProperties - | UsernamePasswordAuthTypeWorkspaceConnectionProperties - | NoneAuthTypeWorkspaceConnectionProperties - | ManagedIdentityAuthTypeWorkspaceConnectionProperties - | AADAuthTypeWorkspaceConnectionProperties - | AccessKeyAuthTypeWorkspaceConnectionProperties - | AccountKeyAuthTypeWorkspaceConnectionProperties - | ApiKeyAuthWorkspaceConnectionProperties - | CustomKeysWorkspaceConnectionProperties - | OAuth2AuthTypeWorkspaceConnectionProperties - | ServicePrincipalAuthTypeWorkspaceConnectionProperties; export type PendingUploadCredentialDtoUnion = | PendingUploadCredentialDto | SASCredentialDto; @@ -74,14 +55,14 @@ export type DatastoreSecretsUnion = | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type WebhookUnion = Webhook | AzureDevOpsWebhook; -export type NodesUnion = Nodes | AllNodes; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings @@ -91,6 +72,38 @@ export type ScheduleActionBaseUnion = | CreateMonitorAction | EndpointScheduleAction | JobScheduleAction; +export type OutboundRuleUnion = + | OutboundRule + | FqdnOutboundRule + | PrivateEndpointOutboundRule + | ServiceTagOutboundRule; +export type WorkspaceConnectionPropertiesV2Union = + | WorkspaceConnectionPropertiesV2 + | AADAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | AccountKeyAuthTypeWorkspaceConnectionProperties + | ApiKeyAuthWorkspaceConnectionProperties + | CustomKeysWorkspaceConnectionProperties + | ManagedIdentityAuthTypeWorkspaceConnectionProperties + | NoneAuthTypeWorkspaceConnectionProperties + | OAuth2AuthTypeWorkspaceConnectionProperties + | PATAuthTypeWorkspaceConnectionProperties + | SASAuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties + | UsernamePasswordAuthTypeWorkspaceConnectionProperties; +export type EndpointDeploymentResourcePropertiesUnion = + | EndpointDeploymentResourceProperties + | ContentSafetyEndpointDeploymentResourceProperties + | ManagedOnlineEndpointDeploymentResourceProperties + | OpenAIEndpointDeploymentResourceProperties + | SpeechEndpointDeploymentResourceProperties; +export type EndpointResourcePropertiesUnion = + | EndpointResourceProperties + | ContentSafetyEndpointResourceProperties + | ManagedOnlineEndpointResourceProperties + | OpenAIEndpointResourceProperties + | ServerlessEndpointResourceProperties + | SpeechEndpointResourceProperties; export type MonitoringFeatureFilterBaseUnion = | MonitoringFeatureFilterBase | AllFeatures @@ -104,6 +117,14 @@ export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -125,14 +146,6 @@ export type JobInputUnion = | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations @@ -146,6 +159,10 @@ export type TargetRollingWindowSizeUnion = | TargetRollingWindowSize | AutoTargetRollingWindowSize | CustomTargetRollingWindowSize; +export type FineTuningVerticalUnion = + | FineTuningVertical + | AzureOpenAiFineTuning + | CustomModelFineTuning; export type EarlyTerminationPolicyUnion = | EarlyTerminationPolicy | BanditPolicy @@ -174,6 +191,9 @@ export type DistributionConfigurationUnion = | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,9 +201,6 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData @@ -205,6 +222,7 @@ export type JobBasePropertiesUnion = | JobBaseProperties | AutoMLJob | CommandJob + | FineTuningJob | PipelineJob | SparkJob | SweepJob; @@ -218,68 +236,71 @@ export type DataVersionBasePropertiesUnion = | UriFileDataVersion | UriFolderDataVersion; -/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ -export interface OperationListResult { +/** The List Usages operation response. */ +export interface ListUsagesResult { /** - * List of operations supported by the resource provider + * The list of AML resource usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Operation[]; + readonly value?: Usage[]; /** - * URL to get the next set of operation list results (if there are any). + * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Details of a REST API operation, returned from the Resource Provider Operations API */ -export interface Operation { +/** Describes AML Resource Usage. */ +export interface Usage { /** - * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly id?: string; /** - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * Region of the AML workspace in the id. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly isDataAction?: boolean; - /** Localized display information for this particular operation. */ - display?: OperationDisplay; + readonly amlWorkspaceLocation?: string; /** - * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly origin?: Origin; + readonly type?: string; /** - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * An enum describing the unit of usage measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly actionType?: ActionType; -} - -/** Localized display information for this particular operation. */ -export interface OperationDisplay { + readonly unit?: UsageUnit; /** - * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * The current usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provider?: string; + readonly currentValue?: number; /** - * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * The maximum permitted usage of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly resource?: string; + readonly limit?: number; /** - * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * The name of the type of usage. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operation?: string; + readonly name?: UsageName; +} + +/** The Usage Names. */ +export interface UsageName { /** - * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly description?: string; + readonly value?: string; + /** + * The localized name of the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly localizedValue?: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ @@ -331,391 +352,158 @@ export interface ErrorAdditionalInfo { readonly info?: Record; } -export interface EncryptionProperty { - /** Indicates whether or not the encryption is enabled for the workspace. */ - status: EncryptionStatus; - /** The identity that will be used to access the key vault for encryption at rest. */ - identity?: IdentityForCmk; - /** Customer Key vault properties. */ - keyVaultProperties: EncryptionKeyVaultProperties; -} - -/** Identity that will be used to access key vault for encryption at rest */ -export interface IdentityForCmk { - /** The ArmId of the user assigned identity that will be used to access the customer managed key vault */ - userAssignedIdentity?: string; -} - -export interface EncryptionKeyVaultProperties { - /** The ArmId of the keyVault where the customer owned encryption key is present. */ - keyVaultArmId: string; - /** Key vault uri to access the encryption key. */ - keyIdentifier: string; - /** For future use - The client id of the identity which will be used to access key vault. */ - identityClientId?: string; +/** The List Virtual Machine size operation response. */ +export interface VirtualMachineSizeListResult { + /** The list of virtual machine sizes supported by AmlCompute. */ + value?: VirtualMachineSize[]; } -/** The Private Endpoint resource. */ -export interface PrivateEndpoint { +/** Describes the properties of a VM size. */ +export interface VirtualMachineSize { /** - * The ARM identifier for Private Endpoint + * The name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; -} - -/** A collection of information about the state of the connection between service consumer and provider. */ -export interface PrivateLinkServiceConnectionState { - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; - /** The reason for approval/rejection of the connection. */ - description?: string; - /** A message indicating if changes on the service provider require any updates on the consumer. */ - actionsRequired?: string; -} - -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface ManagedServiceIdentity { + readonly name?: string; /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The family name of the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly family?: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * The number of vCPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - type: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; -} - -/** User assigned identity properties */ -export interface UserAssignedIdentity { + readonly vCPUs?: number; /** - * The principal ID of the assigned identity. + * The number of gPUs supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly gpus?: number; /** - * The client ID of the assigned identity. + * The OS VHD disk size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; -} - -/** The resource model definition representing SKU */ -export interface Sku { - /** The name of the SKU. Ex - P3. It is typically a letter+number code */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; - /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ - size?: string; - /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ - family?: string; - /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ - capacity?: number; -} - -/** Common fields that are returned in the response for all Azure Resource Manager resources */ -export interface Resource { + readonly osVhdSizeMB?: number; /** - * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * The resource volume size, in MB, allowed by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly maxResourceVolumeMB?: number; /** - * The name of the resource + * The amount of memory, in GB, supported by the virtual machine size. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; + readonly memoryGB?: number; /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + * Specifies if the virtual machine size supports low priority VMs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly lowPriorityCapable?: boolean; /** - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Specifies if the virtual machine size supports premium IO. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemData?: SystemData; + readonly premiumIO?: boolean; + /** The estimated price information for using a VM. */ + estimatedVMPrices?: EstimatedVMPrices; + /** Specifies the compute types supported by the virtual machine size. */ + supportedComputeTypes?: string[]; } -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The timestamp of resource creation (UTC). */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The timestamp of resource last modification (UTC) */ - lastModifiedAt?: Date; +/** The estimated price info for using a VM. */ +export interface EstimatedVMPrices { + /** Three lettered code specifying the currency of the VM price. Example: USD */ + billingCurrency: BillingCurrency; + /** The unit of time measurement for the specified VM price. Example: OneHour */ + unitOfMeasure: UnitOfMeasure; + /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ + values: EstimatedVMPrice[]; } -export interface ServerlessComputeSettings { - /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ - serverlessComputeCustomSubnet?: string; - /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ - serverlessComputeNoPublicIP?: boolean; +/** The estimated price info for using a VM of a particular OS type, tier, etc. */ +export interface EstimatedVMPrice { + /** The price charged for using the VM. */ + retailPrice: number; + /** Operating system type used by the VM. */ + osType: VMPriceOSType; + /** The type of the VM. */ + vmTier: VMTier; } -export interface SharedPrivateLinkResource { - /** Unique name of the private link. */ - name?: string; - /** The resource id that private link links to. */ - privateLinkResourceId?: string; - /** The private link resource group id. */ - groupId?: string; - /** Request message. */ - requestMessage?: string; - /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ - status?: PrivateEndpointServiceConnectionStatus; -} - -export interface NotebookResourceInfo { - fqdn?: string; - /** the data plane resourceId that used to initialize notebook component */ - resourceId?: string; - /** The error that occurs when preparing notebook. */ - notebookPreparationError?: NotebookPreparationError; -} - -export interface NotebookPreparationError { - errorMessage?: string; - statusCode?: number; -} - -export interface ServiceManagedResourcesSettings { - /** The settings for the service managed cosmosdb account. */ - cosmosDb?: CosmosDbSettings; -} - -export interface CosmosDbSettings { - /** The throughput of the collections in cosmosdb database */ - collectionsThroughput?: number; -} - -/** Managed Network settings for a machine learning workspace. */ -export interface ManagedNetworkSettings { - /** Isolation mode for the managed network of a machine learning workspace. */ - isolationMode?: IsolationMode; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly networkId?: string; - /** Dictionary of */ - outboundRules?: { [propertyName: string]: OutboundRuleUnion }; - /** Status of the Provisioning for the managed network of a machine learning workspace. */ - status?: ManagedNetworkProvisionStatus; -} - -/** Outbound Rule for the managed network of a machine learning workspace. */ -export interface OutboundRule { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; - /** Category of a managed network Outbound Rule of a machine learning workspace. */ - category?: RuleCategory; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - status?: RuleStatus; -} - -/** Status of the Provisioning for the managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionStatus { - sparkReady?: boolean; - /** Status for the managed network of a machine learning workspace. */ - status?: ManagedNetworkStatus; -} - -/** Settings for feature store type workspace. */ -export interface FeatureStoreSettings { - /** Compute runtime config for feature store type workspace. */ - computeRuntime?: ComputeRuntimeDto; - offlineStoreConnectionName?: string; - onlineStoreConnectionName?: string; -} - -/** Compute runtime config for feature store type workspace. */ -export interface ComputeRuntimeDto { - sparkRuntimeVersion?: string; -} - -/** WorkspaceHub's configuration object. */ -export interface WorkspaceHubConfig { - additionalWorkspaceStorageAccounts?: string[]; - defaultWorkspaceResourceGroup?: string; -} - -/** The parameters for updating a machine learning workspace. */ -export interface WorkspaceUpdateParameters { - /** The resource tags for the machine learning workspace. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. */ - friendlyName?: string; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - enableDataIsolation?: boolean; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - encryption?: EncryptionUpdateProperties; -} - -export interface EncryptionUpdateProperties { - keyVaultProperties: EncryptionKeyVaultUpdateProperties; -} - -export interface EncryptionKeyVaultUpdateProperties { - keyIdentifier: string; -} - -/** The result of a request to list machine learning workspaces. */ -export interface WorkspaceListResult { - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: Workspace[]; - /** The URI that can be used to request the next list of machine learning workspaces. */ - nextLink?: string; -} - -/** Parameters to diagnose a workspace */ -export interface DiagnoseWorkspaceParameters { - /** Value of Parameters */ - value?: DiagnoseRequestProperties; -} - -export interface DiagnoseRequestProperties { - /** Setting for diagnosing user defined routing */ - udr?: { [propertyName: string]: Record }; - /** Setting for diagnosing network security group */ - nsg?: { [propertyName: string]: Record }; - /** Setting for diagnosing resource lock */ - resourceLock?: { [propertyName: string]: Record }; - /** Setting for diagnosing dns resolution */ - dnsResolution?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent storage account */ - storageAccount?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent key vault */ - keyVault?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent container registry */ - containerRegistry?: { [propertyName: string]: Record }; - /** Setting for diagnosing dependent application insights */ - applicationInsights?: { [propertyName: string]: Record }; - /** Setting for diagnosing unclassified category of problems */ - others?: { [propertyName: string]: Record }; +/** Quota update parameters. */ +export interface QuotaUpdateParameters { + /** The list for update quota. */ + value?: QuotaBaseProperties[]; + /** Region of workspace quota to be updated. */ + location?: string; } -export interface DiagnoseResponseResult { - value?: DiagnoseResponseResultValue; +/** The properties for Quota update or retrieval. */ +export interface QuotaBaseProperties { + /** Specifies the resource ID. */ + id?: string; + /** Specifies the resource type. */ + type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; + /** An enum describing the unit of quota measurement. */ + unit?: QuotaUnit; } -export interface DiagnoseResponseResultValue { - userDefinedRouteResults?: DiagnoseResult[]; - networkSecurityRuleResults?: DiagnoseResult[]; - resourceLockResults?: DiagnoseResult[]; - dnsResolutionResults?: DiagnoseResult[]; - storageAccountResults?: DiagnoseResult[]; - keyVaultResults?: DiagnoseResult[]; - containerRegistryResults?: DiagnoseResult[]; - applicationInsightsResults?: DiagnoseResult[]; - otherResults?: DiagnoseResult[]; +/** The result of update workspace quota. */ +export interface UpdateWorkspaceQuotasResult { + /** + * The list of workspace quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: UpdateWorkspaceQuotas[]; + /** + * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; } -/** Result of Diagnose */ -export interface DiagnoseResult { +/** The properties for update Quota response. */ +export interface UpdateWorkspaceQuotas { /** - * Code for workspace setup error + * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly code?: string; + readonly id?: string; /** - * Level of workspace setup error + * Specifies the resource type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly level?: DiagnoseResultLevel; + readonly type?: string; + /** The maximum permitted quota of the resource. */ + limit?: number; /** - * Message of workspace setup error + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; -} - -export interface ListWorkspaceKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly appInsightsInstrumentationKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookAccessKeys?: ListNotebookKeysResult; -} - -export interface RegistryListCredentialsResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly location?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly username?: string; - passwords?: Password[]; -} - -export interface Password { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; -} - -export interface ListNotebookKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly primaryAccessKey?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly secondaryAccessKey?: string; + readonly unit?: QuotaUnit; + /** Status of update workspace quota. */ + status?: Status; } -/** The List Usages operation response. */ -export interface ListUsagesResult { +/** The List WorkspaceQuotasByVMFamily operation response. */ +export interface ListWorkspaceQuotas { /** - * The list of AML resource usages. + * The list of Workspace Quotas by VM Family * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: Usage[]; + readonly value?: ResourceQuota[]; /** - * The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information. + * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } -/** Describes AML Resource Usage. */ -export interface Usage { +/** The quota assigned to a resource. */ +export interface ResourceQuota { /** * Specifies the resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -732,29 +520,24 @@ export interface Usage { */ readonly type?: string; /** - * An enum describing the unit of usage measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: UsageUnit; - /** - * The current usage of the resource. + * Name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentValue?: number; + readonly name?: ResourceName; /** - * The maximum permitted usage of the resource. + * The maximum permitted quota of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly limit?: number; /** - * The name of the type of usage. + * An enum describing the unit of quota measurement. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly name?: UsageName; + readonly unit?: QuotaUnit; } -/** The Usage Names. */ -export interface UsageName { +/** The Resource Name. */ +export interface ResourceName { /** * The name of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -767,210 +550,98 @@ export interface UsageName { readonly localizedValue?: string; } -/** The List Virtual Machine size operation response. */ -export interface VirtualMachineSizeListResult { - /** The list of virtual machine sizes supported by AmlCompute. */ - value?: VirtualMachineSize[]; -} - -/** Describes the properties of a VM size. */ -export interface VirtualMachineSize { - /** - * The name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The family name of the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly family?: string; - /** - * The number of vCPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly vCPUs?: number; - /** - * The number of gPUs supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly gpus?: number; - /** - * The OS VHD disk size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osVhdSizeMB?: number; - /** - * The resource volume size, in MB, allowed by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly maxResourceVolumeMB?: number; - /** - * The amount of memory, in GB, supported by the virtual machine size. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly memoryGB?: number; - /** - * Specifies if the virtual machine size supports low priority VMs. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lowPriorityCapable?: boolean; - /** - * Specifies if the virtual machine size supports premium IO. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly premiumIO?: boolean; - /** The estimated price information for using a VM. */ - estimatedVMPrices?: EstimatedVMPrices; - /** Specifies the compute types supported by the virtual machine size. */ - supportedComputeTypes?: string[]; -} - -/** The estimated price info for using a VM. */ -export interface EstimatedVMPrices { - /** Three lettered code specifying the currency of the VM price. Example: USD */ - billingCurrency: BillingCurrency; - /** The unit of time measurement for the specified VM price. Example: OneHour */ - unitOfMeasure: UnitOfMeasure; - /** The list of estimated prices for using a VM of a particular OS type, tier, etc. */ - values: EstimatedVMPrice[]; -} - -/** The estimated price info for using a VM of a particular OS type, tier, etc. */ -export interface EstimatedVMPrice { - /** The price charged for using the VM. */ - retailPrice: number; - /** Operating system type used by the VM. */ - osType: VMPriceOSType; - /** The type of the VM. */ - vmTier: VMTier; -} - -/** Quota update parameters. */ -export interface QuotaUpdateParameters { - /** The list for update quota. */ - value?: QuotaBaseProperties[]; - /** Region of workspace quota to be updated. */ - location?: string; -} - -/** The properties for Quota update or retrieval. */ -export interface QuotaBaseProperties { - /** Specifies the resource ID. */ - id?: string; - /** Specifies the resource type. */ - type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; - /** An enum describing the unit of quota measurement. */ - unit?: QuotaUnit; +/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ +export interface PaginatedComputeResourcesList { + /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ + value?: ComputeResource[]; + /** A continuation link (absolute URI) to the next page of results in the list. */ + nextLink?: string; } -/** The result of update workspace quota. */ -export interface UpdateWorkspaceQuotasResult { +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { /** - * The list of workspace quota update result. + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: UpdateWorkspaceQuotas[]; + readonly principalId?: string; /** - * The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result. + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; + readonly tenantId?: string; + /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ + type: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; } -/** The properties for update Quota response. */ -export interface UpdateWorkspaceQuotas { - /** - * Specifies the resource ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; +/** User assigned identity properties */ +export interface UserAssignedIdentity { /** - * Specifies the resource type. + * The principal ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; - /** The maximum permitted quota of the resource. */ - limit?: number; + readonly principalId?: string; /** - * An enum describing the unit of quota measurement. + * The client ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unit?: QuotaUnit; - /** Status of update workspace quota. */ - status?: Status; + readonly clientId?: string; } -/** The List WorkspaceQuotasByVMFamily operation response. */ -export interface ListWorkspaceQuotas { - /** - * The list of Workspace Quotas by VM Family - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: ResourceQuota[]; - /** - * The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** The resource model definition representing SKU */ +export interface Sku { + /** The name of the SKU. Ex - P3. It is typically a letter+number code */ + name: string; + /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ + tier?: SkuTier; + /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ + size?: string; + /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ + family?: string; + /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ + capacity?: number; } -/** The quota assigned to a resource. */ -export interface ResourceQuota { +/** Common fields that are returned in the response for all Azure Resource Manager resources */ +export interface Resource { /** - * Specifies the resource ID. + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** - * Region of the AML workspace in the id. + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly amlWorkspaceLocation?: string; + readonly name?: string; /** - * Specifies the resource type. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** - * Name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: ResourceName; - /** - * The maximum permitted quota of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly limit?: number; - /** - * An enum describing the unit of quota measurement. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly unit?: QuotaUnit; -} - -/** The Resource Name. */ -export interface ResourceName { - /** - * The name of the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: string; - /** - * The localized name of the resource. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly localizedValue?: string; + readonly systemData?: SystemData; } -/** Paginated list of Machine Learning compute objects wrapped in ARM resource envelope. */ -export interface PaginatedComputeResourcesList { - /** An array of Machine Learning compute objects wrapped in ARM resource envelope. */ - value?: ComputeResource[]; - /** A continuation link (absolute URI) to the next page of results in the list. */ - nextLink?: string; +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; } export interface ComputeResourceSchema { @@ -1049,26 +720,134 @@ export interface ScaleSettings { nodeIdleTimeBeforeScaleDown?: string; } -/** Result of AmlCompute Nodes */ -export interface AmlComputeNodesInformation { - /** - * The collection of returned AmlCompute nodes details. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nodes?: AmlComputeNodeInformation[]; - /** - * The continuation token. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; +/** Specifies the custom service configuration */ +export interface CustomService { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Custom Service */ + name?: string; + /** Describes the Image Specifications */ + image?: Image; + /** Environment Variable for the container */ + environmentVariables?: { [propertyName: string]: EnvironmentVariable }; + /** Describes the docker settings for the image */ + docker?: Docker; + /** Configuring the endpoints for the container */ + endpoints?: Endpoint[]; + /** Configuring the volumes for the container */ + volumes?: VolumeDefinition[]; + /** Describes the jupyter kernel settings for the image if its a custom environment */ + kernel?: JupyterKernelConfig; } -/** Compute node information related to a AmlCompute. */ -export interface AmlComputeNodeInformation { - /** - * ID of the compute node. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ +export interface Image { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML Environment images (custom and curated) */ + type?: ImageType; + /** Image reference URL if type is docker. Environment name if type is azureml */ + reference?: string; + /** Version of image being used. If latest then skip this field */ + version?: string; +} + +export interface EnvironmentVariable { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the Environment Variable. Possible values are: local - For local variable */ + type?: EnvironmentVariableType; + /** Value of the Environment variable */ + value?: string; +} + +export interface Docker { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Indicate whether container shall run in privileged or non-privileged mode. */ + privileged?: boolean; +} + +export interface Endpoint { + /** Protocol over which communication will happen over this endpoint */ + protocol?: Protocol; + /** Name of the Endpoint */ + name?: string; + /** Application port inside the container. */ + target?: number; + /** Port over which the application is exposed from container. */ + published?: number; + /** Host IP over which the application is exposed from the container */ + hostIp?: string; +} + +export interface VolumeDefinition { + /** Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe */ + type?: VolumeDefinitionType; + /** Indicate whether to mount volume as readOnly. Default value for this is false. */ + readOnly?: boolean; + /** Source of the mount. For bind mounts this is the host path. */ + source?: string; + /** Target of the mount. For bind mounts this is the path in the container. */ + target?: string; + /** Consistency of the volume */ + consistency?: string; + /** Bind Options of the mount */ + bind?: BindOptions; + /** Volume Options of the mount */ + volume?: VolumeOptions; + /** tmpfs option of the mount */ + tmpfs?: TmpfsOptions; +} + +export interface BindOptions { + /** Type of Bind Option */ + propagation?: string; + /** Indicate whether to create host path. */ + createHostPath?: boolean; + /** Mention the selinux options. */ + selinux?: string; +} + +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; +} + +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; +} + +/** Jupyter kernel configuration. */ +export interface JupyterKernelConfig { + /** Argument to the the runtime */ + argv?: string[]; + /** Display name of the kernel */ + displayName?: string; + /** Language of the kernel [Example value: python] */ + language?: string; +} + +/** Result of AmlCompute Nodes */ +export interface AmlComputeNodesInformation { + /** + * The collection of returned AmlCompute nodes details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nodes?: AmlComputeNodeInformation[]; + /** + * The continuation token. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Compute node information related to a AmlCompute. */ +export interface AmlComputeNodeInformation { + /** + * ID of the compute node. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ readonly nodeId?: string; /** * Private IP address of the compute node. @@ -1097,148 +876,71 @@ export interface AmlComputeNodeInformation { readonly runId?: string; } -export interface NotebookAccessTokenResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookResourceId?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly hostName?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicDns?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly accessToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tokenType?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly expiresIn?: number; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly refreshToken?: string; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly scope?: string; -} - /** Secrets related to a Machine Learning compute. Might differ for every type of compute. */ export interface ComputeSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "AKS" | "VirtualMachine" | "Databricks"; } -/** List of private endpoint connection associated with the specified workspace */ -export interface PrivateEndpointConnectionListResult { - /** Array of private endpoint connections */ - value?: PrivateEndpointConnection[]; -} - -/** A list of private link resources */ -export interface PrivateLinkResourceListResult { - /** Array of private link resources */ - value?: PrivateLinkResource[]; -} - -export interface ListStorageAccountKeysResult { - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userStorageKey?: string; -} - -export interface WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: - | "PAT" - | "SAS" - | "UsernamePassword" - | "None" - | "ManagedIdentity" - | "AAD" - | "AccessKey" - | "AccountKey" - | "ApiKey" - | "CustomKeys" - | "OAuth2" - | "ServicePrincipal"; - /** Category of the connection */ - category?: ConnectionCategory; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly createdByWorkspaceArmId?: string; - expiryTime?: Date; - /** - * Group based on connection category - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly group?: ConnectionGroup; - isSharedToAll?: boolean; - target?: string; - /** Store user metadata for this connection */ - metadata?: { [propertyName: string]: string }; - sharedUserList?: string[]; - /** Value details of the workspace connection. */ - value?: string; - /** format for the workspace connection value */ - valueFormat?: ValueFormat; -} - -export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - value?: WorkspaceConnectionPropertiesV2BasicResource[]; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; -} - -export interface ExternalFqdnResponse { - value?: FqdnEndpoints[]; -} - -export interface FqdnEndpoints { - properties?: FqdnEndpointsProperties; -} - -export interface FqdnEndpointsProperties { - category?: string; - endpoints?: FqdnEndpoint[]; -} - -export interface FqdnEndpoint { - domainName?: string; - endpointDetails?: FqdnEndpointDetail[]; -} - -export interface FqdnEndpointDetail { - port?: number; +/** Defines an Aml Instance DataMount. */ +export interface ComputeInstanceDataMount { + /** Source of the ComputeInstance data mount. */ + source?: string; + /** Data source type. */ + sourceType?: SourceType; + /** name of the ComputeInstance data mount. */ + mountName?: string; + /** Mount Action. */ + mountAction?: MountAction; + /** Mount Mode. */ + mountMode?: MountMode; + /** who this data mount created by. */ + createdBy?: string; + /** Path of this data mount. */ + mountPath?: string; + /** Mount state. */ + mountState?: MountState; + /** The time when the disk mounted. */ + mountedOn?: Date; + /** Error of this data mount. */ + error?: string; } -/** List of outbound rules for the managed network of a machine learning workspace. */ -export interface OutboundRuleListResult { - /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ - nextLink?: string; - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: OutboundRuleBasicResource[]; +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +/** Schema for Compute Instance resize. */ +export interface ResizeSchema { + /** The name of the virtual machine size. */ + targetVMSize?: string; } /** A paginated list of CodeContainer entities. */ export interface CodeContainerResourceArmPaginatedResult { - /** An array of objects of type CodeContainer. */ - value?: CodeContainer[]; /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; } export interface ResourceBase { /** The asset description text. */ description?: string; - /** Tag dictionary. Tags can be added, removed, and updated. */ - tags?: { [propertyName: string]: string | null }; /** The asset property dictionary. */ properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; } /** A paginated list of CodeVersion entities. */ export interface CodeVersionResourceArmPaginatedResult { - /** An array of objects of type CodeVersion. */ - value?: CodeVersion[]; /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; } export interface PendingUploadRequestDto { @@ -1263,10 +965,10 @@ export interface BlobReferenceForConsumptionDto { * Example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** Arm ID of the storage account to use */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: PendingUploadCredentialDtoUnion; + /** Arm ID of the storage account to use */ + storageAccountArmId?: string; } export interface PendingUploadCredentialDto { @@ -1276,34 +978,34 @@ export interface PendingUploadCredentialDto { /** A paginated list of ComponentContainer entities. */ export interface ComponentContainerResourceArmPaginatedResult { - /** An array of objects of type ComponentContainer. */ - value?: ComponentContainer[]; /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; } /** A paginated list of ComponentVersion entities. */ export interface ComponentVersionResourceArmPaginatedResult { - /** An array of objects of type ComponentVersion. */ - value?: ComponentVersion[]; /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; } /** A paginated list of DataContainer entities. */ export interface DataContainerResourceArmPaginatedResult { - /** An array of objects of type DataContainer. */ - value?: DataContainer[]; /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; } /** A paginated list of DataVersionBase entities. */ export interface DataVersionBaseResourceArmPaginatedResult { - /** An array of objects of type DataVersionBase. */ - value?: DataVersionBase[]; /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; } /** BlobReferenceSASRequest for getBlobReferenceSAS API */ @@ -1323,11 +1025,11 @@ export interface GetBlobReferenceSASResponseDto { export interface GetBlobReferenceForConsumptionDto { /** Blob uri, example: https://blob.windows.core.net/Container/Path */ blobUri?: string; - /** The ARM id of the storage account */ - storageAccountArmId?: string; /** Credential info to access storage account */ credential?: DataReferenceCredentialUnion; -} + /** The ARM id of the storage account */ + storageAccountArmId?: string; +} /** DataReferenceCredential base class */ export interface DataReferenceCredential { @@ -1341,18 +1043,18 @@ export interface DataReferenceCredential { /** A paginated list of EnvironmentContainer entities. */ export interface EnvironmentContainerResourceArmPaginatedResult { - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; } /** A paginated list of EnvironmentVersion entities. */ export interface EnvironmentVersionResourceArmPaginatedResult { - /** An array of objects of type EnvironmentVersion. */ - value?: EnvironmentVersion[]; /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; } /** Configuration settings for Docker build context */ @@ -1387,18 +1089,18 @@ export interface Route { /** A paginated list of ModelContainer entities. */ export interface ModelContainerResourceArmPaginatedResult { - /** An array of objects of type ModelContainer. */ - value?: ModelContainer[]; /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; } /** A paginated list of ModelVersion entities. */ export interface ModelVersionResourceArmPaginatedResult { - /** An array of objects of type ModelVersion. */ - value?: ModelVersion[]; /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; } export interface FlavorData { @@ -1408,10 +1110,10 @@ export interface FlavorData { /** A paginated list of BatchEndpoint entities. */ export interface BatchEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchEndpoint. */ - value?: BatchEndpoint[]; /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchEndpoint. */ + value?: BatchEndpoint[]; } /** Batch endpoint default values */ @@ -1425,8 +1127,15 @@ export interface BatchEndpointDefaults { /** Inference Endpoint base definition */ export interface EndpointPropertiesBase { + /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ + authMode: EndpointAuthMode; /** Description of the inference endpoint. */ description?: string; + /** + * EndpointAuthKeys to set initially on an Endpoint. + * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. + */ + keys?: EndpointAuthKeys; /** Property dictionary. Properties can be added, but not removed or altered. */ properties?: { [propertyName: string]: string | null }; /** @@ -1439,13 +1148,6 @@ export interface EndpointPropertiesBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly swaggerUri?: string; - /** [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does. */ - authMode: EndpointAuthMode; - /** - * EndpointAuthKeys to set initially on an Endpoint. - * This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API. - */ - keys?: EndpointAuthKeys; } /** Keys for endpoint authentication. */ @@ -1472,10 +1174,10 @@ export interface PartialMinimalTrackedResource { /** A paginated list of BatchDeployment entities. */ export interface BatchDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type BatchDeployment. */ - value?: BatchDeployment[]; /** The link to the next page of BatchDeployment objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type BatchDeployment. */ + value?: BatchDeployment[]; } /** Properties relevant to different deployment types. */ @@ -1484,14 +1186,6 @@ export interface BatchDeploymentConfiguration { deploymentConfigurationType: "PipelineComponent"; } -/** Retry settings for a batch inference operation. */ -export interface BatchRetrySettings { - /** Maximum retry count for a mini-batch */ - maxRetries?: number; - /** Invocation timeout for a mini-batch, in ISO 8601 format. */ - timeout?: string; -} - /** Base definition for asset references. */ export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1507,18 +1201,26 @@ export interface ResourceConfiguration { properties?: { [propertyName: string]: Record }; } +/** Retry settings for a batch inference operation. */ +export interface BatchRetrySettings { + /** Maximum retry count for a mini-batch */ + maxRetries?: number; + /** Invocation timeout for a mini-batch, in ISO 8601 format. */ + timeout?: string; +} + /** Base definition for endpoint deployment. */ export interface EndpointDeploymentPropertiesBase { - /** Description of the endpoint deployment. */ - description?: string; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; /** Code configuration for the endpoint deployment. */ codeConfiguration?: CodeConfiguration; + /** Description of the endpoint deployment. */ + description?: string; /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ environmentId?: string; /** Environment variables configuration for the deployment. */ environmentVariables?: { [propertyName: string]: string | null }; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } /** Configuration for a scoring code asset. */ @@ -1545,20 +1247,20 @@ export interface PartialBatchDeployment { /** Publishing destination registry asset information */ export interface DestinationAsset { - /** Destination registry name */ - registryName?: string; /** Destination asset name */ destinationName?: string; /** Destination asset version */ destinationVersion?: string; + /** Destination registry name */ + registryName?: string; } /** A paginated list of Datastore entities. */ export interface DatastoreResourceArmPaginatedResult { - /** An array of objects of type Datastore. */ - value?: Datastore[]; /** The link to the next page of Datastore objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Datastore. */ + value?: Datastore[]; } /** Base definition for datastore credentials. */ @@ -1572,6 +1274,14 @@ export interface DatastoreCredentials { | "ServicePrincipal"; } +/** Secret expiration configuration. */ +export interface SecretExpiry { + /** Indicates if the secret is expirable. */ + expirableSecret?: boolean; + /** Number of hours after which the secret will expire. */ + expireAfterHours?: number; +} + /** Base definition for datastore secrets. */ export interface DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1580,45 +1290,63 @@ export interface DatastoreSecrets { /** A paginated list of FeaturesetContainer entities. */ export interface FeaturesetContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturesetContainer. */ - value?: FeaturesetContainer[]; /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } /** A paginated list of Feature entities. */ export interface FeatureResourceArmPaginatedResult { - /** An array of objects of type Feature. */ - value?: Feature[]; /** The link to the next page of Feature objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Feature. */ + value?: Feature[]; } /** A paginated list of FeaturesetVersion entities. */ export interface FeaturesetVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturesetVersion. */ - value?: FeaturesetVersion[]; /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; -} - -/** DTO object representing specification */ -export interface FeaturesetSpecification { - /** Specifies the spec path */ - path?: string; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; } export interface MaterializationSettings { - /** Specifies the stores to which materialization should happen */ - storeType?: MaterializationStoreType; - /** Specifies the schedule details */ - schedule?: RecurrenceTrigger; /** Specifies the notification details */ notification?: NotificationSetting; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; + /** Specifies the schedule details */ + schedule?: RecurrenceTrigger; /** Specifies the spark compute settings */ sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the stores to which materialization should happen */ + storeType?: MaterializationStoreType; +} + +/** Configuration for notification. */ +export interface NotificationSetting { + /** Send email notification to user on specified notification type */ + emailOn?: EmailNotificationEnableType[]; + /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ + emails?: string[]; + /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ + webhooks?: { [propertyName: string]: WebhookUnion | null }; +} + +/** Webhook base */ +export interface Webhook { + /** Polymorphic discriminator, which specifies the different types this object can be */ + webhookType: "AzureDevOps"; + /** Send callback on a specified notification event */ + eventType?: string; +} + +/** DTO object representing compute resource */ +export interface MaterializationComputeResource { + /** Specifies the instance type */ + instanceType?: string; } export interface RecurrenceSchedule { @@ -1626,10 +1354,10 @@ export interface RecurrenceSchedule { hours: number[]; /** [Required] List of minutes for the schedule. */ minutes: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; /** List of month days for the schedule */ monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; } export interface TriggerBase { @@ -1650,58 +1378,40 @@ export interface TriggerBase { timeZone?: string; } -/** Configuration for notification. */ -export interface NotificationSetting { - /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ - emails?: string[]; - /** Send email notification to user on specified notification type */ - emailOn?: EmailNotificationEnableType[]; - /** Send webhook callback to a service. Key is a user-provided name for the webhook. */ - webhooks?: { [propertyName: string]: WebhookUnion | null }; -} - -/** Webhook base */ -export interface Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; - /** Send callback on a specified notification event */ - eventType?: string; -} - -/** DTO object representing compute resource */ -export interface MaterializationComputeResource { - /** Specifies the instance type */ - instanceType?: string; +/** DTO object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } /** Request payload for creating a backfill request for a given feature set version */ export interface FeaturesetVersionBackfillRequest { - /** Specifies description */ - displayName?: string; + /** Specified the data availability status that you want to backfill */ + dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specifies description */ description?: string; + /** Specifies description */ + displayName?: string; /** Specifies the backfill feature window to be materialized */ featureWindow?: FeatureWindow; - /** Specified the data availability status that you want to backfill */ - dataAvailabilityStatus?: DataAvailabilityStatus[]; /** Specify the jobId to retry the failed materialization */ jobId?: string; - /** Specifies the tags */ - tags?: { [propertyName: string]: string | null }; + /** Specifies the properties */ + properties?: { [propertyName: string]: string | null }; /** Specifies the compute resource settings */ resource?: MaterializationComputeResource; /** Specifies the spark compute settings */ sparkConfiguration?: { [propertyName: string]: string | null }; - /** Specifies the properties */ - properties?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; } /** Specifies the feature window */ export interface FeatureWindow { - /** Specifies the feature window start time */ - featureWindowStart?: Date; /** Specifies the feature window end time */ featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; } /** Response payload for creating a backfill request for a given feature set version */ @@ -1712,96 +1422,317 @@ export interface FeaturesetVersionBackfillResponse { /** A paginated list of FeaturestoreEntityContainer entities. */ export interface FeaturestoreEntityContainerResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityContainer. */ - value?: FeaturestoreEntityContainer[]; /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; } /** A paginated list of FeaturestoreEntityVersion entities. */ export interface FeaturestoreEntityVersionResourceArmPaginatedResult { - /** An array of objects of type FeaturestoreEntityVersion. */ - value?: FeaturestoreEntityVersion[]; /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; } /** DTO object representing index column */ export interface IndexColumn { - /** Specifies the data type */ - dataType?: FeatureDataType; /** Specifies the column name */ columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } -/** A paginated list of JobBase entities. */ -export interface JobBaseResourceArmPaginatedResult { - /** An array of objects of type JobBase. */ - value?: JobBase[]; - /** The link to the next page of JobBase objects. If null, there are no additional pages. */ +/** A paginated list of InferencePool entities. */ +export interface InferencePoolTrackedResourceArmPaginatedResult { + /** The link to the next page of InferencePool objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type InferencePool. */ + value?: InferencePool[]; } -/** Job endpoint definition */ -export interface JobService { - /** Endpoint type. */ - jobServiceType?: string; - /** Port for endpoint. */ - port?: number; - /** Url for endpoint. */ - endpoint?: string; - /** - * Status of endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: string; - /** - * Any error in the service. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errorMessage?: string; - /** Additional properties to set on the endpoint. */ - properties?: { [propertyName: string]: string | null }; - /** - * 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; +/** Configuration for ScaleUnit pool. */ +export interface ScaleUnitConfiguration { + /** Gets or sets a value indicating whether PublicEgress is disabled. */ + disablePublicEgress?: boolean; + /** Gets or sets a list of Registry sources that will be used to confirm identity, storage, ACR. */ + registries?: string[]; } -/** Abstract Nodes definition */ -export interface Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; +/** Base definition for pool resources. */ +export interface PropertiesBase { + /** Description of the resource. */ + description?: string; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: StringKeyValuePair[]; } -/** 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 StringKeyValuePair { + key?: string; + value?: 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. */ +/** 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; +} + +/** A paginated list of InferenceEndpoint entities. */ +export interface InferenceEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of InferenceEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type InferenceEndpoint. */ + value?: InferenceEndpoint[]; } -export interface MarketplaceSubscriptionProperties { - /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ - modelId: string; +/** Scoring requests configuration. */ +export interface RequestConfiguration { + /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ + maxConcurrentRequestsPerInstance?: number; /** - * Marketplace Plan associated with the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ + * The scoring timeout in ISO 8601 format. + * Defaults to 5000ms. + */ + requestTimeout?: string; +} + +/** A paginated list of InferenceGroup entities. */ +export interface InferenceGroupTrackedResourceArmPaginatedResult { + /** The link to the next page of InferenceGroup objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type InferenceGroup. */ + value?: InferenceGroup[]; +} + +/** Environment configuration options. */ +export interface GroupEnvironmentConfiguration { + /** ARM resource ID of the environment specification for the inference pool. */ + environmentId?: string; + /** Environment variables configuration for the inference pool. */ + environmentVariables?: StringKeyValuePair[]; + /** 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; + /** This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes. */ + startupProbe?: ProbeSettings; +} + +/** 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; +} + +/** Model configuration options. */ +export interface GroupModelConfiguration { + /** The URI path to the model. */ + modelId?: string; +} + +export interface DeltaModelStatusRequest { + /** Gets or sets collection of delta models to retrieve status for. */ + deltaModels?: string[]; + /** Gets or sets target base model. */ + targetBaseModel?: string; +} + +/** Contract returning to user the delta models. */ +export interface DeltaModelStatusResponse { + /** Gets or sets actual instance count. */ + actualInstanceCount?: number; + /** Gets or sets dictionary representing modelID and its current state. */ + deltaModels?: { [propertyName: string]: DeltaModelCurrentState[] | null }; + /** Gets or sets expected instance count. */ + expectedInstanceCount?: number; + /** Gets or sets revision ID. */ + revisionId?: string; + /** Gets or sets target base model. */ + targetBaseModel?: string; +} + +/** Contract for DeltaModelCurrentState. */ +export interface DeltaModelCurrentState { + /** Gets or sets Count of instances with model. */ + count?: number; + /** Gets or sets sample of instances with model. */ + sampleInstanceID?: string; + /** Gets or sets status. */ + status?: string; +} + +export interface DeltaModelListRequest { + /** Gets or sets number of delta models to return. Default: -1, means that all will be returned. */ + count?: number; + /** Gets or sets skip token for paginated response. */ + skipToken?: string; + /** Gets or sets target base model. */ + targetBaseModel?: string; +} + +/** A paginated list of String entities. */ +export interface StringArmPaginatedResult { + /** The link to the next page of String objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type String. */ + value?: string[]; +} + +/** Contract base for DeltaModelChangeRequest. Used for adding or removing. */ +export interface DeltaModelModifyRequest { + /** Gets or sets delta models to remove. */ + addDeltaModels?: string[]; + /** Gets or sets delta models to remove. */ + removeDeltaModels?: string[]; + /** Gets or sets target base model. */ + targetBaseModel?: string; +} + +export interface GroupStatus { + /** Gets or sets the actual capacity info for the group. */ + actualCapacityInfo?: ActualCapacityInfo; + /** Gets or sets the actual number of endpoints in the group. */ + endpointCount?: number; + /** Gets or sets the request number of instances for the group. */ + requestedCapacity?: number; +} + +export interface ActualCapacityInfo { + /** Gets or sets the total number of instances for the group. */ + allocated?: number; + /** Gets or sets the number of instances which failed to successfully complete assignment. */ + assignmentFailed?: number; + /** Gets or sets the number of instances which successfully completed assignment. */ + assignmentSuccess?: number; +} + +/** 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[]; +} + +/** 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; +} + +/** 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; +} + +/** 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 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[]; +} + +/** Base definition for identity configuration. */ +export interface IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken" | "Managed" | "UserIdentity"; +} + +/** Job endpoint definition */ +export interface JobService { + /** 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; +} + +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; +} + +/** A paginated list of MarketplaceSubscription entities. */ +export interface MarketplaceSubscriptionResourceArmPaginatedResult { + /** The link to the next page of MarketplaceSubscription objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type MarketplaceSubscription. */ + value?: MarketplaceSubscription[]; +} + +export interface MarketplaceSubscriptionProperties { + /** + * Marketplace Plan associated with the Marketplace Subscription. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ readonly marketplacePlan?: MarketplacePlan; /** * Current status of the Marketplace Subscription. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; + /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ + modelId: string; /** * Provisioning State of the Marketplace Subscription. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1810,11 +1741,6 @@ export interface MarketplaceSubscriptionProperties { } export interface MarketplacePlan { - /** - * The identifying name of the Publisher of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publisherId?: string; /** * The identifying name of the Offer of the Marketplace Plan. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1825,59 +1751,27 @@ export interface MarketplacePlan { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly planId?: string; + /** + * The identifying name of the Publisher of the Marketplace Plan. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherId?: string; } /** A paginated list of OnlineEndpoint entities. */ export interface OnlineEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineEndpoint. */ - value?: OnlineEndpoint[]; /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type OnlineEndpoint. */ + value?: OnlineEndpoint[]; } /** A paginated list of OnlineDeployment entities. */ export interface OnlineDeploymentTrackedResourceArmPaginatedResult { - /** An array of objects of type OnlineDeployment. */ - value?: OnlineDeployment[]; /** The link to the next page of OnlineDeployment objects. If null, there are no additional pages. */ nextLink?: string; -} - -/** Online deployment scaling configuration. */ -export interface OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default" | "TargetUtilization"; -} - -/** Online deployment scoring requests configuration. */ -export interface OnlineRequestSettings { - /** - * (Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. - * Defaults to 500ms. - * (Now increase `request_timeout_ms` to account for any networking/queue delays) - */ - maxQueueWait?: string; - /** - * The scoring timeout in ISO 8601 format. - * Defaults to 5000ms. - */ - requestTimeout?: string; - /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ - maxConcurrentRequestsPerInstance?: number; -} - -/** Deployment container liveness/readiness probe configuration. */ -export interface ProbeSettings { - /** The number of failures to allow before returning an unhealthy status. */ - failureThreshold?: number; - /** The number of successful probes before returning a healthy status. */ - successThreshold?: number; - /** The probe timeout in ISO 8601 format. */ - timeout?: string; - /** The length of time between probes in ISO 8601 format. */ - period?: string; - /** The delay before the first probe in ISO 8601 format. */ - initialDelay?: string; + /** An array of objects of type OnlineDeployment. */ + value?: OnlineDeployment[]; } export interface DataCollector { @@ -1886,6 +1780,8 @@ export interface DataCollector { * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. */ collections: { [propertyName: string]: Collection | null }; + /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ + requestLogging?: RequestLogging; /** * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. @@ -1893,19 +1789,17 @@ export interface DataCollector { * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. */ rollingRate?: RollingRateType; - /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ - requestLogging?: RequestLogging; } export interface Collection { - /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ - samplingRate?: number; + /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ + clientId?: string; /** Enable or disable data collection. */ dataCollectionMode?: DataCollectionMode; /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ dataId?: string; - /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ - clientId?: string; + /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; } export interface RequestLogging { @@ -1913,18 +1807,27 @@ export interface RequestLogging { 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; +/** Online deployment scoring requests configuration. */ +export interface OnlineRequestSettings { + /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ + maxConcurrentRequestsPerInstance?: number; + /** + * (Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. + * Defaults to 500ms. + * (Now increase `request_timeout_ms` to account for any networking/queue delays) + */ + maxQueueWait?: string; + /** + * The scoring timeout in ISO 8601 format. + * Defaults to 5000ms. + */ + requestTimeout?: string; +} + +/** Online deployment scaling configuration. */ +export interface OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "Default" | "TargetUtilization"; } export interface DeploymentLogsRequest { @@ -1939,47 +1842,6 @@ export interface DeploymentLogs { content?: 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; -} - -/** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ -export interface SkuResource { - /** - * 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; - /** 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; @@ -1991,20 +1853,20 @@ export interface RegenerateEndpointKeysRequest { export interface EndpointAuthToken { /** Access token for endpoint authentication. */ accessToken?: string; - /** Access token type. */ - tokenType?: string; /** Access token expiry time (UTC). */ expiryTimeUtc?: number; /** Refresh access token after time (UTC). */ refreshAfterTimeUtc?: number; + /** Access token type. */ + tokenType?: string; } /** A paginated list of Schedule entities. */ export interface ScheduleResourceArmPaginatedResult { - /** An array of objects of type Schedule. */ - value?: Schedule[]; /** The link to the next page of Schedule objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; } export interface ScheduleActionBase { @@ -2014,59 +1876,59 @@ export interface ScheduleActionBase { /** A paginated list of ServerlessEndpoint entities. */ export interface ServerlessEndpointTrackedResourceArmPaginatedResult { - /** An array of objects of type ServerlessEndpoint. */ - value?: ServerlessEndpoint[]; /** The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type ServerlessEndpoint. */ + value?: ServerlessEndpoint[]; } export interface ServerlessEndpointProperties { - /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ - modelSettings?: ModelSettings; /** [Required] Specifies the authentication mode for the Serverless endpoint. */ authMode: ServerlessInferenceEndpointAuthMode; + /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ + contentSafety?: ContentSafety; /** - * The inference uri to target when making requests against the serverless endpoint + * The current state of the ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly inferenceEndpoint?: ServerlessInferenceEndpoint; + readonly endpointState?: ServerlessEndpointState; /** - * Provisioning state for the endpoint. + * The inference uri to target when making requests against the serverless endpoint * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: EndpointProvisioningState; + readonly inferenceEndpoint?: ServerlessInferenceEndpoint; /** - * The current state of the ServerlessEndpoint. + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly endpointState?: ServerlessEndpointState; + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * Provisioning state for the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly marketplaceSubscriptionId?: string; - /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ - contentSafety?: ContentSafety; + readonly provisioningState?: EndpointProvisioningState; } -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; +export interface ContentSafety { + /** [Required] Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; /** * Specifies any required headers to target this serverless endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly headers?: { [propertyName: string]: string | null }; + /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ + uri: string; } -export interface ContentSafety { - /** [Required] Specifies the status of content safety. */ - contentSafetyStatus: ContentSafetyStatus; +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; } /** A paginated list of Registry entities. */ @@ -2086,6 +1948,21 @@ export interface ArmResourceId { resourceId?: string; } +/** Managed resource group settings */ +export interface ManagedResourceGroupSettings { + /** List of assigned identities for the managed resource group */ + assignedIdentities?: ManagedResourceGroupAssignedIdentities[]; +} + +/** Details for managed resource group assigned identities. */ +export interface ManagedResourceGroupAssignedIdentities { + /** + * Identity principal Id + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; +} + /** Private endpoint connection definition. */ export interface RegistryPrivateEndpointConnection { /** @@ -2105,6 +1982,15 @@ export interface RegistryPrivateEndpointConnection { provisioningState?: string; } +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; +} + /** The connection state. */ export interface RegistryPrivateLinkServiceConnectionState { /** Some RP chose "None". Other RPs use this for region expansion. */ @@ -2217,972 +2103,1574 @@ export interface AmlUserFeature { description?: string; } -/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ -export interface ResourceId { - /** The ID of the resource */ - id: string; -} - -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; +/** 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; } -/** AKS properties */ -export interface AKSSchemaProperties { - /** Cluster full qualified domain name */ - clusterFqdn?: string; +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * System services + * 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 systemServices?: SystemService[]; - /** Number of agents */ - agentCount?: number; - /** Agent virtual machine size */ - agentVmSize?: string; - /** Intended usage of the cluster */ - clusterPurpose?: ClusterPurpose; - /** SSL configuration */ - sslConfiguration?: SslConfiguration; - /** AKS networking configuration for vnet */ - aksNetworkingConfiguration?: AksNetworkingConfiguration; - /** Load Balancer Type */ - loadBalancerType?: LoadBalancerType; - /** Load Balancer Subnet */ - loadBalancerSubnet?: string; + readonly name?: string; + /** + * 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 isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; + /** + * 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 origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; } -/** A system service running on a compute. */ -export interface SystemService { +/** Localized display information for this particular operation. */ +export interface OperationDisplay { /** - * The type of this system service. + * 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 systemServiceType?: string; + readonly provider?: string; /** - * Public IP address + * 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 publicIpAddress?: string; + readonly resource?: string; /** - * The version for this type. + * 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 version?: string; + 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; } -/** 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; +/** The result of a request to list machine learning workspaces. */ +export interface WorkspaceListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: Workspace[]; } -/** 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 EncryptionProperty { + /** + * The byok cosmosdb account that customer brings to store customer's data + * with encryption + */ + cosmosDbResourceId?: string; + /** Identity to be used with the keyVault */ + identity?: IdentityForCmk; + /** KeyVault details to do the encryption */ + keyVaultProperties: KeyVaultProperties; + /** + * The byok search account that customer brings to store customer's data + * with encryption + */ + searchAccountResourceId?: string; + /** Indicates whether or not the encryption is enabled for the workspace. */ + status: EncryptionStatus; + /** + * The byok storage account that customer brings to store customer's data + * with encryption + */ + storageAccountResourceId?: string; } -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; +/** Identity object used for encryption. */ +export interface IdentityForCmk { + /** UserAssignedIdentity to be used to fetch the encryption key from keyVault */ + userAssignedIdentity?: 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 }; +/** Customer Key vault properties. */ +export interface KeyVaultProperties { + /** + * Currently, we support only SystemAssigned MSI. + * We need this when we support UserAssignedIdentities + */ + identityClientId?: string; + /** KeyVault key identifier to encrypt the data */ + keyIdentifier: string; + /** KeyVault Arm Id that contains the data encryption key */ + keyVaultArmId: string; } -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; +export interface FeatureStoreSettings { + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; } -/** Resource requests/limits for this instance type */ -export interface InstanceTypeSchemaResources { - /** Resource requests for this instance type */ - requests?: { [propertyName: string]: string }; - /** Resource limits for this instance type */ - limits?: { [propertyName: string]: string }; +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; } -/** AML Compute properties */ -export interface AmlComputeProperties { - /** Compute OS Type */ - osType?: OsType; - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual Machine priority */ - vmPriority?: VmPriority; - /** Virtual Machine image for AML Compute - windows only */ - virtualMachineImage?: VirtualMachineImage; - /** Network is isolated or not */ - isolatedNetwork?: boolean; - /** Scale settings for AML Compute */ - scaleSettings?: ScaleSettings; - /** Credentials for an administrator user account that will be created on each compute node. */ - userAccountCredentials?: UserAccountCredentials; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ - remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; - /** - * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly allocationState?: AllocationState; +/** Managed Network settings for a machine learning workspace. */ +export interface ManagedNetworkSettings { + /** Firewall Sku used for FQDN Rules */ + firewallSku?: FirewallSku; + /** Isolation mode for the managed network of a machine learning workspace. */ + isolationMode?: IsolationMode; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly networkId?: string; + /** Dictionary of */ + outboundRules?: { [propertyName: string]: OutboundRuleUnion }; + /** Status of the Provisioning for the managed network of a machine learning workspace. */ + status?: ManagedNetworkProvisionStatus; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly changeableIsolationModes?: IsolationMode[]; +} + +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly parentRuleNames?: string[]; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; +} + +/** Status of the Provisioning for the managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionStatus { + sparkReady?: boolean; + /** Status for the managed network of a machine learning workspace. */ + status?: ManagedNetworkStatus; +} + +export interface NetworkAcls { + /** The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. */ + defaultAction?: DefaultActionType; + /** Rules governing the accessibility of a resource from a specific ip address or ip range. */ + ipRules?: IPRule[]; +} + +/** Contains an IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). Value could be 'Allow' or 'Deny'. */ +export interface IPRule { + /** An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). Value could be 'Allow' or 'Deny'. */ + value?: string; +} + +export interface NotebookResourceInfo { + fqdn?: string; + isPrivateLinkEnabled?: boolean; + /** The error that occurs when preparing notebook. */ + notebookPreparationError?: NotebookPreparationError; + /** the data plane resourceId that used to initialize notebook component */ + resourceId?: string; +} + +export interface NotebookPreparationError { + errorMessage?: string; + statusCode?: number; +} + +/** The Private Endpoint resource. */ +export interface WorkspacePrivateEndpointResource { /** - * The time at which the compute entered its current allocation state. + * e.g. /subscriptions/{networkSubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName} * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly allocationStateTransitionTime?: Date; + readonly id?: string; /** - * Collection of errors encountered by various compute nodes during node setup. + * The subnetId that the private endpoint is connected to. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errors?: ErrorResponse[]; + readonly subnetArmId?: string; +} + +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; +} + +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 ServiceManagedResourcesSettings { + cosmosDb?: CosmosDbSettings; +} + +export interface CosmosDbSettings { + collectionsThroughput?: number; +} + +export interface SharedPrivateLinkResource { + /** Unique name of the private link */ + name?: string; + /** group id of the private link */ + groupId?: string; + /** the resource id that private link links to */ + privateLinkResourceId?: string; + /** Request message */ + requestMessage?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; +} + +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: string; +} + +/** The parameters for updating a machine learning workspace. */ +export interface WorkspaceUpdateParameters { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** The resource tags for the machine learning workspace. */ + tags?: { [propertyName: string]: string }; + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + enableDataIsolation?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionUpdateProperties; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; +} + +export interface EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; +} + +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: string; +} + +export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { + nextLink?: string; + value?: WorkspaceConnectionPropertiesV2BasicResource[]; +} + +export interface WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: + | "AAD" + | "AccessKey" + | "AccountKey" + | "ApiKey" + | "CustomKeys" + | "ManagedIdentity" + | "None" + | "OAuth2" + | "PAT" + | "SAS" + | "ServicePrincipal" + | "UsernamePassword"; + /** Category of the connection */ + category?: ConnectionCategory; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly createdByWorkspaceArmId?: string; + error?: string; + expiryTime?: Date; /** - * The number of compute nodes currently assigned to the compute. + * Group based on connection category * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly group?: ConnectionGroup; + isSharedToAll?: boolean; + /** Store user metadata for this connection */ + metadata?: { [propertyName: string]: string }; + peRequirement?: ManagedPERequirement; + peStatus?: ManagedPEStatus; + sharedUserList?: string[]; + target?: string; + useWorkspaceManagedIdentity?: boolean; +} + +/** The properties that the machine learning workspace connection will be updated with. */ +export interface WorkspaceConnectionUpdateParameter { + /** The properties that the machine learning workspace connection will be updated with. */ + properties?: WorkspaceConnectionPropertiesV2Union; +} + +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointDeploymentResourcePropertiesBasicResource[]; +} + +export interface EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "Azure.Speech"; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * 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. + * Read-only provision state status property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly provisioningState?: DefaultResourceProvisioningState; +} + +export interface EndpointModels { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** List of models. */ + value?: EndpointModelProperties[]; +} + +/** Endpoint Model properties. */ +export interface EndpointModelProperties { + /** The capabilities. */ + capabilities?: { [propertyName: string]: string }; + deprecation?: EndpointModelDeprecationProperties; + /** The capabilities for finetune models. */ + finetuneCapabilities?: { [propertyName: string]: string }; + /** Deployment model format. */ + format?: string; + /** If the model is default version. */ + isDefaultVersion?: boolean; + /** Model lifecycle status. */ + lifecycleStatus?: ModelLifecycleStatus; + /** The max capacity. */ + maxCapacity?: number; + /** Deployment model name. */ + name?: string; + /** The list of Model Sku. */ + skus?: EndpointModelSkuProperties[]; /** - * Counts of various node states on the compute. + * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly 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 systemData?: SystemData; + /** Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. */ + version?: string; } -/** Virtual Machine image for Windows AML Compute */ -export interface VirtualMachineImage { - /** Virtual Machine image path */ - id: string; +export interface EndpointModelDeprecationProperties { + /** The datetime of deprecation of the fineTune Model. */ + fineTune?: Date; + /** The datetime of deprecation of the inference Model. */ + inference?: Date; } -/** 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 EndpointModelSkuProperties { + capacity?: EndpointModelSkuCapacityProperties; + /** The list of ARM id for the connection support this SKU. */ + connectionIds?: string[]; + /** The datetime of deprecation of the model SKU. */ + deprecationDate?: Date; + /** The name of the model SKU. */ + name?: string; + rateLimits?: EndpointModelSkuRateLimitProperties[]; + /** The usage name of the model SKU. */ + usageName?: string; } -/** 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; +export interface EndpointModelSkuCapacityProperties { + /** The default capacity. */ + default?: number; + /** The maximum capacity. */ + maximum?: number; +} + +export interface EndpointModelSkuRateLimitProperties { + /** The count value of Call Rate Limit. */ + count?: number; + /** The renewal period in seconds of Call Rate Limit. */ + renewalPeriod?: number; + /** The call rate limit for the model. */ + rules?: EndpointModelSkuRateLimitRuleProperties[]; +} + +export interface EndpointModelSkuRateLimitRuleProperties { + count?: number; + /** If the dynamic throttling is enabled. */ + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + minCount?: number; + renewalPeriod?: number; +} + +export interface EndpointModelSkuRateLimitRulePatternProperties { + method?: string; + path?: string; +} + +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistPropertiesBasicResource[]; +} + +/** RAI Custom Blocklist properties. */ +export interface RaiBlocklistProperties { + /** Description of the block list. */ + description?: string; +} + +/** The Cognitive Services RaiBlocklist Item request body. */ +export interface RaiBlocklistItemBulkRequest { + name?: string; + /** Properties of Cognitive Services RaiBlocklist Item. */ + properties?: RaiBlocklistItemProperties; +} + +/** RAI Custom Blocklist Item properties. */ +export interface RaiBlocklistItemProperties { + /** If the pattern is a regex pattern. */ + isRegex?: boolean; + /** Pattern to match against. */ + pattern?: string; +} + +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistItemPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters resource list. */ +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiPolicyPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters properties. */ +export interface RaiPolicyProperties { + /** Name of the base Content Filters. */ + basePolicyName?: string; + completionBlocklists?: RaiBlocklistConfig[]; + contentFilters?: RaiPolicyContentFilter[]; + /** Content Filters mode. */ + mode?: RaiPolicyMode; + promptBlocklists?: RaiBlocklistConfig[]; + /** Content Filters policy type. */ + type?: RaiPolicyType; +} + +/** Azure OpenAI blocklist config. */ +export interface RaiBlocklistConfig { + /** If blocking would occur. */ + blocking?: boolean; + /** Name of ContentFilter. */ + blocklistName?: string; +} + +/** Azure OpenAI Content Filter. */ +export interface RaiPolicyContentFilter { + /** Level at which content is filtered. */ + allowedContentLevel?: AllowedContentLevel; + /** If blocking would occur. */ + blocking?: boolean; + /** If the ContentFilter is enabled. */ + enabled?: boolean; + /** Name of ContentFilter. */ + name?: string; + /** Content source to apply the Content Filters. */ + source?: RaiPolicyContentSource; +} + +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + value?: DiagnoseRequestProperties; +} + +export interface DiagnoseRequestProperties { + /** Setting for diagnosing dependent application insights */ + applicationInsights?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent container registry */ + containerRegistry?: { [propertyName: string]: any }; + /** Setting for diagnosing dns resolution */ + dnsResolution?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent key vault */ + keyVault?: { [propertyName: string]: any }; + /** Setting for diagnosing network security group */ + nsg?: { [propertyName: string]: any }; + /** Setting for diagnosing unclassified category of problems */ + others?: { [propertyName: string]: any }; + /** Setting for diagnosing the presence of required resource providers in the workspace. */ + requiredResourceProviders?: { [propertyName: string]: any }; + /** Setting for diagnosing resource lock */ + resourceLock?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent storage account */ + storageAccount?: { [propertyName: string]: any }; + /** Setting for diagnosing user defined routing */ + udr?: { [propertyName: string]: any }; +} + +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; +} + +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; +} + +/** Result of Diagnose */ +export interface DiagnoseResult { /** - * Number of compute nodes which are running jobs. + * Code for workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runningNodeCount?: number; + readonly code?: string; /** - * Number of compute nodes which are being prepared. + * Level of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly preparingNodeCount?: number; + readonly level?: DiagnoseResultLevel; /** - * Number of compute nodes which are in unusable state. + * Message of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly unusableNodeCount?: number; + readonly message?: string; +} + +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointResourcePropertiesBasicResource[]; +} + +export interface EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "serverlessEndpoint" + | "Azure.Speech"; + /** Byo resource id for creating the built-in model service endpoints. */ + associatedResourceId?: string; + /** Deployments info. */ + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + /** Uri of the endpoint. */ + endpointUri?: string; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * Number of compute nodes which are leaving the amlCompute. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Location of the endpoint. + * Since input dto and when parse endpoint resource share the same contract + * this Location field is just for parse the endpoint resource info + * we won't let customer specify the endpoint resource location since we will create it the same location as workspace */ - readonly leavingNodeCount?: number; + location?: string; + /** Name of the endpoint. */ + name?: string; /** - * Number of compute nodes which are in preempted state. + * Read-only provision state status property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly preemptedNodeCount?: number; + readonly provisioningState?: DefaultResourceProvisioningState; + /** Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. */ + shouldCreateAiServicesEndpoint?: boolean; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +export interface EndpointKeys { + /** Dictionary of Keys for the endpoint. */ + keys?: AccountApiKeys; } -/** 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; +export interface AccountApiKeys { + key1?: string; + key2?: string; +} + +export interface RegenerateServiceAccountKeyContent { + keyName?: ServiceAccountKeyName; +} + +export interface ListWorkspaceKeysResult { /** - * Collection of errors encountered on this ComputeInstance. + * The access key of the workspace app insights * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errors?: ErrorResponse[]; + readonly appInsightsInstrumentationKey?: string; + containerRegistryCredentials?: RegistryListCredentialsResult; + notebookAccessKeys?: ListNotebookKeysResult; /** - * The current state of this ComputeInstance. + * The arm Id key of the workspace storage * 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; + readonly userStorageArmId?: string; /** - * The last operation on ComputeInstance. + * The access key of the workspace storage * 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; + readonly userStorageKey?: string; +} + +export interface RegistryListCredentialsResult { /** - * Describes informations of containers on this ComputeInstance. + * The location of the workspace ACR * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly containers?: ComputeInstanceContainer[]; + readonly location?: string; + passwords?: Password[]; /** - * Describes informations of dataDisks on this ComputeInstance. + * The username of the workspace ACR * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dataDisks?: ComputeInstanceDataDisk[]; + readonly username?: string; +} + +export interface Password { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly name?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly value?: string; +} + +export interface ListNotebookKeysResult { /** - * Describes informations of dataMounts on this ComputeInstance. + * The primary access key of the Notebook * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly dataMounts?: ComputeInstanceDataMount[]; + readonly primaryAccessKey?: string; /** - * ComputeInstance version. + * The secondary access key of the Notebook * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly versions?: ComputeInstanceVersion; + readonly secondaryAccessKey?: string; } -/** Specifies policy and settings for SSH access. */ -export interface ComputeInstanceSshSettings { - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable. */ - sshPublicAccess?: SshPublicAccess; - /** - * Describes the admin user name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly adminUserName?: string; +export interface NotebookAccessTokenResult { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly accessToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly expiresIn?: number; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly hostName?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly notebookResourceId?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly publicDns?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly refreshToken?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly scope?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly tokenType?: string; +} + +export interface ListStorageAccountKeysResult { /** - * Describes the port for connecting through SSH. + * The access key of the storage * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly sshPort?: number; - /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ - adminPublicKey?: string; + readonly userStorageKey?: string; } -/** Specifies the custom service configuration */ -export interface CustomService { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Name of the Custom Service */ - name?: string; - /** Describes the Image Specifications */ - image?: Image; - /** Environment Variable for the container */ - environmentVariables?: { [propertyName: string]: EnvironmentVariable }; - /** Describes the docker settings for the image */ - docker?: Docker; - /** Configuring the endpoints for the container */ - endpoints?: Endpoint[]; - /** Configuring the volumes for the container */ - volumes?: VolumeDefinition[]; +export interface ExternalFqdnResponse { + value?: FqdnEndpointsPropertyBag[]; } -/** 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; +/** Property bag for FQDN endpoints result */ +export interface FqdnEndpointsPropertyBag { + properties?: FqdnEndpoints; } -/** 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 FqdnEndpoints { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** 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 FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; +} -/** 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 FqdnEndpointDetail { + port?: number; } -/** 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; +/** List of outbound rules for the managed network of a machine learning workspace. */ +export interface OutboundRuleListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: OutboundRuleBasicResource[]; } -/** Describes the 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; +/** List of private endpoint connection associated with the specified workspace */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; } -/** Returns metadata about the operating system image for this compute instance. */ -export interface ImageMetadata { - /** Specifies the current operating system image version this compute instance is running on. */ - currentImageVersion?: string; - /** Specifies the latest available operating system image version. */ - latestImageVersion?: string; - /** Specifies whether this compute instance is running on the latest operating system image. */ - isLatestOsImageVersion?: boolean; +/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ +export interface ResourceId { + /** The ID of the resource */ + id: string; } -/** Defines all connectivity endpoints and properties for an ComputeInstance. */ -export interface ComputeInstanceConnectivityEndpoints { - /** - * Public IP Address of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publicIpAddress?: string; +export interface AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; +} + +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * System services * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; -} - -/** Defines an Aml Instance application and its connectivity endpoint URI. */ -export interface ComputeInstanceApplication { - /** Name of the ComputeInstance application. */ - displayName?: string; - /** Application' endpoint URI. */ - endpointUri?: string; + readonly systemServices?: SystemService[]; + /** Number of agents */ + agentCount?: number; + /** Agent virtual machine size */ + agentVmSize?: string; + /** Intended usage of the cluster */ + clusterPurpose?: ClusterPurpose; + /** SSL configuration */ + sslConfiguration?: SslConfiguration; + /** AKS networking configuration for vnet */ + aksNetworkingConfiguration?: AksNetworkingConfiguration; + /** Load Balancer Type */ + loadBalancerType?: LoadBalancerType; + /** Load Balancer Subnet */ + loadBalancerSubnet?: string; } -/** Describes information on user who created this ComputeInstance. */ -export interface ComputeInstanceCreatedBy { +/** A system service running on a compute. */ +export interface SystemService { /** - * Name of the user. + * The type of this system service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userName?: string; + readonly systemServiceType?: string; /** - * Uniquely identifies user' Azure Active Directory organization. + * Public IP address * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userOrgId?: string; + readonly publicIpAddress?: string; /** - * Uniquely identifies the user within his/her organization. + * The version for this type. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userId?: string; -} - -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; + readonly version?: string; } -/** A user that can be assigned to a compute instance. */ -export interface AssignedUser { - /** User’s AAD Object Id. */ - objectId: string; - /** User’s AAD Tenant Id. */ - tenantId: string; +/** The ssl configuration for scoring */ +export interface SslConfiguration { + /** Enable or disable ssl for scoring */ + status?: SslConfigStatus; + /** Cert data */ + cert?: string; + /** Key data */ + key?: string; + /** CNAME of the cert */ + cname?: string; + /** Leaf domain label of public endpoint */ + leafDomainLabel?: string; + /** Indicates whether to overwrite existing domain label. */ + overwriteExistingDomain?: boolean; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +/** Advance configuration for AKS networking */ +export interface AksNetworkingConfiguration { + /** Virtual network subnet resource ID the compute nodes belong to */ + subnetId?: string; + /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ + serviceCidr?: string; + /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ + dnsServiceIP?: string; + /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ + dockerBridgeCidr?: string; } -/** Customized setup scripts */ -export interface ScriptsToExecute { - /** Script that's run every time the machine starts. */ - startupScript?: ScriptReference; - /** Script that's run only once during provision of the compute. */ - creationScript?: ScriptReference; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -/** Script reference */ -export interface ScriptReference { - /** The storage source of the script: workspace. */ - scriptSource?: string; - /** The location of scripts in the mounted volume. */ - scriptData?: string; - /** Optional command line arguments passed to the script to run. */ - scriptArguments?: string; - /** Optional time period passed to timeout command. */ - timeout?: string; +/** Kubernetes properties */ +export interface KubernetesProperties { + /** Relay connection string. */ + relayConnectionString?: string; + /** ServiceBus connection string. */ + serviceBusConnectionString?: string; + /** Extension principal-id. */ + extensionPrincipalId?: string; + /** Extension instance release train. */ + extensionInstanceReleaseTrain?: string; + /** VC name. */ + vcName?: string; + /** Compute namespace */ + namespace?: string; + /** Default instance type */ + defaultInstanceType?: string; + /** Instance Type Schema */ + instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; } -/** The last operation on ComputeInstance. */ -export interface ComputeInstanceLastOperation { - /** Name of the last operation. */ - operationName?: OperationName; - /** Time of the last operation. */ - operationTime?: Date; - /** Operation status. */ - operationStatus?: OperationStatus; - /** Trigger of operation. */ - operationTrigger?: OperationTrigger; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** The list of schedules to be applied on the computes */ -export interface ComputeSchedules { - /** The list of compute start stop schedules to be applied. */ - computeStartStop?: ComputeStartStopSchedule[]; +/** Resource requests/limits for this instance type */ +export interface InstanceTypeSchemaResources { + /** Resource requests for this instance type */ + requests?: { [propertyName: string]: string }; + /** Resource limits for this instance type */ + limits?: { [propertyName: string]: string }; } -/** Compute start stop schedule properties */ -export interface ComputeStartStopSchedule { - /** - * A system assigned id for the schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * The current deployment state of schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningStatus?: ProvisioningStatus; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; - /** [Required] The compute power action. */ - action?: ComputePowerAction; - /** [Required] The schedule trigger type. */ - triggerType?: ComputeTriggerType; - /** Required if triggerType is Recurrence. */ - recurrence?: Recurrence; - /** Required if triggerType is Cron. */ - cron?: Cron; - /** [Deprecated] Not used any more. */ - schedule?: ScheduleBase; -} - -/** 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; +/** 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; /** - * 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 + * 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. */ - timeZone?: string; - /** [Required] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; + 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[]; + /** + * 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 settings for autologger. */ + autologgerSettings?: ComputeInstanceAutologgerSettings; + /** 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[]; -} - -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ - name?: string; - /** version of environment. */ - version?: string; + readonly osImageMetadata?: ImageMetadata; + /** + * Describes all connectivity endpoints available for this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; + /** + * Describes available applications and their endpoints on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly applications?: ComputeInstanceApplication[]; + /** + * Describes information on user who created this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ComputeInstanceCreatedBy; + /** + * Collection of errors encountered on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The current state of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: ComputeInstanceState; + /** The Compute Instance Authorization type. Available values are personal (default). */ + computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; + /** Enable Auto OS Patching. Possible values are: true, false. */ + enableOSPatching?: boolean; + /** Enable root access. Possible values are: true, false. */ + enableRootAccess?: boolean; + /** Enable SSO (single sign on). Possible values are: true, false. */ + enableSSO?: boolean; + /** Release quota if compute instance stopped. Possible values are: true - release quota if compute instance stopped. false - don't release quota when compute instance stopped. */ + releaseQuotaOnStop?: boolean; + /** Settings for a personal compute instance. */ + personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + /** Details of customized scripts to execute for setting up the cluster. */ + setupScripts?: SetupScripts; + /** + * The last operation on ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastOperation?: ComputeInstanceLastOperation; + /** The list of schedules to be applied on the computes. */ + schedules?: ComputeSchedules; + /** Stops compute instance after user defined period of inactivity. Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; + /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ + enableNodePublicIp?: boolean; + /** + * Describes informations of containers on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containers?: ComputeInstanceContainer[]; + /** + * Describes informations of dataDisks on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataDisks?: ComputeInstanceDataDisk[]; + /** + * Describes informations of dataMounts on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataMounts?: ComputeInstanceDataMount[]; + /** + * ComputeInstance version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly versions?: ComputeInstanceVersion; } -/** 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; +/** Specifies settings for autologger. */ +export interface ComputeInstanceAutologgerSettings { + /** Indicates whether mlflow autologger is enabled for notebooks. */ + mlflowAutologger?: MlflowAutologger; } -/** 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; +/** 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; } -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +/** Returns metadata about the operating system image for this compute instance. */ +export interface ImageMetadata { + /** Specifies the current operating system image version this compute instance is running on. */ + currentImageVersion?: string; + /** Specifies the latest available operating system image version. */ + latestImageVersion?: string; + /** Specifies whether this compute instance is running on the latest operating system image. */ + isLatestOsImageVersion?: boolean; + /** + * Metadata about the os patching. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osPatchingStatus?: OsPatchingStatus; } -export interface VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +/** Returns metadata about the os patching. */ +export interface OsPatchingStatus { + /** The os patching status. */ + patchStatus?: PatchStatus; + /** Time of the latest os patching. */ + latestPatchTime?: string; + /** Specifies whether this compute instance is pending for reboot to finish os patching. */ + rebootPending?: boolean; + /** Time of scheduled reboot. */ + scheduledRebootTime?: string; + /** Collection of errors encountered when doing os patching. */ + osPatchingErrors?: ErrorResponse[]; } -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; +/** 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; } -/** 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; +/** 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; } -/** 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 information on user who created this ComputeInstance. */ +export interface ComputeInstanceCreatedBy { + /** + * Name of the user. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userName?: string; + /** + * Uniquely identifies user' Azure Active Directory organization. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userOrgId?: string; + /** + * Uniquely identifies the user within his/her organization. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userId?: string; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: 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; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; } -export interface DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** Customized setup scripts */ +export interface ScriptsToExecute { + /** Script that's run every time the machine starts. */ + startupScript?: ScriptReference; + /** Script that's run only once during provision of the compute. */ + creationScript?: ScriptReference; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: string; +/** Script reference */ +export interface ScriptReference { + /** The storage source of the script: inline, workspace. */ + scriptSource?: string; + /** The location of scripts in the mounted volume. */ + scriptData?: string; + /** Optional command line arguments passed to the script to run. */ + scriptArguments?: string; + /** Optional time period passed to timeout command. */ + timeout?: string; } -export interface 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; +/** 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; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +/** 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[]; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +/** Compute start stop schedule properties */ +export interface ComputeStartStopSchedule { + /** + * A system assigned id for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The current deployment state of schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningStatus?: ProvisioningStatus; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; + /** [Required] The compute power action. */ + action?: ComputePowerAction; + /** [Required] The schedule trigger type. */ + triggerType?: ComputeTriggerType; + /** Required if triggerType is Recurrence. */ + recurrence?: Recurrence; + /** Required if triggerType is Cron. */ + cron?: Cron; + /** [Deprecated] Not used any more. */ + schedule?: ScheduleBase; } -/** 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; +/** 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 VirtualMachineSecretsSchema { - /** Admin credentials for virtual machine. */ - administratorAccount?: VirtualMachineSshCredentials; -} - -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: string; +export interface 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[]; } -/** 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 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; } -/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointDestination { - serviceResourceId?: string; - sparkEnabled?: boolean; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - sparkStatus?: RuleStatus; - subresourceTarget?: string; +export interface 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; } -/** 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; +/** 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; /** - * Optional, if provided, the ServiceTag property will be ignored. + * services of this containers. * 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 services?: Record[]; } -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -export interface WorkspaceConnectionPersonalAccessToken { - pat?: string; +/** Defines an Aml Instance DataDisk. */ +export interface ComputeInstanceDataDisk { + /** Caching type of Data Disk. */ + caching?: Caching; + /** The initial disk size in gigabytes. */ + diskSizeGB?: number; + /** The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. */ + lun?: number; + /** type of this storage account. */ + storageAccountType?: StorageAccountType; } -export interface WorkspaceConnectionSharedAccessSignature { - sas?: string; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: string; } -export interface WorkspaceConnectionAccountKey { - key?: string; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: string; +export interface VirtualMachineSchemaProperties { + /** Virtual Machine size */ + virtualMachineSize?: string; + /** Port open for ssh connections. */ + sshPort?: number; + /** Notebook server port open for ssh connections. */ + notebookServerPort?: number; + /** Public IP address of the virtual machine. */ + address?: string; + /** Admin credentials for virtual machine */ + administratorAccount?: VirtualMachineSshCredentials; + /** Indicates whether this compute will be used for running notebooks. */ + isNotebookInstanceCompute?: boolean; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: 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; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +/** HDInsight compute properties */ +export interface HDInsightProperties { + /** Port open for ssh connections on the master node of the cluster. */ + sshPort?: number; + /** Public IP address of the master node of the cluster. */ + address?: string; + /** Admin credentials for master node of the cluster */ + administratorAccount?: VirtualMachineSshCredentials; } -/** - * 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 HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; } -export interface WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; } -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken" | "ManagedIdentity"; +export interface DataLakeAnalyticsSchema { + properties?: DataLakeAnalyticsSchemaProperties; } -/** Asset input type. */ -export interface AssetJobInput { - /** [Required] Input Asset URI. */ - uri: string; - /** Input Asset Delivery Mode. */ - mode?: InputDeliveryMode; +export interface DataLakeAnalyticsSchemaProperties { + /** DataLake Store Account Name */ + dataLakeStoreAccountName?: string; } -/** Asset output type. */ -export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; - /** Output Asset Delivery Mode. */ - mode?: OutputDeliveryMode; +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; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Auto scale properties */ +export interface AutoScaleProperties { + minNodeCount?: number; + enabled?: boolean; + maxNodeCount?: number; } -/** - * AutoML vertical class. - * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical - */ -export interface AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: - | "Classification" - | "Forecasting" +/** Auto pause properties */ +export interface AutoPauseProperties { + delayInMinutes?: number; + enabled?: boolean; +} + +/** Properties of AksComputeSecrets */ +export interface AksComputeSecretsProperties { + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + userKubeConfig?: string; + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + adminKubeConfig?: string; + /** Image registry pull secret. */ + imagePullSecretName?: string; +} + +export interface VirtualMachineSecretsSchema { + /** Admin credentials for virtual machine. */ + administratorAccount?: VirtualMachineSshCredentials; +} + +/** Properties of Databricks Compute Secrets */ +export interface DatabricksComputeSecretsProperties { + /** access token for databricks account. */ + databricksAccessToken?: string; +} + +export interface MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + 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 Name. */ + assetName?: string; + /** Output Asset Delivery Mode. */ + mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; +} + +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** 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 + */ +export interface AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: + | "Classification" + | "Forecasting" | "ImageClassification" | "ImageClassificationMultilabel" | "ImageInstanceSegmentation" @@ -3193,13 +3681,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 +3705,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 +3731,43 @@ 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; +} + +/** Azure Open AI hyperparameters for fine tuning. */ +export interface AzureOpenAiHyperParameters { + /** Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. */ + batchSize?: number; + /** Scaling factor for the learning rate. A smaller learning rate may be useful to avoid over fitting. */ + learningRateMultiplier?: number; + /** The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. */ + nEpochs?: number; +} + +export interface FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI" | "Custom"; + /** [Required] Input model for fine tuning. */ + model: JobInputUnion; + /** [Required] Fine tuning task type. */ + taskType: FineTuningTaskType; + /** [Required] Training data for fine tuning. */ + trainingData: JobInputUnion; + /** Validation data for fine tuning. */ + validationData?: JobInputUnion; } /** 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 +3807,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 +3822,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 +3849,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 +3886,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 +3919,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 +3932,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 +3994,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; +export interface CustomMetricThreshold { + /** [Required] The user-defined metric to calculate. */ + metric: string; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } /** 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 +4023,15 @@ 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; +} + +export interface JobResources { + /** List of instance types to choose from. */ + instanceTypes?: string[]; } /** Forecasting specific parameters. */ @@ -3544,23 +4041,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 +4060,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 +4086,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 +4098,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 +4116,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 +4210,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 +4286,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 +4315,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,40 +4354,193 @@ 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; +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; +} + +/** Account key object for workspace connection credential. */ +export interface WorkspaceConnectionAccountKey { + key?: string; +} + +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; +} + +/** The capacity configuration. */ +export interface CapacityConfig { + /** The minimum capacity. */ + minimum?: number; + /** The maximum capacity. */ + maximum?: number; + /** The minimal incremental between allowed values for capacity. */ + step?: number; + /** The default capacity. */ + default?: number; + /** The array of allowed values for capacity. */ + allowedValues?: number[]; +} + +export interface CognitiveServiceEndpointDeploymentResourceProperties { + /** Model used for the endpoint deployment. */ + model: EndpointDeploymentModel; + /** The name of RAI policy. */ + raiPolicyName?: string; + sku?: CognitiveServicesSku; + /** Deployment model version upgrade option. */ + versionUpgradeOption?: DeploymentModelVersionUpgradeOption; +} + +export interface EndpointDeploymentModel { + /** Model format */ + format?: string; + /** Model name. */ + name?: string; + /** Optional. Deployment model source ARM resource ID. */ + source?: string; + /** Model version. */ + version?: string; +} + +export interface CognitiveServicesSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: string; +} + +export interface ServerlessEndpointContentSafety { + /** Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; +} + +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [propertyName: string]: string }; +} + +export interface WorkspaceConnectionManagedIdentity { + clientId?: string; + resourceId?: string; +} + +export interface ServerlessEndpointModelSettings { + modelId: 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 WorkspaceConnectionPersonalAccessToken { + pat?: 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; +} + +export interface WorkspaceConnectionSharedAccessSignature { + sas?: string; +} + +export interface ServerlessEndpointCapacityReservation { + capacityReservationGroupId: string; + endpointReservedCapacity?: number; +} + +export interface ServerlessEndpointInferenceEndpoint { + /** + * Dictionary of + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly headers?: { [propertyName: string]: string }; + uri: string; +} + +export interface ServerlessOffer { + offerName: string; + publisher: string; +} + +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; +} + +/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagDestination { + /** The action enum for networking rule. */ + action?: RuleAction; + /** Optional, if provided, the ServiceTag property will be ignored. */ + addressPrefixes?: string[]; + portRanges?: string; + protocol?: string; + serviceTag?: string; +} + +export interface WorkspaceConnectionUsernamePassword { + password?: string; + /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ + securityToken?: string; + username?: 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 { +/** 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. */ @@ -3893,196 +4549,212 @@ export interface PrivateEndpointConnection extends Resource { 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. */ +/** 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 { + /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; - kind?: string; - /** Specifies the location of the resource. */ + /** Same as workspace location. */ location?: string; - /** Contains resource tags defined as key/value pairs. */ + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ + /** The Private Endpoint resource. */ + privateEndpoint?: WorkspacePrivateEndpointResource; + /** The connection state. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** The current provisioning state. */ + provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** An object that represents a machine learning workspace. */ +export interface Workspace extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + kind?: string; + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; /** - * The immutable id associated with this workspace. + * The URI of agents endpoint associated with this workspace. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly 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; + readonly agentsEndpointUri?: string; + /** The flag to indicate whether to allow public access when behind VNet. */ + allowPublicAccessWhenBehindVnet?: boolean; + /** The flag to indicate whether we will do role assignment for the workspace MSI on resource group level. */ + allowRoleAssignmentOnRG?: boolean; /** ARM id of the application insights associated with this workspace. */ applicationInsights?: string; + associatedWorkspaces?: string[]; + containerRegistries?: string[]; /** ARM id of the container registry associated with this workspace. */ containerRegistry?: string; - /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ - storageAccount?: string; + /** The description of this workspace. */ + description?: 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. */ + enableDataIsolation?: boolean; + enableServiceSideCMKEncryption?: boolean; + /** Flag to tell if simplified CMK should be enabled for this workspace. */ + enableSimplifiedCmk?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace. */ + enableSoftwareBillOfMaterials?: boolean; encryption?: EncryptionProperty; + existingWorkspaces?: string[]; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ hbiWorkspace?: boolean; + hubResourceId?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ + keyVault?: string; + keyVaults?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; /** - * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace + * The URI associated with this workspace that machine learning flow must point at to set up tracking. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly serviceProvisionedResourceGroup?: string; + readonly mlFlowTrackingUri?: string; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; /** - * Count of private connections in the workspace + * The notebook info of Azure ML 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; + readonly notebookInfo?: NotebookResourceInfo; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; /** * The list of private endpoint connections in the workspace. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** The list of shared private link resources in this workspace. */ - sharedPrivateLinkResources?: SharedPrivateLinkResource[]; /** - * The notebook info of Azure ML workspace. + * Count of private connections in the workspace * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly notebookInfo?: NotebookResourceInfo; + readonly privateLinkCount?: number; + /** Set to trigger the provisioning of the managed VNet with the default Options when creating a Workspace with the managed VNet enabled, or else it does nothing. */ + provisionNetworkNow?: boolean; + /** + * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ProvisioningState; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; /** The service managed resource settings. */ serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; /** - * The tenant id associated with this workspace. + * 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 tenantId?: string; + readonly serviceProvisionedResourceGroup?: string; + /** The list of shared private link resources in this workspace. */ + sharedPrivateLinkResources?: SharedPrivateLinkResource[]; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ + storageAccount?: string; + storageAccounts?: string[]; /** * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly storageHnsEnabled?: boolean; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; /** - * The URI associated with this workspace that machine learning flow must point at to set up tracking. + * The tenant id associated with this workspace. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly mlFlowTrackingUri?: string; + readonly tenantId?: string; /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ v1LegacyMode?: boolean; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - associatedWorkspaces?: string[]; - enableDataIsolation?: boolean; - hubResourceId?: string; /** WorkspaceHub's configuration object. */ workspaceHubConfig?: WorkspaceHubConfig; -} - -/** Machine Learning compute object wrapped into ARM resource envelope. */ -export interface ComputeResource extends Resource, ComputeResourceSchema { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; -} - -/** A private link resource */ -export interface PrivateLinkResource extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The private link resource group id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly groupId?: string; /** - * The private link resource required member names. + * The immutable id associated with this workspace. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly requiredMembers?: string[]; - /** The private link resource Private link DNS zone name. */ - requiredZoneNames?: string[]; + readonly workspaceId?: string; } export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { properties: WorkspaceConnectionPropertiesV2Union; } -/** Outbound Rule Basic Resource for the managed network of a machine learning workspace. */ -export interface OutboundRuleBasicResource extends Resource { - /** Outbound Rule for the managed network of a machine learning workspace. */ - properties: OutboundRuleUnion; +export interface EndpointDeploymentResourcePropertiesBasicResource + extends Resource { + properties: EndpointDeploymentResourcePropertiesUnion; } -/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export interface ProxyResource extends Resource {} +export interface RaiBlocklistPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist properties. */ + properties: RaiBlocklistProperties; +} -/** 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; +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist Item properties. */ + properties: RaiBlocklistItemProperties; } -/** 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; +/** Azure OpenAI Content Filters resource. */ +export interface RaiPolicyPropertiesBasicResource extends Resource { + /** Azure OpenAI Content Filters properties. */ + properties: RaiPolicyProperties; } -/** 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; +export interface EndpointResourcePropertiesBasicResource extends Resource { + properties: EndpointResourcePropertiesUnion; } -/** 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 OutboundRuleBasicResource extends Resource { + /** Outbound Rule for the managed network of a machine learning workspace. */ + properties: OutboundRuleUnion; +} + +/** A private link resource */ +export interface PrivateLinkResource extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The private link resource group id. */ + groupId?: string; + /** The private link resource required member names. */ + requiredMembers?: string[]; + /** The private link resource Private link DNS zone name. */ + requiredZoneNames?: string[]; } /** A Machine Learning compute based on AKS. */ @@ -4170,216 +4842,115 @@ export interface DatabricksComputeSecrets computeType: "Databricks"; } -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; -} - -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; } -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; +export interface CapabilityHostProperties extends ResourceBase { + /** List of AI services connections. */ + aiServicesConnections?: string[]; + /** Kind of this capability host. */ + capabilityHostKind?: CapabilityHostKind; + /** Customer subnet info to help set up this capability host. */ + customerSubnet?: string; + /** + * Provisioning state for the CapabilityHost. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: CapabilityHostProvisioningState; + /** List of Storage connections. */ + storageConnections?: string[]; + /** List of VectorStore connections. */ + vectorStoreConnections?: string[]; } -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ManagedIdentity"; - credentials?: WorkspaceConnectionManagedIdentity; -} - -/** This connection type covers the AAD auth for any applicable Azure service */ -export interface AADAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AAD"; -} - -export interface AccessKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccessKey"; - credentials?: WorkspaceConnectionAccessKey; -} - -/** This connection type covers the account key connection for Azure storage */ -export interface AccountKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccountKey"; - credentials?: WorkspaceConnectionAccountKey; -} - -/** - * This connection type covers the generic ApiKey auth connection categories, for examples: - * AzureOpenAI: - * Category:= AzureOpenAI - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {ApiBase} - * - * CognitiveService: - * Category:= CognitiveService - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= ServiceRegion={serviceRegion} - * - * CognitiveSearch: - * Category:= CognitiveSearch - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {Endpoint} - * - * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields - */ -export interface ApiKeyAuthWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ApiKey"; - /** Api key object for workspace connection credential. */ - credentials?: WorkspaceConnectionApiKey; -} - -/** - * Category:= CustomKeys - * AuthType:= CustomKeys (as type discriminator) - * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys - * Target:= {any value} - * Use Metadata property bag for ApiVersion and other metadata fields - */ -export interface CustomKeysWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "CustomKeys"; - /** Custom Keys credential object */ - credentials?: CustomKeys; -} - -export interface OAuth2AuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "OAuth2"; - /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ - credentials?: WorkspaceConnectionOAuth2; -} - -export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ServicePrincipal"; - credentials?: WorkspaceConnectionServicePrincipal; -} - -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly latestVersion?: string; - /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextVersion?: string; -} - -export interface AssetBase extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; -} - -/** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { - /** [Required] Storage type backing the datastore. */ - datastoreType: DatastoreType; - /** - * Readonly property to indicate if datastore is the workspace default datastore - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isDefault?: boolean; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; +/** Base definition for datastore contents configuration. */ +export interface DatastoreProperties extends ResourceBase { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; + /** [Required] Storage type backing the datastore. */ + datastoreType: DatastoreType; + /** + * Readonly property to indicate if datastore is the workspace default datastore + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDefault?: boolean; } /** 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 +4970,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 +4982,12 @@ export interface ManagedIdentityCredential extends DataReferenceCredential { credentialType: "ManagedIdentity"; /** ManagedIdentityCredential identity type */ managedIdentityType?: string; - /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityResourceId?: string; /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityClientId?: string; /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ userManagedIdentityTenantId?: string; } @@ -4442,22 +5013,22 @@ export interface BatchEndpointProperties extends EndpointPropertiesBase { /** Online endpoint configuration */ export interface OnlineEndpointProperties extends EndpointPropertiesBase { - /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: EndpointProvisioningState; /** * ARM resource ID of the compute if it exists. * optional */ compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ publicNetworkAccess?: PublicNetworkAccessType; /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ traffic?: { [propertyName: string]: number }; - /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ - mirrorTraffic?: { [propertyName: string]: number }; } /** Strictly used in update requests. */ @@ -4468,19 +5039,19 @@ export interface PartialMinimalTrackedResourceWithIdentity } /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku +export interface PartialMinimalTrackedResourceWithSkuAndIdentity extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; /** Sku details required for ARM contract for Autoscaling. */ sku?: PartialSku; } /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSkuAndIdentity +export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { /** Sku details required for ARM contract for Autoscaling. */ sku?: PartialSku; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; } /** Properties for a Batch Pipeline Component Deployment. */ @@ -4510,30 +5081,30 @@ export interface IdAssetReference extends AssetReferenceBase { export interface DataPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "DataPath"; - /** The path of the file/directory in the datastore. */ - path?: string; /** ARM resource ID of the datastore where the asset is located. */ datastoreId?: string; + /** The path of the file/directory in the datastore. */ + path?: string; } /** Reference to an asset via its path in a job output. */ export interface OutputPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "OutputPath"; - /** The path of the file/directory in the job output. */ - path?: string; /** ARM resource ID of the job. */ jobId?: string; + /** The path of the file/directory in the job output. */ + path?: string; } export interface DeploymentResourceConfiguration extends ResourceConfiguration {} export interface JobResourceConfiguration extends ResourceConfiguration { - /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ - shmSize?: string; /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ dockerArgs?: string; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; } /** Batch inference settings per deployment. */ @@ -4551,43 +5122,66 @@ 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 { + /** If true, enables Application Insights logging. */ + appInsightsEnabled?: boolean; + /** The mdc configuration, we disable mdc when it's null. */ + dataCollector?: DataCollector; + /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; /** [Required] The compute type of the endpoint. */ endpointComputeType: EndpointComputeType; + /** Compute instance type. */ + instanceType?: string; + /** Liveness probe monitors the health of the container regularly. */ + livenessProbe?: ProbeSettings; + /** The URI path to the model. */ + model?: string; + /** The path to mount the model in custom container. */ + modelMountPath?: string; + /** + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DeploymentProvisioningState; + /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ + readinessProbe?: ProbeSettings; + /** Request settings for the deployment. */ + requestSettings?: OnlineRequestSettings; /** * Scale settings for the deployment. * If it is null or not provided, @@ -4595,29 +5189,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 +5205,16 @@ export interface CertificateDatastoreCredentials extends DatastoreCredentials { credentialsType: "Certificate"; /** Authority URL used for authentication. */ authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; /** Resource the service principal has access to. */ resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: CertificateDatastoreSecrets; /** [Required] ID of the tenant to which the service principal belongs. */ tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; /** [Required] Thumbprint of the certificate used for authentication. */ thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; } /** Empty/none datastore credentials. */ @@ -4667,14 +5238,14 @@ export interface ServicePrincipalDatastoreCredentials credentialsType: "ServicePrincipal"; /** Authority URL used for authentication. */ authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; /** [Required] Service principal client ID. */ clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; /** [Required] Service principal secrets. */ secrets: ServicePrincipalDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; } /** Datastore account key secrets. */ @@ -4709,6 +5280,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,16 +5307,52 @@ 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"; +/** Inference pool configuration */ +export interface InferencePoolProperties extends PropertiesBase { + /** + * Provisioning state for the pool. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PoolProvisioningState; + /** Gets or sets ScaleUnitConfiguration for the inference pool. Used if PoolType=ScaleUnit. */ + scaleUnitConfiguration?: ScaleUnitConfiguration; } -/** 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"; +/** InferenceEndpoint configuration */ +export interface InferenceEndpointProperties extends PropertiesBase { + /** [Required] Authentication mode for the endpoint. */ + authMode: AuthMode; + /** + * Endpoint URI for the inference endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endpointUri?: string; + /** [Required] Group within the same pool with which this endpoint needs to be associated with. */ + groupName: string; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PoolProvisioningState; + /** RequestConfiguration for endpoint. */ + requestConfiguration?: RequestConfiguration; +} + +/** Inference group configuration */ +export interface InferenceGroupProperties extends PropertiesBase { + /** Gets or sets environment configuration for the inference group. Used if PoolType=ScaleUnit. */ + environmentConfiguration?: GroupEnvironmentConfiguration; + /** Gets or sets model configuration for the inference group. Used if PoolType=ScaleUnit. */ + modelConfiguration?: GroupModelConfiguration; + /** Gets or sets compute instance type. */ + nodeSkuType?: string; + /** + * Provisioning state for the inference group. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PoolProvisioningState; + /** Gets or sets Scale Unit size. */ + scaleUnitSize?: number; } /** AML Token identity configuration. */ @@ -4766,6 +5379,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 +5393,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,135 +5427,365 @@ export interface JobScheduleAction extends ScheduleActionBase { jobDefinition: JobBasePropertiesUnion; } -export interface AllFeatures extends MonitoringFeatureFilterBase { +/** 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; +} + +/** 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 */ - filterType: "AllFeatures"; + type: "FQDN"; + destination?: string; } -export interface FeatureSubset extends MonitoringFeatureFilterBase { +/** 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 */ - filterType: "FeatureSubset"; - /** [Required] The list of features to include. */ - features: string[]; + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; + fqdns?: string[]; } -export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { +/** 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 */ - filterType: "TopNByAttribution"; - /** The number of top features to include. */ - top?: number; + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; } -/** AML token compute identity definition. */ -export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { +/** 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 */ - computeIdentityType: "AmlToken"; + authType: "AAD"; } -/** Managed compute identity definition. */ -export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "ManagedIdentity"; - /** The identity which will be leveraged by the monitoring jobs. */ - identity?: ManagedServiceIdentity; + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; } -export interface MLTableJobInput extends AssetJobInput, JobInput { +/** 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 */ - jobInputType: "mltable"; + authType: "AccountKey"; + /** Account key object for workspace connection credential. */ + credentials?: WorkspaceConnectionAccountKey; } -export interface CustomModelJobInput extends AssetJobInput, JobInput { +/** + * 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 */ - jobInputType: "custom_model"; + authType: "ApiKey"; + /** Api key object for workspace connection credential. */ + credentials?: WorkspaceConnectionApiKey; } -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { +/** + * 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 */ - jobInputType: "mlflow_model"; + authType: "CustomKeys"; + /** Custom Keys credential object */ + credentials?: CustomKeys; } -export interface TritonModelJobInput extends AssetJobInput, JobInput { +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "triton_model"; + authType: "ManagedIdentity"; + credentials?: WorkspaceConnectionManagedIdentity; } -export interface UriFileJobInput extends AssetJobInput, JobInput { +export interface NoneAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_file"; + authType: "None"; } -export interface UriFolderJobInput extends AssetJobInput, JobInput { +export interface OAuth2AuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_folder"; + authType: "OAuth2"; + /** + * ClientId and ClientSecret are required. Other properties are optional + * depending on each OAuth2 provider's implementation. + */ + credentials?: WorkspaceConnectionOAuth2; } -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { +export interface PATAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "custom_model"; + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; } -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { +export interface SASAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mlflow_model"; + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; } -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mltable"; + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; } -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "triton_model"; + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; } -export interface UriFileJobOutput extends AssetJobOutput, JobOutput { +export interface ContentSafetyEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_file"; + type: "Azure.ContentSafety"; } -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { +export interface ManagedOnlineEndpointDeploymentResourceProperties + extends EndpointDeploymentResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_folder"; + type: "managedOnlineEndpoint"; + /** Enum to determine endpoint compute type. */ + endpointComputeType?: EndpointComputeType; + model?: string; } -/** Forecast horizon determined automatically by system. */ -export interface AutoForecastHorizon extends ForecastHorizon { +export interface OpenAIEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + type: "Azure.OpenAI"; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface CustomForecastHorizon extends ForecastHorizon { +export interface SpeechEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Forecast horizon value. */ - value: number; + type: "Azure.Speech"; } -/** Classification task in AutoML Table vertical. */ -export interface Classification extends TableVertical, AutoMLVertical { +export interface ContentSafetyEndpointResourceProperties + extends EndpointResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Classification"; - /** Primary metric for the task. */ - primaryMetric?: ClassificationPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ClassificationTrainingSettings; - /** Positive label for binary metrics calculation. */ - positiveLabel?: string; + endpointType: "Azure.ContentSafety"; } -/** Forecasting task in AutoML Table vertical. */ -export interface Forecasting extends TableVertical, AutoMLVertical { +export interface ManagedOnlineEndpointResourceProperties + extends EndpointResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Forecasting"; - /** Primary metric for forecasting task. */ - primaryMetric?: ForecastingPrimaryMetrics; - /** Forecasting task specific inputs. */ - forecastingSettings?: ForecastingSettings; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: ForecastingTrainingSettings; + endpointType: "managedOnlineEndpoint"; + /** Enum to determine endpoint authentication mode. */ + authMode?: EndpointAuthMode; + compute?: string; + description?: string; + /** Dictionary of */ + mirrorTraffic?: { [propertyName: string]: number }; + scoringUri?: string; + /** Dictionary of */ + traffic?: { [propertyName: string]: number }; +} + +export interface OpenAIEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.OpenAI"; +} + +export interface ServerlessEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "serverlessEndpoint"; + authMode?: ServerlessInferenceEndpointAuthMode; + capacityReservation?: ServerlessEndpointCapacityReservation; + contentSafety?: ServerlessEndpointContentSafety; + /** State of the Serverless Endpoint. */ + endpointState?: ServerlessEndpointState; + inferenceEndpoint?: ServerlessEndpointInferenceEndpoint; + marketplaceSubscriptionId?: string; + /** Anything */ + metadata?: any; + modelSettings?: ServerlessEndpointModelSettings; + offer?: ServerlessOffer; +} + +export interface SpeechEndpointResourceProperties + extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.Speech"; +} + +export interface AllFeatures extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "AllFeatures"; +} + +export interface FeatureSubset extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "FeatureSubset"; + /** [Required] The list of features to include. */ + features: string[]; +} + +export interface TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "TopNByAttribution"; + /** The number of top features to include. */ + top?: number; +} + +/** AML token compute identity definition. */ +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken"; +} + +/** Managed compute identity definition. */ +export interface ManagedComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "ManagedIdentity"; + /** The identity which will be leveraged by the monitoring jobs. */ + identity?: ManagedServiceIdentity; +} + +export interface MLTableJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "mltable"; +} + +export interface CustomModelJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "custom_model"; +} + +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "mlflow_model"; +} + +export interface TritonModelJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "triton_model"; +} + +export interface UriFileJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "uri_file"; +} + +export interface UriFolderJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "uri_folder"; +} + +export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "custom_model"; +} + +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "mlflow_model"; +} + +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "mltable"; +} + +export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "triton_model"; +} + +export interface UriFileJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "uri_file"; +} + +export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: "uri_folder"; +} + +/** Forecast horizon determined automatically by system. */ +export interface AutoForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; +} + +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface CustomForecastHorizon extends ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Forecast horizon value. */ + value: number; +} + +/** Classification task in AutoML Table vertical. */ +export interface Classification extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Classification"; + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; + /** Primary metric for the task. */ + primaryMetric?: ClassificationPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ClassificationTrainingSettings; +} + +/** Forecasting task in AutoML Table vertical. */ +export interface Forecasting extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Forecasting"; + /** Forecasting task specific inputs. */ + forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ForecastingTrainingSettings; } /** @@ -5128,10 +5977,10 @@ export interface AzureDataLakeGen1Datastore DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureDataLakeGen1"; - /** [Required] Azure Data Lake store name. */ - storeName: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; } /** Azure Data Lake Gen2 datastore configuration. */ @@ -5140,12 +5989,12 @@ export interface AzureDataLakeGen2Datastore DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ datastoreType: "AzureDataLakeGen2"; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; /** [Required] Storage account name. */ accountName: string; /** Azure cloud endpoint for the storage account. */ endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; /** Protocol used to communicate with the storage account. */ protocol?: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ @@ -5160,24 +6009,38 @@ export interface AzureFileDatastore datastoreType: "AzureFile"; /** [Required] Storage account name. */ accountName: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; /** Azure cloud endpoint for the storage account. */ endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; /** Protocol used to communicate with the storage account. */ protocol?: string; /** Indicates which identity to use to authenticate service data access to customer's storage. */ serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } +export interface AzureOpenAiFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI"; + /** HyperParameters for fine tuning Azure Open AI model. */ + hyperParameters?: AzureOpenAiHyperParameters; +} + +export interface CustomModelFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "Custom"; + /** HyperParameters for fine tuning custom model. */ + hyperParameters?: { [propertyName: string]: string | null }; +} + /** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ export interface BanditPolicy extends EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ policyType: "Bandit"; - /** Ratio of the allowed distance from the best performing run. */ - slackFactor?: number; /** Absolute distance allowed from the best performing run. */ slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } /** Defines an early termination policy based on running averages of the primary metric of all runs */ @@ -5210,10 +6073,10 @@ export interface GridSamplingAlgorithm extends SamplingAlgorithm { export interface RandomSamplingAlgorithm extends SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ samplingAlgorithmType: "Random"; - /** An optional integer to use as the seed for random number generation */ - seed?: number; /** The specific type of random algorithm */ rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } export interface CategoricalDataDriftMetricThreshold @@ -5291,20 +6154,20 @@ export interface RegressionTrainingSettings extends TrainingSettings { /** Featurization Configuration. */ export interface TableVerticalFeaturizationSettings extends FeaturizationSettings { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; /** * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. * If 'Off' is selected then no featurization is done. * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. */ mode?: FeaturizationMode; - /** These transformers shall not be used in featurization. */ - blockedTransformers?: BlockedTransformers[]; - /** Dictionary of column name and its type (int, float, string, datetime etc). */ - columnNameAndTypes?: { [propertyName: string]: string | null }; /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; - /** Determines whether to use Dnn based featurizers for data featurization. */ - enableDnnFeaturization?: boolean; } export interface NlpVerticalFeaturizationSettings @@ -5330,10 +6193,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 +6209,36 @@ export interface CommandJobLimits extends JobLimits { export interface SweepJobLimits extends JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ jobLimitsType: "Sweep"; - /** Sweep Job max total trials. */ - maxTotalTrials?: number; /** Sweep Job max concurrent trials. */ maxConcurrentTrials?: number; + /** Sweep Job max total trials. */ + maxTotalTrials?: number; /** Sweep Job Trial timeout value. */ trialTimeout?: string; } +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute + extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: string; +} + export interface CustomMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ inputs?: { [propertyName: string]: JobInputUnion | null }; - /** [Required] Reference to the component asset used to calculate the custom metrics. */ - componentId: string; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: CustomMetricThreshold[]; } @@ -5370,89 +6246,76 @@ export interface CustomMonitoringSignal extends MonitoringSignalBase { export interface DataDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "DataDrift"; - /** The feature filter which identifies which feature to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** The settings for computing feature importance. */ featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: DataDriftMetricThresholdBaseUnion[]; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface DataQualityMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** The settings for computing feature importance. */ featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: DataQualityMetricThresholdBaseUnion[]; /** [Required] The data produced by the production service which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "FeatureAttributionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThreshold: FeatureAttributionMetricThreshold; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** [Required] The settings for computing feature importance. */ featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion[]; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { /** Polymorphic discriminator, which specifies the different types this object can be */ signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; /** [Required] A list of metrics to calculate and their associated thresholds. */ metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; /** [Required] The data which drift will be calculated for. */ productionData: MonitoringInputDataBaseUnion; /** [Required] The data to calculate drift against. */ referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; } -/** Monitor serverless spark compute definition. */ -export interface MonitorServerlessSparkCompute - extends MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; - /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ - computeIdentity: MonitorComputeIdentityBaseUnion; - /** [Required] The instance type running the Spark job. */ - instanceType: string; - /** [Required] The Spark runtime version. */ - runtimeVersion: string; -} - -/** Fixed input data definition. */ -export interface FixedInputData extends MonitoringInputDataBase { +/** Fixed input data definition. */ +export interface FixedInputData extends MonitoringInputDataBase { /** Polymorphic discriminator, which specifies the different types this object can be */ inputDataType: "Fixed"; } @@ -5461,24 +6324,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; } /** @@ -5775,6 +6638,12 @@ export interface ModelVersion extends ProxyResource { properties: ModelVersionProperties; } +/** Azure Resource Manager resource envelope. */ +export interface CapabilityHost extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CapabilityHostProperties; +} + /** Azure Resource Manager resource envelope. */ export interface Datastore extends ProxyResource { /** [Required] Additional attributes of the entity. */ @@ -5830,56 +6699,89 @@ 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 { + /** 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 InferencePool extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: InferencePoolProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface InferenceEndpoint extends TrackedResource { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: InferenceEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } -export interface OnlineEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; +export interface InferenceGroup extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: InferenceGroupProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} + +export interface OnlineEndpoint extends TrackedResource { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; } 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 +6799,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 +6911,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 +6931,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 +6948,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 +6965,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 +6999,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 +7015,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 +7022,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 +7059,36 @@ export interface CommandJob extends JobBaseProperties { readonly parameters?: Record; /** Queue settings for the job */ queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; +} + +/** FineTuning Job definition. */ +export interface FineTuningJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "FineTuning"; + /** [Required] */ + fineTuningDetails: FineTuningVerticalUnion; + /** [Required] */ + outputs: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Instance types and other resources for the job */ + resources?: JobResources; } /** Pipeline Job definition: defines generic to MFE attributes. */ export interface PipelineJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Pipeline"; - /** 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 +7097,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,114 +7185,57 @@ 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 Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; } -/** Defines headers for Workspaces_update operation. */ -export interface WorkspacesUpdateHeaders { +/** Defines headers for Compute_delete operation. */ +export interface ComputeDeleteHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; /** URI to poll for asynchronous operation result. */ location?: string; - /** 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. */ +/** Defines headers for Compute_resize operation. */ +export interface ComputeResizeHeaders { location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; } -/** Defines headers for Workspaces_resyncKeys operation. */ -export interface WorkspacesResyncKeysHeaders { +/** Defines headers for RegistryCodeContainers_delete operation. */ +export interface RegistryCodeContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for Workspaces_prepareNotebook operation. */ -export interface WorkspacesPrepareNotebookHeaders { +/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ +export interface RegistryCodeContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryCodeVersions_delete operation. */ +export interface RegistryCodeVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ location?: string; /** Duration the client should wait between requests, in seconds. */ retryAfter?: number; } -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for Compute_delete operation. */ -export interface ComputeDeleteHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; -} - -/** Defines headers for 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. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ -export interface RegistryCodeContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for RegistryCodeVersions_delete operation. */ -export interface RegistryCodeVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ -export interface RegistryCodeVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; +/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ +export interface RegistryCodeVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation status. */ azureAsyncOperation?: string; } @@ -6579,6 +7440,24 @@ export interface BatchDeploymentsCreateOrUpdateHeaders { azureAsyncOperation?: string; } +/** Defines headers for CapabilityHosts_delete operation. */ +export interface CapabilityHostsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for CapabilityHosts_createOrUpdate operation. */ +export interface CapabilityHostsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + /** Defines headers for CodeVersions_publish operation. */ export interface CodeVersionsPublishHeaders { /** URI to poll for asynchronous operation result. */ @@ -6691,6 +7570,90 @@ export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { azureAsyncOperation?: string; } +/** Defines headers for InferencePools_delete operation. */ +export interface InferencePoolsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferencePools_update operation. */ +export interface InferencePoolsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferencePools_createOrUpdate operation. */ +export interface InferencePoolsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for InferenceEndpoints_delete operation. */ +export interface InferenceEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferenceEndpoints_update operation. */ +export interface InferenceEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferenceEndpoints_createOrUpdate operation. */ +export interface InferenceEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for InferenceGroups_delete operation. */ +export interface InferenceGroupsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferenceGroups_update operation. */ +export interface InferenceGroupsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for InferenceGroups_createOrUpdate operation. */ +export interface InferenceGroupsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + /** Defines headers for Jobs_delete operation. */ export interface JobsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ @@ -6873,161 +7836,292 @@ 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_delete operation. */ +export interface WorkspacesDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines 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_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; +} -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +/** 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 values for ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Internal** - */ -export type ActionType = string; +/** 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; +} -/** 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 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 values for ProvisioningState. \ - * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Unknown** \ - * **Updating** \ - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** - */ -export type ProvisioningState = string; +/** Defines headers for WorkspaceConnections_testConnection operation. */ +export interface WorkspaceConnectionsTestConnectionHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Defines headers for Connection_deleteDeployment operation. */ +export interface ConnectionDeleteDeploymentHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; } -/** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** +/** Defines headers for ConnectionRaiBlocklist_delete operation. */ +export interface ConnectionRaiBlocklistDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_addBulk operation. */ +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_deleteBulk operation. */ +export interface ConnectionRaiBlocklistItemDeleteBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_delete operation. */ +export interface ConnectionRaiBlocklistItemDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiPolicy_delete operation. */ +export interface ConnectionRaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_delete operation. */ +export interface EndpointDeploymentDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_createOrUpdate operation. */ +export interface EndpointDeploymentCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Endpoint_createOrUpdate operation. */ +export interface EndpointCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RaiPolicy_delete operation. */ +export interface RaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** */ -export type EncryptionStatus = string; +export type UsageUnit = string; -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", } /** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * 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 - * **Enabled** \ - * **Disabled** + * **USD** */ -export type PublicNetworkAccess = string; +export type BillingCurrency = 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 UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", } /** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * 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 - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** + * **OneHour** */ -export type PrivateEndpointServiceConnectionStatus = string; +export type UnitOfMeasure = 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 VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * 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 - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** + * **Linux** \ + * **Windows** */ -export type PrivateEndpointConnectionProvisioningState = string; +export type VMPriceOSType = string; + +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", +} + +/** + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard** \ + * **LowPriority** \ + * **Spot** + */ +export type VMTier = string; + +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type QuotaUnit = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** + */ +export type Status = string; /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ export enum KnownManagedServiceIdentityType { @@ -7077,1676 +8171,2615 @@ 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", -} - -/** - * Defines values for IsolationMode. \ - * {@link KnownIsolationMode} can be used interchangeably with IsolationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Disabled** \ - * **AllowInternetOutbound** \ - * **AllowOnlyApprovedOutbound** - */ -export type IsolationMode = string; - -/** 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 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 RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, + * 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 - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** */ -export type RuleCategory = string; +export type ComputeType = string; -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** 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 RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, + * 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 - * **Inactive** \ - * **Active** + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** */ -export type RuleStatus = string; +export type ProvisioningState = 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 UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", } /** - * Defines values for RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, + * 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 - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** + * **Delete** \ + * **Detach** */ -export type RuleType = string; +export type UnderlyingResourceAction = string; -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + /** Docker */ + Docker = "docker", + /** Azureml */ + Azureml = "azureml", } /** - * Defines values for ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, + * Defines values for ImageType. \ + * {@link KnownImageType} can be used interchangeably with ImageType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Inactive** \ - * **Active** + * **docker** \ + * **azureml** */ -export type ManagedNetworkStatus = string; +export type ImageType = 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 EnvironmentVariableType} that the service accepts. */ +export enum KnownEnvironmentVariableType { + /** Local */ + Local = "local", } /** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, + * Defines values for EnvironmentVariableType. \ + * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** + * **local** */ -export type DiagnoseResultLevel = string; +export type EnvironmentVariableType = string; -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Known values of {@link Protocol} that the service accepts. */ +export enum KnownProtocol { + /** Tcp */ + Tcp = "tcp", + /** Udp */ + Udp = "udp", + /** Http */ + Http = "http", } /** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * Defines values for Protocol. \ + * {@link KnownProtocol} can be used interchangeably with Protocol, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Count** + * **tcp** \ + * **udp** \ + * **http** */ -export type UsageUnit = string; +export type Protocol = string; -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +/** Known values of {@link VolumeDefinitionType} that the service accepts. */ +export enum KnownVolumeDefinitionType { + /** Bind */ + Bind = "bind", + /** Volume */ + Volume = "volume", + /** Tmpfs */ + Tmpfs = "tmpfs", + /** Npipe */ + Npipe = "npipe", } /** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * Defines values for VolumeDefinitionType. \ + * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **USD** + * **bind** \ + * **volume** \ + * **tmpfs** \ + * **npipe** */ -export type BillingCurrency = string; +export type VolumeDefinitionType = string; -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +/** 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 UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * 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 - * **OneHour** + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** */ -export type UnitOfMeasure = string; +export type NodeState = string; -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** Dataset */ + Dataset = "Dataset", + /** Datastore */ + Datastore = "Datastore", + /** URI */ + URI = "URI", } /** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **Dataset** \ + * **Datastore** \ + * **URI** */ -export type VMPriceOSType = string; +export type SourceType = 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 MountAction} that the service accepts. */ +export enum KnownMountAction { + /** Mount */ + Mount = "Mount", + /** Unmount */ + Unmount = "Unmount", } /** - * Defines values for VMTier. \ - * {@link KnownVMTier} can be used interchangeably with VMTier, + * Defines values for MountAction. \ + * {@link KnownMountAction} can be used interchangeably with MountAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard** \ - * **LowPriority** \ - * **Spot** + * **Mount** \ + * **Unmount** */ -export type VMTier = string; +export type MountAction = string; -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +/** Known values of {@link MountMode} that the service accepts. */ +export enum KnownMountMode { + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", } /** - * Defines values for QuotaUnit. \ - * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * Defines values for MountMode. \ + * {@link KnownMountMode} can be used interchangeably with MountMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Count** + * **ReadOnly** \ + * **ReadWrite** */ -export type QuotaUnit = string; +export type MountMode = 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 MountState} that the service accepts. */ +export enum KnownMountState { + /** MountRequested */ + MountRequested = "MountRequested", + /** Mounted */ + Mounted = "Mounted", + /** MountFailed */ + MountFailed = "MountFailed", + /** UnmountRequested */ + UnmountRequested = "UnmountRequested", + /** UnmountFailed */ + UnmountFailed = "UnmountFailed", + /** Unmounted */ + Unmounted = "Unmounted", } /** - * Defines values for Status. \ - * {@link KnownStatus} can be used interchangeably with Status, + * Defines values for MountState. \ + * {@link KnownMountState} can be used interchangeably with MountState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Undefined** \ - * **Success** \ - * **Failure** \ - * **InvalidQuotaBelowClusterMinimum** \ - * **InvalidQuotaExceedsSubscriptionLimit** \ - * **InvalidVMFamilyName** \ - * **OperationNotSupportedForSku** \ - * **OperationNotEnabledForRegion** + * **MountRequested** \ + * **Mounted** \ + * **MountFailed** \ + * **UnmountRequested** \ + * **UnmountFailed** \ + * **Unmounted** */ -export type Status = string; +export type MountState = 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 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 ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, + * 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 - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** */ -export type ComputeType = string; +export type AssetProvisioningState = string; -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", } /** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * 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 - * **Delete** \ - * **Detach** + * **None** \ + * **TemporaryBlobReference** */ -export type UnderlyingResourceAction = string; +export type PendingUploadType = 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 PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", } /** - * Defines values for NodeState. \ - * {@link KnownNodeState} can be used interchangeably with NodeState, + * 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 - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** + * **SAS** */ -export type NodeState = string; +export type PendingUploadCredentialType = string; -/** Known values of {@link ConnectionAuthType} that the service accepts. */ -export enum KnownConnectionAuthType { - /** PAT */ - PAT = "PAT", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** UsernamePassword */ - UsernamePassword = "UsernamePassword", - /** None */ - None = "None", - /** SAS */ - SAS = "SAS", - /** AccountKey */ - AccountKey = "AccountKey", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", - /** AccessKey */ - AccessKey = "AccessKey", - /** ApiKey */ - ApiKey = "ApiKey", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** OAuth2 */ - OAuth2 = "OAuth2", - /** AAD */ - AAD = "AAD", +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", } /** - * Defines values for ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, + * 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 - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ - * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** */ -export type ConnectionAuthType = string; +export type ListViewType = string; -/** Known values of {@link ConnectionCategory} that the service accepts. */ -export enum KnownConnectionCategory { - /** PythonFeed */ - PythonFeed = "PythonFeed", - /** ContainerRegistry */ - ContainerRegistry = "ContainerRegistry", - /** Git */ - Git = "Git", - /** S3 */ - S3 = "S3", - /** Snowflake */ - Snowflake = "Snowflake", - /** AzureSqlDb */ - AzureSqlDb = "AzureSqlDb", - /** AzureSynapseAnalytics */ - AzureSynapseAnalytics = "AzureSynapseAnalytics", - /** AzureMySqlDb */ - AzureMySqlDb = "AzureMySqlDb", - /** AzurePostgresDb */ - AzurePostgresDb = "AzurePostgresDb", - /** AdlsGen2 */ - AdlsGen2 = "ADLSGen2", - /** Redis */ - Redis = "Redis", - /** ApiKey */ - ApiKey = "ApiKey", - /** AzureOpenAI */ - AzureOpenAI = "AzureOpenAI", - /** CognitiveSearch */ - CognitiveSearch = "CognitiveSearch", - /** CognitiveService */ - CognitiveService = "CognitiveService", - /** CustomKeys */ - CustomKeys = "CustomKeys", - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureOneLake */ - AzureOneLake = "AzureOneLake", - /** CosmosDb */ - CosmosDb = "CosmosDb", - /** CosmosDbMongoDbApi */ - CosmosDbMongoDbApi = "CosmosDbMongoDbApi", - /** AzureDataExplorer */ - AzureDataExplorer = "AzureDataExplorer", - /** AzureMariaDb */ - AzureMariaDb = "AzureMariaDb", - /** AzureDatabricksDeltaLake */ - AzureDatabricksDeltaLake = "AzureDatabricksDeltaLake", - /** AzureSqlMi */ - AzureSqlMi = "AzureSqlMi", - /** AzureTableStorage */ - AzureTableStorage = "AzureTableStorage", - /** AmazonRdsForOracle */ - AmazonRdsForOracle = "AmazonRdsForOracle", - /** AmazonRdsForSqlServer */ - AmazonRdsForSqlServer = "AmazonRdsForSqlServer", - /** AmazonRedshift */ - AmazonRedshift = "AmazonRedshift", - /** Db2 */ - Db2 = "Db2", - /** Drill */ - Drill = "Drill", - /** GoogleBigQuery */ - GoogleBigQuery = "GoogleBigQuery", - /** Greenplum */ - Greenplum = "Greenplum", - /** Hbase */ - Hbase = "Hbase", - /** Hive */ - Hive = "Hive", - /** Impala */ - Impala = "Impala", - /** Informix */ - Informix = "Informix", - /** MariaDb */ - MariaDb = "MariaDb", - /** MicrosoftAccess */ - MicrosoftAccess = "MicrosoftAccess", - /** MySql */ - MySql = "MySql", - /** Netezza */ - Netezza = "Netezza", - /** Oracle */ - Oracle = "Oracle", - /** Phoenix */ - Phoenix = "Phoenix", - /** PostgreSql */ - PostgreSql = "PostgreSql", - /** Presto */ - Presto = "Presto", - /** SapOpenHub */ - SapOpenHub = "SapOpenHub", - /** SapBw */ - SapBw = "SapBw", - /** SapHana */ - SapHana = "SapHana", - /** SapTable */ - SapTable = "SapTable", - /** 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", +/** 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 ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, + * 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 - * **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** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** + */ +export type DataType = string; + +/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", +} + +/** + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** + */ +export type DataReferenceCredentialType = string; + +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", +} + +/** + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled** \ + * **OnBaseImageUpdate** + */ +export type AutoRebuildSetting = string; + +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", +} + +/** + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Curated** \ + * **UserCreated** + */ +export type EnvironmentType = string; + +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", +} + +/** + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type OperatingSystemType = string; + +/** Known values of {@link EndpointProvisioningState} that the service accepts. */ +export enum KnownEndpointProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for EndpointProvisioningState. \ + * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** + */ +export type EndpointProvisioningState = string; + +/** Known values of {@link EndpointAuthMode} that the service accepts. */ +export enum KnownEndpointAuthMode { + /** AMLToken */ + AMLToken = "AMLToken", + /** Key */ + Key = "Key", + /** AADToken */ + AADToken = "AADToken", +} + +/** + * Defines values for EndpointAuthMode. \ + * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AMLToken** \ + * **Key** \ + * **AADToken** + */ +export type EndpointAuthMode = string; + +/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ +export enum KnownBatchDeploymentConfigurationType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent", +} + +/** + * Defines values for BatchDeploymentConfigurationType. \ + * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Model** \ + * **PipelineComponent** + */ +export type BatchDeploymentConfigurationType = string; + +/** Known values of {@link BatchLoggingLevel} that the service accepts. */ +export enum KnownBatchLoggingLevel { + /** Info */ + Info = "Info", + /** Warning */ + Warning = "Warning", + /** Debug */ + Debug = "Debug", +} + +/** + * Defines values for BatchLoggingLevel. \ + * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Info** \ + * **Warning** \ + * **Debug** + */ +export type BatchLoggingLevel = string; + +/** Known values of {@link ReferenceType} that the service accepts. */ +export enum KnownReferenceType { + /** Id */ + Id = "Id", + /** DataPath */ + DataPath = "DataPath", + /** OutputPath */ + OutputPath = "OutputPath", +} + +/** + * Defines values for ReferenceType. \ + * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Id** \ + * **DataPath** \ + * **OutputPath** + */ +export type ReferenceType = string; + +/** Known values of {@link BatchOutputAction} that the service accepts. */ +export enum KnownBatchOutputAction { + /** SummaryOnly */ + SummaryOnly = "SummaryOnly", + /** AppendRow */ + AppendRow = "AppendRow", +} + +/** + * Defines values for BatchOutputAction. \ + * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SummaryOnly** \ + * **AppendRow** + */ +export type BatchOutputAction = string; + +/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ +export enum KnownDeploymentProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Scaling */ + Scaling = "Scaling", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for DeploymentProvisioningState. \ + * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Scaling** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type DeploymentProvisioningState = string; + +/** Known values of {@link CapabilityHostKind} that the service accepts. */ +export enum KnownCapabilityHostKind { + /** Agents */ + Agents = "Agents", +} + +/** + * Defines values for CapabilityHostKind. \ + * {@link KnownCapabilityHostKind} can be used interchangeably with CapabilityHostKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Agents** + */ +export type CapabilityHostKind = string; + +/** Known values of {@link CapabilityHostProvisioningState} that the service accepts. */ +export enum KnownCapabilityHostProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", +} + +/** + * Defines values for CapabilityHostProvisioningState. \ + * {@link KnownCapabilityHostProvisioningState} can be used interchangeably with CapabilityHostProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** + */ +export type CapabilityHostProvisioningState = string; + +/** Known values of {@link CredentialsType} that the service accepts. */ +export enum KnownCredentialsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** None */ + None = "None", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for CredentialsType. \ + * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **None** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type CredentialsType = string; + +/** Known values of {@link DatastoreType} that the service accepts. */ +export enum KnownDatastoreType { + /** AzureBlob */ + AzureBlob = "AzureBlob", + /** AzureDataLakeGen1 */ + AzureDataLakeGen1 = "AzureDataLakeGen1", + /** AzureDataLakeGen2 */ + AzureDataLakeGen2 = "AzureDataLakeGen2", + /** AzureFile */ + AzureFile = "AzureFile", + /** OneLake */ + OneLake = "OneLake", +} + +/** + * Defines values for DatastoreType. \ + * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureBlob** \ + * **AzureDataLakeGen1** \ + * **AzureDataLakeGen2** \ + * **AzureFile** \ + * **OneLake** + */ +export type DatastoreType = string; + +/** Known values of {@link SecretsType} that the service accepts. */ +export enum KnownSecretsType { + /** AccountKey */ + AccountKey = "AccountKey", + /** Certificate */ + Certificate = "Certificate", + /** Sas */ + Sas = "Sas", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", +} + +/** + * Defines values for SecretsType. \ + * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AccountKey** \ + * **Certificate** \ + * **Sas** \ + * **ServicePrincipal** + */ +export type SecretsType = string; + +/** Known values of {@link FeatureDataType} that the service accepts. */ +export enum KnownFeatureDataType { + /** String */ + String = "String", + /** Integer */ + Integer = "Integer", + /** Long */ + Long = "Long", + /** Float */ + Float = "Float", + /** Double */ + Double = "Double", + /** Binary */ + Binary = "Binary", + /** Datetime */ + Datetime = "Datetime", + /** Boolean */ + Boolean = "Boolean", +} + +/** + * Defines values for FeatureDataType. \ + * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** \ + * **Boolean** + */ +export type FeatureDataType = string; + +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled", +} + +/** + * Defines values for EmailNotificationEnableType. \ + * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** + */ +export type EmailNotificationEnableType = string; + +/** Known values of {@link WebhookType} that the service accepts. */ +export enum KnownWebhookType { + /** AzureDevOps */ + AzureDevOps = "AzureDevOps", +} + +/** + * Defines values for WebhookType. \ + * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureDevOps** + */ +export type WebhookType = string; + +/** Known values of {@link RecurrenceFrequency} that the service accepts. */ +export enum KnownRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", +} + +/** + * Defines values for RecurrenceFrequency. \ + * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency + */ +export type RecurrenceFrequency = string; + +/** Known values of {@link WeekDay} that the service accepts. */ +export enum KnownWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", +} + +/** + * Defines values for WeekDay. \ + * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday + */ +export type WeekDay = string; + +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", +} + +/** + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Recurrence** \ + * **Cron** + */ +export type TriggerType = string; + +/** Known values of {@link MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { + /** None */ + None = "None", + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline", +} + +/** + * Defines values for MaterializationStoreType. \ + * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** + */ +export type MaterializationStoreType = string; + +/** Known values of {@link DataAvailabilityStatus} that the service accepts. */ +export enum KnownDataAvailabilityStatus { + /** None */ + None = "None", + /** Pending */ + Pending = "Pending", + /** Incomplete */ + Incomplete = "Incomplete", + /** Complete */ + Complete = "Complete", +} + +/** + * Defines values for DataAvailabilityStatus. \ + * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Pending** \ + * **Incomplete** \ + * **Complete** + */ +export type DataAvailabilityStatus = string; + +/** Known values of {@link OrderString} that the service accepts. */ +export enum KnownOrderString { + /** CreatedAtDesc */ + CreatedAtDesc = "CreatedAtDesc", + /** CreatedAtAsc */ + CreatedAtAsc = "CreatedAtAsc", + /** UpdatedAtDesc */ + UpdatedAtDesc = "UpdatedAtDesc", + /** UpdatedAtAsc */ + UpdatedAtAsc = "UpdatedAtAsc", +} + +/** + * 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 + * **CreatedAtDesc** \ + * **CreatedAtAsc** \ + * **UpdatedAtDesc** \ + * **UpdatedAtAsc** + */ +export type OrderString = string; + +/** Known values of {@link PoolProvisioningState} that the service accepts. */ +export enum KnownPoolProvisioningState { + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Updating */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for PoolProvisioningState. \ + * {@link KnownPoolProvisioningState} can be used interchangeably with PoolProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Updating** \ + * **Canceled** + */ +export type PoolProvisioningState = string; + +/** Known values of {@link AuthMode} that the service accepts. */ +export enum KnownAuthMode { + /** AAD */ + AAD = "AAD", +} + +/** + * Defines values for AuthMode. \ + * {@link KnownAuthMode} can be used interchangeably with AuthMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AAD** + */ +export type AuthMode = 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", +} + +/** + * 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 + * **Automatic**: Automatically scales node count. \ + * **Manual**: Node count scaled upon user request. \ + * **None**: Fixed set of nodes. + */ +export type SkuScaleType = string; + +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", + /** AMLToken */ + AMLToken = "AMLToken", + /** UserIdentity */ + UserIdentity = "UserIdentity", +} + +/** + * Defines values for IdentityConfigurationType. \ + * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Managed** \ + * **AMLToken** \ + * **UserIdentity** + */ +export type IdentityConfigurationType = string; + +/** Known values of {@link JobType} that the service accepts. */ +export enum KnownJobType { + /** AutoML */ + AutoML = "AutoML", + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", + /** Spark */ + Spark = "Spark", + /** FineTuning */ + FineTuning = "FineTuning", +} + +/** + * Defines values for JobType. \ + * {@link KnownJobType} can be used interchangeably with JobType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ * **Spark** \ - * **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** + * **FineTuning** + */ +export type JobType = string; + +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", +} + +/** + * Defines values for NodesValueType. \ + * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **All** + */ +export type NodesValueType = string; + +/** Known values of {@link JobStatus} that the service accepts. */ +export enum KnownJobStatus { + /** Run hasn't started yet. */ + NotStarted = "NotStarted", + /** Run has started. The user has a run ID. */ + Starting = "Starting", + /** (Not used currently) It will be used if ES is creating the compute target. */ + Provisioning = "Provisioning", + /** The run environment is being prepared. */ + Preparing = "Preparing", + /** The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. */ + Queued = "Queued", + /** The job started to run in the compute target. */ + Running = "Running", + /** Job is completed in the target. It is in output collection state now. */ + Finalizing = "Finalizing", + /** Cancellation has been requested for the job. */ + CancelRequested = "CancelRequested", + /** Job completed successfully. This reflects that both the job itself and output collection states completed successfully */ + Completed = "Completed", + /** Job failed. */ + Failed = "Failed", + /** Following cancellation request, the job is now successfully canceled. */ + Canceled = "Canceled", + /** + * When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. + */ + NotResponding = "NotResponding", + /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ + Paused = "Paused", + /** Default job status if not mapped to all other statuses */ + Unknown = "Unknown", +} + +/** + * Defines values for JobStatus. \ + * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted**: Run hasn't started yet. \ + * **Starting**: Run has started. The user has a run ID. \ + * **Provisioning**: (Not used currently) It will be used if ES is creating the compute target. \ + * **Preparing**: The run environment is being prepared. \ + * **Queued**: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready. \ + * **Running**: The job started to run in the compute target. \ + * **Finalizing**: Job is completed in the target. It is in output collection state now. \ + * **CancelRequested**: Cancellation has been requested for the job. \ + * **Completed**: Job completed successfully. This reflects that both the job itself and output collection states completed successfully \ + * **Failed**: Job failed. \ + * **Canceled**: Following cancellation request, the job is now successfully canceled. \ + * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. + * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ + * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ + * **Unknown**: Default job status if not mapped to all other statuses + */ +export type JobStatus = string; + +/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */ +export enum KnownMarketplaceSubscriptionStatus { + /** + * The customer can now use the Marketplace Subscription's + * model and will be billed. + */ + Subscribed = "Subscribed", + /** + * The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. + */ + Suspended = "Suspended", + /** + * Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ + Unsubscribed = "Unsubscribed", +} + +/** + * Defines values for MarketplaceSubscriptionStatus. \ + * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Subscribed**: The customer can now use the Marketplace Subscription's + * model and will be billed. \ + * **Suspended**: The customer could not be billed for the Marketplace Subscription. + * The customer will not be able to access the model. \ + * **Unsubscribed**: Marketplace Subscriptions reach this state in response to an explicit customer or CSP action. + * A Marketplace Subscription can also be canceled implicitly, as a result of nonpayment of dues, + * after being in the Suspended state for some time. + */ +export type MarketplaceSubscriptionStatus = string; + +/** Known values of {@link MarketplaceSubscriptionProvisioningState} that the service accepts. */ +export enum KnownMarketplaceSubscriptionProvisioningState { + /** MarketplaceSubscription is being created. */ + Creating = "Creating", + /** MarketplaceSubscription is being deleted. */ + Deleting = "Deleting", + /** MarketplaceSubscription is successfully provisioned. */ + Succeeded = "Succeeded", + /** MarketplaceSubscription provisioning failed. */ + Failed = "Failed", + /** MarketplaceSubscription is being updated. */ + Updating = "Updating", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for MarketplaceSubscriptionProvisioningState. \ + * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating**: MarketplaceSubscription is being created. \ + * **Deleting**: MarketplaceSubscription is being deleted. \ + * **Succeeded**: MarketplaceSubscription is successfully provisioned. \ + * **Failed**: MarketplaceSubscription provisioning failed. \ + * **Updating**: MarketplaceSubscription is being updated. \ + * **Canceled** + */ +export type MarketplaceSubscriptionProvisioningState = string; + +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + /** Managed */ + Managed = "Managed", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AzureMLCompute */ + AzureMLCompute = "AzureMLCompute", +} + +/** + * 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 + * **Managed** \ + * **Kubernetes** \ + * **AzureMLCompute** + */ +export type EndpointComputeType = string; + +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * 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 + * **Enabled** \ + * **Disabled** + */ +export type PublicNetworkAccessType = string; + +/** Known values of {@link DataCollectionMode} that the service accepts. */ +export enum KnownDataCollectionMode { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * 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 + * **Enabled** \ + * **Disabled** + */ +export type DataCollectionMode = 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", +} + +/** + * Defines values for RollingRateType. \ + * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** + */ +export type RollingRateType = string; + +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * Defines values for 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 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 + * **Default** \ + * **TargetUtilization** + */ +export type ScaleType = string; + +/** Known values of {@link ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", +} + +/** + * 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 + * **StorageInitializer** \ + * **InferenceServer** + */ +export type ContainerType = string; + +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", +} + +/** + * 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 + * **Primary** \ + * **Secondary** + */ +export type KeyType = string; + +/** Known values of {@link ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", +} + +/** + * 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 + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** + */ +export type ScheduleListViewType = string; + +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", +} + +/** + * 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 + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** + */ +export type ScheduleActionType = 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", +} + +/** + * Defines values for ScheduleProvisioningStatus. \ + * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Updating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ScheduleProvisioningStatus = string; + +/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ +export enum KnownServerlessInferenceEndpointAuthMode { + /** Key */ + Key = "Key", +} + +/** + * 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 + * **Key** + */ +export type ServerlessInferenceEndpointAuthMode = string; + +/** Known values of {@link ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", +} + +/** + * 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 + * **Enabled** \ + * **Disabled** + */ +export type ContentSafetyStatus = 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", +} + +/** + * Defines values for ServerlessEndpointState. \ + * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Creating** \ + * **Deleting** \ + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type ConnectionCategory = string; +export type ServerlessEndpointState = string; -/** Known values of {@link ConnectionGroup} that the service accepts. */ -export enum KnownConnectionGroup { - /** Azure */ - Azure = "Azure", - /** AzureAI */ - AzureAI = "AzureAI", - /** Database */ - Database = "Database", - /** NoSQL */ - NoSQL = "NoSQL", - /** File */ - File = "File", - /** GenericProtocol */ - GenericProtocol = "GenericProtocol", - /** ServicesAndApps */ - ServicesAndApps = "ServicesAndApps", +/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownEndpointServiceConnectionStatus { + /** Approved */ + Approved = "Approved", + /** Pending */ + Pending = "Pending", + /** Rejected */ + Rejected = "Rejected", + /** Disconnected */ + Disconnected = "Disconnected", + /** Timeout */ + Timeout = "Timeout", } /** - * Defines values for ConnectionGroup. \ - * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, + * 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 - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type ConnectionGroup = string; +export type EndpointServiceConnectionStatus = string; -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", +/** 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 ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, + * 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 - * **JSON** + * **user** \ + * **system** \ + * **user,system** */ -export type ValueFormat = string; +export type Origin = string; -/** Known values of {@link AssetProvisioningState} that the service accepts. */ -export enum KnownAssetProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * 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 - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **Internal** */ -export type AssetProvisioningState = string; +export type ActionType = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** Known values of {@link EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * 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 - * **None** \ - * **TemporaryBlobReference** + * **Enabled** \ + * **Disabled** */ -export type PendingUploadType = string; +export type EncryptionStatus = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** Known values of {@link FirewallSku} that the service accepts. */ +export enum KnownFirewallSku { + /** Standard */ + Standard = "Standard", + /** Basic */ + Basic = "Basic", } /** - * Defines values for PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * 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 - * **SAS** + * **Standard** \ + * **Basic** */ -export type PendingUploadCredentialType = string; +export type FirewallSku = 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 IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * 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 - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type ListViewType = string; +export type IsolationMode = 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 RuleCategory} that the service accepts. */ +export enum KnownRuleCategory { + /** Required */ + Required = "Required", + /** Recommended */ + Recommended = "Recommended", + /** UserDefined */ + UserDefined = "UserDefined", + /** Dependency */ + Dependency = "Dependency", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * 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 - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** */ -export type DataType = string; +export type RuleCategory = 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 RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * 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 - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Inactive** \ + * **Active** */ -export type DataReferenceCredentialType = string; +export type RuleStatus = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** Known values of {@link RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * 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 - * **Curated** \ - * **UserCreated** + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type EnvironmentType = string; +export type RuleType = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * 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 - * **Linux** \ - * **Windows** + * **Inactive** \ + * **Active** */ -export type OperatingSystemType = string; +export type ManagedNetworkStatus = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** Known values of {@link DefaultActionType} that the service accepts. */ +export enum KnownDefaultActionType { + /** Deny */ + Deny = "Deny", + /** Allow */ + Allow = "Allow", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for DefaultActionType. \ + * {@link KnownDefaultActionType} can be used interchangeably with DefaultActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **Deny** \ + * **Allow** */ -export type AutoRebuildSetting = string; +export type DefaultActionType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", /** Creating */ Creating = "Creating", /** Deleting */ Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", /** Failed */ Failed = "Failed", - /** Updating */ - Updating = "Updating", - /** Canceled */ - Canceled = "Canceled", } /** - * Defines values for EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **Succeeded** \ * **Creating** \ * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Updating** \ - * **Canceled** + * **Failed** */ -export type EndpointProvisioningState = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link EndpointAuthMode} that the service accepts. */ -export enum KnownEndpointAuthMode { - /** AMLToken */ - AMLToken = "AMLToken", - /** Key */ - Key = "Key", - /** AADToken */ - AADToken = "AADToken", +/** Known values of {@link SystemDatastoresAuthMode} that the service accepts. */ +export enum KnownSystemDatastoresAuthMode { + /** AccessKey */ + AccessKey = "AccessKey", + /** Identity */ + Identity = "Identity", + /** UserDelegationSAS */ + UserDelegationSAS = "UserDelegationSAS", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * Defines values for SystemDatastoresAuthMode. \ + * {@link KnownSystemDatastoresAuthMode} can be used interchangeably with SystemDatastoresAuthMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AMLToken** \ - * **Key** \ - * **AADToken** + * **AccessKey** \ + * **Identity** \ + * **UserDelegationSAS** */ -export type EndpointAuthMode = string; +export type SystemDatastoresAuthMode = string; -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", +/** 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 ConnectionAuthType. \ + * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PAT** \ + * **ManagedIdentity** \ + * **UsernamePassword** \ + * **None** \ + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** + */ +export type ConnectionAuthType = string; + +/** Known values of {@link ConnectionCategory} that the service accepts. */ +export enum KnownConnectionCategory { + /** PythonFeed */ + PythonFeed = "PythonFeed", + /** ContainerRegistry */ + ContainerRegistry = "ContainerRegistry", + /** Git */ + Git = "Git", + /** S3 */ + S3 = "S3", + /** Snowflake */ + Snowflake = "Snowflake", + /** AzureSqlDb */ + AzureSqlDb = "AzureSqlDb", + /** AzureSynapseAnalytics */ + AzureSynapseAnalytics = "AzureSynapseAnalytics", + /** AzureMySqlDb */ + AzureMySqlDb = "AzureMySqlDb", + /** AzurePostgresDb */ + AzurePostgresDb = "AzurePostgresDb", + /** AdlsGen2 */ + AdlsGen2 = "ADLSGen2", + /** Redis */ + Redis = "Redis", + /** ApiKey */ + ApiKey = "ApiKey", + /** AzureOpenAI */ + AzureOpenAI = "AzureOpenAI", + /** 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 BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * 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 - * **Model** \ - * **PipelineComponent** + * **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 BatchDeploymentConfigurationType = string; +export type ConnectionCategory = 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 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 BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * 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 - * **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", + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** + */ +export type ConnectionGroup = string; + +/** Known values of {@link ManagedPERequirement} that the service accepts. */ +export enum KnownManagedPERequirement { + /** Required */ + Required = "Required", + /** NotRequired */ + NotRequired = "NotRequired", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * Defines values for ManagedPERequirement. \ + * {@link KnownManagedPERequirement} can be used interchangeably with ManagedPERequirement, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **Required** \ + * **NotRequired** \ + * **NotApplicable** */ -export type ReferenceType = string; +export type ManagedPERequirement = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** Known values of {@link ManagedPEStatus} that the service accepts. */ +export enum KnownManagedPEStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * Defines values for ManagedPEStatus. \ + * {@link KnownManagedPEStatus} can be used interchangeably with ManagedPEStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SummaryOnly** \ - * **AppendRow** + * **Inactive** \ + * **Active** \ + * **NotApplicable** */ -export type BatchOutputAction = string; +export type ManagedPEStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { +/** Known values of {@link DefaultResourceProvisioningState} that the service accepts. */ +export enum KnownDefaultResourceProvisioningState { + /** NotStarted */ + NotStarted = "NotStarted", + /** Failed */ + Failed = "Failed", /** Creating */ Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", /** Updating */ Updating = "Updating", /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", + /** Deleting */ + Deleting = "Deleting", + /** Accepted */ + Accepted = "Accepted", /** Canceled */ Canceled = "Canceled", + /** Scaling */ + Scaling = "Scaling", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * Defines values for DefaultResourceProvisioningState. \ + * {@link KnownDefaultResourceProvisioningState} can be used interchangeably with DefaultResourceProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **NotStarted** \ + * **Failed** \ * **Creating** \ - * **Deleting** \ - * **Scaling** \ * **Updating** \ * **Succeeded** \ - * **Failed** \ - * **Canceled** - */ -export type DeploymentProvisioningState = string; - -/** Known values of {@link DatastoreType} that the service accepts. */ -export enum KnownDatastoreType { - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ - AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ - AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile", - /** OneLake */ - OneLake = "OneLake", -} - -/** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** - */ -export type DatastoreType = string; - -/** Known values of {@link CredentialsType} that the service accepts. */ -export enum KnownCredentialsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** None */ - None = "None", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", -} - -/** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** - */ -export type CredentialsType = string; - -/** Known values of {@link SecretsType} that the service accepts. */ -export enum KnownSecretsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", -} - -/** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** - */ -export type SecretsType = string; - -/** Known values of {@link FeatureDataType} that the service accepts. */ -export enum KnownFeatureDataType { - /** String */ - String = "String", - /** Integer */ - Integer = "Integer", - /** Long */ - Long = "Long", - /** Float */ - Float = "Float", - /** Double */ - Double = "Double", - /** Binary */ - Binary = "Binary", - /** Datetime */ - Datetime = "Datetime", - /** Boolean */ - Boolean = "Boolean", -} - -/** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** - */ -export type FeatureDataType = string; - -/** Known values of {@link MaterializationStoreType} that the service accepts. */ -export enum KnownMaterializationStoreType { - /** None */ - None = "None", - /** Online */ - Online = "Online", - /** Offline */ - Offline = "Offline", - /** OnlineAndOffline */ - OnlineAndOffline = "OnlineAndOffline", -} - -/** - * Defines values for MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** - */ -export type MaterializationStoreType = string; - -/** Known values of {@link RecurrenceFrequency} that the service accepts. */ -export enum KnownRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", -} - -/** - * Defines values for RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Deleting** \ + * **Accepted** \ + * **Canceled** \ + * **Scaling** \ + * **Disabled** */ -export type RecurrenceFrequency = string; +export type DefaultResourceProvisioningState = 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 ModelLifecycleStatus} that the service accepts. */ +export enum KnownModelLifecycleStatus { + /** GenerallyAvailable */ + GenerallyAvailable = "GenerallyAvailable", + /** Preview */ + Preview = "Preview", } /** - * Defines values for WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * Defines values for ModelLifecycleStatus. \ + * {@link KnownModelLifecycleStatus} can be used interchangeably with ModelLifecycleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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", + * **GenerallyAvailable** \ + * **Preview** + */ +export type ModelLifecycleStatus = string; + +/** Known values of {@link AllowedContentLevel} that the service accepts. */ +export enum KnownAllowedContentLevel { + /** Low */ + Low = "Low", + /** Medium */ + Medium = "Medium", + /** High */ + High = "High", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * Defines values for AllowedContentLevel. \ + * {@link KnownAllowedContentLevel} can be used interchangeably with AllowedContentLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **Low** \ + * **Medium** \ + * **High** */ -export type TriggerType = string; +export type AllowedContentLevel = 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 RaiPolicyContentSource} that the service accepts. */ +export enum KnownRaiPolicyContentSource { + /** Prompt */ + Prompt = "Prompt", + /** Completion */ + Completion = "Completion", } /** - * Defines values for EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * Defines values for RaiPolicyContentSource. \ + * {@link KnownRaiPolicyContentSource} can be used interchangeably with RaiPolicyContentSource, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Prompt** \ + * **Completion** */ -export type EmailNotificationEnableType = string; +export type RaiPolicyContentSource = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link RaiPolicyMode} that the service accepts. */ +export enum KnownRaiPolicyMode { + /** Default */ + Default = "Default", + /** Deferred */ + Deferred = "Deferred", + /** Blocking */ + Blocking = "Blocking", } /** - * Defines values for WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * Defines values for RaiPolicyMode. \ + * {@link KnownRaiPolicyMode} can be used interchangeably with RaiPolicyMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureDevOps** + * **Default** \ + * **Deferred** \ + * **Blocking** */ -export type WebhookType = string; +export type RaiPolicyMode = 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 RaiPolicyType} that the service accepts. */ +export enum KnownRaiPolicyType { + /** UserManaged */ + UserManaged = "UserManaged", + /** SystemManaged */ + SystemManaged = "SystemManaged", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * Defines values for RaiPolicyType. \ + * {@link KnownRaiPolicyType} can be used interchangeably with RaiPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **UserManaged** \ + * **SystemManaged** */ -export type DataAvailabilityStatus = string; +export type RaiPolicyType = 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 EndpointType} that the service accepts. */ +export enum KnownEndpointType { + /** AzureOpenAI */ + AzureOpenAI = "Azure.OpenAI", + /** AzureSpeech */ + AzureSpeech = "Azure.Speech", + /** AzureContentSafety */ + AzureContentSafety = "Azure.ContentSafety", + /** AzureLlama */ + AzureLlama = "Azure.Llama", + /** ManagedOnlineEndpoint */ + ManagedOnlineEndpoint = "managedOnlineEndpoint", + /** ServerlessEndpoint */ + ServerlessEndpoint = "serverlessEndpoint", } /** - * Defines values for JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * Defines values for EndpointType. \ + * {@link KnownEndpointType} can be used interchangeably with EndpointType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** + * **Azure.OpenAI** \ + * **Azure.Speech** \ + * **Azure.ContentSafety** \ + * **Azure.Llama** \ + * **managedOnlineEndpoint** \ + * **serverlessEndpoint** */ -export type JobType = string; +export type EndpointType = 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 DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * 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 - * **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 + * **Warning** \ + * **Error** \ + * **Information** */ -export type JobStatus = string; +export type DiagnoseResultLevel = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link ServiceAccountKeyName} that the service accepts. */ +export enum KnownServiceAccountKeyName { + /** Key1 */ + Key1 = "Key1", + /** Key2 */ + Key2 = "Key2", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * Defines values for ServiceAccountKeyName. \ + * {@link KnownServiceAccountKeyName} can be used interchangeably with ServiceAccountKeyName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **All** + * **Key1** \ + * **Key2** */ -export type NodesValueType = string; +export type ServiceAccountKeyName = 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 ClusterPurpose} that the service accepts. */ +export enum KnownClusterPurpose { + /** FastProd */ + FastProd = "FastProd", + /** DenseProd */ + DenseProd = "DenseProd", + /** DevTest */ + DevTest = "DevTest", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * Defines values for ClusterPurpose. \ + * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **FastProd** \ + * **DenseProd** \ + * **DevTest** */ -export type IdentityConfigurationType = string; +export type ClusterPurpose = 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 SslConfigStatus} that the service accepts. */ +export enum KnownSslConfigStatus { + /** Disabled */ + Disabled = "Disabled", + /** Enabled */ + Enabled = "Enabled", + /** Auto */ + Auto = "Auto", } /** - * Defines values for MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * Defines values for SslConfigStatus. \ + * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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. + * **Disabled** \ + * **Enabled** \ + * **Auto** */ -export type MarketplaceSubscriptionStatus = string; +export type SslConfigStatus = 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 LoadBalancerType} that the service accepts. */ +export enum KnownLoadBalancerType { + /** PublicIp */ + PublicIp = "PublicIp", + /** InternalLoadBalancer */ + InternalLoadBalancer = "InternalLoadBalancer", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * Defines values for LoadBalancerType. \ + * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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** + * **PublicIp** \ + * **InternalLoadBalancer** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type LoadBalancerType = 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 OsType} that the service accepts. */ +export enum KnownOsType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * Defines values for OsType. \ + * {@link KnownOsType} can be used interchangeably with OsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **Linux** \ + * **Windows** */ -export type EndpointComputeType = string; +export type OsType = 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 VmPriority} that the service accepts. */ +export enum KnownVmPriority { + /** Dedicated */ + Dedicated = "Dedicated", + /** LowPriority */ + LowPriority = "LowPriority", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * Defines values for VmPriority. \ + * {@link KnownVmPriority} can be used interchangeably with VmPriority, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Dedicated** \ + * **LowPriority** */ -export type OrderString = string; +export type VmPriority = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { +/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ +export enum KnownRemoteLoginPortPublicAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", + /** NotSpecified */ + NotSpecified = "NotSpecified", } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * Defines values for RemoteLoginPortPublicAccess. \ + * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ - * **Disabled** + * **Disabled** \ + * **NotSpecified** */ -export type PublicNetworkAccessType = string; +export type RemoteLoginPortPublicAccess = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", +/** Known values of {@link AllocationState} that the service accepts. */ +export enum KnownAllocationState { + /** Steady */ + Steady = "Steady", + /** Resizing */ + Resizing = "Resizing", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * Defines values for AllocationState. \ + * {@link KnownAllocationState} can be used interchangeably with AllocationState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Default** \ - * **TargetUtilization** + * **Steady** \ + * **Resizing** */ -export type ScaleType = string; +export type AllocationState = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ +export enum KnownApplicationSharingPolicy { + /** Personal */ + Personal = "Personal", + /** Shared */ + Shared = "Shared", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * Defines values for ApplicationSharingPolicy. \ + * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **Personal** \ + * **Shared** */ -export type EgressPublicNetworkAccessType = string; +export type ApplicationSharingPolicy = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { +/** Known values of {@link MlflowAutologger} that the service accepts. */ +export enum KnownMlflowAutologger { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8754,227 +10787,251 @@ export enum KnownDataCollectionMode { } /** - * Defines values for DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * Defines values for MlflowAutologger. \ + * {@link KnownMlflowAutologger} can be used interchangeably with MlflowAutologger, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ -export type DataCollectionMode = 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", -} - -/** - * Defines values for RollingRateType. \ - * {@link KnownRollingRateType} can be used interchangeably with RollingRateType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Year** \ - * **Month** \ - * **Day** \ - * **Hour** \ - * **Minute** - */ -export type RollingRateType = string; +export type MlflowAutologger = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** Known values of {@link SshPublicAccess} that the service accepts. */ +export enum KnownSshPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * Defines values for SshPublicAccess. \ + * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **StorageInitializer** \ - * **InferenceServer** + * **Enabled** \ + * **Disabled** */ -export type ContainerType = string; +export type SshPublicAccess = 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 PatchStatus} that the service accepts. */ +export enum KnownPatchStatus { + /** CompletedWithWarnings */ + CompletedWithWarnings = "CompletedWithWarnings", + /** Failed */ + Failed = "Failed", + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Unknown */ + Unknown = "Unknown", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * Defines values for PatchStatus. \ + * {@link KnownPatchStatus} can be used interchangeably with PatchStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **CompletedWithWarnings** \ + * **Failed** \ + * **InProgress** \ + * **Succeeded** \ + * **Unknown** */ -export type SkuScaleType = string; +export type PatchStatus = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link ComputeInstanceState} that the service accepts. */ +export enum KnownComputeInstanceState { + /** Creating */ + Creating = "Creating", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** Deleting */ + Deleting = "Deleting", + /** Running */ + Running = "Running", + /** Restarting */ + Restarting = "Restarting", + /** Resizing */ + Resizing = "Resizing", + /** JobRunning */ + JobRunning = "JobRunning", + /** SettingUp */ + SettingUp = "SettingUp", + /** SetupFailed */ + SetupFailed = "SetupFailed", + /** Starting */ + Starting = "Starting", + /** Stopped */ + Stopped = "Stopped", + /** Stopping */ + Stopping = "Stopping", + /** UserSettingUp */ + UserSettingUp = "UserSettingUp", + /** UserSetupFailed */ + UserSetupFailed = "UserSetupFailed", + /** Unknown */ + Unknown = "Unknown", + /** Unusable */ + Unusable = "Unusable", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * Defines values for ComputeInstanceState. \ + * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Primary** \ - * **Secondary** + * **Creating** \ + * **CreateFailed** \ + * **Deleting** \ + * **Running** \ + * **Restarting** \ + * **Resizing** \ + * **JobRunning** \ + * **SettingUp** \ + * **SetupFailed** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** \ + * **UserSettingUp** \ + * **UserSetupFailed** \ + * **Unknown** \ + * **Unusable** */ -export type KeyType = string; +export type ComputeInstanceState = 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 ComputeInstanceAuthorizationType} that the service accepts. */ +export enum KnownComputeInstanceAuthorizationType { + /** Personal */ + Personal = "personal", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * Defines values for ComputeInstanceAuthorizationType. \ + * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **personal** */ -export type ScheduleListViewType = string; +export type ComputeInstanceAuthorizationType = 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 OperationName} that the service accepts. */ +export enum KnownOperationName { + /** Create */ + Create = "Create", + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", + /** Restart */ + Restart = "Restart", + /** Resize */ + Resize = "Resize", + /** Reimage */ + Reimage = "Reimage", + /** Delete */ + Delete = "Delete", } /** - * Defines values for ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * Defines values for OperationName. \ + * {@link KnownOperationName} can be used interchangeably with OperationName, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **Create** \ + * **Start** \ + * **Stop** \ + * **Restart** \ + * **Resize** \ + * **Reimage** \ + * **Delete** */ -export type ScheduleActionType = string; +export type OperationName = string; -/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ -export enum KnownScheduleProvisioningStatus { - /** Creating */ - Creating = "Creating", - /** Updating */ - Updating = "Updating", - /** Deleting */ - Deleting = "Deleting", +/** Known values of {@link OperationStatus} that the service accepts. */ +export enum KnownOperationStatus { + /** InProgress */ + InProgress = "InProgress", /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** StartFailed */ + StartFailed = "StartFailed", + /** StopFailed */ + StopFailed = "StopFailed", + /** RestartFailed */ + RestartFailed = "RestartFailed", + /** ResizeFailed */ + ResizeFailed = "ResizeFailed", + /** ReimageFailed */ + ReimageFailed = "ReimageFailed", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", } /** - * Defines values for ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * Defines values for OperationStatus. \ + * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **Updating** \ - * **Deleting** \ + * **InProgress** \ * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **CreateFailed** \ + * **StartFailed** \ + * **StopFailed** \ + * **RestartFailed** \ + * **ResizeFailed** \ + * **ReimageFailed** \ + * **DeleteFailed** */ -export type ScheduleProvisioningStatus = string; +export type OperationStatus = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** Known values of {@link OperationTrigger} that the service accepts. */ +export enum KnownOperationTrigger { + /** User */ + User = "User", + /** Schedule */ + Schedule = "Schedule", + /** IdleShutdown */ + IdleShutdown = "IdleShutdown", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * Defines values for OperationTrigger. \ + * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Key** + * **User** \ + * **Schedule** \ + * **IdleShutdown** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type OperationTrigger = 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 ProvisioningStatus} that the service accepts. */ +export enum KnownProvisioningStatus { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * Defines values for ProvisioningStatus. \ + * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type ServerlessEndpointState = string; +export type ProvisioningStatus = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { +/** Known values of {@link ScheduleStatus} that the service accepts. */ +export enum KnownScheduleStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ @@ -8982,1288 +11039,1452 @@ export enum KnownContentSafetyStatus { } /** - * Defines values for ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * Defines values for ScheduleStatus. \ + * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ -export type ContentSafetyStatus = 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", -} - -/** - * 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 - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** - */ -export type EndpointServiceConnectionStatus = string; - -/** Known values of {@link ClusterPurpose} that the service accepts. */ -export enum KnownClusterPurpose { - /** FastProd */ - FastProd = "FastProd", - /** DenseProd */ - DenseProd = "DenseProd", - /** DevTest */ - DevTest = "DevTest", -} - -/** - * Defines values for ClusterPurpose. \ - * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **FastProd** \ - * **DenseProd** \ - * **DevTest** - */ -export type ClusterPurpose = string; +export type ScheduleStatus = string; -/** Known values of {@link SslConfigStatus} that the service accepts. */ -export enum KnownSslConfigStatus { - /** Disabled */ - Disabled = "Disabled", - /** Enabled */ - Enabled = "Enabled", - /** Auto */ - Auto = "Auto", +/** Known values of {@link ComputePowerAction} that the service accepts. */ +export enum KnownComputePowerAction { + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", } /** - * Defines values for SslConfigStatus. \ - * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, + * Defines values for ComputePowerAction. \ + * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **Enabled** \ - * **Auto** + * **Start** \ + * **Stop** */ -export type SslConfigStatus = string; +export type ComputePowerAction = string; -/** Known values of {@link LoadBalancerType} that the service accepts. */ -export enum KnownLoadBalancerType { - /** PublicIp */ - PublicIp = "PublicIp", - /** InternalLoadBalancer */ - InternalLoadBalancer = "InternalLoadBalancer", +/** Known values of {@link ComputeTriggerType} that the service accepts. */ +export enum KnownComputeTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } -/** - * Defines values for LoadBalancerType. \ - * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, +/** + * Defines values for ComputeTriggerType. \ + * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PublicIp** \ - * **InternalLoadBalancer** + * **Recurrence** \ + * **Cron** */ -export type LoadBalancerType = string; +export type ComputeTriggerType = string; -/** Known values of {@link OsType} that the service accepts. */ -export enum KnownOsType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ +export enum KnownComputeRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month", } /** - * Defines values for OsType. \ - * {@link KnownOsType} can be used interchangeably with OsType, + * Defines values for ComputeRecurrenceFrequency. \ + * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Linux** \ - * **Windows** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type OsType = string; +export type ComputeRecurrenceFrequency = string; -/** Known values of {@link VmPriority} that the service accepts. */ -export enum KnownVmPriority { - /** Dedicated */ - Dedicated = "Dedicated", - /** LowPriority */ - LowPriority = "LowPriority", +/** Known values of {@link ComputeWeekDay} that the service accepts. */ +export enum KnownComputeWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday", } /** - * Defines values for VmPriority. \ - * {@link KnownVmPriority} can be used interchangeably with VmPriority, + * Defines values for ComputeWeekDay. \ + * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dedicated** \ - * **LowPriority** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type VmPriority = string; +export type ComputeWeekDay = string; -/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ -export enum KnownRemoteLoginPortPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", - /** NotSpecified */ - NotSpecified = "NotSpecified", +/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ +export enum KnownScheduleProvisioningState { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for RemoteLoginPortPublicAccess. \ - * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, + * Defines values for ScheduleProvisioningState. \ + * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** \ - * **NotSpecified** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type RemoteLoginPortPublicAccess = string; +export type ScheduleProvisioningState = string; -/** Known values of {@link AllocationState} that the service accepts. */ -export enum KnownAllocationState { - /** Steady */ - Steady = "Steady", - /** Resizing */ - Resizing = "Resizing", +/** Known values of {@link Autosave} that the service accepts. */ +export enum KnownAutosave { + /** None */ + None = "None", + /** Local */ + Local = "Local", + /** Remote */ + Remote = "Remote", } /** - * Defines values for AllocationState. \ - * {@link KnownAllocationState} can be used interchangeably with AllocationState, + * Defines values for Autosave. \ + * {@link KnownAutosave} can be used interchangeably with Autosave, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Steady** \ - * **Resizing** + * **None** \ + * **Local** \ + * **Remote** */ -export type AllocationState = string; +export type Autosave = string; -/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ -export enum KnownApplicationSharingPolicy { - /** Personal */ - Personal = "Personal", - /** Shared */ - Shared = "Shared", +/** Known values of {@link Network} that the service accepts. */ +export enum KnownNetwork { + /** Bridge */ + Bridge = "Bridge", + /** Host */ + Host = "Host", } /** - * Defines values for ApplicationSharingPolicy. \ - * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, + * Defines values for Network. \ + * {@link KnownNetwork} can be used interchangeably with Network, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Personal** \ - * **Shared** + * **Bridge** \ + * **Host** */ -export type ApplicationSharingPolicy = string; +export type Network = string; -/** Known values of {@link SshPublicAccess} that the service accepts. */ -export enum KnownSshPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link Caching} that the service accepts. */ +export enum KnownCaching { + /** None */ + None = "None", + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", } /** - * Defines values for SshPublicAccess. \ - * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, + * Defines values for Caching. \ + * {@link KnownCaching} can be used interchangeably with Caching, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **None** \ + * **ReadOnly** \ + * **ReadWrite** */ -export type SshPublicAccess = string; +export type Caching = string; -/** Known values of {@link ImageType} that the service accepts. */ -export enum KnownImageType { - /** Docker */ - Docker = "docker", - /** Azureml */ - Azureml = "azureml", +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + /** StandardLRS */ + StandardLRS = "Standard_LRS", + /** PremiumLRS */ + PremiumLRS = "Premium_LRS", } /** - * Defines values for ImageType. \ - * {@link KnownImageType} can be used interchangeably with ImageType, + * Defines values for StorageAccountType. \ + * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **docker** \ - * **azureml** + * **Standard_LRS** \ + * **Premium_LRS** */ -export type ImageType = string; +export type StorageAccountType = string; -/** Known values of {@link EnvironmentVariableType} that the service accepts. */ -export enum KnownEnvironmentVariableType { - /** Local */ - Local = "local", +/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ +export enum KnownMonitoringFeatureFilterType { + /** Includes all features. */ + AllFeatures = "AllFeatures", + /** Only includes the top contributing features, measured by feature attribution. */ + TopNByAttribution = "TopNByAttribution", + /** Includes a user-defined subset of features. */ + FeatureSubset = "FeatureSubset", } /** - * Defines values for EnvironmentVariableType. \ - * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * Defines values for MonitoringFeatureFilterType. \ + * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **local** + * **AllFeatures**: Includes all features. \ + * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ + * **FeatureSubset**: Includes a user-defined subset of features. */ -export type EnvironmentVariableType = string; +export type MonitoringFeatureFilterType = string; -/** Known values of {@link Protocol} that the service accepts. */ -export enum KnownProtocol { - /** Tcp */ - Tcp = "tcp", - /** Udp */ - Udp = "udp", - /** Http */ - Http = "http", +/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ +export enum KnownMonitorComputeIdentityType { + /** Authenticates through user's AML token. */ + AmlToken = "AmlToken", + /** Authenticates through a user-provided managed identity. */ + ManagedIdentity = "ManagedIdentity", } /** - * Defines values for Protocol. \ - * {@link KnownProtocol} can be used interchangeably with Protocol, + * Defines values for MonitorComputeIdentityType. \ + * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **tcp** \ - * **udp** \ - * **http** + * **AmlToken**: Authenticates through user's AML token. \ + * **ManagedIdentity**: Authenticates through a user-provided managed identity. */ -export type Protocol = string; - -/** Known values of {@link VolumeDefinitionType} that the service accepts. */ -export enum KnownVolumeDefinitionType { - /** Bind */ - Bind = "bind", - /** Volume */ - Volume = "volume", - /** Tmpfs */ - Tmpfs = "tmpfs", - /** Npipe */ - Npipe = "npipe", +export type MonitorComputeIdentityType = string; + +/** Known values of {@link InputDeliveryMode} that the service accepts. */ +export enum KnownInputDeliveryMode { + /** ReadOnlyMount */ + ReadOnlyMount = "ReadOnlyMount", + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Download */ + Download = "Download", + /** Direct */ + Direct = "Direct", + /** EvalMount */ + EvalMount = "EvalMount", + /** EvalDownload */ + EvalDownload = "EvalDownload", } /** - * Defines values for VolumeDefinitionType. \ - * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * Defines values for InputDeliveryMode. \ + * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **bind** \ - * **volume** \ - * **tmpfs** \ - * **npipe** + * **ReadOnlyMount** \ + * **ReadWriteMount** \ + * **Download** \ + * **Direct** \ + * **EvalMount** \ + * **EvalDownload** */ -export type VolumeDefinitionType = string; +export type InputDeliveryMode = string; -/** Known values of {@link ComputeInstanceState} that the service accepts. */ -export enum KnownComputeInstanceState { - /** Creating */ - Creating = "Creating", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** Deleting */ - Deleting = "Deleting", - /** Running */ - Running = "Running", - /** Restarting */ - Restarting = "Restarting", - /** JobRunning */ - JobRunning = "JobRunning", - /** SettingUp */ - SettingUp = "SettingUp", - /** SetupFailed */ - SetupFailed = "SetupFailed", - /** Starting */ - Starting = "Starting", - /** Stopped */ - Stopped = "Stopped", - /** Stopping */ - Stopping = "Stopping", - /** UserSettingUp */ - UserSettingUp = "UserSettingUp", - /** UserSetupFailed */ - UserSetupFailed = "UserSetupFailed", - /** Unknown */ - Unknown = "Unknown", - /** Unusable */ - Unusable = "Unusable", +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Upload */ + Upload = "Upload", + /** Direct */ + Direct = "Direct", } /** - * Defines values for ComputeInstanceState. \ - * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, + * Defines values for OutputDeliveryMode. \ + * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating** \ - * **CreateFailed** \ - * **Deleting** \ - * **Running** \ - * **Restarting** \ - * **JobRunning** \ - * **SettingUp** \ - * **SetupFailed** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** \ - * **UserSettingUp** \ - * **UserSetupFailed** \ - * **Unknown** \ - * **Unusable** + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** */ -export type ComputeInstanceState = string; +export type OutputDeliveryMode = string; -/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ -export enum KnownComputeInstanceAuthorizationType { - /** Personal */ - Personal = "personal", +/** 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 ComputeInstanceAuthorizationType. \ - * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, + * 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 - * **personal** + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. */ -export type ComputeInstanceAuthorizationType = string; +export type ForecastHorizonMode = string; -/** Known values of {@link OperationName} that the service accepts. */ -export enum KnownOperationName { - /** Create */ - Create = "Create", - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", - /** Restart */ - Restart = "Restart", - /** Reimage */ - Reimage = "Reimage", - /** Delete */ - Delete = "Delete", +/** Known values of {@link 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 OperationName. \ - * {@link KnownOperationName} can be used interchangeably with OperationName, + * 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 - * **Create** \ - * **Start** \ - * **Stop** \ - * **Restart** \ - * **Reimage** \ - * **Delete** + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type OperationName = string; +export type JobOutputType = string; -/** Known values of {@link OperationStatus} that the service accepts. */ -export enum KnownOperationStatus { - /** InProgress */ - InProgress = "InProgress", - /** Succeeded */ - Succeeded = "Succeeded", - /** CreateFailed */ - CreateFailed = "CreateFailed", - /** StartFailed */ - StartFailed = "StartFailed", - /** StopFailed */ - StopFailed = "StopFailed", - /** RestartFailed */ - RestartFailed = "RestartFailed", - /** ReimageFailed */ - ReimageFailed = "ReimageFailed", - /** DeleteFailed */ - DeleteFailed = "DeleteFailed", +/** Known values of {@link 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 OperationStatus. \ - * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, + * 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 - * **InProgress** \ - * **Succeeded** \ - * **CreateFailed** \ - * **StartFailed** \ - * **StopFailed** \ - * **RestartFailed** \ - * **ReimageFailed** \ - * **DeleteFailed** + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** */ -export type OperationStatus = string; +export type JobTier = string; -/** Known values of {@link OperationTrigger} that the service accepts. */ -export enum KnownOperationTrigger { - /** User */ - User = "User", - /** Schedule */ - Schedule = "Schedule", - /** IdleShutdown */ - IdleShutdown = "IdleShutdown", +/** Known values of {@link 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 OperationTrigger. \ - * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * 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 - * **User** \ - * **Schedule** \ - * **IdleShutdown** + * **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 OperationTrigger = string; +export type LogVerbosity = string; -/** Known values of {@link ProvisioningStatus} that the service accepts. */ -export enum KnownProvisioningStatus { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link TaskType} that the service accepts. */ +export enum KnownTaskType { + /** + * Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. + */ + Classification = "Classification", + /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ + Regression = "Regression", + /** + * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. + */ + Forecasting = "Forecasting", + /** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ + ImageClassification = "ImageClassification", + /** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ + ImageClassificationMultilabel = "ImageClassificationMultilabel", + /** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ + ImageObjectDetection = "ImageObjectDetection", + /** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** + * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. + */ + TextClassification = "TextClassification", + /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ + TextClassificationMultilabel = "TextClassificationMultilabel", + /** + * Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ + TextNER = "TextNER", } /** - * Defines values for ProvisioningStatus. \ - * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * Defines values for TaskType. \ + * {@link KnownTaskType} can be used interchangeably with TaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. \ + * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ + * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. \ + * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ + * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ + * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ + * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. \ + * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. \ + * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ + * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. */ -export type ProvisioningStatus = string; +export type TaskType = string; -/** Known values of {@link ScheduleStatus} that the service accepts. */ -export enum KnownScheduleStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link JobInputType} that the service accepts. */ +export enum KnownJobInputType { + /** Literal */ + Literal = "literal", + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", + /** CustomModel */ + CustomModel = "custom_model", + /** MlflowModel */ + MlflowModel = "mlflow_model", + /** TritonModel */ + TritonModel = "triton_model", } /** - * Defines values for ScheduleStatus. \ - * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, + * Defines values for JobInputType. \ + * {@link KnownJobInputType} can be used interchangeably with JobInputType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type ScheduleStatus = string; +export type JobInputType = string; -/** Known values of {@link ComputePowerAction} that the service accepts. */ -export enum KnownComputePowerAction { - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", +/** Known values of {@link NCrossValidationsMode} that the service accepts. */ +export enum KnownNCrossValidationsMode { + /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ + Auto = "Auto", + /** Use custom N-Cross validations value. */ + Custom = "Custom", } /** - * Defines values for ComputePowerAction. \ - * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, + * Defines values for NCrossValidationsMode. \ + * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Start** \ - * **Stop** + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. */ -export type ComputePowerAction = string; +export type NCrossValidationsMode = string; -/** Known values of {@link ComputeTriggerType} that the service accepts. */ -export enum KnownComputeTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link SeasonalityMode} that the service accepts. */ +export enum KnownSeasonalityMode { + /** Seasonality to be determined automatically. */ + Auto = "Auto", + /** Use the custom seasonality value. */ + Custom = "Custom", } /** - * Defines values for ComputeTriggerType. \ - * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, + * Defines values for SeasonalityMode. \ + * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Recurrence** \ - * **Cron** + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. */ -export type ComputeTriggerType = string; +export type SeasonalityMode = string; -/** Known values of {@link ComputeRecurrenceFrequency} that the service accepts. */ -export enum KnownComputeRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", +/** Known values of {@link TargetLagsMode} that the service accepts. */ +export enum KnownTargetLagsMode { + /** Target lags to be determined automatically. */ + Auto = "Auto", + /** Use the custom target lags. */ + Custom = "Custom", } /** - * Defines values for ComputeRecurrenceFrequency. \ - * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, + * Defines values for TargetLagsMode. \ + * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. */ -export type ComputeRecurrenceFrequency = string; +export type TargetLagsMode = string; -/** Known values of {@link ComputeWeekDay} that the service accepts. */ -export enum KnownComputeWeekDay { - /** Monday weekday */ - Monday = "Monday", - /** Tuesday weekday */ - Tuesday = "Tuesday", - /** Wednesday weekday */ - Wednesday = "Wednesday", - /** Thursday weekday */ - Thursday = "Thursday", - /** Friday weekday */ - Friday = "Friday", - /** Saturday weekday */ - Saturday = "Saturday", - /** Sunday weekday */ - Sunday = "Sunday", +/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ +export enum KnownTargetRollingWindowSizeMode { + /** Determine rolling windows size automatically. */ + Auto = "Auto", + /** Use the specified rolling window size. */ + Custom = "Custom", } /** - * Defines values for ComputeWeekDay. \ - * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, + * Defines values for TargetRollingWindowSizeMode. \ + * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. */ -export type ComputeWeekDay = string; +export type TargetRollingWindowSizeMode = string; -/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ -export enum KnownScheduleProvisioningState { - /** Completed */ - Completed = "Completed", - /** Provisioning */ - Provisioning = "Provisioning", - /** Failed */ - Failed = "Failed", +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ + None = "None", + /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", } /** - * Defines values for ScheduleProvisioningState. \ - * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * Defines values for ServiceDataAccessAuthIdentity. \ + * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Completed** \ - * **Provisioning** \ - * **Failed** - */ -export type ScheduleProvisioningState = string; - -/** Known values of {@link Autosave} that the service accepts. */ -export enum KnownAutosave { - /** None */ - None = "None", - /** Local */ - Local = "Local", - /** Remote */ - Remote = "Remote", + * ### Known values supported by the service + * **None**: Do not use any identity for service data access. \ + * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ + * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + */ +export type ServiceDataAccessAuthIdentity = string; + +/** Known values of {@link ModelProvider} that the service accepts. */ +export enum KnownModelProvider { + /** Fine tuning using Azure Open AI model. */ + AzureOpenAI = "AzureOpenAI", + /** Fine tuning using custom model. */ + Custom = "Custom", } /** - * Defines values for Autosave. \ - * {@link KnownAutosave} can be used interchangeably with Autosave, + * Defines values for ModelProvider. \ + * {@link KnownModelProvider} can be used interchangeably with ModelProvider, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **Local** \ - * **Remote** + * **AzureOpenAI**: Fine tuning using Azure Open AI model. \ + * **Custom**: Fine tuning using custom model. */ -export type Autosave = string; +export type ModelProvider = string; -/** Known values of {@link Network} that the service accepts. */ -export enum KnownNetwork { - /** Bridge */ - Bridge = "Bridge", - /** Host */ - Host = "Host", +/** Known values of {@link FineTuningTaskType} that the service accepts. */ +export enum KnownFineTuningTaskType { + /** ChatCompletion */ + ChatCompletion = "ChatCompletion", + /** TextCompletion */ + TextCompletion = "TextCompletion", + /** TextClassification */ + TextClassification = "TextClassification", + /** QuestionAnswering */ + QuestionAnswering = "QuestionAnswering", + /** TextSummarization */ + TextSummarization = "TextSummarization", + /** TokenClassification */ + TokenClassification = "TokenClassification", + /** TextTranslation */ + TextTranslation = "TextTranslation", + /** ImageClassification */ + ImageClassification = "ImageClassification", + /** ImageInstanceSegmentation */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** ImageObjectDetection */ + ImageObjectDetection = "ImageObjectDetection", + /** VideoMultiObjectTracking */ + VideoMultiObjectTracking = "VideoMultiObjectTracking", } /** - * Defines values for Network. \ - * {@link KnownNetwork} can be used interchangeably with Network, + * Defines values for FineTuningTaskType. \ + * {@link KnownFineTuningTaskType} can be used interchangeably with FineTuningTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bridge** \ - * **Host** + * **ChatCompletion** \ + * **TextCompletion** \ + * **TextClassification** \ + * **QuestionAnswering** \ + * **TextSummarization** \ + * **TokenClassification** \ + * **TextTranslation** \ + * **ImageClassification** \ + * **ImageInstanceSegmentation** \ + * **ImageObjectDetection** \ + * **VideoMultiObjectTracking** */ -export type Network = string; +export type FineTuningTaskType = string; -/** Known values of {@link Caching} that the service accepts. */ -export enum KnownCaching { - /** None */ - None = "None", - /** ReadOnly */ - ReadOnly = "ReadOnly", - /** ReadWrite */ - ReadWrite = "ReadWrite", +/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + /** Bandit */ + Bandit = "Bandit", + /** MedianStopping */ + MedianStopping = "MedianStopping", + /** TruncationSelection */ + TruncationSelection = "TruncationSelection", } /** - * Defines values for Caching. \ - * {@link KnownCaching} can be used interchangeably with Caching, + * Defines values for EarlyTerminationPolicyType. \ + * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **ReadOnly** \ - * **ReadWrite** + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** */ -export type Caching = string; +export type EarlyTerminationPolicyType = string; -/** Known values of {@link StorageAccountType} that the service accepts. */ -export enum KnownStorageAccountType { - /** StandardLRS */ - StandardLRS = "Standard_LRS", - /** PremiumLRS */ - PremiumLRS = "Premium_LRS", +/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + /** Grid */ + Grid = "Grid", + /** Random */ + Random = "Random", + /** Bayesian */ + Bayesian = "Bayesian", } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * Defines values for SamplingAlgorithmType. \ + * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Standard_LRS** \ - * **Premium_LRS** + * **Grid** \ + * **Random** \ + * **Bayesian** */ -export type StorageAccountType = string; +export type SamplingAlgorithmType = string; -/** Known values of {@link SourceType} that the service accepts. */ -export enum KnownSourceType { - /** Dataset */ - Dataset = "Dataset", - /** Datastore */ - Datastore = "Datastore", - /** URI */ - URI = "URI", +/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ +export enum KnownCategoricalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, + * Defines values for CategoricalDataDriftMetric. \ + * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Dataset** \ - * **Datastore** \ - * **URI** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type SourceType = string; +export type CategoricalDataDriftMetric = string; -/** Known values of {@link MountAction} that the service accepts. */ -export enum KnownMountAction { - /** Mount */ - Mount = "Mount", - /** Unmount */ - Unmount = "Unmount", +/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ +export enum KnownMonitoringFeatureDataType { + /** Used for features of numerical data type. */ + Numerical = "Numerical", + /** Used for features of categorical data type. */ + Categorical = "Categorical", } /** - * Defines values for MountAction. \ - * {@link KnownMountAction} can be used interchangeably with MountAction, + * Defines values for MonitoringFeatureDataType. \ + * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Mount** \ - * **Unmount** + * **Numerical**: Used for features of numerical data type. \ + * **Categorical**: Used for features of categorical data type. */ -export type MountAction = string; +export type MonitoringFeatureDataType = string; -/** Known values of {@link MountState} that the service accepts. */ -export enum KnownMountState { - /** MountRequested */ - MountRequested = "MountRequested", - /** Mounted */ - Mounted = "Mounted", - /** MountFailed */ - MountFailed = "MountFailed", - /** UnmountRequested */ - UnmountRequested = "UnmountRequested", - /** UnmountFailed */ - UnmountFailed = "UnmountFailed", - /** Unmounted */ - Unmounted = "Unmounted", +/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ +export enum KnownCategoricalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for MountState. \ - * {@link KnownMountState} can be used interchangeably with MountState, + * Defines values for CategoricalDataQualityMetric. \ + * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **MountRequested** \ - * **Mounted** \ - * **MountFailed** \ - * **UnmountRequested** \ - * **UnmountFailed** \ - * **Unmounted** + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type MountState = string; +export type CategoricalDataQualityMetric = string; -/** Known values of {@link RuleAction} that the service accepts. */ -export enum KnownRuleAction { - /** Allow */ - Allow = "Allow", - /** Deny */ - Deny = "Deny", +/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ +export enum KnownCategoricalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Pearsons Chi Squared Test metric. */ + PearsonsChiSquaredTest = "PearsonsChiSquaredTest", } /** - * Defines values for RuleAction. \ - * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * Defines values for CategoricalPredictionDriftMetric. \ + * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Allow** \ - * **Deny** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type RuleAction = string; +export type CategoricalPredictionDriftMetric = string; -/** Known values of {@link MonitoringFeatureFilterType} that the service accepts. */ -export enum KnownMonitoringFeatureFilterType { - /** Includes all features. */ - AllFeatures = "AllFeatures", - /** Only includes the top contributing features, measured by feature attribution. */ - TopNByAttribution = "TopNByAttribution", - /** Includes a user-defined subset of features. */ - FeatureSubset = "FeatureSubset", +/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", } /** - * Defines values for MonitoringFeatureFilterType. \ - * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, + * Defines values for ClassificationPrimaryMetrics. \ + * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AllFeatures**: Includes all features. \ - * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ - * **FeatureSubset**: Includes a user-defined subset of features. + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ -export type MonitoringFeatureFilterType = string; +export type ClassificationPrimaryMetrics = string; -/** Known values of {@link MonitorComputeIdentityType} that the service accepts. */ -export enum KnownMonitorComputeIdentityType { - /** Authenticates through user's AML token. */ - AmlToken = "AmlToken", - /** Authenticates through a user-provided managed identity. */ - ManagedIdentity = "ManagedIdentity", +/** Known values of {@link ClassificationModels} that the service accepts. */ +export enum KnownClassificationModels { + /** + * Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. + */ + LogisticRegression = "LogisticRegression", + /** + * 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. + */ + SGD = "SGD", + /** + * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + */ + MultinomialNaiveBayes = "MultinomialNaiveBayes", + /** Naive Bayes classifier for multivariate Bernoulli models. */ + BernoulliNaiveBayes = "BernoulliNaiveBayes", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + */ + SVM = "SVM", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + */ + LinearSVM = "LinearSVM", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ + XGBoostClassifier = "XGBoostClassifier", } /** - * Defines values for MonitorComputeIdentityType. \ - * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, + * Defines values for ClassificationModels. \ + * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlToken**: Authenticates through user's AML token. \ - * **ManagedIdentity**: Authenticates through a user-provided managed identity. + * **LogisticRegression**: Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ + * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ + * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ + * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ + * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ -export type MonitorComputeIdentityType = string; +export type ClassificationModels = string; -/** Known values of {@link InputDeliveryMode} that the service accepts. */ -export enum KnownInputDeliveryMode { - /** ReadOnlyMount */ - ReadOnlyMount = "ReadOnlyMount", - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Download */ - Download = "Download", - /** Direct */ - Direct = "Direct", - /** EvalMount */ - EvalMount = "EvalMount", - /** EvalDownload */ - EvalDownload = "EvalDownload", +/** Known values of {@link StackMetaLearnerType} that the service accepts. */ +export enum KnownStackMetaLearnerType { + /** None */ + None = "None", + /** Default meta-learners are LogisticRegression for classification tasks. */ + LogisticRegression = "LogisticRegression", + /** Default meta-learners are LogisticRegression for classification task when CV is on. */ + LogisticRegressionCV = "LogisticRegressionCV", + /** LightGBMClassifier */ + LightGBMClassifier = "LightGBMClassifier", + /** Default meta-learners are LogisticRegression for regression task. */ + ElasticNet = "ElasticNet", + /** Default meta-learners are LogisticRegression for regression task when CV is on. */ + ElasticNetCV = "ElasticNetCV", + /** LightGBMRegressor */ + LightGBMRegressor = "LightGBMRegressor", + /** LinearRegression */ + LinearRegression = "LinearRegression", } /** - * Defines values for InputDeliveryMode. \ - * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * Defines values for StackMetaLearnerType. \ + * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadOnlyMount** \ - * **ReadWriteMount** \ - * **Download** \ - * **Direct** \ - * **EvalMount** \ - * **EvalDownload** + * **None** \ + * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ + * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ + * **LightGBMClassifier** \ + * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ + * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ + * **LightGBMRegressor** \ + * **LinearRegression** */ -export type InputDeliveryMode = string; +export type StackMetaLearnerType = string; -/** Known values of {@link OutputDeliveryMode} that the service accepts. */ -export enum KnownOutputDeliveryMode { - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Upload */ - Upload = "Upload", - /** Direct */ - Direct = "Direct", +/** Known values of {@link BlockedTransformers} that the service accepts. */ +export enum KnownBlockedTransformers { + /** Target encoding for text data. */ + TextTargetEncoder = "TextTargetEncoder", + /** Ohe hot encoding creates a binary feature transformation. */ + OneHotEncoder = "OneHotEncoder", + /** Target encoding for categorical data. */ + CatTargetEncoder = "CatTargetEncoder", + /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ + TfIdf = "TfIdf", + /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ + WoETargetEncoder = "WoETargetEncoder", + /** Label encoder converts labels\/categorical variables in a numerical form. */ + LabelEncoder = "LabelEncoder", + /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ + WordEmbedding = "WordEmbedding", + /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ + NaiveBayes = "NaiveBayes", + /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ + CountVectorizer = "CountVectorizer", + /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ + HashOneHotEncoder = "HashOneHotEncoder", } /** - * Defines values for OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * Defines values for BlockedTransformers. \ + * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadWriteMount** \ - * **Upload** \ - * **Direct** + * **TextTargetEncoder**: Target encoding for text data. \ + * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ + * **CatTargetEncoder**: Target encoding for categorical data. \ + * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ + * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ + * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ + * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ + * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ + * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ + * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ -export type OutputDeliveryMode = string; +export type BlockedTransformers = string; -/** Known values of {@link ForecastHorizonMode} that the service accepts. */ -export enum KnownForecastHorizonMode { - /** Forecast horizon to be determined automatically. */ +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ Auto = "Auto", - /** Use the custom forecast horizon. */ + /** Custom featurization. */ Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", } /** - * Defines values for ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * 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**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **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 ForecastHorizonMode = string; +export type FeaturizationMode = string; -/** Known values of {@link TaskType} that the service accepts. */ -export enum KnownTaskType { - /** - * Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. - */ - Classification = "Classification", - /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ - Regression = "Regression", - /** - * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. - */ - Forecasting = "Forecasting", - /** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. - */ - ImageClassification = "ImageClassification", - /** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. - */ - ImageClassificationMultilabel = "ImageClassificationMultilabel", - /** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. - */ - ImageObjectDetection = "ImageObjectDetection", - /** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. - */ - ImageInstanceSegmentation = "ImageInstanceSegmentation", - /** - * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. - */ - TextClassification = "TextClassification", - /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ - TextClassificationMultilabel = "TextClassificationMultilabel", - /** - * Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. - */ - TextNER = "TextNER", +/** Known values of {@link DistributionType} that the service accepts. */ +export enum KnownDistributionType { + /** PyTorch */ + PyTorch = "PyTorch", + /** TensorFlow */ + TensorFlow = "TensorFlow", + /** Mpi */ + Mpi = "Mpi", } /** - * Defines values for TaskType. \ - * {@link KnownTaskType} can be used interchangeably with TaskType, + * Defines values for DistributionType. \ + * {@link KnownDistributionType} can be used interchangeably with DistributionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which - * the computer program learns from the data given to it and make new observations or classifications. \ - * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ - * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model - * that can be used to predict the near future values based on the inputs. \ - * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ - * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ - * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ - * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. \ - * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. - * Categories are mutually exclusive. \ - * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ - * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. - * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** */ -export type TaskType = string; +export type DistributionType = string; -/** Known values of {@link LogVerbosity} that the service accepts. */ -export enum KnownLogVerbosity { - /** No logs emitted. */ - NotSet = "NotSet", - /** Debug and above log statements logged. */ - Debug = "Debug", - /** Info and above log statements logged. */ - Info = "Info", - /** Warning and above log statements logged. */ - Warning = "Warning", - /** Error and above log statements logged. */ - Error = "Error", - /** Only critical statements logged. */ - Critical = "Critical", +/** Known values of {@link JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", } /** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * Defines values for JobLimitsType. \ + * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **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. + * **Command** \ + * **Sweep** */ -export type LogVerbosity = string; +export type JobLimitsType = string; -/** Known values of {@link JobInputType} that the service accepts. */ -export enum KnownJobInputType { - /** Literal */ - Literal = "literal", - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * 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 - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **ServerlessSpark**: Serverless Spark compute. */ -export type JobInputType = string; +export type MonitorComputeType = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model", +/** Known values of {@link ModelTaskType} that the service accepts. */ +export enum KnownModelTaskType { + /** Classification */ + Classification = "Classification", + /** Regression */ + Regression = "Regression", } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * Defines values for ModelTaskType. \ + * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Classification** \ + * **Regression** */ -export type JobOutputType = string; +export type ModelTaskType = string; -/** Known values of {@link JobTier} that the service accepts. */ -export enum KnownJobTier { - /** Null */ - Null = "Null", - /** Spot */ - Spot = "Spot", - /** Basic */ - Basic = "Basic", - /** Standard */ - Standard = "Standard", - /** Premium */ - Premium = "Premium", +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", } /** - * Defines values for JobTier. \ - * {@link KnownJobTier} can be used interchangeably with JobTier, + * 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 - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** + * **AmlNotification**: Enables email notifications through AML notifications. */ -export type JobTier = string; +export type MonitoringNotificationType = string; -/** Known values of {@link NCrossValidationsMode} that the service accepts. */ -export enum KnownNCrossValidationsMode { - /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ - Auto = "Auto", - /** Use custom N-Cross validations value. */ +/** Known values of {@link MonitoringSignalType} that the service accepts. */ +export enum KnownMonitoringSignalType { + /** Tracks model input data distribution change, comparing against training data or past production data. */ + DataDrift = "DataDrift", + /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ + PredictionDrift = "PredictionDrift", + /** Tracks model input data integrity. */ + DataQuality = "DataQuality", + /** Tracks feature importance change in production, comparing against feature importance at training time. */ + FeatureAttributionDrift = "FeatureAttributionDrift", + /** Tracks a custom signal provided by users. */ Custom = "Custom", } /** - * Defines values for NCrossValidationsMode. \ - * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * Defines values for MonitoringSignalType. \ + * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ - * **Custom**: Use custom N-Cross validations value. + * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ + * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ + * **DataQuality**: Tracks model input data integrity. \ + * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ + * **Custom**: Tracks a custom signal provided by users. */ -export type NCrossValidationsMode = string; +export type MonitoringSignalType = string; -/** Known values of {@link SeasonalityMode} that the service accepts. */ -export enum KnownSeasonalityMode { - /** Seasonality to be determined automatically. */ - Auto = "Auto", - /** Use the custom seasonality value. */ - Custom = "Custom", +/** Known values of {@link MonitoringInputDataType} that the service accepts. */ +export enum KnownMonitoringInputDataType { + /** An input data with a fixed window size. */ + Static = "Static", + /** An input data which rolls relatively to the monitor's current run time. */ + Rolling = "Rolling", + /** An input data with tabular format which doesn't require preprocessing. */ + Fixed = "Fixed", } /** - * Defines values for SeasonalityMode. \ - * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * Defines values for MonitoringInputDataType. \ + * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Seasonality to be determined automatically. \ - * **Custom**: Use the custom seasonality value. + * **Static**: An input data with a fixed window size. \ + * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ + * **Fixed**: An input data with tabular format which doesn't require preprocessing. */ -export type SeasonalityMode = string; +export type MonitoringInputDataType = string; -/** Known values of {@link TargetLagsMode} that the service accepts. */ -export enum KnownTargetLagsMode { - /** Target lags to be determined automatically. */ - Auto = "Auto", - /** Use the custom target lags. */ - Custom = "Custom", +/** Known values of {@link FeatureImportanceMode} that the service accepts. */ +export enum KnownFeatureImportanceMode { + /** Disables computing feature importance within a signal. */ + Disabled = "Disabled", + /** Enables computing feature importance within a signal. */ + Enabled = "Enabled", } /** - * Defines values for TargetLagsMode. \ - * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * 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 - * **Auto**: Target lags to be determined automatically. \ - * **Custom**: Use the custom target lags. + * **Disabled**: Disables computing feature importance within a signal. \ + * **Enabled**: Enables computing feature importance within a signal. */ -export type TargetLagsMode = string; +export type FeatureImportanceMode = string; -/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ -export enum KnownTargetRollingWindowSizeMode { - /** Determine rolling windows size automatically. */ +/** 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 FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ Auto = "Auto", - /** Use the specified rolling window size. */ - Custom = "Custom", } /** - * Defines values for TargetRollingWindowSizeMode. \ - * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine rolling windows size automatically. \ - * **Custom**: Use the specified rolling window size. + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. */ -export type TargetRollingWindowSizeMode = string; +export type FeatureLags = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no\/null value. */ None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop", } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Do not use any identity for service data access. \ - * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ - * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. */ -export type ServiceDataAccessAuthIdentity = string; +export type ShortSeriesHandlingConfiguration = string; -/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ -export enum KnownEarlyTerminationPolicyType { - /** Bandit */ - Bandit = "Bandit", - /** MedianStopping */ - MedianStopping = "MedianStopping", - /** TruncationSelection */ - TruncationSelection = "TruncationSelection", +/** Known values of {@link 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 EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * 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 - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** */ -export type EarlyTerminationPolicyType = string; +export type TargetAggregationFunction = string; -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian", +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + /** Season */ + Season = "Season", + /** SeasonTrend */ + SeasonTrend = "SeasonTrend", } /** - * Defines values for SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** */ -export type SamplingAlgorithmType = string; +export type UseStl = string; -/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ -export enum KnownCategoricalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link 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 CategoricalDataDriftMetric. \ - * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, + * 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 - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **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 CategoricalDataDriftMetric = string; +export type ForecastingPrimaryMetrics = string; -/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ -export enum KnownMonitoringFeatureDataType { - /** Used for features of numerical data type. */ - Numerical = "Numerical", - /** Used for features of categorical data type. */ - Categorical = "Categorical", +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { + /** + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. + */ + AutoArima = "AutoArima", + /** + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. + */ + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", + /** + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. + */ + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", } /** - * Defines values for MonitoringFeatureDataType. \ - * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Numerical**: Used for features of numerical data type. \ - * **Categorical**: Used for features of categorical data type. + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type MonitoringFeatureDataType = string; +export type ForecastingModels = string; -/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ -export enum KnownCategoricalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ + None = "None", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step", } /** - * Defines values for CategoricalDataQualityMetric. \ - * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. */ -export type CategoricalDataQualityMetric = string; +export type LearningRateScheduler = string; -/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ -export enum KnownCategoricalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw", } /** - * Defines values for CategoricalPredictionDriftMetric. \ - * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ -export type CategoricalPredictionDriftMetric = string; +export type StochasticOptimizer = string; -/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationPrimaryMetrics { +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { /** * AUC is the Area under the curve. * This metric represents arithmetic mean of the score for each class, @@ -10284,11 +12505,13 @@ export enum KnownClassificationPrimaryMetrics { AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU", } /** - * Defines values for ClassificationPrimaryMetrics. \ - * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AUCWeighted**: AUC is the Area under the curve. @@ -10299,1003 +12522,897 @@ export enum KnownClassificationPrimaryMetrics { * performance has a score of 0, and perfect performance has a score of 1. \ * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. */ -export type ClassificationPrimaryMetrics = string; +export type ClassificationMultilabelPrimaryMetrics = string; -/** Known values of {@link ClassificationModels} that the service accepts. */ -export enum KnownClassificationModels { - /** - * Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. - */ - LogisticRegression = "LogisticRegression", - /** - * 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. - */ - SGD = "SGD", - /** - * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. - */ - MultinomialNaiveBayes = "MultinomialNaiveBayes", - /** Naive Bayes classifier for multivariate Bernoulli models. */ - BernoulliNaiveBayes = "BernoulliNaiveBayes", - /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - */ - SVM = "SVM", - /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. - */ - LinearSVM = "LinearSVM", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { /** - * 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. + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ - XGBoostClassifier = "XGBoostClassifier", + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for ClassificationModels. \ - * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LogisticRegression**: Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ - * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ - * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ - * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ - * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type ClassificationModels = string; +export type InstanceSegmentationPrimaryMetrics = string; -/** Known values of {@link StackMetaLearnerType} that the service accepts. */ -export enum KnownStackMetaLearnerType { - /** None */ +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ None = "None", - /** Default meta-learners are LogisticRegression for classification tasks. */ - LogisticRegression = "LogisticRegression", - /** Default meta-learners are LogisticRegression for classification task when CV is on. */ - LogisticRegressionCV = "LogisticRegressionCV", - /** LightGBMClassifier */ - LightGBMClassifier = "LightGBMClassifier", - /** Default meta-learners are LogisticRegression for regression task. */ - ElasticNet = "ElasticNet", - /** Default meta-learners are LogisticRegression for regression task when CV is on. */ - ElasticNetCV = "ElasticNetCV", - /** LightGBMRegressor */ - LightGBMRegressor = "LightGBMRegressor", - /** LinearRegression */ - LinearRegression = "LinearRegression", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge", } /** - * Defines values for StackMetaLearnerType. \ - * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ - * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ - * **LightGBMClassifier** \ - * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ - * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ - * **LightGBMRegressor** \ - * **LinearRegression** + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. */ -export type StackMetaLearnerType = string; +export type ModelSize = 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", +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc", } /** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. */ -export type FeaturizationMode = string; +export type ValidationMetricType = string; + +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", +} + +/** + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ +export type ObjectDetectionPrimaryMetrics = string; + +/** Known values of {@link OneLakeArtifactType} that the service accepts. */ +export enum KnownOneLakeArtifactType { + /** LakeHouse */ + LakeHouse = "LakeHouse", +} + +/** + * Defines values for OneLakeArtifactType. \ + * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LakeHouse** + */ +export type OneLakeArtifactType = string; -/** Known values of {@link BlockedTransformers} that the service accepts. */ -export enum KnownBlockedTransformers { - /** Target encoding for text data. */ - TextTargetEncoder = "TextTargetEncoder", - /** Ohe hot encoding creates a binary feature transformation. */ - OneHotEncoder = "OneHotEncoder", - /** Target encoding for categorical data. */ - CatTargetEncoder = "CatTargetEncoder", - /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ - TfIdf = "TfIdf", - /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ - WoETargetEncoder = "WoETargetEncoder", - /** Label encoder converts labels\/categorical variables in a numerical form. */ - LabelEncoder = "LabelEncoder", - /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ - WordEmbedding = "WordEmbedding", - /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ - NaiveBayes = "NaiveBayes", - /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ - CountVectorizer = "CountVectorizer", - /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ - HashOneHotEncoder = "HashOneHotEncoder", +/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ +export enum KnownNumericalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for BlockedTransformers. \ - * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, + * Defines values for NumericalDataDriftMetric. \ + * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **TextTargetEncoder**: Target encoding for text data. \ - * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ - * **CatTargetEncoder**: Target encoding for categorical data. \ - * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ - * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ - * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ - * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ - * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ - * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ - * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type BlockedTransformers = string; +export type NumericalDataDriftMetric = string; -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi", +/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ +export enum KnownNumericalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for NumericalDataQualityMetric. \ + * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type DistributionType = string; +export type NumericalDataQualityMetric = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", +/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ +export enum KnownNumericalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for NumericalPredictionDriftMetric. \ + * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type JobLimitsType = string; +export type NumericalPredictionDriftMetric = string; -/** Known values of {@link ModelTaskType} that the service accepts. */ -export enum KnownModelTaskType { - /** Classification */ - Classification = "Classification", - /** Regression */ - Regression = "Regression", +/** Known values of {@link Goal} that the service accepts. */ +export enum KnownGoal { + /** Minimize */ + Minimize = "Minimize", + /** Maximize */ + Maximize = "Maximize", } /** - * Defines values for ModelTaskType. \ - * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, + * Defines values for Goal. \ + * {@link KnownGoal} can be used interchangeably with Goal, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification** \ - * **Regression** + * **Minimize** \ + * **Maximize** */ -export type ModelTaskType = string; +export type Goal = string; -/** Known values of {@link MonitoringSignalType} that the service accepts. */ -export enum KnownMonitoringSignalType { - /** Tracks model input data distribution change, comparing against training data or past production data. */ - DataDrift = "DataDrift", - /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ - PredictionDrift = "PredictionDrift", - /** Tracks model input data integrity. */ - DataQuality = "DataQuality", - /** Tracks feature importance change in production, comparing against feature importance at training time. */ - FeatureAttributionDrift = "FeatureAttributionDrift", - /** Tracks a custom signal provided by users. */ - Custom = "Custom", +/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ +export enum KnownRandomSamplingAlgorithmRule { + /** Random */ + Random = "Random", + /** Sobol */ + Sobol = "Sobol", } /** - * Defines values for MonitoringSignalType. \ - * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, + * Defines values for RandomSamplingAlgorithmRule. \ + * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ - * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ - * **DataQuality**: Tracks model input data integrity. \ - * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ - * **Custom**: Tracks a custom signal provided by users. + * **Random** \ + * **Sobol** */ -export type MonitoringSignalType = string; +export type RandomSamplingAlgorithmRule = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for MonitoringNotificationType. \ - * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * Defines values for RegressionPrimaryMetrics. \ + * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlNotification**: Enables email notifications through AML notifications. + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type MonitoringNotificationType = string; +export type RegressionPrimaryMetrics = string; -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", } /** - * Defines values for MonitorComputeType. \ - * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * 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 - * **ServerlessSpark**: Serverless Spark compute. + * **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 MonitorComputeType = string; +export type RegressionModels = string; -/** Known values of {@link MonitoringInputDataType} that the service accepts. */ -export enum KnownMonitoringInputDataType { - /** An input data with a fixed window size. */ - Static = "Static", - /** An input data which rolls relatively to the monitor's current run time. */ - Rolling = "Rolling", - /** An input data with tabular format which doesn't require preprocessing. */ - Fixed = "Fixed", +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", } /** - * Defines values for MonitoringInputDataType. \ - * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, + * 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 - * **Static**: An input data with a fixed window size. \ - * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ - * **Fixed**: An input data with tabular format which doesn't require preprocessing. + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** */ -export type MonitoringInputDataType = string; +export type SparkJobEntryType = string; -/** Known values of {@link FeatureImportanceMode} that the service accepts. */ -export enum KnownFeatureImportanceMode { - /** Disables computing feature importance within a signal. */ - Disabled = "Disabled", - /** Enables computing feature importance within a signal. */ - Enabled = "Enabled", +/** Known values of {@link DeploymentModelVersionUpgradeOption} that the service accepts. */ +export enum KnownDeploymentModelVersionUpgradeOption { + /** OnceNewDefaultVersionAvailable */ + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable", + /** OnceCurrentVersionExpired */ + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + /** NoAutoUpgrade */ + NoAutoUpgrade = "NoAutoUpgrade", } /** - * Defines values for FeatureImportanceMode. \ - * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, + * Defines values for DeploymentModelVersionUpgradeOption. \ + * {@link KnownDeploymentModelVersionUpgradeOption} can be used interchangeably with DeploymentModelVersionUpgradeOption, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled**: Disables computing feature importance within a signal. \ - * **Enabled**: Enables computing feature importance within a signal. + * **OnceNewDefaultVersionAvailable** \ + * **OnceCurrentVersionExpired** \ + * **NoAutoUpgrade** */ -export type FeatureImportanceMode = string; +export type DeploymentModelVersionUpgradeOption = string; -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", } /** - * Defines values for FeatureAttributionMetric. \ - * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, + * 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 - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. + * **Allow** \ + * **Deny** */ -export type FeatureAttributionMetric = string; +export type RuleAction = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; -/** 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", +/** Optional parameters. */ +export interface UsagesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type UsagesListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type UsagesListNextResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface VirtualMachineSizesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface QuotasUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +/** Optional parameters. */ +export interface QuotasListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type QuotasListResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface QuotasListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type QuotasListNextResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface ComputeListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * 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 - * **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 ForecastingPrimaryMetrics = string; +/** Contains response data for the list operation. */ +export type ComputeListResponse = PaginatedComputeResourcesList; -/** Known values of {@link FeatureLags} that the service accepts. */ -export enum KnownFeatureLags { - /** No feature lags generated. */ - None = "None", - /** System auto-generates feature lags. */ - Auto = "Auto", +/** Optional parameters. */ +export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComputeGetResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for FeatureLags. \ - * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No feature lags generated. \ - * **Auto**: System auto-generates feature lags. - */ -export type FeatureLags = string; +/** Contains response data for the createOrUpdate operation. */ +export type ComputeCreateOrUpdateResponse = ComputeResource; -/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ -export enum KnownShortSeriesHandlingConfiguration { - /** Represents no\/null value. */ - None = "None", - /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ - Auto = "Auto", - /** All the short series will be padded. */ - Pad = "Pad", - /** All the short series will be dropped. */ - Drop = "Drop", +/** Optional parameters. */ +export interface ComputeUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ShortSeriesHandlingConfiguration. \ - * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: Represents no\/null value. \ - * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ - * **Pad**: All the short series will be padded. \ - * **Drop**: All the short series will be dropped. - */ -export type ShortSeriesHandlingConfiguration = string; +/** Contains response data for the update operation. */ +export type ComputeUpdateResponse = ComputeResource; -/** Known values of {@link UseStl} that the service accepts. */ -export enum KnownUseStl { - /** No stl decomposition. */ - None = "None", - /** Season */ - Season = "Season", - /** SeasonTrend */ - SeasonTrend = "SeasonTrend", +/** Optional parameters. */ +export interface ComputeDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeUpdateCustomServicesOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeListNodesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodes operation. */ +export type ComputeListNodesResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface ComputeListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ComputeListKeysResponse = ComputeSecretsUnion; + +/** Optional parameters. */ +export interface ComputeUpdateDataMountsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeStopOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for UseStl. \ - * {@link KnownUseStl} can be used interchangeably with UseStl, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No stl decomposition. \ - * **Season** \ - * **SeasonTrend** - */ -export type UseStl = string; +/** Optional parameters. */ +export interface ComputeRestartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ComputeUpdateIdleShutdownSettingOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeGetAllowedResizeSizesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getAllowedResizeSizes operation. */ +export type ComputeGetAllowedResizeSizesResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface ComputeResizeOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the resize operation. */ +export type ComputeResizeResponse = ComputeResizeHeaders; + +/** Optional parameters. */ +export interface ComputeListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ComputeListNextResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeListNodesNextOptionalParams + extends coreClient.OperationOptions {} -/** 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", +/** Contains response data for the listNodesNext operation. */ +export type ComputeListNodesNextResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface RegistryCodeContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * Defines values for 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; +/** Contains response data for the list operation. */ +export type RegistryCodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; -/** Known values of {@link ForecastingModels} that the service accepts. */ -export enum KnownForecastingModels { - /** - * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. - */ - AutoArima = "AutoArima", - /** - * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. - */ - Prophet = "Prophet", - /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ - Naive = "Naive", - /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ - SeasonalNaive = "SeasonalNaive", - /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ - Average = "Average", - /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ - SeasonalAverage = "SeasonalAverage", - /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ - ExponentialSmoothing = "ExponentialSmoothing", - /** - * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. - */ - Arimax = "Arimax", - /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ - TCNForecaster = "TCNForecaster", - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", - /** - * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. - */ - RandomForest = "RandomForest", - /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ - ExtremeRandomTrees = "ExtremeRandomTrees", - /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ - LightGBM = "LightGBM", - /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ - XGBoostRegressor = "XGBoostRegressor", +/** Optional parameters. */ +export interface RegistryCodeContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ForecastingModels. \ - * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ - * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ - * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ - * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ - * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ - * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ - * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ - * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ - * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type ForecastingModels = string; +/** Optional parameters. */ +export interface RegistryCodeContainersGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link LearningRateScheduler} that the service accepts. */ -export enum KnownLearningRateScheduler { - /** No learning rate scheduler selected. */ - None = "None", - /** Cosine Annealing With Warmup. */ - WarmupCosine = "WarmupCosine", - /** Step learning rate scheduler. */ - Step = "Step", +/** Contains response data for the get operation. */ +export type RegistryCodeContainersGetResponse = CodeContainer; + +/** Optional parameters. */ +export interface RegistryCodeContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for LearningRateScheduler. \ - * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No learning rate scheduler selected. \ - * **WarmupCosine**: Cosine Annealing With Warmup. \ - * **Step**: Step learning rate scheduler. - */ -export type LearningRateScheduler = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -/** Known values of {@link StochasticOptimizer} that the service accepts. */ -export enum KnownStochasticOptimizer { - /** No optimizer selected. */ - None = "None", - /** Stochastic Gradient Descent optimizer. */ - Sgd = "Sgd", - /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ - Adam = "Adam", - /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ - Adamw = "Adamw", +/** Optional parameters. */ +export interface RegistryCodeContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; } -/** - * Defines values for StochasticOptimizer. \ - * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No optimizer selected. \ - * **Sgd**: Stochastic Gradient Descent optimizer. \ - * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ - * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. - */ -export type StochasticOptimizer = string; +/** Contains response data for the list operation. */ +export type RegistryCodeVersionsListResponse = + CodeVersionResourceArmPaginatedResult; -/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationMultilabelPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", - /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ - IOU = "IOU", +/** Optional parameters. */ +export interface RegistryCodeVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ClassificationMultilabelPrimaryMetrics. \ - * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ - * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. - */ -export type ClassificationMultilabelPrimaryMetrics = string; +/** Optional parameters. */ +export interface RegistryCodeVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ -export enum KnownInstanceSegmentationPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", +/** Contains response data for the get operation. */ +export type RegistryCodeVersionsGetResponse = CodeVersion; + +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for InstanceSegmentationPrimaryMetrics. \ - * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type InstanceSegmentationPrimaryMetrics = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; -/** Known values of {@link ModelSize} that the service accepts. */ -export enum KnownModelSize { - /** No value selected. */ - None = "None", - /** Small size. */ - Small = "Small", - /** Medium size. */ - Medium = "Medium", - /** Large size. */ - Large = "Large", - /** Extra large size. */ - ExtraLarge = "ExtraLarge", -} +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for ModelSize. \ - * {@link KnownModelSize} can be used interchangeably with ModelSize, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No value selected. \ - * **Small**: Small size. \ - * **Medium**: Medium size. \ - * **Large**: Large size. \ - * **ExtraLarge**: Extra large size. - */ -export type ModelSize = string; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; -/** Known values of {@link ValidationMetricType} that the service accepts. */ -export enum KnownValidationMetricType { - /** No metric. */ - None = "None", - /** Coco metric. */ - Coco = "Coco", - /** Voc metric. */ - Voc = "Voc", - /** CocoVoc metric. */ - CocoVoc = "CocoVoc", +/** Optional parameters. */ +export interface RegistryCodeVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeVersionsListNextResponse = + CodeVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } -/** - * Defines values for ValidationMetricType. \ - * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No metric. \ - * **Coco**: Coco metric. \ - * **Voc**: Voc metric. \ - * **CocoVoc**: CocoVoc metric. - */ -export type ValidationMetricType = string; +/** Contains response data for the list operation. */ +export type RegistryComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; -/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ -export enum KnownObjectDetectionPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", +/** Optional parameters. */ +export interface RegistryComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ObjectDetectionPrimaryMetrics. \ - * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type ObjectDetectionPrimaryMetrics = string; +/** Optional parameters. */ +export interface RegistryComponentContainersGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link OneLakeArtifactType} that the service accepts. */ -export enum KnownOneLakeArtifactType { - /** LakeHouse */ - LakeHouse = "LakeHouse", +/** Contains response data for the get operation. */ +export type RegistryComponentContainersGetResponse = ComponentContainer; + +/** Optional parameters. */ +export interface RegistryComponentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for OneLakeArtifactType. \ - * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **LakeHouse** - */ -export type OneLakeArtifactType = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentContainersCreateOrUpdateResponse = + ComponentContainer; -/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ -export enum KnownNumericalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +/** Optional parameters. */ +export interface RegistryComponentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; } -/** - * Defines values for NumericalDataDriftMetric. \ - * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalDataDriftMetric = string; +/** Contains response data for the list operation. */ +export type RegistryComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; -/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ -export enum KnownNumericalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Optional parameters. */ +export interface RegistryComponentVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for NumericalDataQualityMetric. \ - * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. - */ -export type NumericalDataQualityMetric = string; +/** Optional parameters. */ +export interface RegistryComponentVersionsGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ -export enum KnownNumericalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Normalized Wasserstein Distance metric. */ - NormalizedWassersteinDistance = "NormalizedWassersteinDistance", - /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ - TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", +/** Contains response data for the get operation. */ +export type RegistryComponentVersionsGetResponse = ComponentVersion; + +/** Optional parameters. */ +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for NumericalPredictionDriftMetric. \ - * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ - * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. - */ -export type NumericalPredictionDriftMetric = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; + +/** Optional parameters. */ +export interface RegistryComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link Goal} that the service accepts. */ -export enum KnownGoal { - /** Minimize */ - Minimize = "Minimize", - /** Maximize */ - Maximize = "Maximize", +/** Contains response data for the listNext operation. */ +export type RegistryComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** - * Defines values for Goal. \ - * {@link KnownGoal} can be used interchangeably with Goal, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Minimize** \ - * **Maximize** - */ -export type Goal = string; +/** Contains response data for the list operation. */ +export type RegistryDataContainersListResponse = + DataContainerResourceArmPaginatedResult; -/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ -export enum KnownRandomSamplingAlgorithmRule { - /** Random */ - Random = "Random", - /** Sobol */ - Sobol = "Sobol", +/** Optional parameters. */ +export interface RegistryDataContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for RandomSamplingAlgorithmRule. \ - * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Random** \ - * **Sobol** - */ -export type RandomSamplingAlgorithmRule = string; +/** Optional parameters. */ +export interface RegistryDataContainersGetOptionalParams + extends coreClient.OperationOptions {} -/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ -export enum KnownRegressionPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Contains response data for the get operation. */ +export type RegistryDataContainersGetResponse = DataContainer; + +/** Optional parameters. */ +export interface RegistryDataContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for RegressionPrimaryMetrics. \ - * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. - */ -export type RegressionPrimaryMetrics = string; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; -/** Known values of {@link RegressionModels} that the service accepts. */ -export enum KnownRegressionModels { - /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ - ElasticNet = "ElasticNet", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. - */ - DecisionTree = "DecisionTree", - /** - * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. - */ - KNN = "KNN", - /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ - LassoLars = "LassoLars", - /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. - */ - SGD = "SGD", +/** Optional parameters. */ +export interface RegistryDataContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; /** - * 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. + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned */ - 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", + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } -/** - * Defines values for RegressionModels. \ - * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ - * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. - * It's an inexact but powerful technique. \ - * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. - * The general idea of the bagging method is that a combination of learning models increases the overall result. \ - * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ - * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. - */ -export type RegressionModels = string; +/** Contains response data for the list operation. */ +export type RegistryDataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; -/** Known values of {@link SparkJobEntryType} that the service accepts. */ -export enum KnownSparkJobEntryType { - /** SparkJobPythonEntry */ - SparkJobPythonEntry = "SparkJobPythonEntry", - /** SparkJobScalaEntry */ - SparkJobScalaEntry = "SparkJobScalaEntry", +/** Optional parameters. */ +export interface RegistryDataVersionsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * 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 RegistryDataVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface OperationsListOptionalParams +export interface RegistryDataVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; + +/** Optional parameters. */ +export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; + +/** Optional parameters. */ +export interface RegistryDataVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getBlobReferenceSAS operation. */ +export type RegistryDataReferencesGetBlobReferenceSASResponse = + GetBlobReferenceSASResponseDto; + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + /** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResult; +export type RegistryEnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesGetOptionalParams +export interface RegistryEnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11304,13 +13421,37 @@ export interface WorkspacesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; +export type RegistryEnvironmentContainersCreateOrUpdateResponse = + EnvironmentContainer; /** Optional parameters. */ -export interface WorkspacesDeleteOptionalParams +export interface RegistryEnvironmentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryEnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type RegistryEnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { - /** Flag to indicate delete is a purge request. */ - forceToPurge?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -11318,7 +13459,14 @@ export interface WorkspacesDeleteOptionalParams } /** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams +export interface RegistryEnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11326,42 +13474,49 @@ export interface WorkspacesUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type WorkspacesUpdateResponse = Workspace; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = + EnvironmentVersion; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams +export interface RegistryEnvironmentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** Contains response data for the listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - /** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams +export interface RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; +/** Contains response data for the get operation. */ +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11369,26 +13524,44 @@ export interface WorkspacesResyncKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; + /** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams +export interface RegistryModelContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Version identifier. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; } -/** Contains response data for the listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; - -/** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = - NotebookAccessTokenResult; +/** Contains response data for the list operation. */ +export type RegistryModelVersionsListResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams +export interface RegistryModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11396,103 +13569,126 @@ export interface WorkspacesPrepareNotebookOptionalParams resumeFrom?: string; } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; - /** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; +/** Contains response data for the get operation. */ +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** Contains response data for the listNext operation. */ +export type RegistryModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; +} -/** Contains response data for the listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type BatchEndpointsListResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface UsagesListOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type UsagesListResponse = ListUsagesResult; +export interface BatchEndpointsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface UsagesListNextOptionalParams +export interface BatchEndpointsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; +/** Contains response data for the get operation. */ +export type BatchEndpointsGetResponse = BatchEndpoint; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +/** Contains response data for the update operation. */ +export type BatchEndpointsUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface QuotasUpdateOptionalParams - 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. */ + resumeFrom?: string; +} -/** Contains response data for the update operation. */ -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +/** Contains response data for the createOrUpdate operation. */ +export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface QuotasListOptionalParams extends coreClient.OperationOptions {} +export interface BatchEndpointsListKeysOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type QuotasListResponse = ListWorkspaceQuotas; +/** Contains response data for the listKeys operation. */ +export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface QuotasListNextOptionalParams +export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type BatchEndpointsListNextResponse = + BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListOptionalParams extends coreClient.OperationOptions { +export interface BatchDeploymentsListOptionalParams + extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; } /** Contains response data for the list operation. */ -export type ComputeListResponse = PaginatedComputeResourcesList; - -/** Optional parameters. */ -export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ComputeGetResponse = ComputeResource; +export type BatchDeploymentsListResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams +export interface BatchDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11500,11 +13696,15 @@ export interface ComputeCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ComputeCreateOrUpdateResponse = ComputeResource; +/** Optional parameters. */ +export interface BatchDeploymentsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type BatchDeploymentsGetResponse = BatchDeployment; /** Optional parameters. */ -export interface ComputeUpdateOptionalParams +export interface BatchDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11513,10 +13713,10 @@ export interface ComputeUpdateOptionalParams } /** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +export type BatchDeploymentsUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams +export interface BatchDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11524,22 +13724,19 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface ComputeListNodesOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNodes operation. */ -export type ComputeListNodesResponse = AmlComputeNodesInformation; +/** Contains response data for the createOrUpdate operation. */ +export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface ComputeListKeysOptionalParams +export interface BatchDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ComputeListKeysResponse = ComputeSecretsUnion; +/** Contains response data for the listNext operation. */ +export type BatchDeploymentsListNextResponse = + BatchDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeStartOptionalParams +export interface CapabilityHostsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11547,16 +13744,18 @@ export interface ComputeStartOptionalParams resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type CapabilityHostsDeleteResponse = CapabilityHostsDeleteHeaders; + /** Optional parameters. */ -export interface ComputeStopOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface CapabilityHostsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type CapabilityHostsGetResponse = CapabilityHost; /** Optional parameters. */ -export interface ComputeRestartOptionalParams +export interface CapabilityHostsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11564,112 +13763,84 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; +/** Contains response data for the createOrUpdate operation. */ +export type CapabilityHostsCreateOrUpdateResponse = CapabilityHost; /** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams - extends coreClient.OperationOptions {} +export interface CodeContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; +/** Contains response data for the list operation. */ +export type CodeContainersListResponse = + CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams +export interface CodeContainersDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = - PrivateEndpointConnectionListResult; - /** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams +export interface CodeContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export type CodeContainersGetResponse = CodeContainer; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams +export interface CodeContainersCreateOrUpdateOptionalParams 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; +export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams +export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type CodeContainersListNextResponse = + CodeContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams +export interface CodeVersionsListOptionalParams extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ + hash?: string; + /** Hash algorithm version when listing by hash */ + hashVersion?: string; } /** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams +export interface CodeVersionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; - /** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams +export interface CodeVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type CodeVersionsGetResponse = CodeVersion; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams +export interface CodeVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; +/** Contains response data for the createOrUpdate operation. */ +export type CodeVersionsCreateOrUpdateResponse = CodeVersion; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11678,96 +13849,62 @@ export interface ManagedNetworkSettingsRuleDeleteOptionalParams } /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleGetOptionalParams +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams 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; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type CodeVersionsCreateOrGetStartPendingUploadResponse = + PendingUploadResponseDto; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams +export interface CodeVersionsListNextOptionalParams 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; +export type CodeVersionsListNextResponse = + CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeContainersListOptionalParams +export interface ComponentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type RegistryCodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; +export type ComponentContainersListResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeContainersGetOptionalParams +export interface ComponentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeContainersGetResponse = CodeContainer; +export type ComponentContainersGetResponse = ComponentContainer; /** Optional parameters. */ -export interface RegistryCodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; +export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ -export interface RegistryCodeContainersListNextOptionalParams +export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type ComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsListOptionalParams +export interface ComponentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11775,14 +13912,34 @@ export interface RegistryCodeVersionsListOptionalParams orderBy?: string; /** Maximum number of records to return. */ top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type RegistryCodeVersionsListResponse = - CodeVersionResourceArmPaginatedResult; +export type ComponentVersionsListResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsDeleteOptionalParams +export interface ComponentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComponentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComponentVersionsGetResponse = ComponentVersion; + +/** Optional parameters. */ +export interface ComponentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; + +/** Optional parameters. */ +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11791,69 +13948,94 @@ export interface RegistryCodeVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryCodeVersionsGetOptionalParams +export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryCodeVersionsGetResponse = CodeVersion; +/** Contains response data for the listNext operation. */ +export type ComponentVersionsListNextResponse = + ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrUpdateOptionalParams +export interface DataContainersListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; +/** Contains response data for the list operation. */ +export type DataContainersListResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams +export interface DataContainersDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Optional parameters. */ +export interface DataContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type DataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface RegistryCodeVersionsListNextOptionalParams +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 {} /** Contains response data for the listNext operation. */ -export type RegistryCodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type DataContainersListNextResponse = + DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersListOptionalParams +export interface DataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; + /** + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned + */ + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } /** Contains response data for the list operation. */ -export type RegistryComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type DataVersionsListResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DataVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentContainersGetOptionalParams +export interface DataVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentContainersGetResponse = ComponentContainer; +export type DataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface RegistryComponentContainersCreateOrUpdateOptionalParams +export interface DataVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type DataVersionsCreateOrUpdateResponse = DataVersionBase; + +/** Optional parameters. */ +export interface DataVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11861,71 +14043,76 @@ export interface RegistryComponentContainersCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentContainersCreateOrUpdateResponse = - ComponentContainer; - /** Optional parameters. */ -export interface RegistryComponentContainersListNextOptionalParams +export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type DataVersionsListNextResponse = + DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsListOptionalParams +export interface DatastoresListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ + /** Maximum number of results to return. */ + count?: number; + /** Filter down to the workspace default datastore. */ + isDefault?: boolean; + /** Names of datastores to return. */ + names?: string[]; + /** Text to search for in the datastore names. */ + searchText?: string; + /** Order by property (createdtime | modifiedtime | name). */ orderBy?: string; - /** Maximum number of records to return. */ - top?: number; + /** Order by property in ascending order. */ + orderByAsc?: boolean; } /** Contains response data for the list operation. */ -export type RegistryComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DatastoresDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentVersionsGetOptionalParams +export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentVersionsGetResponse = ComponentVersion; +export type DatastoresGetResponse = Datastore; /** Optional parameters. */ -export interface RegistryComponentVersionsCreateOrUpdateOptionalParams +export interface DatastoresCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Flag to skip validation. */ + skipValidation?: boolean; } /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; +export type DatastoresCreateOrUpdateResponse = Datastore; /** Optional parameters. */ -export interface RegistryComponentVersionsListNextOptionalParams +export interface DatastoresListSecretsOptionalParams + extends coreClient.OperationOptions { + /** Secret expiry information. */ + body?: SecretExpiry; +} + +/** Contains response data for the listSecrets operation. */ +export type DatastoresListSecretsResponse = DatastoreSecretsUnion; + +/** Optional parameters. */ +export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersListOptionalParams +export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; @@ -11934,85 +14121,72 @@ export interface RegistryDataContainersListOptionalParams } /** Contains response data for the list operation. */ -export type RegistryDataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type EnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentContainersDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryDataContainersGetOptionalParams +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryDataContainersGetResponse = DataContainer; +export type EnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryDataContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryDataContainersListNextOptionalParams +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type EnvironmentContainersListNextResponse = + EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListOptionalParams +export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + /** Ordering of list. */ orderBy?: string; - /** - * Top count of results, top count cannot be greater than the page size. - * If topCount > page size, results with be default page size count will be returned - */ + /** Maximum number of records to return. */ top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; } /** Contains response data for the list operation. */ -export type RegistryDataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type EnvironmentVersionsListResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface EnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryDataVersionsGetOptionalParams +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryDataVersionsGetResponse = DataVersionBase; +export type EnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface RegistryDataVersionsCreateOrUpdateOptionalParams +export interface EnvironmentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12020,48 +14194,39 @@ export interface RegistryDataVersionsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; - -/** Optional parameters. */ -export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - /** Optional parameters. */ -export interface RegistryDataVersionsListNextOptionalParams +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -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 EnvironmentVersionsListNextResponse = + EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListOptionalParams +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** description for the feature set */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featureset */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type RegistryEnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = + FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentContainersDeleteOptionalParams +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12070,14 +14235,14 @@ export interface RegistryEnvironmentContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryEnvironmentContainersGetOptionalParams +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12086,86 +14251,79 @@ export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentContainersCreateOrUpdateResponse = - EnvironmentContainer; +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListNextOptionalParams +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type FeaturesetContainersListNextResponse = + FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListOptionalParams +export interface FeaturesListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Description of the featureset. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** feature name. */ + featureName?: string; + /** Page size. */ + pageSize?: number; } /** Contains response data for the list operation. */ -export type RegistryEnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface RegistryEnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsGetOptionalParams +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; - -/** Optional parameters. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams - 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 RegistryEnvironmentVersionsCreateOrUpdateResponse = - EnvironmentVersion; +export type FeaturesGetResponse = Feature; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListNextOptionalParams +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersListOptionalParams +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** featureset version */ + version?: string; + /** description for the feature set version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featureset version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type RegistryModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturesetVersionsListResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersDeleteOptionalParams +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12174,14 +14332,14 @@ export interface RegistryModelContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelContainersGetOptionalParams +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelContainersGetResponse = ModelContainer; +export type FeaturesetVersionsGetResponse = FeaturesetVersion; /** Optional parameters. */ -export interface RegistryModelContainersCreateOrUpdateOptionalParams +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12190,43 +14348,54 @@ export interface RegistryModelContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; /** Optional parameters. */ -export interface RegistryModelContainersListNextOptionalParams +export interface FeaturesetVersionsBackfillOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the backfill operation. */ +export type FeaturesetVersionsBackfillResponse = + FeaturesetVersionBackfillResponse; + +/** Optional parameters. */ +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = + FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsListOptionalParams +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; - /** Version identifier. */ - version?: string; - /** Model description. */ + /** description for the featurestore entity */ description?: string; /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; + /** page size */ + pageSize?: number; + /** name for the featurestore entity */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type RegistryModelVersionsListResponse = - ModelVersionResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsDeleteOptionalParams +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12235,14 +14404,15 @@ export interface RegistryModelVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelVersionsGetOptionalParams +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryModelVersionsGetResponse = ModelVersion; +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface RegistryModelVersionsCreateOrUpdateOptionalParams +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12251,39 +14421,46 @@ export interface RegistryModelVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; - -/** Optional parameters. */ -export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = + FeaturestoreEntityContainer; /** Optional parameters. */ -export interface RegistryModelVersionsListNextOptionalParams +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListOptionalParams +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** featurestore entity version */ + version?: string; + /** description for the feature entity version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featurestore entity version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type BatchEndpointsListResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsDeleteOptionalParams +export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12292,26 +14469,14 @@ export interface BatchEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchEndpointsGetOptionalParams +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchEndpointsGetResponse = BatchEndpoint; - -/** Optional parameters. */ -export interface BatchEndpointsUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the update operation. */ -export type BatchEndpointsUpdateResponse = BatchEndpoint; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface BatchEndpointsCreateOrUpdateOptionalParams +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12320,40 +14485,38 @@ export interface BatchEndpointsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; - -/** Optional parameters. */ -export interface BatchEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listKeys operation. */ -export type BatchEndpointsListKeysResponse = EndpointAuthKeys; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = + FeaturestoreEntityVersion; /** Optional parameters. */ -export interface BatchEndpointsListNextOptionalParams +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsListOptionalParams +export interface InferencePoolsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ + tags?: string; + /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ + properties?: string; + /** Number of inferencePools to be retrieved in a page of results. */ + count?: number; + /** The option to order the response. */ + orderBy?: OrderString; } /** Contains response data for the list operation. */ -export type BatchDeploymentsListResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type InferencePoolsListResponse = + InferencePoolTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsDeleteOptionalParams +export interface InferencePoolsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12362,14 +14525,14 @@ export interface BatchDeploymentsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchDeploymentsGetOptionalParams +export interface InferencePoolsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchDeploymentsGetResponse = BatchDeployment; +export type InferencePoolsGetResponse = InferencePool; /** Optional parameters. */ -export interface BatchDeploymentsUpdateOptionalParams +export interface InferencePoolsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12378,10 +14541,10 @@ export interface BatchDeploymentsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type BatchDeploymentsUpdateResponse = BatchDeployment; +export type InferencePoolsUpdateResponse = InferencePool; /** Optional parameters. */ -export interface BatchDeploymentsCreateOrUpdateOptionalParams +export interface InferencePoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12390,91 +14553,132 @@ export interface BatchDeploymentsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; +export type InferencePoolsCreateOrUpdateResponse = InferencePool; /** Optional parameters. */ -export interface BatchDeploymentsListNextOptionalParams +export interface InferencePoolsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type InferencePoolsListNextResponse = + InferencePoolTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersListOptionalParams +export interface InferenceEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ + tags?: string; + /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ + properties?: string; + /** Number of InferenceEndpoint to be retrieved in a page of results. */ + count?: number; + /** The option to order the response. */ + orderBy?: OrderString; } /** Contains response data for the list operation. */ -export type CodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; +export type InferenceEndpointsListResponse = + InferenceEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceEndpointsDeleteOptionalParams + 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 CodeContainersGetOptionalParams +export interface InferenceEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CodeContainersGetResponse = CodeContainer; +export type InferenceEndpointsGetResponse = InferenceEndpoint; /** Optional parameters. */ -export interface CodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceEndpointsUpdateOptionalParams + 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 InferenceEndpointsUpdateResponse = InferenceEndpoint; + +/** Optional parameters. */ +export interface InferenceEndpointsCreateOrUpdateOptionalParams + 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 CodeContainersCreateOrUpdateResponse = CodeContainer; +export type InferenceEndpointsCreateOrUpdateResponse = InferenceEndpoint; /** Optional parameters. */ -export interface CodeContainersListNextOptionalParams +export interface InferenceEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type InferenceEndpointsListNextResponse = + InferenceEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsListOptionalParams +export interface InferenceGroupsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ - hash?: string; - /** Hash algorithm version when listing by hash */ - hashVersion?: string; + /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ + tags?: string; + /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ + properties?: string; + /** Number of InferenceGroup to be retrieved in a page of results. */ + count?: number; + /** The option to order the response. */ + orderBy?: OrderString; } /** Contains response data for the list operation. */ -export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; +export type InferenceGroupsListResponse = + InferenceGroupTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface CodeVersionsGetOptionalParams +export interface InferenceGroupsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CodeVersionsGetResponse = CodeVersion; +export type InferenceGroupsGetResponse = InferenceGroup; /** Optional parameters. */ -export interface CodeVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsUpdateOptionalParams + 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 CodeVersionsCreateOrUpdateResponse = CodeVersion; +/** Contains response data for the update operation. */ +export type InferenceGroupsUpdateResponse = InferenceGroup; /** Optional parameters. */ -export interface CodeVersionsPublishOptionalParams +export interface InferenceGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12482,99 +14686,111 @@ export interface CodeVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type InferenceGroupsCreateOrUpdateResponse = InferenceGroup; + /** Optional parameters. */ -export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams +export interface InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type CodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Contains response data for the getDeltaModelsStatusAsync operation. */ +export type InferenceGroupsGetDeltaModelsStatusAsyncResponse = + DeltaModelStatusResponse; /** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams +export interface InferenceGroupsListDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +/** Contains response data for the listDeltaModelsAsync operation. */ +export type InferenceGroupsListDeltaModelsAsyncResponse = + StringArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListOptionalParams +export interface InferenceGroupsModifyDeltaModelsAsyncOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface InferenceGroupsGetStatusOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getStatus operation. */ +export type InferenceGroupsGetStatusResponse = GroupStatus; + +/** Optional parameters. */ +export interface InferenceGroupsListSkusOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; } -/** Contains response data for the list operation. */ -export type ComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the listSkus operation. */ +export type InferenceGroupsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersGetOptionalParams +export interface InferenceGroupsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ComponentContainersGetResponse = ComponentContainer; +/** Contains response data for the listNext operation. */ +export type InferenceGroupsListNextResponse = + InferenceGroupTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersCreateOrUpdateOptionalParams +export interface InferenceGroupsListDeltaModelsAsyncNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; +/** Contains response data for the listDeltaModelsAsyncNext operation. */ +export type InferenceGroupsListDeltaModelsAsyncNextResponse = + StringArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListNextOptionalParams +export interface InferenceGroupsListSkusNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +/** Contains response data for the listSkusNext operation. */ +export type InferenceGroupsListSkusNextResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface JobsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Type of job to be returned. */ + jobType?: string; + /** Jobs returned will have this tag key. */ + tag?: string; } /** Contains response data for the list operation. */ -export type ComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type JobsListResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface ComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface JobsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentVersionsGetResponse = ComponentVersion; +export type JobsGetResponse = JobBase; /** Optional parameters. */ -export interface ComponentVersionsCreateOrUpdateOptionalParams +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; +export type JobsCreateOrUpdateResponse = JobBase; /** Optional parameters. */ -export interface ComponentVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface JobsCancelOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12582,94 +14798,45 @@ export interface ComponentVersionsPublishOptionalParams } /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams +export interface JobsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersListOptionalParams +export interface MarketplaceSubscriptionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; } /** Contains response data for the list operation. */ -export type DataContainersListResponse = - DataContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface DataContainersDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -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 {} - -/** Contains response data for the createOrUpdate operation. */ -export type DataContainersCreateOrUpdateResponse = DataContainer; - -/** Optional parameters. */ -export interface DataContainersListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type MarketplaceSubscriptionsListResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsListOptionalParams +export interface MarketplaceSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ - orderBy?: string; - /** - * Top count of results, top count cannot be greater than the page size. - * If topCount > page size, results with be default page size count will be returned - */ - top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type DataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface DataVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +/** Contains response data for the delete operation. */ +export type MarketplaceSubscriptionsDeleteResponse = + MarketplaceSubscriptionsDeleteHeaders; /** Optional parameters. */ -export interface DataVersionsGetOptionalParams +export interface MarketplaceSubscriptionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataVersionsGetResponse = DataVersionBase; - -/** Optional parameters. */ -export interface DataVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type DataVersionsCreateOrUpdateResponse = DataVersionBase; +export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; /** Optional parameters. */ -export interface DataVersionsPublishOptionalParams +export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12677,147 +14844,194 @@ export interface DataVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type MarketplaceSubscriptionsCreateOrUpdateResponse = + MarketplaceSubscription; + /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams +export interface MarketplaceSubscriptionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type MarketplaceSubscriptionsListNextResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresListOptionalParams +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; /** Maximum number of results to return. */ count?: number; - /** Filter down to the workspace default datastore. */ - isDefault?: boolean; - /** Names of datastores to return. */ - names?: string[]; - /** Text to search for in the datastore names. */ - searchText?: string; - /** Order by property (createdtime | modifiedtime | name). */ - orderBy?: string; - /** Order by property in ascending order. */ - orderByAsc?: boolean; } /** Contains response data for the list operation. */ -export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; +export type ModelContainersListResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresDeleteOptionalParams +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DatastoresGetOptionalParams +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DatastoresGetResponse = Datastore; - -/** Optional parameters. */ -export interface DatastoresCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Flag to skip validation. */ - skipValidation?: boolean; -} - -/** Contains response data for the createOrUpdate operation. */ -export type DatastoresCreateOrUpdateResponse = Datastore; +export type ModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface DatastoresListSecretsOptionalParams +export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type DatastoresListSecretsResponse = DatastoreSecretsUnion; +/** Contains response data for the createOrUpdate operation. */ +export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; +export type ModelContainersListNextResponse = + ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Model version. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Number of initial results to skip. */ + offset?: number; + /** Name of the feed. */ + feed?: string; } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface EnvironmentContainersGetOptionalParams +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentContainersGetResponse = EnvironmentContainer; +export type ModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface EnvironmentContainersCreateOrUpdateOptionalParams +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams +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. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = + ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams +export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ + tags?: string; + /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ + properties?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; + /** Name of the endpoint. */ + name?: string; + /** The option to order the response. */ + orderBy?: OrderString; + /** EndpointComputeType to be filtered by. */ + computeType?: EndpointComputeType; } /** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +export type OnlineEndpointsGetResponse = OnlineEndpoint; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams - 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. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type OnlineEndpointsUpdateResponse = OnlineEndpoint; + +/** Optional parameters. */ +export interface OnlineEndpointsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface EnvironmentVersionsPublishOptionalParams +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 { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12826,38 +15040,37 @@ export interface EnvironmentVersionsPublishOptionalParams } /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams +export interface OnlineEndpointsGetTokenOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getToken operation. */ +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; + +/** Optional parameters. */ +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type OnlineEndpointsListNextResponse = + OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersListOptionalParams +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description for the feature set */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featureset */ - name?: string; - /** createdBy user name */ - createdBy?: string; + /** Ordering of list. */ + orderBy?: string; + /** Top of list. */ + top?: number; } /** Contains response data for the list operation. */ -export type FeaturesetContainersListResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type OnlineDeploymentsListResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersDeleteOptionalParams +export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12866,14 +15079,26 @@ export interface FeaturesetContainersDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetContainersGetEntityOptionalParams +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; +/** Contains response data for the get operation. */ +export type OnlineDeploymentsGetResponse = OnlineDeployment; /** Optional parameters. */ -export interface FeaturesetContainersCreateOrUpdateOptionalParams +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; @@ -12882,79 +15107,57 @@ export interface FeaturesetContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; /** Optional parameters. */ -export interface FeaturesetContainersListNextOptionalParams +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesetContainersListNextResponse = - FeaturesetContainerResourceArmPaginatedResult; +/** Contains response data for the getLogs operation. */ +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; /** Optional parameters. */ -export interface FeaturesListOptionalParams +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Description of the featureset. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** feature name. */ - featureName?: string; - /** Page size. */ - pageSize?: number; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; } -/** Contains response data for the list operation. */ -export type FeaturesListResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the listSkus operation. */ +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesGetOptionalParams +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type FeaturesGetResponse = Feature; +/** Contains response data for the listNext operation. */ +export type OnlineDeploymentsListNextResponse = + OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesListNextOptionalParams +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the listSkusNext operation. */ +export type OnlineDeploymentsListSkusNextResponse = + SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsListOptionalParams +export interface SchedulesListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** featureset version */ - version?: string; - /** description for the feature set version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featureset version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; + /** Status filter for schedule. */ + listViewType?: ScheduleListViewType; } /** Contains response data for the list operation. */ -export type FeaturesetVersionsListResponse = - FeaturesetVersionResourceArmPaginatedResult; +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetVersionsDeleteOptionalParams +export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12963,14 +15166,14 @@ export interface FeaturesetVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetVersionsGetOptionalParams +export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturesetVersionsGetResponse = FeaturesetVersion; +export type SchedulesGetResponse = Schedule; /** Optional parameters. */ -export interface FeaturesetVersionsCreateOrUpdateOptionalParams +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12979,10 +15182,28 @@ export interface FeaturesetVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; +export type SchedulesCreateOrUpdateResponse = Schedule; /** Optional parameters. */ -export interface FeaturesetVersionsBackfillOptionalParams +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; @@ -12990,43 +15211,31 @@ export interface FeaturesetVersionsBackfillOptionalParams resumeFrom?: string; } -/** Contains response data for the backfill operation. */ -export type FeaturesetVersionsBackfillResponse = - FeaturesetVersionBackfillResponse; +/** Contains response data for the delete operation. */ +export type ServerlessEndpointsDeleteResponse = + ServerlessEndpointsDeleteHeaders; /** Optional parameters. */ -export interface FeaturesetVersionsListNextOptionalParams +export interface ServerlessEndpointsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesetVersionsListNextResponse = - FeaturesetVersionResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ServerlessEndpointsGetResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturestoreEntityContainersListOptionalParams +export interface ServerlessEndpointsUpdateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description for the featurestore entity */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featurestore entity */ - name?: string; - /** createdBy user name */ - createdBy?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type FeaturestoreEntityContainersListResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +/** Contains response data for the update operation. */ +export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface FeaturestoreEntityContainersDeleteOptionalParams +export interface ServerlessEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13034,16 +15243,18 @@ export interface FeaturestoreEntityContainersDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; + /** Optional parameters. */ -export interface FeaturestoreEntityContainersGetEntityOptionalParams +export interface ServerlessEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturestoreEntityContainersGetEntityResponse = - FeaturestoreEntityContainer; +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams +export interface ServerlessEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13051,47 +15262,34 @@ export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityContainersCreateOrUpdateResponse = - FeaturestoreEntityContainer; +/** Contains response data for the regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturestoreEntityContainersListNextOptionalParams +export interface ServerlessEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FeaturestoreEntityContainersListNextResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -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. */ - listViewType?: ListViewType; - /** featurestore entity version */ - version?: string; - /** description for the feature entity version */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** createdBy user name */ - createdBy?: string; - /** name for the featurestore entity version */ - versionName?: string; - /** Specifies the featurestore stage */ - stage?: string; -} +export interface RegistriesListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturestoreEntityVersionsListResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsDeleteOptionalParams +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13100,14 +15298,21 @@ export interface FeaturestoreEntityVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturestoreEntityVersionsGetOptionalParams +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; +export type RegistriesGetResponse = Registry; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams +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; @@ -13116,57 +15321,88 @@ export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = - FeaturestoreEntityVersion; +export type RegistriesCreateOrUpdateResponse = Registry; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsListNextOptionalParams +export interface RegistriesRemoveRegionsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = + RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type FeaturestoreEntityVersionsListNextResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +export type RegistriesListNextResponse = + RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface JobsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Type of job to be returned. */ - jobType?: string; - /** Jobs returned will have this tag key. */ - tag?: string; -} +export interface WorkspaceFeaturesListOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type JobsListResponse = JobBaseResourceArmPaginatedResult; +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface WorkspaceFeaturesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface JobsGetOptionalParams extends coreClient.OperationOptions {} +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type JobsGetResponse = JobBase; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ -export interface JobsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspacesListBySubscriptionOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; +} -/** Contains response data for the createOrUpdate operation. */ -export type JobsCreateOrUpdateResponse = JobBase; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface WorkspacesListByResourceGroupOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; +} + +/** Contains response data for the listByResourceGroup operation. */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; /** Optional parameters. */ -export interface JobsCancelOptionalParams 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. */ @@ -13174,25 +15410,26 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ -export interface JobsListNextOptionalParams +export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type WorkspacesGetResponse = Workspace; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListOptionalParams +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type MarketplaceSubscriptionsListResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the update operation. */ +export type WorkspacesUpdateResponse = Workspace; /** Optional parameters. */ -export interface MarketplaceSubscriptionsDeleteOptionalParams +export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13200,253 +15437,316 @@ export interface MarketplaceSubscriptionsDeleteOptionalParams resumeFrom?: string; } -/** Contains response data for the delete operation. */ -export type MarketplaceSubscriptionsDeleteResponse = - MarketplaceSubscriptionsDeleteHeaders; - -/** Optional parameters. */ -export interface MarketplaceSubscriptionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; +/** Contains response data for the createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; /** Optional parameters. */ -export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams +export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + body?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type MarketplaceSubscriptionsCreateOrUpdateResponse = - MarketplaceSubscription; +/** Contains response data for the diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListNextOptionalParams +export interface WorkspacesListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type MarketplaceSubscriptionsListNextResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; /** Optional parameters. */ -export interface ModelContainersListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Maximum number of results to return. */ - count?: number; -} +export interface WorkspacesListNotebookAccessTokenOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type ModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = + NotebookAccessTokenResult; /** Optional parameters. */ -export interface ModelContainersDeleteOptionalParams +export interface WorkspacesListNotebookKeysOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; + /** Optional parameters. */ -export interface ModelContainersGetOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ModelContainersGetResponse = ModelContainer; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = + ListStorageAccountKeysResult; /** Optional parameters. */ -export interface ModelContainersCreateOrUpdateOptionalParams +export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ModelContainersCreateOrUpdateResponse = ModelContainer; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = + ExternalFqdnResponse; /** Optional parameters. */ -export interface ModelContainersListNextOptionalParams +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 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 WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface ModelVersionsListOptionalParams +export interface WorkspacesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Model version. */ - version?: string; - /** Model description. */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Number of initial results to skip. */ - offset?: number; - /** Name of the feed. */ - feed?: string; + /** 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 ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsDeleteOptionalParams +export interface WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ModelVersionsGetOptionalParams +export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ModelVersionsGetResponse = ModelVersion; +export type WorkspaceConnectionsGetResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsCreateOrUpdateOptionalParams +export interface WorkspaceConnectionsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Parameters for workspace connection update. */ + body?: WorkspaceConnectionUpdateParameter; +} + +/** Contains response data for the update operation. */ +export type WorkspaceConnectionsUpdateResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions { + /** The object for creating or updating a new workspace connection */ + body?: WorkspaceConnectionPropertiesV2BasicResource; +} + +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = + WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = + WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface ModelVersionsPublishOptionalParams +export interface WorkspaceConnectionsTestConnectionOptionalParams extends coreClient.OperationOptions { + /** Workspace Connection object */ + body?: WorkspaceConnectionPropertiesV2BasicResource; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the testConnection operation. */ +export type WorkspaceConnectionsTestConnectionResponse = + WorkspaceConnectionsTestConnectionHeaders; + /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsListOptionalParams +export interface ConnectionListDeploymentsOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ - tags?: string; - /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ - properties?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; - /** Name of the endpoint. */ - name?: string; - /** EndpointComputeType to be filtered by. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the listDeployments operation. */ +export type ConnectionListDeploymentsResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsDeleteOptionalParams +export interface ConnectionDeleteDeploymentOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the deleteDeployment operation. */ +export type ConnectionDeleteDeploymentResponse = + ConnectionDeleteDeploymentHeaders; + /** Optional parameters. */ -export interface OnlineEndpointsGetOptionalParams +export interface ConnectionGetDeploymentOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type OnlineEndpointsGetResponse = OnlineEndpoint; +/** Contains response data for the getDeployment operation. */ +export type ConnectionGetDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsUpdateOptionalParams +export interface ConnectionCreateOrUpdateDeploymentOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; +/** Contains response data for the createOrUpdateDeployment operation. */ +export type ConnectionCreateOrUpdateDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsCreateOrUpdateOptionalParams +export interface ConnectionGetModelsOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +/** Contains response data for the getModels operation. */ +export type ConnectionGetModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsListKeysOptionalParams +export interface ConnectionGetAllModelsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the getAllModels operation. */ +export type ConnectionGetAllModelsResponse = EndpointModels; /** Optional parameters. */ -export interface OnlineEndpointsRegenerateKeysOptionalParams +export interface ConnectionListDeploymentsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listDeploymentsNext operation. */ +export type ConnectionListDeploymentsNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionGetModelsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getModelsNext operation. */ +export type ConnectionGetModelsNextResponse = EndpointModels; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistsListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Api version used by proxy call */ + proxyApiVersion?: string; } +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistsListResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + /** Optional parameters. */ -export interface OnlineEndpointsGetTokenOptionalParams +export interface ConnectionRaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getToken operation. */ -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistsListNextResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiBlocklistDeleteOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistDeleteResponse = + ConnectionRaiBlocklistDeleteHeaders; /** Optional parameters. */ -export interface OnlineEndpointsListNextOptionalParams +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistGetResponse = + RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListOptionalParams +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; + /** Api version used by proxy call */ + proxyApiVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistCreateResponse = + RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsDeleteOptionalParams +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13454,15 +15754,12 @@ export interface OnlineDeploymentsDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface OnlineDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type OnlineDeploymentsGetResponse = OnlineDeployment; +/** Contains response data for the addBulk operation. */ +export type ConnectionRaiBlocklistItemAddBulkResponse = + RaiBlocklistItemPropertiesBasicResource[]; /** Optional parameters. */ -export interface OnlineDeploymentsUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13470,117 +15767,149 @@ export interface OnlineDeploymentsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; +/** Contains response data for the deleteBulk operation. */ +export type ConnectionRaiBlocklistItemDeleteBulkResponse = + ConnectionRaiBlocklistItemDeleteBulkHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsCreateOrUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistItemDeleteResponse = + ConnectionRaiBlocklistItemDeleteHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsGetLogsOptionalParams +export interface ConnectionRaiBlocklistItemGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogs operation. */ -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistItemGetResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusOptionalParams +export interface ConnectionRaiBlocklistItemCreateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; + /** Api version used by proxy call */ + proxyApiVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listSkus operation. */ -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistItemCreateResponse = + RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemsListOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistItemsListResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusNextOptionalParams +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = - SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistItemsListNextResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesListOptionalParams +export interface ConnectionRaiPoliciesListOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; + /** Api version used by proxy call */ + proxyApiVersion?: string; } /** Contains response data for the list operation. */ -export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; +export type ConnectionRaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesDeleteOptionalParams +export interface ConnectionRaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ConnectionRaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface ConnectionRaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type ConnectionRaiPolicyDeleteResponse = + ConnectionRaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface SchedulesGetOptionalParams +export interface ConnectionRaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams +export interface ConnectionRaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type SchedulesCreateOrUpdateResponse = Schedule; - -/** Optional parameters. */ -export interface SchedulesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiPolicyCreateResponse = + RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; } +/** Contains response data for the getInWorkspace operation. */ +export type EndpointDeploymentGetInWorkspaceResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointDeploymentListResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -13588,18 +15917,18 @@ export interface ServerlessEndpointsDeleteOptionalParams } /** Contains response data for the delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +export type EndpointDeploymentGetResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13607,30 +15936,53 @@ export interface ServerlessEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; +/** Contains response data for the createOrUpdate operation. */ +export type EndpointDeploymentCreateOrUpdateResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getInWorkspaceNext operation. */ +export type EndpointDeploymentGetInWorkspaceNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointDeploymentListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EndpointDeploymentListNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EndpointListOptionalParams extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; + /** Continuation token for pagination. */ + skip?: string; + /** Endpoint type filter */ + endpointType?: EndpointType; + includeOnlineEndpoints?: boolean; + includeServerlessEndpoints?: boolean; + includeConnections?: boolean; + /** Whether the endpoint resource will be expand to include deployment information, e.g. $expand=deployments */ + expand?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; +/** Contains response data for the list operation. */ +export type EndpointListResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams +export interface EndpointGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13638,57 +15990,109 @@ export interface ServerlessEndpointsRegenerateKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type EndpointCreateOrUpdateResponse = + EndpointResourcePropertiesBasicResource; + +/** Optional parameters. */ +export interface EndpointListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type EndpointListKeysResponse = EndpointKeys; + +/** Optional parameters. */ +export interface EndpointGetModelsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getModels operation. */ +export type EndpointGetModelsResponse = EndpointModels; + +/** Optional parameters. */ +export interface EndpointRegenerateKeysOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +export type EndpointRegenerateKeysResponse = AccountApiKeys; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type EndpointListNextResponse = + EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the getModelsNext operation. */ +export type EndpointGetModelsNextResponse = EndpointModels; /** Optional parameters. */ -export interface RegistriesListOptionalParams - extends coreClient.OperationOptions {} +export interface RaiPoliciesListOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} /** Contains response data for the list operation. */ -export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +export type RaiPoliciesListResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams +export interface RaiPoliciesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RaiPoliciesListNextResponse = + RaiPolicyPropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; + /** Optional parameters. */ -export interface RegistriesGetOptionalParams +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams +export interface RaiPolicyCreateOptionalParams + extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the create operation. */ +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13696,11 +16100,15 @@ export interface RegistriesCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistriesCreateOrUpdateResponse = Registry; +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesRemoveRegionsOptionalParams +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13708,41 +16116,68 @@ export interface RegistriesRemoveRegionsOptionalParams resumeFrom?: string; } -/** Contains response data for the removeRegions operation. */ -export type RegistriesRemoveRegionsResponse = Registry; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = + OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = + PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = + PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams + extends coreClient.OperationOptions { + /** Managed Network Provisioning Options for a machine learning workspace. */ + body?: ManagedNetworkProvisionOptions; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the provisionManagedNetwork operation. */ +export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = + ManagedNetworkProvisionStatus; /** Optional parameters. */ -export interface AzureMachineLearningServicesManagementClientOptionalParams +export interface AzureMachineLearningServicesMgmtClientOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index f7208e80909a..66bebae65902 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -8,10 +8,10 @@ import * as coreClient from "@azure/core-client"; -export const OperationListResult: coreClient.CompositeMapper = { +export const ListUsagesResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationListResult", + className: "ListUsagesResult", modelProperties: { value: { serializedName: "value", @@ -21,7 +21,7 @@ export const OperationListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation", + className: "Usage", }, }, }, @@ -37,78 +37,78 @@ export const OperationListResult: coreClient.CompositeMapper = { }, }; -export const Operation: coreClient.CompositeMapper = { +export const Usage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "Usage", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", readOnly: true, type: { name: "String", }, }, - isDataAction: { - serializedName: "isDataAction", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - display: { - serializedName: "display", + type: { + serializedName: "type", + readOnly: true, type: { - name: "Composite", - className: "OperationDisplay", + name: "String", }, }, - origin: { - serializedName: "origin", + unit: { + serializedName: "unit", readOnly: true, type: { name: "String", }, }, - actionType: { - serializedName: "actionType", + currentValue: { + serializedName: "currentValue", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const OperationDisplay: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + limit: { + serializedName: "limit", readOnly: true, type: { - name: "String", + name: "Number", }, }, - resource: { - serializedName: "resource", - readOnly: true, + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "UsageName", }, }, - operation: { - serializedName: "operation", + }, + }, +}; + +export const UsageName: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UsageName", + modelProperties: { + value: { + serializedName: "value", readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", + localizedValue: { + serializedName: "localizedValue", readOnly: true, type: { name: "String", @@ -214,155 +214,146 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = { }, }; -export const EncryptionProperty: coreClient.CompositeMapper = { +export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionProperty", + className: "VirtualMachineSizeListResult", modelProperties: { - status: { - serializedName: "status", - required: true, - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityForCmk", - }, - }, - keyVaultProperties: { - serializedName: "keyVaultProperties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualMachineSize", + }, + }, }, }, }, }, }; -export const IdentityForCmk: coreClient.CompositeMapper = { +export const VirtualMachineSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityForCmk", + className: "VirtualMachineSize", modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const EncryptionKeyVaultProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EncryptionKeyVaultProperties", - modelProperties: { - keyVaultArmId: { - serializedName: "keyVaultArmId", - required: true, + family: { + serializedName: "family", + readOnly: true, type: { name: "String", }, }, - keyIdentifier: { - serializedName: "keyIdentifier", - required: true, + vCPUs: { + serializedName: "vCPUs", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - identityClientId: { - serializedName: "identityClientId", + gpus: { + serializedName: "gpus", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpoint", - modelProperties: { - id: { - serializedName: "id", + osVhdSizeMB: { + serializedName: "osVhdSizeMB", readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", - modelProperties: { - status: { - serializedName: "status", + maxResourceVolumeMB: { + serializedName: "maxResourceVolumeMB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + memoryGB: { + serializedName: "memoryGB", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - actionsRequired: { - serializedName: "actionsRequired", + lowPriorityCapable: { + serializedName: "lowPriorityCapable", + readOnly: true, type: { - name: "String", + name: "Boolean", + }, + }, + premiumIO: { + serializedName: "premiumIO", + readOnly: true, + type: { + name: "Boolean", + }, + }, + estimatedVMPrices: { + serializedName: "estimatedVMPrices", + type: { + name: "Composite", + className: "EstimatedVMPrices", + }, + }, + supportedComputeTypes: { + serializedName: "supportedComputeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ManagedServiceIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrices: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "EstimatedVMPrices", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, + billingCurrency: { + serializedName: "billingCurrency", + required: true, type: { - name: "Uuid", + name: "String", }, }, - type: { - serializedName: "type", + unitOfMeasure: { + serializedName: "unitOfMeasure", required: true, type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + values: { + serializedName: "values", + required: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EstimatedVMPrice", + }, }, }, }, @@ -370,204 +361,239 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const EstimatedVMPrice: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "EstimatedVMPrice", modelProperties: { - principalId: { - serializedName: "principalId", - readOnly: true, + retailPrice: { + serializedName: "retailPrice", + required: true, type: { - name: "Uuid", + name: "Number", }, }, - clientId: { - serializedName: "clientId", - readOnly: true, + osType: { + serializedName: "osType", + required: true, type: { - name: "Uuid", + name: "String", + }, + }, + vmTier: { + serializedName: "vmTier", + required: true, + type: { + name: "String", }, }, }, }, }; -export const Sku: coreClient.CompositeMapper = { +export const QuotaUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Sku", + className: "QuotaUpdateParameters", modelProperties: { - name: { - serializedName: "name", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "QuotaBaseProperties", + }, + }, }, }, - tier: { - serializedName: "tier", + location: { + serializedName: "location", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + }, + }, +}; + +export const QuotaBaseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "QuotaBaseProperties", + modelProperties: { + id: { + serializedName: "id", type: { name: "String", }, }, - family: { - serializedName: "family", + type: { + serializedName: "type", type: { name: "String", }, }, - capacity: { - serializedName: "capacity", + limit: { + serializedName: "limit", type: { name: "Number", }, }, + unit: { + serializedName: "unit", + type: { + name: "String", + }, + }, }, }, }; -export const Resource: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "UpdateWorkspaceQuotasResult", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - name: { - serializedName: "name", + value: { + serializedName: "value", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpdateWorkspaceQuotas", + }, + }, }, }, - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData", - }, - }, }, }, }; -export const SystemData: coreClient.CompositeMapper = { +export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemData", + className: "UpdateWorkspaceQuotas", modelProperties: { - createdBy: { - serializedName: "createdBy", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - createdByType: { - serializedName: "createdByType", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - createdAt: { - serializedName: "createdAt", + limit: { + serializedName: "limit", type: { - name: "DateTime", + name: "Number", }, }, - lastModifiedBy: { - serializedName: "lastModifiedBy", + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, }, - lastModifiedByType: { - serializedName: "lastModifiedByType", + status: { + serializedName: "status", type: { name: "String", }, }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime", - }, - }, }, }, }; -export const ServerlessComputeSettings: coreClient.CompositeMapper = { +export const ListWorkspaceQuotas: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessComputeSettings", + className: "ListWorkspaceQuotas", modelProperties: { - serverlessComputeCustomSubnet: { - serializedName: "serverlessComputeCustomSubnet", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceQuota", + }, + }, }, }, - serverlessComputeNoPublicIP: { - serializedName: "serverlessComputeNoPublicIP", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const SharedPrivateLinkResource: coreClient.CompositeMapper = { +export const ResourceQuota: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SharedPrivateLinkResource", + className: "ResourceQuota", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - privateLinkResourceId: { - serializedName: "properties.privateLinkResourceId", + amlWorkspaceLocation: { + serializedName: "amlWorkspaceLocation", + readOnly: true, type: { name: "String", }, }, - groupId: { - serializedName: "properties.groupId", + type: { + serializedName: "type", + readOnly: true, type: { name: "String", }, }, - requestMessage: { - serializedName: "properties.requestMessage", + name: { + serializedName: "name", type: { - name: "String", + name: "Composite", + className: "ResourceName", }, }, - status: { - serializedName: "properties.status", + limit: { + serializedName: "limit", + readOnly: true, + type: { + name: "Number", + }, + }, + unit: { + serializedName: "unit", + readOnly: true, type: { name: "String", }, @@ -576,924 +602,819 @@ export const SharedPrivateLinkResource: coreClient.CompositeMapper = { }, }; -export const NotebookResourceInfo: coreClient.CompositeMapper = { +export const ResourceName: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookResourceInfo", + className: "ResourceName", modelProperties: { - fqdn: { - serializedName: "fqdn", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, }, - resourceId: { - serializedName: "resourceId", + localizedValue: { + serializedName: "localizedValue", + readOnly: true, type: { name: "String", }, }, - notebookPreparationError: { - serializedName: "notebookPreparationError", - type: { - name: "Composite", - className: "NotebookPreparationError", - }, - }, }, }, }; -export const NotebookPreparationError: coreClient.CompositeMapper = { +export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookPreparationError", + className: "PaginatedComputeResourcesList", modelProperties: { - errorMessage: { - serializedName: "errorMessage", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeResource", + }, + }, }, }, - statusCode: { - serializedName: "statusCode", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { +export const ManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceManagedResourcesSettings", + className: "ManagedServiceIdentity", modelProperties: { - cosmosDb: { - serializedName: "cosmosDb", - type: { - name: "Composite", - className: "CosmosDbSettings", + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "UserAssignedIdentity" }, + }, }, }, }, }, }; -export const CosmosDbSettings: coreClient.CompositeMapper = { +export const UserAssignedIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CosmosDbSettings", + className: "UserAssignedIdentity", modelProperties: { - collectionsThroughput: { - serializedName: "collectionsThroughput", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Number", + name: "Uuid", + }, + }, + clientId: { + serializedName: "clientId", + readOnly: true, + type: { + name: "Uuid", }, }, }, }, }; -export const ManagedNetworkSettings: coreClient.CompositeMapper = { +export const Sku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkSettings", + className: "Sku", modelProperties: { - isolationMode: { - serializedName: "isolationMode", + name: { + serializedName: "name", + required: true, type: { name: "String", }, }, - networkId: { - serializedName: "networkId", - readOnly: true, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, + size: { + serializedName: "size", type: { name: "String", }, }, - outboundRules: { - serializedName: "outboundRules", - nullable: true, + family: { + serializedName: "family", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "OutboundRule" } }, + name: "String", }, }, - status: { - serializedName: "status", + capacity: { + serializedName: "capacity", type: { - name: "Composite", - className: "ManagedNetworkProvisionStatus", + name: "Number", }, }, }, }, }; -export const OutboundRule: coreClient.CompositeMapper = { +export const Resource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, + className: "Resource", modelProperties: { - category: { - serializedName: "category", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - status: { - serializedName: "status", + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", - required: true, + readOnly: true, type: { name: "String", }, }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + }, + }, }, }, }; -export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { +export const SystemData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionStatus", + className: "SystemData", modelProperties: { - sparkReady: { - serializedName: "sparkReady", + createdBy: { + serializedName: "createdBy", type: { - name: "Boolean", + name: "String", }, }, - status: { - serializedName: "status", + createdByType: { + serializedName: "createdByType", type: { name: "String", }, }, - }, - }, -}; - -export const FeatureStoreSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureStoreSettings", - modelProperties: { - computeRuntime: { - serializedName: "computeRuntime", + createdAt: { + serializedName: "createdAt", type: { - name: "Composite", - className: "ComputeRuntimeDto", + name: "DateTime", }, }, - offlineStoreConnectionName: { - serializedName: "offlineStoreConnectionName", + lastModifiedBy: { + serializedName: "lastModifiedBy", type: { name: "String", }, }, - onlineStoreConnectionName: { - serializedName: "onlineStoreConnectionName", + lastModifiedByType: { + serializedName: "lastModifiedByType", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeRuntimeDto: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeRuntimeDto", - modelProperties: { - sparkRuntimeVersion: { - serializedName: "sparkRuntimeVersion", + lastModifiedAt: { + serializedName: "lastModifiedAt", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const WorkspaceHubConfig: coreClient.CompositeMapper = { +export const ComputeResourceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceHubConfig", + className: "ComputeResourceSchema", modelProperties: { - additionalWorkspaceStorageAccounts: { - serializedName: "additionalWorkspaceStorageAccounts", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - defaultWorkspaceResourceGroup: { - serializedName: "defaultWorkspaceResourceGroup", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "Compute", }, }, }, }, }; -export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { +export const Compute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceUpdateParameters", + className: "Compute", + uberParent: "Compute", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - identity: { - serializedName: "identity", + computeLocation: { + serializedName: "computeLocation", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - description: { - serializedName: "properties.description", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + createdOn: { + serializedName: "createdOn", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + modifiedOn: { + serializedName: "modifiedOn", + readOnly: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "DateTime", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + provisioningErrors: { + serializedName: "provisioningErrors", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", - }, - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - type: { - name: "String", - }, - }, - applicationInsights: { - serializedName: "properties.applicationInsights", - type: { - name: "String", - }, - }, - containerRegistry: { - serializedName: "properties.containerRegistry", - type: { - name: "String", - }, - }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", - type: { - name: "Composite", - className: "FeatureStoreSettings", - }, - }, - managedNetwork: { - serializedName: "properties.managedNetwork", - type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + isAttachedCompute: { + serializedName: "isAttachedCompute", + readOnly: true, type: { name: "Boolean", }, }, - v1LegacyMode: { - serializedName: "properties.v1LegacyMode", + disableLocalAuth: { + serializedName: "disableLocalAuth", type: { name: "Boolean", }, }, - encryption: { - serializedName: "properties.encryption", - type: { - name: "Composite", - className: "EncryptionUpdateProperties", - }, - }, }, }, }; -export const EncryptionUpdateProperties: coreClient.CompositeMapper = { +export const ClusterUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionUpdateProperties", + className: "ClusterUpdateParameters", modelProperties: { - keyVaultProperties: { - serializedName: "keyVaultProperties", + properties: { + serializedName: "properties.properties", type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", }, }, }, }, }; -export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { +export const ScaleSettingsInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EncryptionKeyVaultUpdateProperties", + className: "ScaleSettingsInformation", modelProperties: { - keyIdentifier: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "keyIdentifier", - required: true, + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String", + name: "Composite", + className: "ScaleSettings", }, }, }, }, }; -export const WorkspaceListResult: coreClient.CompositeMapper = { +export const ScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceListResult", + className: "ScaleSettings", modelProperties: { - value: { - serializedName: "value", + maxNodeCount: { + serializedName: "maxNodeCount", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Workspace", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", + minNodeCount: { + defaultValue: 0, + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnoseWorkspaceParameters", - modelProperties: { - value: { - serializedName: "value", + nodeIdleTimeBeforeScaleDown: { + serializedName: "nodeIdleTimeBeforeScaleDown", type: { - name: "Composite", - className: "DiagnoseRequestProperties", + name: "TimeSpan", }, }, }, }, }; -export const DiagnoseRequestProperties: coreClient.CompositeMapper = { +export const CustomService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseRequestProperties", + className: "CustomService", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - udr: { - serializedName: "udr", + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - nsg: { - serializedName: "nsg", + image: { + serializedName: "image", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Image", }, }, - resourceLock: { - serializedName: "resourceLock", + environmentVariables: { + serializedName: "environmentVariables", type: { name: "Dictionary", value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + type: { name: "Composite", className: "EnvironmentVariable" }, }, }, }, - dnsResolution: { - serializedName: "dnsResolution", + docker: { + serializedName: "docker", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "Docker", }, }, - storageAccount: { - serializedName: "storageAccount", + endpoints: { + serializedName: "endpoints", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Endpoint", + }, }, }, }, - keyVault: { - serializedName: "keyVault", + volumes: { + serializedName: "volumes", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeDefinition", + }, }, }, }, - containerRegistry: { - serializedName: "containerRegistry", + kernel: { + serializedName: "kernel", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "Composite", + className: "JupyterKernelConfig", }, }, - applicationInsights: { - serializedName: "applicationInsights", + }, + }, +}; + +export const Image: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Image", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + type: { + defaultValue: "docker", + serializedName: "type", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - others: { - serializedName: "others", + reference: { + serializedName: "reference", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const DiagnoseResponseResult: coreClient.CompositeMapper = { +export const EnvironmentVariable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResult", + className: "EnvironmentVariable", + additionalProperties: { type: { name: "Object" } }, modelProperties: { + type: { + defaultValue: "local", + serializedName: "type", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { - name: "Composite", - className: "DiagnoseResponseResultValue", + name: "String", }, }, }, }, }; -export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { +export const Docker: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResponseResultValue", + className: "Docker", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - userDefinedRouteResults: { - serializedName: "userDefinedRouteResults", + privileged: { + serializedName: "privileged", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - networkSecurityRuleResults: { - serializedName: "networkSecurityRuleResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - resourceLockResults: { - serializedName: "resourceLockResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, - }, - }, - dnsResolutionResults: { - serializedName: "dnsResolutionResults", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Boolean", }, }, - storageAccountResults: { - serializedName: "storageAccountResults", + }, + }, +}; + +export const Endpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Endpoint", + modelProperties: { + protocol: { + defaultValue: "tcp", + serializedName: "protocol", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - keyVaultResults: { - serializedName: "keyVaultResults", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, - containerRegistryResults: { - serializedName: "containerRegistryResults", + target: { + serializedName: "target", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - applicationInsightsResults: { - serializedName: "applicationInsightsResults", + published: { + serializedName: "published", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "Number", }, }, - otherResults: { - serializedName: "otherResults", + hostIp: { + serializedName: "hostIp", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DiagnoseResult", - }, - }, + name: "String", }, }, }, }, }; -export const DiagnoseResult: coreClient.CompositeMapper = { +export const VolumeDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnoseResult", + className: "VolumeDefinition", modelProperties: { - code: { - serializedName: "code", - readOnly: true, + type: { + defaultValue: "bind", + serializedName: "type", type: { name: "String", }, }, - level: { - serializedName: "level", - readOnly: true, + readOnly: { + serializedName: "readOnly", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - message: { - serializedName: "message", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - }, - }, -}; - -export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListWorkspaceKeysResult", - modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + target: { + serializedName: "target", type: { name: "String", }, }, - userStorageResourceId: { - serializedName: "userStorageResourceId", - readOnly: true, + consistency: { + serializedName: "consistency", + nullable: true, type: { name: "String", }, }, - appInsightsInstrumentationKey: { - serializedName: "appInsightsInstrumentationKey", - readOnly: true, + bind: { + serializedName: "bind", type: { - name: "String", + name: "Composite", + className: "BindOptions", }, }, - containerRegistryCredentials: { - serializedName: "containerRegistryCredentials", + volume: { + serializedName: "volume", type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "VolumeOptions", }, }, - notebookAccessKeys: { - serializedName: "notebookAccessKeys", + tmpfs: { + serializedName: "tmpfs", type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", }, }, }, }, }; -export const RegistryListCredentialsResult: coreClient.CompositeMapper = { +export const BindOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryListCredentialsResult", + className: "BindOptions", modelProperties: { - location: { - serializedName: "location", - readOnly: true, + propagation: { + serializedName: "propagation", + nullable: true, type: { name: "String", }, }, - username: { - serializedName: "username", - readOnly: true, + createHostPath: { + serializedName: "createHostPath", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - passwords: { - serializedName: "passwords", + selinux: { + serializedName: "selinux", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Password", - }, - }, + name: "String", }, }, }, }, }; -export const Password: coreClient.CompositeMapper = { +export const VolumeOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Password", + className: "VolumeOptions", modelProperties: { - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - value: { - serializedName: "value", - readOnly: true, + nocopy: { + serializedName: "nocopy", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const ListNotebookKeysResult: coreClient.CompositeMapper = { +export const TmpfsOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListNotebookKeysResult", + className: "TmpfsOptions", modelProperties: { - primaryAccessKey: { - serializedName: "primaryAccessKey", - readOnly: true, - type: { - name: "String", - }, - }, - secondaryAccessKey: { - serializedName: "secondaryAccessKey", - readOnly: true, + size: { + serializedName: "size", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ListUsagesResult: coreClient.CompositeMapper = { +export const JupyterKernelConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListUsagesResult", + className: "JupyterKernelConfig", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + argv: { + serializedName: "argv", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Usage", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - }, + language: { + serializedName: "language", + type: { + name: "String", + }, + }, + }, }, }; -export const Usage: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Usage", + className: "AmlComputeNodesInformation", modelProperties: { - id: { - serializedName: "id", + nodes: { + serializedName: "nodes", readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + }, + }, }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, - type: { - serializedName: "type", + }, + }, +}; + +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AmlComputeNodeInformation", + modelProperties: { + nodeId: { + serializedName: "nodeId", readOnly: true, type: { name: "String", }, }, - unit: { - serializedName: "unit", + privateIpAddress: { + serializedName: "privateIpAddress", readOnly: true, + nullable: true, type: { name: "String", }, }, - currentValue: { - serializedName: "currentValue", + publicIpAddress: { + serializedName: "publicIpAddress", readOnly: true, + nullable: true, type: { - name: "Number", + name: "String", }, }, - limit: { - serializedName: "limit", + port: { + serializedName: "port", readOnly: true, type: { name: "Number", }, }, - name: { - serializedName: "name", - type: { - name: "Composite", - className: "UsageName", - }, - }, - }, - }, -}; - -export const UsageName: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UsageName", - modelProperties: { - value: { - serializedName: "value", + nodeState: { + serializedName: "nodeState", readOnly: true, type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", + runId: { + serializedName: "runId", readOnly: true, + nullable: true, type: { name: "String", }, @@ -1502,175 +1423,118 @@ export const UsageName: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSizeListResult: coreClient.CompositeMapper = { +export const ComputeSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSizeListResult", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - value: { - serializedName: "value", + computeType: { + serializedName: "computeType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualMachineSize", - }, - }, + name: "String", }, }, }, }, }; -export const VirtualMachineSize: coreClient.CompositeMapper = { +export const ComputeInstanceDataMount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSize", + className: "ComputeInstanceDataMount", modelProperties: { - name: { - serializedName: "name", - readOnly: true, + source: { + serializedName: "source", type: { name: "String", }, }, - family: { - serializedName: "family", - readOnly: true, + sourceType: { + serializedName: "sourceType", type: { name: "String", }, }, - vCPUs: { - serializedName: "vCPUs", - readOnly: true, - type: { - name: "Number", - }, - }, - gpus: { - serializedName: "gpus", - readOnly: true, + mountName: { + serializedName: "mountName", type: { - name: "Number", + name: "String", }, }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, + mountAction: { + serializedName: "mountAction", type: { - name: "Number", + name: "String", }, }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, + mountMode: { + serializedName: "mountMode", type: { - name: "Number", + name: "String", }, }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, + createdBy: { + serializedName: "createdBy", type: { - name: "Number", + name: "String", }, }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, + mountPath: { + serializedName: "mountPath", type: { - name: "Boolean", + name: "String", }, }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, + mountState: { + serializedName: "mountState", type: { - name: "Boolean", + name: "String", }, }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", + mountedOn: { + serializedName: "mountedOn", type: { - name: "Composite", - className: "EstimatedVMPrices", + name: "DateTime", }, }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", + error: { + serializedName: "error", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { +export const IdleShutdownSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrices", + className: "IdleShutdownSetting", modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, - type: { - name: "String", - }, - }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { name: "String", }, }, - values: { - serializedName: "values", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EstimatedVMPrice", - }, - }, - }, - }, }, }, }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const ResizeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "ResizeSchema", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", - }, - }, - osType: { - serializedName: "osType", - required: true, - type: { - name: "String", - }, - }, - vmTier: { - serializedName: "vmTier", - required: true, + targetVMSize: { + serializedName: "targetVMSize", type: { name: "String", }, @@ -1679,129 +1543,108 @@ export const EstimatedVMPrice: coreClient.CompositeMapper = { }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QuotaUpdateParameters", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "QuotaBaseProperties", - }, +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - location: { - serializedName: "location", - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeContainer", + }, + }, + }, }, }, }, - }, -}; + }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const ResourceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "ResourceBase", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - type: { - serializedName: "type", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - unit: { - serializedName: "unit", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotasResult", - modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpdateWorkspaceQuotas", - }, +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CodeVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotas", + className: "PendingUploadRequestDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - limit: { - serializedName: "limit", - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1810,27 +1653,27 @@ export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceQuotas", + className: "PendingUploadResponseDto", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceQuota", - }, - }, + name: "Composite", + className: "BlobReferenceForConsumptionDto", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, + type: { + name: "String", + }, + }, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1839,49 +1682,28 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "BlobReferenceForConsumptionDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - name: { - serializedName: "name", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "ResourceName", - }, - }, - limit: { - serializedName: "limit", - readOnly: true, - type: { - name: "Number", + className: "PendingUploadCredentialDto", }, }, - unit: { - serializedName: "unit", - readOnly: true, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { name: "String", }, @@ -1890,21 +1712,19 @@ export const ResourceQuota: coreClient.CompositeMapper = { }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - value: { - serializedName: "value", - readOnly: true, - type: { - name: "String", - }, - }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -1913,220 +1733,200 @@ export const ResourceName: coreClient.CompositeMapper = { }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PaginatedComputeResourcesList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeResource", +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, - }, -}; + }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeResourceSchema", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "Compute", +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComponentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const Compute: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Compute", - uberParent: "Compute", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, - type: { - name: "String", - }, - }, - computeLocation: { - serializedName: "computeLocation", - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - createdOn: { - serializedName: "createdOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - modifiedOn: { - serializedName: "modifiedOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - resourceId: { - serializedName: "resourceId", - nullable: true, - type: { - name: "String", +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - provisioningErrors: { - serializedName: "provisioningErrors", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, }, }, }, }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, - type: { - name: "Boolean", + }, + }; + +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "DataVersionBaseResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - disableLocalAuth: { - serializedName: "disableLocalAuth", - type: { - name: "Boolean", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, + }, }, }, }, - }, -}; + }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "GetBlobReferenceSASRequestDto", modelProperties: { - properties: { - serializedName: "properties.properties", + assetId: { + serializedName: "assetId", + nullable: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", + }, + }, + blobUri: { + serializedName: "blobUri", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "GetBlobReferenceSASResponseDto", modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "GetBlobReferenceForConsumptionDto", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, + blobUri: { + serializedName: "blobUri", + nullable: true, type: { - name: "Number", + name: "String", }, }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + credential: { + serializedName: "credential", type: { - name: "Number", + name: "Composite", + className: "DataReferenceCredential", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -2135,52 +1935,81 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, - type: { - name: "String", +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, + }, }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", + }, + }; + +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EnvironmentVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - port: { - serializedName: "port", - readOnly: true, - type: { - name: "Number", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, + }, + }, }, }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + }, + }; + +export const BuildContext: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BuildContext", + modelProperties: { + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "contextUri", + required: true, type: { name: "String", }, }, - runId: { - serializedName: "runId", - readOnly: true, - nullable: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, @@ -2189,142 +2018,172 @@ export const AmlComputeNodeInformation: coreClient.CompositeMapper = { }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const InferenceContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "InferenceContainerProperties", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - hostName: { - serializedName: "hostName", - readOnly: true, + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - publicDns: { - serializedName: "publicDns", - readOnly: true, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, - type: { - name: "String", + }, + }, +}; + +export const Route: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Route", + modelProperties: { + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + serializedName: "path", + required: true, type: { name: "String", }, }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, + port: { + serializedName: "port", + required: true, type: { name: "Number", }, }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, - type: { - name: "String", - }, - }, - scope: { - serializedName: "scope", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const ComputeSecrets: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer", + }, + }, + }, + }, + }, }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, - type: { - name: "String", + }; + +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", + }, + }, + }, }, }, }, - }, -}; + }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "FlavorData", modelProperties: { - value: { - serializedName: "value", + data: { + serializedName: "data", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkResourceListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource", +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "BatchEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchEndpoint", + }, }, }, }, }, }, - }, -}; + }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "BatchEndpointDefaults", modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, @@ -2333,102 +2192,135 @@ export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", - }, + className: "EndpointPropertiesBase", modelProperties: { - authType: { - serializedName: "authType", + authMode: { + serializedName: "authMode", required: true, type: { name: "String", }, }, - category: { - serializedName: "category", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "EndpointAuthKeys", }, }, - expiryTime: { - serializedName: "expiryTime", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "DateTime", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - group: { - serializedName: "group", + scoringUri: { + serializedName: "scoringUri", readOnly: true, + nullable: true, type: { name: "String", }, }, - isSharedToAll: { - serializedName: "isSharedToAll", + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - target: { - serializedName: "target", + }, + }, +}; + +export const EndpointAuthKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointAuthKeys", + modelProperties: { + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { name: "String", }, }, - metadata: { - serializedName: "metadata", + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sharedUserList: { - serializedName: "sharedUserList", + }, + }, +}; + +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - value: { - serializedName: "value", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, - valueFormat: { - serializedName: "valueFormat", + }, + }, +}; + +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResource", + modelProperties: { + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2436,79 +2328,83 @@ export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: cor element: { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "BatchDeployment", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "BatchDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: { + serializedName: "deploymentConfigurationType", + clientName: "deploymentConfigurationType", + }, modelProperties: { - value: { - serializedName: "value", + deploymentConfigurationType: { + serializedName: "deploymentConfigurationType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoints", - }, - }, + name: "String", }, }, }, }, }; -export const FqdnEndpoints: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoints", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: { + serializedName: "referenceType", + clientName: "referenceType", + }, modelProperties: { - properties: { - serializedName: "properties", + referenceType: { + serializedName: "referenceType", + required: true, type: { - name: "Composite", - className: "FqdnEndpointsProperties", + name: "String", }, }, }, }, }; -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointsProperties", + className: "ResourceConfiguration", modelProperties: { - category: { - serializedName: "category", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", + type: { + name: "Number", + }, + }, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, }, - endpoints: { - serializedName: "endpoints", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoint", - }, + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, }, }, }, @@ -2516,221 +2412,165 @@ export const FqdnEndpointsProperties: coreClient.CompositeMapper = { }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "BatchRetrySettings", modelProperties: { - domainName: { - serializedName: "domainName", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "String", + name: "Number", }, }, - endpointDetails: { - serializedName: "endpointDetails", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpointDetail", - }, - }, + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - port: { - serializedName: "port", + codeConfiguration: { + serializedName: "codeConfiguration", type: { - name: "Number", + name: "Composite", + className: "CodeConfiguration", }, }, - }, - }, -}; - -export const OutboundRuleListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OutboundRuleListResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - value: { - serializedName: "value", + environmentId: { + serializedName: "environmentId", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OutboundRuleBasicResource", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ManagedNetworkProvisionOptions", - modelProperties: { - includeSpark: { - serializedName: "includeSpark", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, - }; + }, +}; -export const ResourceBase: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "CodeConfiguration", modelProperties: { - description: { - serializedName: "description", + codeId: { + serializedName: "codeId", nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - properties: { - serializedName: "properties", - nullable: true, + serializedName: "scoringScript", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", modelProperties: { - value: { - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, + name: "Composite", + className: "PartialBatchDeployment", }, }, - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "PartialBatchDeployment", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", - type: { - name: "String", - }, - }, }, }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "DestinationAsset", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Composite", - className: "BlobReferenceForConsumptionDto", + name: "String", }, }, - pendingUploadId: { - serializedName: "pendingUploadId", + destinationVersion: { + serializedName: "destinationVersion", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + registryName: { + serializedName: "registryName", + nullable: true, type: { name: "String", }, @@ -2739,48 +2579,45 @@ export const PendingUploadResponseDto: coreClient.CompositeMapper = { }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { - blobUri: { - serializedName: "blobUri", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - credential: { - serializedName: "credential", + value: { + serializedName: "value", type: { - name: "Composite", - className: "PendingUploadCredentialDto", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Datastore", + }, + }, }, }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", + serializedName: "credentialsType", + clientName: "credentialsType", }, modelProperties: { - credentialType: { - serializedName: "credentialType", + credentialsType: { + serializedName: "credentialsType", required: true, type: { name: "String", @@ -2790,68 +2627,62 @@ export const PendingUploadCredentialDto: coreClient.CompositeMapper = { }, }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer", - }, - }, - }, +export const SecretExpiry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretExpiry", + modelProperties: { + expirableSecret: { + defaultValue: false, + serializedName: "expirableSecret", + type: { + name: "Boolean", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + expireAfterHours: { + defaultValue: 1, + serializedName: "expireAfterHours", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const DatastoreSecrets: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType", + }, + modelProperties: { + secretsType: { + serializedName: "secretsType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", + className: "FeaturesetContainerResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataContainerResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -2859,27 +2690,54 @@ export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "DataContainer", + className: "FeaturesetContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + }, + }; + +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature", + }, }, }, }, }, - }; + }, +}; -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", + className: "FeaturesetVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -2887,36 +2745,51 @@ export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapp element: { type: { name: "Composite", - className: "DataVersionBase", + className: "FeaturesetVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "MaterializationSettings", modelProperties: { - assetId: { - serializedName: "assetId", - nullable: true, + notification: { + serializedName: "notification", type: { - name: "String", + name: "Composite", + className: "NotificationSetting", }, }, - blobUri: { - serializedName: "blobUri", + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceTrigger", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + storeType: { + serializedName: "storeType", type: { name: "String", }, @@ -2925,65 +2798,83 @@ export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { }, }; -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASResponseDto", + className: "NotificationSetting", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + emails: { + serializedName: "emails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "Webhook", + uberParent: "Webhook", + polymorphicDiscriminator: { + serializedName: "webhookType", + clientName: "webhookType", + }, modelProperties: { - blobUri: { - serializedName: "blobUri", + eventType: { + serializedName: "eventType", nullable: true, type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", - nullable: true, + webhookType: { + serializedName: "webhookType", + required: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "DataReferenceCredential", - }, - }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "MaterializationComputeResource", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String", }, @@ -2992,81 +2883,113 @@ export const DataReferenceCredential: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer", - }, +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + minutes: { + serializedName: "minutes", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, }, }, }, - }, - }; - -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion", - }, + monthDays: { + serializedName: "monthDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, }, - }; + }, +}; -export const BuildContext: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + endTime: { + serializedName: "endTime", + nullable: true, + type: { + name: "String", }, - serializedName: "contextUri", + }, + startTime: { + serializedName: "startTime", + nullable: true, + type: { + name: "String", + }, + }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", required: true, type: { name: "String", }, }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + }, + }, +}; + +export const FeaturesetSpecification: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetSpecification", + modelProperties: { + path: { + serializedName: "path", + nullable: true, type: { name: "String", }, @@ -3075,69 +2998,135 @@ export const BuildContext: coreClient.CompositeMapper = { }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", type: { - name: "Composite", - className: "Route", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - readinessRoute: { - serializedName: "readinessRoute", + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + type: { + name: "String", + }, + }, + featureWindow: { + serializedName: "featureWindow", type: { name: "Composite", - className: "Route", + className: "FeatureWindow", }, }, - scoringRoute: { - serializedName: "scoringRoute", + jobId: { + serializedName: "jobId", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", type: { name: "Composite", - className: "Route", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const Route: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "FeatureWindow", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, + type: { + name: "DateTime", }, - serializedName: "path", - required: true, + }, + featureWindowStart: { + serializedName: "featureWindowStart", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, - port: { - serializedName: "port", - required: true, + }, + }, +}; + +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionBackfillResponse", + modelProperties: { + jobIds: { + serializedName: "jobIds", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3145,27 +3134,27 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer", + className: "FeaturestoreEntityContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3173,44 +3162,49 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ModelVersion", + className: "FeaturestoreEntityVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FlavorData: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "IndexColumn", modelProperties: { - data: { - serializedName: "data", + columnName: { + serializedName: "columnName", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + dataType: { + serializedName: "dataType", + type: { + name: "String", }, }, }, }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const InferencePoolTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", + className: "InferencePoolTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3218,41 +3212,47 @@ export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.Composit element: { type: { name: "Composite", - className: "BatchEndpoint", + className: "InferencePool", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const BatchEndpointDefaults: coreClient.CompositeMapper = { +export const ScaleUnitConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "ScaleUnitConfiguration", modelProperties: { - deploymentName: { - serializedName: "deploymentName", + disablePublicEgress: { + defaultValue: false, + serializedName: "disablePublicEgress", + type: { + name: "Boolean", + }, + }, + registries: { + serializedName: "registries", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const PropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "PropertiesBase", modelProperties: { description: { serializedName: "description", @@ -3265,59 +3265,32 @@ export const EndpointPropertiesBase: coreClient.CompositeMapper = { serializedName: "properties", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - scoringUri: { - serializedName: "scoringUri", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String", - }, - }, - keys: { - serializedName: "keys", - type: { - name: "Composite", - className: "EndpointAuthKeys", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StringKeyValuePair", + }, + }, }, }, }, }, }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const StringKeyValuePair: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "StringKeyValuePair", modelProperties: { - primaryKey: { - serializedName: "primaryKey", - nullable: true, + key: { + serializedName: "key", type: { name: "String", }, }, - secondaryKey: { - serializedName: "secondaryKey", - nullable: true, + value: { + serializedName: "value", type: { name: "String", }, @@ -3326,52 +3299,58 @@ export const EndpointAuthKeys: coreClient.CompositeMapper = { }, }; -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "PartialSku", modelProperties: { - type: { - serializedName: "type", + capacity: { + serializedName: "capacity", + type: { + name: "Number", + }, + }, + family: { + serializedName: "family", type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + name: { + serializedName: "name", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - }, - }, -}; - -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PartialMinimalTrackedResource", - modelProperties: { - tags: { - serializedName: "tags", + size: { + serializedName: "size", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const InferenceEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", + className: "InferenceEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3379,57 +3358,30 @@ export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.Compos element: { type: { name: "Composite", - className: "BatchDeployment", + className: "InferenceEndpoint", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", - }, - modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const RequestConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "RequestConfiguration", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { name: "Number", }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { name: "TimeSpan", }, @@ -3438,165 +3390,163 @@ export const BatchRetrySettings: coreClient.CompositeMapper = { }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", - }, - modelProperties: { - referenceType: { - serializedName: "referenceType", - required: true, - type: { - name: "String", +export const InferenceGroupTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InferenceGroupTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InferenceGroup", + }, + }, + }, }, }, }, - }, -}; + }; -export const ResourceConfiguration: coreClient.CompositeMapper = { +export const GroupEnvironmentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceConfiguration", + className: "GroupEnvironmentConfiguration", modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", - type: { - name: "Number", - }, - }, - instanceType: { - serializedName: "instanceType", + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StringKeyValuePair", + }, }, }, }, - }, - }, + livenessProbe: { + serializedName: "livenessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + readinessProbe: { + serializedName: "readinessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + startupProbe: { + serializedName: "startupProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + }, + }, }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const ProbeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "ProbeSettings", modelProperties: { - description: { - serializedName: "description", - nullable: true, + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String", + name: "Number", }, }, - properties: { - serializedName: "properties", + initialDelay: { + serializedName: "initialDelay", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, - codeConfiguration: { - serializedName: "codeConfiguration", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Composite", - className: "CodeConfiguration", + name: "TimeSpan", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", type: { - name: "String", + name: "Number", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const GroupModelConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "GroupModelConfiguration", modelProperties: { - codeId: { - serializedName: "codeId", + modelId: { + serializedName: "modelId", nullable: true, type: { name: "String", }, }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "scoringScript", - required: true, - type: { - name: "String", - }, - }, }, }, }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "PartialBatchDeployment", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const DeltaModelStatusRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "DeltaModelStatusRequest", modelProperties: { - description: { - serializedName: "description", + deltaModels: { + serializedName: "deltaModels", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + targetBaseModel: { + serializedName: "targetBaseModel", nullable: true, type: { name: "String", @@ -3606,27 +3556,52 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const DeltaModelStatusResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "DeltaModelStatusResponse", modelProperties: { - registryName: { - serializedName: "registryName", + actualInstanceCount: { + defaultValue: 0, + serializedName: "actualInstanceCount", + type: { + name: "Number", + }, + }, + deltaModels: { + serializedName: "deltaModels", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeltaModelCurrentState", + }, + }, + }, + }, }, }, - destinationName: { - serializedName: "destinationName", + expectedInstanceCount: { + defaultValue: 0, + serializedName: "expectedInstanceCount", + type: { + name: "Number", + }, + }, + revisionId: { + serializedName: "revisionId", nullable: true, type: { name: "String", }, }, - destinationVersion: { - serializedName: "destinationVersion", + targetBaseModel: { + serializedName: "targetBaseModel", nullable: true, type: { name: "String", @@ -3636,25 +3611,28 @@ export const DestinationAsset: coreClient.CompositeMapper = { }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DeltaModelCurrentState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "DeltaModelCurrentState", modelProperties: { - value: { - serializedName: "value", + count: { + defaultValue: 0, + serializedName: "count", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Datastore", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", + sampleInstanceID: { + serializedName: "sampleInstanceID", + nullable: true, + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + nullable: true, type: { name: "String", }, @@ -3663,19 +3641,28 @@ export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const DeltaModelListRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", - }, + className: "DeltaModelListRequest", modelProperties: { - credentialsType: { - serializedName: "credentialsType", - required: true, + count: { + defaultValue: -1, + serializedName: "count", + type: { + name: "Number", + }, + }, + skipToken: { + serializedName: "skipToken", + nullable: true, + type: { + name: "String", + }, + }, + targetBaseModel: { + serializedName: "targetBaseModel", + nullable: true, type: { name: "String", }, @@ -3684,117 +3671,69 @@ export const DatastoreCredentials: coreClient.CompositeMapper = { }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const StringArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType", - }, + className: "StringArmPaginatedResult", modelProperties: { - secretsType: { - serializedName: "secretsType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - }, - }, -}; - -export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetContainer", - }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DeltaModelModifyRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureResourceArmPaginatedResult", + className: "DeltaModelModifyRequest", modelProperties: { - value: { - serializedName: "value", + addDeltaModels: { + constraints: { + UniqueItems: true, + }, + serializedName: "addDeltaModels", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Feature", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + removeDeltaModels: { + constraints: { + UniqueItems: true, }, - }, - }, - }, -}; - -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetVersion", - }, + serializedName: "removeDeltaModels", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, - }, - }; - -export const FeaturesetSpecification: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturesetSpecification", - modelProperties: { - path: { - serializedName: "path", + targetBaseModel: { + serializedName: "targetBaseModel", nullable: true, type: { name: "String", @@ -3804,99 +3743,85 @@ export const FeaturesetSpecification: coreClient.CompositeMapper = { }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const GroupStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "GroupStatus", modelProperties: { - storeType: { - serializedName: "storeType", - type: { - name: "String", - }, - }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "RecurrenceTrigger", - }, - }, - notification: { - serializedName: "notification", + actualCapacityInfo: { + serializedName: "actualCapacityInfo", type: { name: "Composite", - className: "NotificationSetting", + className: "ActualCapacityInfo", }, }, - resource: { - serializedName: "resource", + endpointCount: { + defaultValue: 0, + serializedName: "endpointCount", type: { - name: "Composite", - className: "MaterializationComputeResource", + name: "Number", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - nullable: true, + requestedCapacity: { + defaultValue: 0, + serializedName: "requestedCapacity", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const ActualCapacityInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "ActualCapacityInfo", modelProperties: { - hours: { - serializedName: "hours", - required: true, + allocated: { + defaultValue: 0, + serializedName: "allocated", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Number", }, }, - minutes: { - serializedName: "minutes", - required: true, + assignmentFailed: { + defaultValue: 0, + serializedName: "assignmentFailed", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Number", }, }, - weekDays: { - serializedName: "weekDays", - nullable: true, + assignmentSuccess: { + defaultValue: 0, + serializedName: "assignmentSuccess", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + }, + }, +}; + +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkuResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "SkuResource", }, }, }, @@ -3905,284 +3830,242 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "SkuResource", modelProperties: { - triggerType: { - serializedName: "triggerType", - required: true, - type: { - name: "String", - }, - }, - endTime: { - serializedName: "endTime", - nullable: true, + capacity: { + serializedName: "capacity", type: { - name: "String", + name: "Composite", + className: "SkuCapacity", }, }, - startTime: { - serializedName: "startTime", + resourceType: { + serializedName: "resourceType", + readOnly: true, nullable: true, type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "SkuSetting", }, }, }, }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const SkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "SkuCapacity", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + default: { + defaultValue: 0, + serializedName: "default", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - emailOn: { - serializedName: "emailOn", - nullable: true, + maximum: { + defaultValue: 0, + serializedName: "maximum", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - webhooks: { - serializedName: "webhooks", - nullable: true, + minimum: { + defaultValue: 0, + serializedName: "minimum", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, + name: "Number", + }, + }, + scaleType: { + serializedName: "scaleType", + type: { + name: "String", }, }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", - polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", - }, + className: "SkuSetting", modelProperties: { - webhookType: { - serializedName: "webhookType", + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "name", required: true, type: { name: "String", }, }, - eventType: { - serializedName: "eventType", - nullable: true, + tier: { + serializedName: "tier", type: { - name: "String", + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationComputeResource", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - }, - }, -}; - -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturesetVersionBackfillRequest", - modelProperties: { - displayName: { - serializedName: "displayName", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobBase", + }, + }, }, }, - description: { - serializedName: "description", + }, + }, +}; + +export const IdentityConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, + modelProperties: { + identityType: { + serializedName: "identityType", + required: true, type: { name: "String", }, }, - featureWindow: { - serializedName: "featureWindow", - type: { - name: "Composite", - className: "FeatureWindow", - }, - }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + }, + }, +}; + +export const JobService: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobService", + modelProperties: { + endpoint: { + serializedName: "endpoint", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - jobId: { - serializedName: "jobId", + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + nullable: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - resource: { - serializedName: "resource", + nodes: { + serializedName: "nodes", type: { name: "Composite", - className: "MaterializationComputeResource", + className: "Nodes", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + port: { + serializedName: "port", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, properties: { serializedName: "properties", + nullable: true, type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const FeatureWindow: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureWindow", - modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", - nullable: true, - type: { - name: "DateTime", - }, - }, - featureWindowEnd: { - serializedName: "featureWindowEnd", + status: { + serializedName: "status", + readOnly: true, nullable: true, type: { - name: "DateTime", + name: "String", }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, modelProperties: { - jobIds: { - serializedName: "jobIds", - nullable: true, + nodesValueType: { + serializedName: "nodesValueType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, - }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, - }, - }, - }; - -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { value: { serializedName: "value", type: { @@ -4190,62 +4073,48 @@ export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.Com element: { type: { name: "Composite", - className: "FeaturestoreEntityVersion", + className: "MarketplaceSubscription", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const IndexColumn: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IndexColumn", + className: "MarketplaceSubscriptionProperties", modelProperties: { - dataType: { - serializedName: "dataType", + marketplacePlan: { + serializedName: "marketplacePlan", type: { - name: "String", + name: "Composite", + className: "MarketplacePlan", }, }, - columnName: { - serializedName: "columnName", - nullable: true, + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobBaseResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobBase", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -4254,115 +4123,51 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const JobService: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "MarketplacePlan", modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, - type: { - name: "String", - }, - }, - port: { - serializedName: "port", - nullable: true, - type: { - name: "Number", - }, - }, - endpoint: { - serializedName: "endpoint", + offerId: { + serializedName: "offerId", + readOnly: true, nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", + planId: { + serializedName: "planId", readOnly: true, nullable: true, type: { name: "String", }, }, - errorMessage: { - serializedName: "errorMessage", + publisherId: { + serializedName: "publisherId", readOnly: true, nullable: true, type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - nodes: { - serializedName: "nodes", - type: { - name: "Composite", - className: "Nodes", - }, - }, - }, - }, -}; - -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 IdentityConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, - modelProperties: { - identityType: { - serializedName: "identityType", - required: true, - type: { - name: "String", - }, - }, }, }, }; -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -4370,54 +4175,65 @@ export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.Compo element: { type: { name: "Composite", - className: "MarketplaceSubscription", + className: "OnlineEndpoint", }, }, }, }, + }, + }, + }; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { nextLink: { serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineDeployment", + }, + }, + }, + }, }, }, }; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const DataCollector: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "DataCollector", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "modelId", + collections: { + serializedName: "collections", required: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "Collection" } }, }, }, - marketplacePlan: { - serializedName: "marketplacePlan", + requestLogging: { + serializedName: "requestLogging", type: { name: "Composite", - className: "MarketplacePlan", - }, - }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, - type: { - name: "String", + className: "RequestLogging", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + rollingRate: { + serializedName: "rollingRate", type: { name: "String", }, @@ -4426,94 +4242,92 @@ export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "Collection", modelProperties: { - publisherId: { - serializedName: "publisherId", - readOnly: true, + clientId: { + serializedName: "clientId", nullable: true, type: { name: "String", }, }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, + dataCollectionMode: { + serializedName: "dataCollectionMode", type: { name: "String", }, }, - planId: { - serializedName: "planId", - readOnly: true, + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String", }, }, + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", + type: { + name: "Number", + }, + }, }, }, }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineEndpoint", - }, +export const RequestLogging: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RequestLogging", + modelProperties: { + captureHeaders: { + serializedName: "captureHeaders", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineDeployment", - }, - }, - }, +export const OnlineRequestSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineRequestSettings", + modelProperties: { + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", + type: { + name: "Number", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", + type: { + name: "TimeSpan", + }, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", + type: { + name: "TimeSpan", }, }, }, - }; + }, +}; export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { @@ -4536,28 +4350,20 @@ export const OnlineScaleSettings: coreClient.CompositeMapper = { }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "DeploymentLogsRequest", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", - type: { - name: "TimeSpan", - }, - }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + containerType: { + serializedName: "containerType", type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + tail: { + serializedName: "tail", + nullable: true, type: { name: "Number", }, @@ -4566,107 +4372,73 @@ export const OnlineRequestSettings: coreClient.CompositeMapper = { }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "DeploymentLogs", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", - type: { - name: "Number", - }, - }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", - type: { - name: "Number", - }, - }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - period: { - defaultValue: "PT10S", - serializedName: "period", - type: { - name: "TimeSpan", - }, - }, - initialDelay: { - serializedName: "initialDelay", + content: { + serializedName: "content", nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const DataCollector: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataCollector", + className: "RegenerateEndpointKeysRequest", modelProperties: { - collections: { - serializedName: "collections", + keyType: { + serializedName: "keyType", required: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, - }, - }, - rollingRate: { - serializedName: "rollingRate", type: { name: "String", }, }, - requestLogging: { - serializedName: "requestLogging", + keyValue: { + serializedName: "keyValue", + nullable: true, type: { - name: "Composite", - className: "RequestLogging", + name: "String", }, }, }, }, }; -export const Collection: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Collection", + className: "EndpointAuthToken", modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", + accessToken: { + serializedName: "accessToken", + nullable: true, type: { - name: "Number", + name: "String", }, }, - dataCollectionMode: { - serializedName: "dataCollectionMode", + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "String", + name: "Number", }, }, - dataId: { - serializedName: "dataId", - nullable: true, + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", type: { - name: "String", + name: "Number", }, }, - clientId: { - serializedName: "clientId", + tokenType: { + serializedName: "tokenType", nullable: true, type: { name: "String", @@ -4676,19 +4448,25 @@ export const Collection: coreClient.CompositeMapper = { }, }; -export const RequestLogging: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestLogging", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "Schedule", }, }, }, @@ -4697,76 +4475,122 @@ export const RequestLogging: coreClient.CompositeMapper = { }, }; -export const PartialSku: coreClient.CompositeMapper = { +export const ScheduleActionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialSku", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType", + }, modelProperties: { - name: { - serializedName: "name", + actionType: { + serializedName: "actionType", + required: true, type: { name: "String", }, }, - tier: { - serializedName: "tier", - type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, +}; + +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerlessEndpoint", + }, + }, + }, }, }, - size: { - serializedName: "size", + }, + }; + +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointProperties", + modelProperties: { + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - family: { - serializedName: "family", + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ContentSafety", + }, + }, + endpointState: { + serializedName: "endpointState", + readOnly: true, type: { name: "String", }, }, - capacity: { - serializedName: "capacity", + inferenceEndpoint: { + serializedName: "inferenceEndpoint", type: { - name: "Number", + name: "Composite", + className: "ServerlessInferenceEndpoint", }, }, - }, - }, -}; - -export const DeploymentLogsRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentLogsRequest", - modelProperties: { - containerType: { - serializedName: "containerType", + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, + nullable: true, type: { name: "String", }, }, - tail: { - serializedName: "tail", - nullable: true, + modelSettings: { + serializedName: "modelSettings", type: { - name: "Number", + name: "Composite", + className: "ModelSettings", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const ContentSafety: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "ContentSafety", modelProperties: { - content: { - serializedName: "content", - nullable: true, + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, type: { name: "String", }, @@ -4775,25 +4599,23 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "ServerlessInferenceEndpoint", modelProperties: { - value: { - serializedName: "value", + headers: { + serializedName: "headers", + readOnly: true, + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SkuResource", - }, - }, + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - nextLink: { - serializedName: "nextLink", + uri: { + serializedName: "uri", + required: true, type: { name: "String", }, @@ -4802,92 +4624,58 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const ModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "ModelSettings", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, + modelId: { + serializedName: "modelId", nullable: true, type: { name: "String", }, }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "SkuSetting", - }, - }, - capacity: { - serializedName: "capacity", - type: { - name: "Composite", - className: "SkuCapacity", - }, - }, }, }, }; -export const SkuSetting: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SkuSetting", - modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "name", - required: true, - type: { - name: "String", +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - tier: { - serializedName: "tier", - type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Registry", + }, + }, + }, }, }, }, - }, -}; + }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "ArmResourceId", modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", - type: { - name: "Number", - }, - }, - maximum: { - defaultValue: 0, - serializedName: "maximum", - type: { - name: "Number", - }, - }, - default: { - defaultValue: 0, - serializedName: "default", - type: { - name: "Number", - }, - }, - scaleType: { - serializedName: "scaleType", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, @@ -4896,85 +4684,93 @@ export const SkuCapacity: coreClient.CompositeMapper = { }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const ManagedResourceGroupSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "ManagedResourceGroupSettings", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, - type: { - name: "String", - }, - }, - keyValue: { - serializedName: "keyValue", + assignedIdentities: { + serializedName: "assignedIdentities", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + }, + }, }, }, }, }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const ManagedResourceGroupAssignedIdentities: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + }, + }, + }; + +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "RegistryPrivateEndpointConnection", modelProperties: { - accessToken: { - serializedName: "accessToken", + id: { + serializedName: "id", nullable: true, type: { name: "String", }, }, - tokenType: { - serializedName: "tokenType", + location: { + serializedName: "location", nullable: true, type: { name: "String", }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + groupIds: { + serializedName: "properties.groupIds", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "Number", + name: "Composite", + className: "PrivateEndpointResource", }, }, - }, - }, -}; - -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Schedule", - }, - }, + name: "Composite", + className: "RegistryPrivateLinkServiceConnectionState", }, }, - nextLink: { - serializedName: "nextLink", + provisioningState: { + serializedName: "properties.provisioningState", + nullable: true, type: { name: "String", }, @@ -4983,19 +4779,14 @@ export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", - }, + className: "PrivateEndpoint", modelProperties: { - actionType: { - serializedName: "actionType", - required: true, + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, @@ -5004,26 +4795,28 @@ export const ScheduleActionBase: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", + className: "RegistryPrivateLinkServiceConnectionState", modelProperties: { - value: { - serializedName: "value", + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + status: { + serializedName: "status", type: { name: "String", }, @@ -5032,280 +4825,34 @@ export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.Com }, }; -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "RegistryRegionArmDetails", modelProperties: { - modelSettings: { - serializedName: "modelSettings", + acrDetails: { + serializedName: "acrDetails", + nullable: true, type: { - name: "Composite", - className: "ModelSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails", + }, + }, }, }, - authMode: { - serializedName: "authMode", - required: true, + location: { + serializedName: "location", + nullable: true, type: { name: "String", }, }, - inferenceEndpoint: { - serializedName: "inferenceEndpoint", - type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - endpointState: { - serializedName: "endpointState", - readOnly: true, - type: { - name: "String", - }, - }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - contentSafety: { - serializedName: "contentSafety", - type: { - name: "Composite", - className: "ContentSafety", - }, - }, - }, - }, -}; - -export const ModelSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModelSettings", - modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServerlessInferenceEndpoint", - modelProperties: { - uri: { - serializedName: "uri", - required: true, - type: { - name: "String", - }, - }, - headers: { - serializedName: "headers", - readOnly: true, - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, -}; - -export const ContentSafety: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContentSafety", - modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: 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, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistryPrivateEndpointConnection", - modelProperties: { - id: { - serializedName: "id", - nullable: true, - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - nullable: true, - type: { - name: "String", - }, - }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", - type: { - name: "Composite", - className: "PrivateEndpointResource", - }, - }, - registryPrivateLinkServiceConnectionState: { - serializedName: "properties.registryPrivateLinkServiceConnectionState", - type: { - name: "Composite", - className: "RegistryPrivateLinkServiceConnectionState", - }, - }, - provisioningState: { - serializedName: "properties.provisioningState", - nullable: 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", - }, - }, - }, - }, - }; - -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistryRegionArmDetails", - modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AcrDetails", - }, - }, - }, - }, - location: { - serializedName: "location", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, type: { name: "Sequence", element: { @@ -5557,112 +5104,108 @@ export const AmlUserFeature: coreClient.CompositeMapper = { }, }; -export const ResourceId: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceId", + className: "OperationListResult", modelProperties: { - id: { - serializedName: "id", - required: true, + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation", + }, + }, }, }, - }, - }, -}; - -export const AKSSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AKSSchema", - modelProperties: { - properties: { - serializedName: "properties", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "AKSSchemaProperties", + name: "String", }, }, }, }, }; -export const AKSSchemaProperties: coreClient.CompositeMapper = { +export const Operation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchemaProperties", + className: "Operation", modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", - nullable: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - systemServices: { - serializedName: "systemServices", + isDataAction: { + serializedName: "isDataAction", readOnly: true, - nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SystemService", - }, - }, + name: "Boolean", }, }, - agentCount: { - constraints: { - InclusiveMinimum: 0, - }, - serializedName: "agentCount", - nullable: true, + display: { + serializedName: "display", type: { - name: "Number", + name: "Composite", + className: "OperationDisplay", }, }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, + origin: { + serializedName: "origin", + readOnly: true, type: { name: "String", }, }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", + actionType: { + serializedName: "actionType", + readOnly: true, type: { name: "String", }, }, - sslConfiguration: { - serializedName: "sslConfiguration", + }, + }, +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + readOnly: true, type: { - name: "Composite", - className: "SslConfiguration", + name: "String", }, }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + resource: { + serializedName: "resource", + readOnly: true, type: { - name: "Composite", - className: "AksNetworkingConfiguration", + name: "String", }, }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", + operation: { + serializedName: "operation", + readOnly: true, type: { name: "String", }, }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", - nullable: true, + description: { + serializedName: "description", + readOnly: true, type: { name: "String", }, @@ -5671,125 +5214,125 @@ export const AKSSchemaProperties: coreClient.CompositeMapper = { }, }; -export const SystemService: coreClient.CompositeMapper = { +export const WorkspaceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "WorkspaceListResult", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, - type: { - name: "String", - }, - }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - version: { - serializedName: "version", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Workspace", + }, + }, }, }, }, }, }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const EncryptionProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "EncryptionProperty", modelProperties: { - status: { - serializedName: "status", + cosmosDbResourceId: { + serializedName: "cosmosDbResourceId", type: { name: "String", }, }, - cert: { - serializedName: "cert", - nullable: true, + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "IdentityForCmk", }, }, - key: { - serializedName: "key", - nullable: true, + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "String", + name: "Composite", + className: "KeyVaultProperties", }, }, - cname: { - serializedName: "cname", - nullable: true, + searchAccountResourceId: { + serializedName: "searchAccountResourceId", type: { name: "String", }, }, - leafDomainLabel: { - serializedName: "leafDomainLabel", - nullable: true, + status: { + serializedName: "status", + required: true, type: { name: "String", }, }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", + storageAccountResourceId: { + serializedName: "storageAccountResourceId", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { +export const IdentityForCmk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "IdentityForCmk", modelProperties: { - subnetId: { - serializedName: "subnetId", + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String", }, }, - serviceCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), - }, - serializedName: "serviceCidr", + }, + }, +}; + +export const KeyVaultProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "KeyVaultProperties", + modelProperties: { + identityClientId: { + serializedName: "identityClientId", type: { name: "String", }, }, - dnsServiceIP: { + keyIdentifier: { constraints: { - Pattern: new RegExp( - "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", - ), + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - serializedName: "dnsServiceIP", + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, }, - dockerBridgeCidr: { + keyVaultArmId: { 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("[a-zA-Z0-9_]"), + MinLength: 1, }, - serializedName: "dockerBridgeCidr", + serializedName: "keyVaultArmId", + required: true, type: { name: "String", }, @@ -5798,79 +5341,97 @@ export const AksNetworkingConfiguration: coreClient.CompositeMapper = { }, }; -export const KubernetesSchema: coreClient.CompositeMapper = { +export const FeatureStoreSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesSchema", + className: "FeatureStoreSettings", modelProperties: { - properties: { - serializedName: "properties", + computeRuntime: { + serializedName: "computeRuntime", type: { name: "Composite", - className: "KubernetesProperties", + className: "ComputeRuntimeDto", + }, + }, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", + type: { + name: "String", + }, + }, + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", + type: { + name: "String", }, }, }, }, }; -export const KubernetesProperties: coreClient.CompositeMapper = { +export const ComputeRuntimeDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesProperties", + className: "ComputeRuntimeDto", modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", - nullable: true, - type: { - name: "String", - }, - }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", - nullable: true, + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { name: "String", }, }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", - nullable: true, + }, + }, +}; + +export const ManagedNetworkSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettings", + modelProperties: { + firewallSku: { + serializedName: "firewallSku", type: { name: "String", }, }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", + isolationMode: { + serializedName: "isolationMode", type: { name: "String", }, }, - vcName: { - serializedName: "vcName", + networkId: { + serializedName: "networkId", + readOnly: true, type: { name: "String", }, }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + outboundRules: { + serializedName: "outboundRules", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, }, }, - defaultInstanceType: { - serializedName: "defaultInstanceType", + status: { + serializedName: "status", type: { - name: "String", + name: "Composite", + className: "ManagedNetworkProvisionStatus", }, }, - instanceTypes: { - serializedName: "instanceTypes", + changeableIsolationModes: { + serializedName: "changeableIsolationModes", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" }, + name: "Sequence", + element: { + type: { + name: "String", + }, }, }, }, @@ -5878,813 +5439,950 @@ export const KubernetesProperties: coreClient.CompositeMapper = { }, }; -export const InstanceTypeSchema: coreClient.CompositeMapper = { +export const OutboundRule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchema", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", - nullable: true, + category: { + serializedName: "category", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - resources: { - serializedName: "resources", + parentRuleNames: { + serializedName: "parentRuleNames", + readOnly: true, type: { - name: "Composite", - className: "InstanceTypeSchemaResources", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + status: { + serializedName: "status", + type: { + name: "String", + }, + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String", }, }, }, }, }; -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "ManagedNetworkProvisionStatus", modelProperties: { - requests: { - serializedName: "requests", + sparkReady: { + serializedName: "sparkReady", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Boolean", }, }, - limits: { - serializedName: "limits", + status: { + serializedName: "status", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const AmlComputeProperties: coreClient.CompositeMapper = { +export const NetworkAcls: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeProperties", + className: "NetworkAcls", modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", + defaultAction: { + serializedName: "defaultAction", type: { name: "String", }, }, - vmSize: { - serializedName: "vmSize", + ipRules: { + serializedName: "ipRules", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule", + }, + }, }, }, - vmPriority: { - serializedName: "vmPriority", + }, + }, +}; + +export const IPRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IPRule", + modelProperties: { + value: { + serializedName: "value", type: { name: "String", }, }, - virtualMachineImage: { - serializedName: "virtualMachineImage", + }, + }, +}; + +export const NotebookResourceInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NotebookResourceInfo", + modelProperties: { + fqdn: { + serializedName: "fqdn", type: { - name: "Composite", - className: "VirtualMachineImage", + name: "String", }, }, - isolatedNetwork: { - serializedName: "isolatedNetwork", + isPrivateLinkEnabled: { + serializedName: "isPrivateLinkEnabled", type: { name: "Boolean", }, }, - scaleSettings: { - serializedName: "scaleSettings", + notebookPreparationError: { + serializedName: "notebookPreparationError", type: { name: "Composite", - className: "ScaleSettings", + className: "NotebookPreparationError", }, }, - userAccountCredentials: { - serializedName: "userAccountCredentials", + resourceId: { + serializedName: "resourceId", type: { - name: "Composite", - className: "UserAccountCredentials", + name: "String", }, }, - subnet: { - serializedName: "subnet", + }, + }, +}; + +export const NotebookPreparationError: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NotebookPreparationError", + modelProperties: { + errorMessage: { + serializedName: "errorMessage", type: { - name: "Composite", - className: "ResourceId", + name: "String", }, }, - remoteLoginPortPublicAccess: { - defaultValue: "NotSpecified", - serializedName: "remoteLoginPortPublicAccess", + statusCode: { + serializedName: "statusCode", type: { - name: "String", + name: "Number", }, }, - allocationState: { - serializedName: "allocationState", + }, + }, +}; + +export const WorkspacePrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacePrivateEndpointResource", + modelProperties: { + id: { + serializedName: "id", readOnly: true, type: { name: "String", }, }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", + subnetArmId: { + serializedName: "subnetArmId", readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - errors: { - serializedName: "errors", - readOnly: true, - nullable: true, + }, + }, +}; + +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + actionsRequired: { + serializedName: "actionsRequired", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, + name: "String", }, }, - currentNodeCount: { - serializedName: "currentNodeCount", - readOnly: true, - nullable: true, + description: { + serializedName: "description", type: { - name: "Number", + name: "String", }, }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, - nullable: true, + status: { + serializedName: "status", type: { - name: "Number", + name: "String", }, }, - nodeStateCounts: { - serializedName: "nodeStateCounts", + }, + }, +}; + +export const ServerlessComputeSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessComputeSettings", + modelProperties: { + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { - name: "Composite", - className: "NodeStateCounts", + name: "String", }, }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", type: { name: "Boolean", }, }, - propertyBag: { - serializedName: "propertyBag", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, }, }, }; -export const VirtualMachineImage: coreClient.CompositeMapper = { +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImage", + className: "ServiceManagedResourcesSettings", modelProperties: { - id: { - serializedName: "id", - required: true, + cosmosDb: { + serializedName: "cosmosDb", type: { - name: "String", + name: "Composite", + className: "CosmosDbSettings", }, }, }, }, }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const CosmosDbSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "CosmosDbSettings", modelProperties: { - adminUserName: { - serializedName: "adminUserName", - required: true, - type: { - name: "String", - }, - }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", - type: { - name: "String", - }, - }, - adminUserPassword: { - serializedName: "adminUserPassword", + collectionsThroughput: { + serializedName: "collectionsThroughput", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "SharedPrivateLinkResource", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - runningNodeCount: { - serializedName: "runningNodeCount", - readOnly: true, + name: { + serializedName: "name", type: { - name: "Number", + name: "String", }, }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, + groupId: { + serializedName: "properties.groupId", type: { - name: "Number", + name: "String", }, }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { - name: "Number", + name: "String", }, }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + requestMessage: { + serializedName: "properties.requestMessage", type: { - name: "Number", + name: "String", }, }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, + status: { + serializedName: "properties.status", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const AmlComputeSchema: coreClient.CompositeMapper = { +export const WorkspaceHubConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeSchema", + className: "WorkspaceHubConfig", modelProperties: { - properties: { - serializedName: "properties", + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { - name: "Composite", - className: "AmlComputeProperties", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", + type: { + name: "String", }, }, }, }, }; -export const ComputeInstanceProperties: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceProperties", + className: "WorkspaceUpdateParameters", modelProperties: { - vmSize: { - serializedName: "vmSize", + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - subnet: { - serializedName: "subnet", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "ResourceId", + className: "Sku", }, }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", + type: { + name: "Boolean", + }, + }, + applicationInsights: { + serializedName: "properties.applicationInsights", type: { name: "String", }, }, - sshSettings: { - serializedName: "sshSettings", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { - name: "Composite", - className: "ComputeInstanceSshSettings", + name: "String", }, }, - customServices: { - serializedName: "customServices", - nullable: true, + description: { + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomService", - }, - }, + name: "String", }, }, - osImageMetadata: { - serializedName: "osImageMetadata", + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", + type: { + name: "Boolean", + }, + }, + encryption: { + serializedName: "properties.encryption", type: { name: "Composite", - className: "ImageMetadata", + className: "EncryptionUpdateProperties", }, }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + className: "FeatureStoreSettings", }, }, - applications: { - serializedName: "applications", - readOnly: true, + friendlyName: { + serializedName: "properties.friendlyName", + type: { + name: "String", + }, + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + ipAllowlist: { + serializedName: "properties.ipAllowlist", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ComputeInstanceApplication", + name: "String", }, }, }, }, - createdBy: { - serializedName: "createdBy", + managedNetwork: { + serializedName: "properties.managedNetwork", type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "ManagedNetworkSettings", }, }, - errors: { - serializedName: "errors", - readOnly: true, + networkAcls: { + serializedName: "properties.networkAcls", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, + name: "Composite", + className: "NetworkAcls", }, }, - state: { - serializedName: "state", - readOnly: true, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", - nullable: true, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "ServerlessComputeSettings", }, }, - setupScripts: { - serializedName: "setupScripts", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "SetupScripts", + className: "ServiceManagedResourcesSettings", }, }, - lastOperation: { - serializedName: "lastOperation", + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", type: { - name: "Composite", - className: "ComputeInstanceLastOperation", + name: "Number", }, }, - schedules: { - serializedName: "schedules", + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", type: { - name: "Composite", - className: "ComputeSchedules", + name: "String", }, }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", type: { name: "Boolean", }, }, - containers: { - serializedName: "containers", - readOnly: true, - nullable: true, + }, + }, +}; + +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionUpdateProperties", + modelProperties: { + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceContainer", - }, - }, + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", }, }, - dataDisks: { - serializedName: "dataDisks", - readOnly: true, - nullable: true, + }, + }, +}; + +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", + modelProperties: { + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyIdentifier", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataDisk", - }, - }, + name: "String", }, }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataMount", - }, + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, }, - }, - versions: { - serializedName: "versions", - type: { - name: "Composite", - className: "ComputeInstanceVersion", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", + authType: { + serializedName: "authType", + required: true, type: { name: "String", }, }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, + category: { + serializedName: "category", type: { name: "String", }, }, - sshPort: { - serializedName: "sshPort", + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", readOnly: true, type: { - name: "Number", + name: "String", }, }, - adminPublicKey: { - serializedName: "adminPublicKey", + error: { + serializedName: "error", type: { name: "String", }, }, - }, - }, -}; - -export const CustomService: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomService", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - name: { - serializedName: "name", + expiryTime: { + serializedName: "expiryTime", + type: { + name: "DateTime", + }, + }, + group: { + serializedName: "group", + readOnly: true, type: { name: "String", }, }, - image: { - serializedName: "image", + isSharedToAll: { + serializedName: "isSharedToAll", type: { - name: "Composite", - className: "Image", + name: "Boolean", }, }, - environmentVariables: { - serializedName: "environmentVariables", + metadata: { + serializedName: "metadata", type: { name: "Dictionary", - value: { - type: { name: "Composite", className: "EnvironmentVariable" }, - }, + value: { type: { name: "String" } }, }, }, - docker: { - serializedName: "docker", + peRequirement: { + serializedName: "peRequirement", type: { - name: "Composite", - className: "Docker", + name: "String", }, }, - endpoints: { - serializedName: "endpoints", + peStatus: { + serializedName: "peStatus", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Endpoint", - }, - }, + name: "String", }, }, - volumes: { - serializedName: "volumes", + sharedUserList: { + serializedName: "sharedUserList", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "VolumeDefinition", + name: "String", }, }, }, }, - }, - }, -}; - -export const Image: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Image", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - type: { - defaultValue: "docker", - serializedName: "type", + target: { + serializedName: "target", type: { name: "String", }, }, - reference: { - serializedName: "reference", + useWorkspaceManagedIdentity: { + serializedName: "useWorkspaceManagedIdentity", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const EnvironmentVariable: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVariable", - additionalProperties: { type: { name: "Object" } }, + className: "WorkspaceConnectionUpdateParameter", modelProperties: { - type: { - defaultValue: "local", - serializedName: "type", - type: { - name: "String", - }, - }, - value: { - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const Docker: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Docker", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - privileged: { - serializedName: "privileged", - nullable: true, - type: { - name: "Boolean", +export const EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: + "EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - }, - }, -}; - -export const Endpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Endpoint", - modelProperties: { - protocol: { - defaultValue: "tcp", - serializedName: "protocol", - type: { - name: "String", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, + }, }, }, - name: { - serializedName: "name", - type: { - name: "String", - }, + }, + }; + +export const EndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", }, - target: { - serializedName: "target", + modelProperties: { + failureReason: { + serializedName: "failureReason", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, type: { - name: "Number", + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "type", + required: true, + type: { + name: "String", + }, }, }, - published: { - serializedName: "published", - nullable: true, + }, + }; + +export const EndpointModels: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModels", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, - hostIp: { - serializedName: "hostIp", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelProperties", + }, + }, }, }, }, }, }; -export const VolumeDefinition: coreClient.CompositeMapper = { +export const EndpointModelProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeDefinition", + className: "EndpointModelProperties", modelProperties: { - type: { - defaultValue: "bind", - serializedName: "type", + capabilities: { + serializedName: "capabilities", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + deprecation: { + serializedName: "deprecation", + type: { + name: "Composite", + className: "EndpointModelDeprecationProperties", + }, + }, + finetuneCapabilities: { + serializedName: "finetuneCapabilities", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + format: { + serializedName: "format", type: { name: "String", }, }, - readOnly: { - serializedName: "readOnly", - nullable: true, + isDefaultVersion: { + serializedName: "isDefaultVersion", type: { name: "Boolean", }, }, - source: { - serializedName: "source", + lifecycleStatus: { + serializedName: "lifecycleStatus", type: { name: "String", }, }, - target: { - serializedName: "target", + maxCapacity: { + serializedName: "maxCapacity", type: { - name: "String", + name: "Number", }, }, - consistency: { - serializedName: "consistency", + name: { + serializedName: "name", type: { name: "String", }, }, - bind: { - serializedName: "bind", + skus: { + serializedName: "skus", type: { - name: "Composite", - className: "BindOptions", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuProperties", + }, + }, }, }, - volume: { - serializedName: "volume", + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "VolumeOptions", + className: "SystemData", }, }, - tmpfs: { - serializedName: "tmpfs", + version: { + serializedName: "version", type: { - name: "Composite", - className: "TmpfsOptions", + name: "String", }, }, }, }, }; -export const BindOptions: coreClient.CompositeMapper = { +export const EndpointModelDeprecationProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BindOptions", + className: "EndpointModelDeprecationProperties", modelProperties: { - propagation: { - serializedName: "propagation", - nullable: true, + fineTune: { + serializedName: "fineTune", type: { - name: "String", - }, - }, - createHostPath: { - serializedName: "createHostPath", - nullable: true, - type: { - name: "Boolean", + name: "DateTime", }, }, - selinux: { - serializedName: "selinux", - nullable: true, + inference: { + serializedName: "inference", type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const VolumeOptions: coreClient.CompositeMapper = { +export const EndpointModelSkuProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeOptions", + className: "EndpointModelSkuProperties", modelProperties: { - nocopy: { - serializedName: "nocopy", - nullable: true, + capacity: { + serializedName: "capacity", type: { - name: "Boolean", + name: "Composite", + className: "EndpointModelSkuCapacityProperties", + }, + }, + connectionIds: { + serializedName: "connectionIds", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + deprecationDate: { + serializedName: "deprecationDate", + type: { + name: "DateTime", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + rateLimits: { + serializedName: "rateLimits", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + }, + }, + }, + }, + usageName: { + serializedName: "usageName", + type: { + name: "String", }, }, }, }, }; -export const TmpfsOptions: coreClient.CompositeMapper = { +export const EndpointModelSkuCapacityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TmpfsOptions", + className: "EndpointModelSkuCapacityProperties", modelProperties: { - size: { - serializedName: "size", + default: { + serializedName: "default", + type: { + name: "Number", + }, + }, + maximum: { + serializedName: "maximum", type: { name: "Number", }, @@ -6693,104 +6391,148 @@ export const TmpfsOptions: coreClient.CompositeMapper = { }, }; -export const ImageMetadata: coreClient.CompositeMapper = { +export const EndpointModelSkuRateLimitProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageMetadata", + className: "EndpointModelSkuRateLimitProperties", modelProperties: { - currentImageVersion: { - serializedName: "currentImageVersion", + count: { + serializedName: "count", type: { - name: "String", + name: "Number", }, }, - latestImageVersion: { - serializedName: "latestImageVersion", + renewalPeriod: { + serializedName: "renewalPeriod", type: { - name: "String", + name: "Number", }, }, - isLatestOsImageVersion: { - serializedName: "isLatestOsImageVersion", + rules: { + serializedName: "rules", type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRuleProperties", + }, + }, }, }, }, }, }; -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = +export const EndpointModelSkuRateLimitRuleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + className: "EndpointModelSkuRateLimitRuleProperties", modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + count: { + serializedName: "count", type: { - name: "String", + name: "Number", }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, + dynamicThrottlingEnabled: { + serializedName: "dynamicThrottlingEnabled", + type: { + name: "Boolean", + }, + }, + key: { + serializedName: "key", type: { name: "String", }, }, + matchPatterns: { + serializedName: "matchPatterns", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + }, + }, + }, + }, + minCount: { + serializedName: "minCount", + type: { + name: "Number", + }, + }, + renewalPeriod: { + serializedName: "renewalPeriod", + type: { + name: "Number", + }, + }, }, }, }; -export const ComputeInstanceApplication: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceApplication", - modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String", +export const EndpointModelSkuRateLimitRulePatternProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + modelProperties: { + method: { + serializedName: "method", + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + type: { + name: "String", + }, }, }, - endpointUri: { - serializedName: "endpointUri", - type: { - name: "String", + }, + }; + +export const RaiBlocklistPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { +export const RaiBlocklistProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "RaiBlocklistProperties", modelProperties: { - userName: { - serializedName: "userName", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - userOrgId: { - serializedName: "userOrgId", - readOnly: true, - type: { - name: "String", - }, - }, - userId: { - serializedName: "userId", - readOnly: true, - nullable: true, + description: { + serializedName: "description", type: { name: "String", }, @@ -6799,37 +6541,41 @@ export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { }, }; -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { +export const RaiBlocklistItemBulkRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "RaiBlocklistItemBulkRequest", modelProperties: { - assignedUser: { - serializedName: "assignedUser", + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "AssignedUser", + className: "RaiBlocklistItemProperties", }, }, }, }, }; -export const AssignedUser: coreClient.CompositeMapper = { +export const RaiBlocklistItemProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssignedUser", + className: "RaiBlocklistItemProperties", modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + isRegex: { + serializedName: "isRegex", type: { - name: "String", + name: "Boolean", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + pattern: { + serializedName: "pattern", type: { name: "String", }, @@ -6838,70 +6584,138 @@ export const AssignedUser: coreClient.CompositeMapper = { }, }; -export const SetupScripts: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SetupScripts", - modelProperties: { - scripts: { - serializedName: "scripts", - type: { - name: "Composite", - className: "ScriptsToExecute", +export const RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const ScriptsToExecute: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScriptsToExecute", - modelProperties: { - startupScript: { - serializedName: "startupScript", - type: { - name: "Composite", - className: "ScriptReference", +export const RaiPolicyPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, }, - }, - creationScript: { - serializedName: "creationScript", - type: { - name: "Composite", - className: "ScriptReference", + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResource", + }, + }, + }, }, }, }, - }, -}; + }; -export const ScriptReference: coreClient.CompositeMapper = { +export const RaiPolicyProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptReference", + className: "RaiPolicyProperties", modelProperties: { - scriptSource: { - serializedName: "scriptSource", + basePolicyName: { + serializedName: "basePolicyName", type: { name: "String", }, }, - scriptData: { - serializedName: "scriptData", + completionBlocklists: { + serializedName: "completionBlocklists", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + }, + }, + }, + }, + contentFilters: { + serializedName: "contentFilters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyContentFilter", + }, + }, + }, + }, + mode: { + serializedName: "mode", type: { name: "String", }, }, - scriptArguments: { - serializedName: "scriptArguments", + promptBlocklists: { + serializedName: "promptBlocklists", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + }, + }, + }, + }, + type: { + serializedName: "type", type: { name: "String", }, }, - timeout: { - serializedName: "timeout", + }, + }, +}; + +export const RaiBlocklistConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + modelProperties: { + blocking: { + serializedName: "blocking", + type: { + name: "Boolean", + }, + }, + blocklistName: { + serializedName: "blocklistName", type: { name: "String", }, @@ -6910,31 +6724,37 @@ export const ScriptReference: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { +export const RaiPolicyContentFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceLastOperation", + className: "RaiPolicyContentFilter", modelProperties: { - operationName: { - serializedName: "operationName", + allowedContentLevel: { + serializedName: "allowedContentLevel", type: { name: "String", }, }, - operationTime: { - serializedName: "operationTime", + blocking: { + serializedName: "blocking", type: { - name: "DateTime", + name: "Boolean", }, }, - operationStatus: { - serializedName: "operationStatus", + enabled: { + serializedName: "enabled", + type: { + name: "Boolean", + }, + }, + name: { + serializedName: "name", type: { name: "String", }, }, - operationTrigger: { - serializedName: "operationTrigger", + source: { + serializedName: "source", type: { name: "String", }, @@ -6943,181 +6763,226 @@ export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { }, }; -export const ComputeSchedules: coreClient.CompositeMapper = { +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSchedules", + className: "DiagnoseWorkspaceParameters", modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + value: { + serializedName: "value", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeStartStopSchedule", - }, - }, + name: "Composite", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeStartStopSchedule", + className: "DiagnoseRequestProperties", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - nullable: true, + applicationInsights: { + serializedName: "applicationInsights", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - provisioningStatus: { - serializedName: "provisioningStatus", - readOnly: true, + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - status: { - serializedName: "status", + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - action: { - serializedName: "action", + keyVault: { + serializedName: "keyVault", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - triggerType: { - serializedName: "triggerType", + nsg: { + serializedName: "nsg", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - recurrence: { - serializedName: "recurrence", + others: { + serializedName: "others", type: { - name: "Composite", - className: "Recurrence", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - cron: { - serializedName: "cron", + requiredResourceProviders: { + serializedName: "requiredResourceProviders", type: { - name: "Composite", - className: "Cron", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - schedule: { - serializedName: "schedule", + resourceLock: { + serializedName: "resourceLock", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + storageAccount: { + serializedName: "storageAccount", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + udr: { + serializedName: "udr", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const DiagnoseResponseResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnoseResponseResult", + modelProperties: { + value: { + serializedName: "value", type: { name: "Composite", - className: "ScheduleBase", + className: "DiagnoseResponseResultValue", }, }, }, }, }; -export const Recurrence: coreClient.CompositeMapper = { +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Recurrence", + className: "DiagnoseResponseResultValue", modelProperties: { - frequency: { - serializedName: "frequency", + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - interval: { - serializedName: "interval", + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - startTime: { - serializedName: "startTime", - nullable: true, + resourceLockResults: { + serializedName: "resourceLockResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + dnsResolutionResults: { + serializedName: "dnsResolutionResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - schedule: { - serializedName: "schedule", + storageAccountResults: { + serializedName: "storageAccountResults", type: { - name: "Composite", - className: "ComputeRecurrenceSchedule", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeRecurrenceSchedule", - modelProperties: { - hours: { - serializedName: "hours", - required: true, + keyVaultResults: { + serializedName: "keyVaultResults", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "DiagnoseResult", }, }, }, }, - minutes: { - serializedName: "minutes", - required: true, + containerRegistryResults: { + serializedName: "containerRegistryResults", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "DiagnoseResult", }, }, }, }, - monthDays: { - serializedName: "monthDays", - nullable: true, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "DiagnoseResult", }, }, }, }, - weekDays: { - serializedName: "weekDays", - nullable: true, + otherResults: { + serializedName: "otherResults", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "DiagnoseResult", }, }, }, @@ -7126,27 +6991,28 @@ export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const Cron: coreClient.CompositeMapper = { +export const DiagnoseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Cron", + className: "DiagnoseResult", modelProperties: { - startTime: { - serializedName: "startTime", - nullable: true, + code: { + serializedName: "code", + readOnly: true, type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + level: { + serializedName: "level", + readOnly: true, type: { name: "String", }, }, - expression: { - serializedName: "expression", + message: { + serializedName: "message", + readOnly: true, type: { name: "String", }, @@ -7155,134 +7021,139 @@ export const Cron: coreClient.CompositeMapper = { }, }; -export const ScheduleBase: coreClient.CompositeMapper = { +export const EndpointResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const EndpointResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleBase", + className: "EndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: { + serializedName: "endpointType", + clientName: "endpointType", + }, modelProperties: { - id: { - serializedName: "id", - nullable: true, + associatedResourceId: { + serializedName: "associatedResourceId", type: { name: "String", }, }, - provisioningStatus: { - serializedName: "provisioningStatus", + deployments: { + serializedName: "deployments", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, }, }, - status: { - serializedName: "status", + endpointType: { + serializedName: "endpointType", + required: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceContainer", - modelProperties: { - name: { - serializedName: "name", + endpointUri: { + serializedName: "endpointUri", type: { name: "String", }, }, - autosave: { - serializedName: "autosave", + failureReason: { + serializedName: "failureReason", type: { name: "String", }, }, - gpu: { - serializedName: "gpu", + location: { + serializedName: "location", type: { name: "String", }, }, - network: { - serializedName: "network", + name: { + serializedName: "name", type: { name: "String", }, }, - environment: { - serializedName: "environment", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + name: "String", }, }, - services: { - serializedName: "services", - readOnly: true, + shouldCreateAiServicesEndpoint: { + serializedName: "shouldCreateAiServicesEndpoint", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, + name: "Boolean", }, }, }, }, }; -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { +export const EndpointKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "EndpointKeys", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - version: { - serializedName: "version", + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "AccountApiKeys", }, }, }, }, }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const AccountApiKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "AccountApiKeys", modelProperties: { - caching: { - serializedName: "caching", + key1: { + serializedName: "key1", type: { name: "String", }, }, - diskSizeGB: { - serializedName: "diskSizeGB", - type: { - name: "Number", - }, - }, - lun: { - serializedName: "lun", - type: { - name: "Number", - }, - }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + key2: { + serializedName: "key2", type: { name: "String", }, @@ -7291,61 +7162,92 @@ export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { +export const RegenerateServiceAccountKeyContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "RegenerateServiceAccountKeyContent", modelProperties: { - source: { - serializedName: "source", + keyName: { + serializedName: "keyName", type: { name: "String", }, }, - sourceType: { - serializedName: "sourceType", + }, + }, +}; + +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListWorkspaceKeysResult", + modelProperties: { + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", + readOnly: true, type: { name: "String", }, }, - mountName: { - serializedName: "mountName", + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", type: { - name: "String", + name: "Composite", + className: "RegistryListCredentialsResult", }, }, - mountAction: { - serializedName: "mountAction", + notebookAccessKeys: { + serializedName: "notebookAccessKeys", type: { - name: "String", + name: "Composite", + className: "ListNotebookKeysResult", }, }, - createdBy: { - serializedName: "createdBy", + userStorageArmId: { + serializedName: "userStorageArmId", + readOnly: true, type: { name: "String", }, }, - mountPath: { - serializedName: "mountPath", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, }, - mountState: { - serializedName: "mountState", + }, + }, +}; + +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryListCredentialsResult", + modelProperties: { + location: { + serializedName: "location", + readOnly: true, type: { name: "String", }, }, - mountedOn: { - serializedName: "mountedOn", + passwords: { + serializedName: "passwords", type: { - name: "DateTime", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, }, }, - error: { - serializedName: "error", + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, @@ -7354,125 +7256,109 @@ export const ComputeInstanceDataMount: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceVersion: coreClient.CompositeMapper = { +export const Password: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceVersion", + className: "Password", modelProperties: { - runtime: { - serializedName: "runtime", - nullable: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceSchema", - modelProperties: { - properties: { - serializedName: "properties", + value: { + serializedName: "value", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceProperties", + name: "String", }, }, }, }, }; -export const VirtualMachineSchema: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchema", + className: "ListNotebookKeysResult", modelProperties: { - properties: { - serializedName: "properties", + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSchemaProperties", + name: "String", + }, + }, + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchemaProperties", + className: "NotebookAccessTokenResult", modelProperties: { - virtualMachineSize: { - serializedName: "virtualMachineSize", + accessToken: { + serializedName: "accessToken", + readOnly: true, type: { name: "String", }, }, - sshPort: { - serializedName: "sshPort", + expiresIn: { + serializedName: "expiresIn", + readOnly: true, type: { name: "Number", }, }, - notebookServerPort: { - serializedName: "notebookServerPort", + hostName: { + serializedName: "hostName", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - address: { - serializedName: "address", + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - administratorAccount: { - serializedName: "administratorAccount", + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSshCredentials", + name: "String", }, }, - isNotebookInstanceCompute: { - serializedName: "isNotebookInstanceCompute", + refreshToken: { + serializedName: "refreshToken", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - }, - }, -}; - -export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSshCredentials", - modelProperties: { - username: { - serializedName: "username", + scope: { + serializedName: "scope", + readOnly: true, type: { name: "String", }, }, - password: { - serializedName: "password", - type: { - name: "String", - }, - }, - publicKeyData: { - serializedName: "publicKeyData", - type: { - name: "String", - }, - }, - privateKeyData: { - serializedName: "privateKeyData", + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { name: "String", }, @@ -7481,229 +7367,204 @@ export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { }, }; -export const HDInsightProperties: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightProperties", + className: "ListStorageAccountKeysResult", modelProperties: { - sshPort: { - serializedName: "sshPort", - type: { - name: "Number", - }, - }, - address: { - serializedName: "address", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, }, - administratorAccount: { - serializedName: "administratorAccount", + }, + }, +}; + +export const ExternalFqdnResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExternalFqdnResponse", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Composite", - className: "VirtualMachineSshCredentials", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointsPropertyBag", + }, + }, }, }, }, }, }; -export const HDInsightSchema: coreClient.CompositeMapper = { +export const FqdnEndpointsPropertyBag: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightSchema", + className: "FqdnEndpointsPropertyBag", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "HDInsightProperties", + className: "FqdnEndpoints", }, }, }, }, }; -export const DatabricksProperties: coreClient.CompositeMapper = { +export const FqdnEndpoints: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksProperties", + className: "FqdnEndpoints", modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + category: { + serializedName: "category", type: { name: "String", }, }, - workspaceUrl: { - serializedName: "workspaceUrl", + endpoints: { + serializedName: "endpoints", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpoint", + }, + }, }, }, }, }, }; -export const DatabricksSchema: coreClient.CompositeMapper = { +export const FqdnEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksSchema", + className: "FqdnEndpoint", modelProperties: { - properties: { - serializedName: "properties", + domainName: { + serializedName: "domainName", type: { - name: "Composite", - className: "DatabricksProperties", + name: "String", + }, + }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, }, }, }, }, }; -export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { +export const FqdnEndpointDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchema", + className: "FqdnEndpointDetail", modelProperties: { - properties: { - serializedName: "properties", + port: { + serializedName: "port", type: { - name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + name: "Number", }, }, }, }, }; -export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { +export const OutboundRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "OutboundRuleListResult", modelProperties: { - dataLakeStoreAccountName: { - serializedName: "dataLakeStoreAccountName", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + }, + }, + }, + }, }, }, }; -export const SynapseSparkProperties: coreClient.CompositeMapper = { +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSparkProperties", + className: "PrivateEndpointConnectionListResult", modelProperties: { - autoScaleProperties: { - serializedName: "autoScaleProperties", - type: { - name: "Composite", - className: "AutoScaleProperties", - }, - }, - autoPauseProperties: { - serializedName: "autoPauseProperties", - type: { - name: "Composite", - className: "AutoPauseProperties", - }, - }, - sparkVersion: { - serializedName: "sparkVersion", - type: { - name: "String", - }, - }, - nodeCount: { - serializedName: "nodeCount", - type: { - name: "Number", - }, - }, - nodeSize: { - serializedName: "nodeSize", - type: { - name: "String", - }, - }, - nodeSizeFamily: { - serializedName: "nodeSizeFamily", - type: { - name: "String", - }, - }, - subscriptionId: { - serializedName: "subscriptionId", - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - type: { - name: "String", - }, - }, - workspaceName: { - serializedName: "workspaceName", - type: { - name: "String", - }, - }, - poolName: { - serializedName: "poolName", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, }, }, }, }, }; -export const AutoScaleProperties: coreClient.CompositeMapper = { +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoScaleProperties", + className: "PrivateLinkResourceListResult", modelProperties: { - minNodeCount: { - serializedName: "minNodeCount", - type: { - name: "Number", - }, - }, - enabled: { - serializedName: "enabled", - type: { - name: "Boolean", - }, - }, - maxNodeCount: { - serializedName: "maxNodeCount", + value: { + serializedName: "value", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource", + }, + }, }, }, }, }, }; -export const AutoPauseProperties: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoPauseProperties", + className: "ManagedNetworkProvisionOptions", modelProperties: { - delayInMinutes: { - serializedName: "delayInMinutes", - type: { - name: "Number", - }, - }, - enabled: { - serializedName: "enabled", + includeSpark: { + serializedName: "includeSpark", type: { name: "Boolean", }, @@ -7712,26 +7573,14 @@ export const AutoPauseProperties: coreClient.CompositeMapper = { }, }; -export const AksComputeSecretsProperties: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecretsProperties", + className: "ResourceId", modelProperties: { - userKubeConfig: { - serializedName: "userKubeConfig", - type: { - name: "String", - }, - }, - adminKubeConfig: { - serializedName: "adminKubeConfig", - type: { - name: "String", - }, - }, - imagePullSecretName: { - serializedName: "imagePullSecretName", - nullable: true, + id: { + serializedName: "id", + required: true, type: { name: "String", }, @@ -7740,77 +7589,96 @@ export const AksComputeSecretsProperties: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { +export const AKSSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecretsSchema", + className: "AKSSchema", modelProperties: { - administratorAccount: { - serializedName: "administratorAccount", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "VirtualMachineSshCredentials", + className: "AKSSchemaProperties", }, }, }, }, }; -export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { +export const AKSSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksComputeSecretsProperties", + className: "AKSSchemaProperties", modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const IdleShutdownSetting: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IdleShutdownSetting", - modelProperties: { - idleTimeBeforeShutdown: { - serializedName: "idleTimeBeforeShutdown", + systemServices: { + serializedName: "systemServices", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService", + }, + }, + }, + }, + agentCount: { + constraints: { + InclusiveMinimum: 0, + }, + serializedName: "agentCount", + nullable: true, + type: { + name: "Number", + }, + }, + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const PrivateEndpointDestination: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointDestination", - modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { name: "String", }, }, - sparkEnabled: { - serializedName: "sparkEnabled", + sslConfiguration: { + serializedName: "sslConfiguration", type: { - name: "Boolean", + name: "Composite", + className: "SslConfiguration", }, }, - sparkStatus: { - serializedName: "sparkStatus", + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", + type: { + name: "Composite", + className: "AksNetworkingConfiguration", + }, + }, + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", type: { name: "String", }, }, - subresourceTarget: { - serializedName: "subresourceTarget", + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", + nullable: true, type: { name: "String", }, @@ -7819,43 +7687,28 @@ export const PrivateEndpointDestination: coreClient.CompositeMapper = { }, }; -export const ServiceTagDestination: coreClient.CompositeMapper = { +export const SystemService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagDestination", + className: "SystemService", modelProperties: { - action: { - serializedName: "action", - type: { - name: "String", - }, - }, - addressPrefixes: { - serializedName: "addressPrefixes", + systemServiceType: { + serializedName: "systemServiceType", readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - portRanges: { - serializedName: "portRanges", type: { name: "String", }, }, - protocol: { - serializedName: "protocol", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { name: "String", }, }, - serviceTag: { - serializedName: "serviceTag", + version: { + serializedName: "version", + readOnly: true, type: { name: "String", }, @@ -7864,114 +7717,95 @@ export const ServiceTagDestination: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { +export const SslConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword", + className: "SslConfiguration", modelProperties: { - username: { - serializedName: "username", + status: { + serializedName: "status", type: { name: "String", }, }, - password: { - serializedName: "password", + cert: { + serializedName: "cert", + nullable: true, type: { name: "String", }, }, - securityToken: { - serializedName: "securityToken", + key: { + serializedName: "key", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", - }, + cname: { + serializedName: "cname", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", - }, + leafDomainLabel: { + serializedName: "leafDomainLabel", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionAccountKey", - modelProperties: { - key: { - serializedName: "key", + overwriteExistingDomain: { + serializedName: "overwriteExistingDomain", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { +export const AksNetworkingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionManagedIdentity", + className: "AksNetworkingConfiguration", modelProperties: { - resourceId: { - serializedName: "resourceId", + subnetId: { + serializedName: "subnetId", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + serviceCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), + }, + serializedName: "serviceCidr", type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionAccessKey", - modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + dnsServiceIP: { + constraints: { + Pattern: new RegExp( + "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + ), + }, + serializedName: "dnsServiceIP", type: { name: "String", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + ), + }, + serializedName: "dockerBridgeCidr", type: { name: "String", }, @@ -7980,398 +7814,276 @@ export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionApiKey", - modelProperties: { - key: { - serializedName: "key", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const CustomKeys: coreClient.CompositeMapper = { +export const KubernetesSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomKeys", + className: "KubernetesSchema", modelProperties: { - keys: { - serializedName: "keys", + properties: { + serializedName: "properties", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "KubernetesProperties", }, }, }, }, }; -export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { +export const KubernetesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionOAuth2", + className: "KubernetesProperties", modelProperties: { - authUrl: { - serializedName: "authUrl", + relayConnectionString: { + serializedName: "relayConnectionString", + nullable: true, type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + serviceBusConnectionString: { + serializedName: "serviceBusConnectionString", + nullable: true, type: { - name: "Uuid", + name: "String", }, }, - clientSecret: { - serializedName: "clientSecret", + extensionPrincipalId: { + serializedName: "extensionPrincipalId", + nullable: true, type: { name: "String", }, }, - developerToken: { - serializedName: "developerToken", + extensionInstanceReleaseTrain: { + serializedName: "extensionInstanceReleaseTrain", type: { name: "String", }, }, - password: { - serializedName: "password", + vcName: { + serializedName: "vcName", type: { name: "String", }, }, - refreshToken: { - serializedName: "refreshToken", + namespace: { + defaultValue: "default", + serializedName: "namespace", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + defaultInstanceType: { + serializedName: "defaultInstanceType", type: { name: "String", }, }, - username: { - serializedName: "username", + instanceTypes: { + serializedName: "instanceTypes", type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Composite", className: "InstanceTypeSchema" }, + }, }, }, }, }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const InstanceTypeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "InstanceTypeSchema", modelProperties: { - clientId: { - serializedName: "clientId", - type: { - name: "String", - }, - }, - clientSecret: { - serializedName: "clientSecret", + nodeSelector: { + serializedName: "nodeSelector", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - tenantId: { - serializedName: "tenantId", + resources: { + serializedName: "resources", type: { - name: "String", + name: "Composite", + className: "InstanceTypeSchemaResources", }, }, }, }, }; -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { +export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", - }, + className: "InstanceTypeSchemaResources", modelProperties: { - filterType: { - serializedName: "filterType", - required: true, + requests: { + serializedName: "requests", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", - }, - modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", - required: true, + limits: { + serializedName: "limits", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const AmlComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "AmlComputeProperties", modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", - required: true, + osType: { + defaultValue: "Linux", + serializedName: "osType", type: { name: "String", }, }, - mode: { - serializedName: "mode", + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - }, - }, -}; - -export const AssetJobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetJobOutput", - modelProperties: { - uri: { - serializedName: "uri", - nullable: true, + vmPriority: { + serializedName: "vmPriority", type: { name: "String", }, }, - mode: { - serializedName: "mode", + virtualMachineImage: { + serializedName: "virtualMachineImage", type: { - name: "String", + name: "Composite", + className: "VirtualMachineImage", }, }, - }, - }, -}; - -export const ForecastHorizon: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + isolatedNetwork: { + serializedName: "isolatedNetwork", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const AutoMLVertical: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, - modelProperties: { - taskType: { - serializedName: "taskType", - required: true, + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String", + name: "Composite", + className: "ScaleSettings", }, }, - logVerbosity: { - serializedName: "logVerbosity", + userAccountCredentials: { + serializedName: "userAccountCredentials", type: { - name: "String", + name: "Composite", + className: "UserAccountCredentials", }, }, - trainingData: { - serializedName: "trainingData", + subnet: { + serializedName: "subnet", type: { name: "Composite", - className: "MLTableJobInput", + className: "ResourceId", }, }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, + remoteLoginPortPublicAccess: { + defaultValue: "NotSpecified", + serializedName: "remoteLoginPortPublicAccess", 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: { + allocationState: { + serializedName: "allocationState", + readOnly: true, + type: { name: "String", }, }, - description: { - serializedName: "description", + allocationStateTransitionTime: { + serializedName: "allocationStateTransitionTime", + readOnly: true, + type: { + name: "DateTime", + }, + }, + errors: { + serializedName: "errors", + readOnly: true, nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - }, - }, -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, - modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, + currentNodeCount: { + serializedName: "currentNodeCount", + readOnly: true, + nullable: true, type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "description", + targetNodeCount: { + serializedName: "targetNodeCount", + readOnly: true, nullable: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const QueueSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "QueueSettings", - modelProperties: { - jobTier: { - serializedName: "jobTier", + nodeStateCounts: { + serializedName: "nodeStateCounts", type: { - name: "String", + name: "Composite", + className: "NodeStateCounts", }, }, - }, - }, -}; - -export const NCrossValidations: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + enableNodePublicIp: { + defaultValue: true, + serializedName: "enableNodePublicIp", + nullable: true, type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const Seasonality: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + propertyBag: { + serializedName: "propertyBag", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const TargetLags: coreClient.CompositeMapper = { +export const VirtualMachineImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "VirtualMachineImage", modelProperties: { - mode: { - serializedName: "mode", + id: { + serializedName: "id", required: true, type: { name: "String", @@ -8381,42 +8093,26 @@ export const TargetLags: coreClient.CompositeMapper = { }, }; -export const TargetRollingWindowSize: coreClient.CompositeMapper = { +export const UserAccountCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "UserAccountCredentials", modelProperties: { - mode: { - serializedName: "mode", + adminUserName: { + serializedName: "adminUserName", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const AzureDatastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AzureDatastore", - modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, + adminUserSshPublicKey: { + serializedName: "adminUserSshPublicKey", type: { name: "String", }, }, - resourceGroup: { - serializedName: "resourceGroup", - nullable: true, + adminUserPassword: { + serializedName: "adminUserPassword", type: { name: "String", }, @@ -8425,422 +8121,320 @@ export const AzureDatastore: coreClient.CompositeMapper = { }, }; -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { +export const NodeStateCounts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType", - }, + className: "NodeStateCounts", modelProperties: { - policyType: { - serializedName: "policyType", - required: true, + idleNodeCount: { + serializedName: "idleNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", + runningNodeCount: { + serializedName: "runningNodeCount", + readOnly: true, type: { name: "Number", }, }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, type: { name: "Number", }, }, - }, - }, -}; - -export const SamplingAlgorithm: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType", - }, - modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataDriftMetricThresholdBase", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, - modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - threshold: { - serializedName: "threshold", + preemptedNodeCount: { + serializedName: "preemptedNodeCount", + readOnly: true, type: { - name: "Composite", - className: "MonitoringThreshold", + name: "Number", }, }, }, }, }; -export const MonitoringThreshold: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringThreshold", + className: "AmlComputeSchema", modelProperties: { - value: { - serializedName: "value", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "AmlComputeProperties", }, }, }, }, }; -export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataQualityMetricThresholdBase", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "ComputeInstanceProperties", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + subnet: { + serializedName: "subnet", type: { name: "Composite", - className: "MonitoringThreshold", + className: "ResourceId", }, }, - }, - }, -}; - -export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PredictionDriftMetricThresholdBase", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, - modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + autologgerSettings: { + serializedName: "autologgerSettings", type: { name: "Composite", - className: "MonitoringThreshold", - }, - }, - }, - }, -}; - -export const TrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrainingSettings", - modelProperties: { - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", - type: { - name: "Boolean", + className: "ComputeInstanceAutologgerSettings", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + sshSettings: { + serializedName: "sshSettings", type: { name: "Composite", - className: "StackEnsembleSettings", + className: "ComputeInstanceSshSettings", }, }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", + customServices: { + serializedName: "customServices", + nullable: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, }, }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "Boolean", + name: "Composite", + className: "ImageMetadata", }, }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "TimeSpan", + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + applications: { + serializedName: "applications", + readOnly: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + }, + }, }, }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + createdBy: { + serializedName: "createdBy", type: { - name: "Boolean", + name: "Composite", + className: "ComputeInstanceCreatedBy", }, }, - }, - }, -}; - -export const StackEnsembleSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "StackEnsembleSettings", - modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + errors: { + serializedName: "errors", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + state: { + serializedName: "state", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, - }, - }, -}; - -export const TableVertical: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TableVertical", - modelProperties: { - limitSettings: { - serializedName: "limitSettings", + enableOSPatching: { + defaultValue: false, + serializedName: "enableOSPatching", + nullable: true, type: { - name: "Composite", - className: "TableVerticalLimitSettings", + name: "Boolean", }, }, - nCrossValidations: { - serializedName: "nCrossValidations", + enableRootAccess: { + defaultValue: true, + serializedName: "enableRootAccess", + nullable: true, type: { - name: "Composite", - className: "NCrossValidations", + name: "Boolean", }, }, - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", + enableSSO: { + defaultValue: true, + serializedName: "enableSSO", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Boolean", }, }, - weightColumnName: { - serializedName: "weightColumnName", + releaseQuotaOnStop: { + defaultValue: false, + serializedName: "releaseQuotaOnStop", nullable: true, type: { - name: "String", + name: "Boolean", }, }, - validationData: { - serializedName: "validationData", + personalComputeInstanceSettings: { + serializedName: "personalComputeInstanceSettings", type: { name: "Composite", - className: "MLTableJobInput", + className: "PersonalComputeInstanceSettings", }, }, - testData: { - serializedName: "testData", + setupScripts: { + serializedName: "setupScripts", type: { name: "Composite", - className: "MLTableJobInput", - }, - }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, - type: { - name: "Number", + className: "SetupScripts", }, }, - testDataSize: { - serializedName: "testDataSize", - nullable: true, + lastOperation: { + serializedName: "lastOperation", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceLastOperation", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + schedules: { + serializedName: "schedules", type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", + className: "ComputeSchedules", }, }, - }, - }, -}; - -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", + enableNodePublicIp: { + serializedName: "enableNodePublicIp", + nullable: true, type: { - name: "TimeSpan", + name: "Boolean", }, }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + containers: { + serializedName: "containers", + readOnly: true, + nullable: true, type: { - name: "TimeSpan", - }, - }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", - }, - }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", - type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + }, + }, }, }, - exitScore: { - serializedName: "exitScore", + dataDisks: { + serializedName: "dataDisks", + readOnly: true, nullable: true, type: { - name: "Number", - }, - }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", - type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk", + }, + }, }, }, - }, - }, -}; - -export const ColumnTransformer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ColumnTransformer", - modelProperties: { - fields: { - serializedName: "fields", + dataMounts: { + serializedName: "dataMounts", + readOnly: true, nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "ComputeInstanceDataMount", }, }, }, }, - parameters: { - serializedName: "parameters", - nullable: true, + versions: { + serializedName: "versions", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "ComputeInstanceVersion", }, }, }, }, }; -export const FeaturizationSettings: coreClient.CompositeMapper = { +export const ComputeInstanceAutologgerSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturizationSettings", + className: "ComputeInstanceAutologgerSettings", modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", - nullable: true, + mlflowAutologger: { + serializedName: "mlflowAutologger", type: { name: "String", }, @@ -8849,170 +8443,193 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { }, }; -export const DistributionConfiguration: coreClient.CompositeMapper = { +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType", - }, + className: "ComputeInstanceSshSettings", modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", type: { name: "String", }, }, - }, - }, -}; - -export const JobLimits: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType", - }, - modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, + adminUserName: { + serializedName: "adminUserName", + readOnly: true, type: { name: "String", }, }, - timeout: { - serializedName: "timeout", - nullable: true, + sshPort: { + serializedName: "sshPort", + readOnly: true, type: { - name: "TimeSpan", + name: "Number", + }, + }, + adminPublicKey: { + serializedName: "adminPublicKey", + type: { + name: "String", }, }, }, }, }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const ImageMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "ImageMetadata", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", + currentImageVersion: { + serializedName: "currentImageVersion", type: { - name: "Composite", - className: "ContainerResourceSettings", + name: "String", }, }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + latestImageVersion: { + serializedName: "latestImageVersion", + type: { + name: "String", + }, + }, + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", + type: { + name: "Boolean", + }, + }, + osPatchingStatus: { + serializedName: "osPatchingStatus", type: { name: "Composite", - className: "ContainerResourceSettings", + className: "OsPatchingStatus", }, }, }, }, }; -export const ContainerResourceSettings: coreClient.CompositeMapper = { +export const OsPatchingStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceSettings", + className: "OsPatchingStatus", modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + patchStatus: { + serializedName: "patchStatus", type: { name: "String", }, }, - memory: { - serializedName: "memory", - nullable: true, + latestPatchTime: { + serializedName: "latestPatchTime", type: { name: "String", }, }, - gpu: { - serializedName: "gpu", - nullable: true, + rebootPending: { + serializedName: "rebootPending", + type: { + name: "Boolean", + }, + }, + scheduledRebootTime: { + serializedName: "scheduledRebootTime", type: { name: "String", }, }, + osPatchingErrors: { + serializedName: "osPatchingErrors", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, + }, + }, }, }, }; -export const MonitorDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorDefinition", - modelProperties: { - monitoringTarget: { - serializedName: "monitoringTarget", - type: { - name: "Composite", - className: "MonitoringTarget", +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + modelProperties: { + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", + }, }, - }, - signals: { - serializedName: "signals", - required: true, - type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "MonitoringSignalBase" }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String", }, }, }, - computeConfiguration: { - serializedName: "computeConfiguration", + }, + }; + +export const ComputeInstanceApplication: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + modelProperties: { + displayName: { + serializedName: "displayName", type: { - name: "Composite", - className: "MonitorComputeConfigurationBase", + name: "String", }, }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", + endpointUri: { + serializedName: "endpointUri", type: { - name: "Composite", - className: "MonitorNotificationSettings", + name: "String", }, }, }, }, }; -export const MonitoringTarget: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringTarget", + className: "ComputeInstanceCreatedBy", modelProperties: { - modelId: { - serializedName: "modelId", + userName: { + serializedName: "userName", + readOnly: true, nullable: true, type: { name: "String", }, }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, + userOrgId: { + serializedName: "userOrgId", + readOnly: true, type: { name: "String", }, }, - taskType: { - serializedName: "taskType", - required: true, + userId: { + serializedName: "userId", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -9021,200 +8638,142 @@ export const MonitoringTarget: coreClient.CompositeMapper = { }, }; -export const MonitoringSignalBase: coreClient.CompositeMapper = { +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, + className: "PersonalComputeInstanceSettings", modelProperties: { - signalType: { - serializedName: "signalType", - required: true, - type: { - name: "String", - }, - }, - notificationTypes: { - serializedName: "notificationTypes", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - properties: { - serializedName: "properties", - nullable: true, + assignedUser: { + serializedName: "assignedUser", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "AssignedUser", }, }, }, }, }; -export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { +export const AssignedUser: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeConfigurationBase", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "AssignedUser", modelProperties: { - computeType: { - serializedName: "computeType", + objectId: { + serializedName: "objectId", required: true, type: { name: "String", }, }, - }, - }, -}; - -export const MonitorNotificationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorNotificationSettings", - modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", + name: "String", }, }, }, }, }; -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { +export const SetupScripts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "SetupScripts", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + scripts: { + serializedName: "scripts", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ScriptsToExecute", }, }, }, }, }; -export const CustomMetricThreshold: coreClient.CompositeMapper = { +export const ScriptsToExecute: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMetricThreshold", + className: "ScriptsToExecute", modelProperties: { - threshold: { - serializedName: "threshold", + startupScript: { + serializedName: "startupScript", type: { name: "Composite", - className: "MonitoringThreshold", + className: "ScriptReference", }, }, - metric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "metric", - required: true, + creationScript: { + serializedName: "creationScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", }, }, }, }, }; -export const MonitoringInputDataBase: coreClient.CompositeMapper = { +export const ScriptReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringInputDataBase", - uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: { - serializedName: "inputDataType", - clientName: "inputDataType", - }, + className: "ScriptReference", modelProperties: { - inputDataType: { - serializedName: "inputDataType", - required: true, + scriptSource: { + serializedName: "scriptSource", type: { name: "String", }, }, - dataContext: { - serializedName: "dataContext", - nullable: true, + scriptData: { + serializedName: "scriptData", type: { name: "String", }, }, - jobInputType: { - serializedName: "jobInputType", - required: true, + scriptArguments: { + serializedName: "scriptArguments", type: { name: "String", }, }, - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", - required: true, + timeout: { + serializedName: "timeout", type: { name: "String", }, }, - columns: { - serializedName: "columns", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; -export const FeatureImportanceSettings: coreClient.CompositeMapper = { +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureImportanceSettings", + className: "ComputeInstanceLastOperation", modelProperties: { - mode: { - serializedName: "mode", + operationName: { + serializedName: "operationName", type: { name: "String", }, }, - targetColumn: { - serializedName: "targetColumn", - nullable: true, + operationTime: { + serializedName: "operationTime", + type: { + name: "DateTime", + }, + }, + operationStatus: { + serializedName: "operationStatus", + type: { + name: "String", + }, + }, + operationTrigger: { + serializedName: "operationTrigger", type: { name: "String", }, @@ -9223,679 +8782,804 @@ export const FeatureImportanceSettings: coreClient.CompositeMapper = { }, }; -export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { +export const ComputeSchedules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureAttributionMetricThreshold", + className: "ComputeSchedules", modelProperties: { - threshold: { - serializedName: "threshold", - type: { - name: "Composite", - className: "MonitoringThreshold", - }, - }, - metric: { - serializedName: "metric", - required: true, + computeStartStop: { + serializedName: "computeStartStop", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + }, + }, }, }, }, }, }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "ComputeStartStopSchedule", modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", + id: { + serializedName: "id", + readOnly: true, nullable: true, type: { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { name: "String", }, }, - targetLags: { - serializedName: "targetLags", + status: { + serializedName: "status", type: { - name: "Composite", - className: "TargetLags", + name: "String", }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + action: { + serializedName: "action", type: { - name: "Composite", - className: "TargetRollingWindowSize", + name: "String", }, }, - forecastHorizon: { - serializedName: "forecastHorizon", + triggerType: { + serializedName: "triggerType", type: { - name: "Composite", - className: "ForecastHorizon", + name: "String", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, + recurrence: { + serializedName: "recurrence", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "Recurrence", }, }, - frequency: { - serializedName: "frequency", - nullable: true, + cron: { + serializedName: "cron", type: { - name: "String", + name: "Composite", + className: "Cron", }, }, - featureLags: { - serializedName: "featureLags", + schedule: { + serializedName: "schedule", type: { - name: "String", + name: "Composite", + className: "ScheduleBase", }, }, - seasonality: { - serializedName: "seasonality", + }, + }, +}; + +export const Recurrence: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Recurrence", + modelProperties: { + frequency: { + serializedName: "frequency", type: { - name: "Composite", - className: "Seasonality", + name: "String", }, }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + interval: { + serializedName: "interval", type: { - name: "String", + name: "Number", }, }, - useStl: { - serializedName: "useStl", + startTime: { + serializedName: "startTime", + nullable: true, type: { name: "String", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { name: "String", }, }, - cvStepSize: { - serializedName: "cvStepSize", - nullable: true, + schedule: { + serializedName: "schedule", type: { - name: "Number", + name: "Composite", + className: "ComputeRecurrenceSchedule", }, }, }, }, }; -export const ImageModelSettings: coreClient.CompositeMapper = { +export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettings", + className: "ComputeRecurrenceSchedule", modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, + hours: { + serializedName: "hours", + required: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - advancedSettings: { - serializedName: "advancedSettings", - nullable: true, + minutes: { + serializedName: "minutes", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - augmentations: { - serializedName: "augmentations", + monthDays: { + serializedName: "monthDays", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - beta1: { - serializedName: "beta1", + weekDays: { + serializedName: "weekDays", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - beta2: { - serializedName: "beta2", + }, + }, +}; + +export const Cron: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Cron", + modelProperties: { + startTime: { + serializedName: "startTime", nullable: true, type: { - name: "Number", + name: "String", }, }, - checkpointFrequency: { - serializedName: "checkpointFrequency", - nullable: true, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Number", + name: "String", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, + expression: { + serializedName: "expression", type: { name: "String", }, }, - checkpointModel: { - serializedName: "checkpointModel", + }, + }, +}; + +export const ScheduleBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleBase", + modelProperties: { + id: { + serializedName: "id", + nullable: true, type: { - name: "Composite", - className: "MLFlowModelJobInput", + name: "String", }, }, - distributed: { - serializedName: "distributed", - nullable: true, + provisioningStatus: { + serializedName: "provisioningStatus", type: { - name: "Boolean", + name: "String", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + status: { + serializedName: "status", type: { - name: "Boolean", + name: "String", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + }, + }, +}; + +export const ComputeInstanceContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Number", + name: "String", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + autosave: { + serializedName: "autosave", type: { - name: "Number", + name: "String", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + gpu: { + serializedName: "gpu", type: { - name: "Number", + name: "String", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + network: { + serializedName: "network", type: { - name: "Boolean", + name: "String", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + environment: { + serializedName: "environment", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + services: { + serializedName: "services", + readOnly: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + }, + }, +}; + +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Number", + name: "String", }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + version: { + serializedName: "version", type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, + }, + }, +}; + +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk", + modelProperties: { + caching: { + serializedName: "caching", type: { name: "String", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + diskSizeGB: { + serializedName: "diskSizeGB", type: { name: "Number", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, - type: { - name: "Boolean", - }, - }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + lun: { + serializedName: "lun", type: { name: "Number", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", type: { - name: "Number", + name: "String", }, }, - optimizer: { - serializedName: "optimizer", + }, + }, +}; + +export const ComputeInstanceVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceVersion", + modelProperties: { + runtime: { + serializedName: "runtime", + nullable: true, type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + }, + }, +}; + +export const ComputeInstanceSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceProperties", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "VirtualMachineSchemaProperties", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + }, + }, +}; + +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchemaProperties", + modelProperties: { + virtualMachineSize: { + serializedName: "virtualMachineSize", type: { - name: "Number", + name: "String", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + sshPort: { + serializedName: "sshPort", type: { name: "Number", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + notebookServerPort: { + serializedName: "notebookServerPort", type: { name: "Number", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number", + name: "String", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Number", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { - name: "Number", + name: "Boolean", }, }, }, }, }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "VirtualMachineSshCredentials", modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, - type: { - name: "String", - }, - }, - augmentations: { - serializedName: "augmentations", - nullable: true, + username: { + serializedName: "username", type: { name: "String", }, }, - beta1: { - serializedName: "beta1", - nullable: true, + password: { + serializedName: "password", type: { name: "String", }, }, - beta2: { - serializedName: "beta2", - nullable: true, + publicKeyData: { + serializedName: "publicKeyData", type: { name: "String", }, }, - distributed: { - serializedName: "distributed", - nullable: true, + privateKeyData: { + serializedName: "privateKeyData", type: { name: "String", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + }, + }, +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { - name: "String", + name: "Number", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + address: { + serializedName: "address", type: { name: "String", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "String", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + }, + }, +}; + +export const HDInsightSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "HDInsightProperties", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + }, + }, +}; + +export const DatabricksProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { name: "String", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + workspaceUrl: { + serializedName: "workspaceUrl", type: { name: "String", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + }, + }, +}; + +export const DatabricksSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DatabricksProperties", }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + }, + }, +}; + +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", - nullable: true, + }, + }, +}; + +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + modelProperties: { + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, - type: { - name: "String", - }, - }, - momentum: { - serializedName: "momentum", - nullable: true, + }, + }, +}; + +export const SynapseSparkProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SynapseSparkProperties", + modelProperties: { + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { - name: "String", + name: "Composite", + className: "AutoScaleProperties", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { - name: "String", + name: "Composite", + className: "AutoPauseProperties", }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + sparkVersion: { + serializedName: "sparkVersion", type: { name: "String", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + nodeCount: { + serializedName: "nodeCount", type: { - name: "String", + name: "Number", }, }, - optimizer: { - serializedName: "optimizer", - nullable: true, + nodeSize: { + serializedName: "nodeSize", type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { name: "String", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + resourceGroup: { + serializedName: "resourceGroup", type: { name: "String", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + workspaceName: { + serializedName: "workspaceName", type: { name: "String", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + poolName: { + serializedName: "poolName", type: { name: "String", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + }, + }, +}; + +export const AutoScaleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoScaleProperties", + modelProperties: { + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "String", + name: "Number", }, }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ImageVertical: coreClient.CompositeMapper = { +export const AutoPauseProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "AutoPauseProperties", modelProperties: { - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "ImageLimitSettings", - }, - }, - sweepSettings: { - serializedName: "sweepSettings", - type: { - name: "Composite", - className: "ImageSweepSettings", - }, - }, - validationData: { - serializedName: "validationData", + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "Composite", - className: "MLTableJobInput", + name: "Number", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "Number", + name: "Boolean", }, }, }, }, }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "AksComputeSecretsProperties", modelProperties: { - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + userKubeConfig: { + serializedName: "userKubeConfig", type: { - name: "Number", + name: "String", }, }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + adminKubeConfig: { + serializedName: "adminKubeConfig", type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + imagePullSecretName: { + serializedName: "imagePullSecretName", + nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "VirtualMachineSecretsSchema", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "String", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - earlyTermination: { - serializedName: "earlyTermination", + }, + }, +}; + +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksComputeSecretsProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "String", }, }, }, }, }; -export const OneLakeArtifact: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OneLakeArtifact", - uberParent: "OneLakeArtifact", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", polymorphicDiscriminator: { - serializedName: "artifactType", - clientName: "artifactType", + serializedName: "filterType", + clientName: "filterType", }, modelProperties: { - artifactType: { - serializedName: "artifactType", + filterType: { + serializedName: "filterType", required: true, type: { name: "String", }, }, - artifactName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "artifactName", + }, + }, +}; + +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, + modelProperties: { + computeIdentityType: { + serializedName: "computeIdentityType", required: true, type: { name: "String", @@ -9905,84 +9589,73 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { }, }; -export const NlpVertical: coreClient.CompositeMapper = { +export const AssetJobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "AssetJobInput", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "NlpVerticalLimitSettings", + name: "String", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", - type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - validationData: { - serializedName: "validationData", + serializedName: "uri", + required: true, type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, }, }, }; -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "AssetJobOutput", modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + assetName: { + serializedName: "assetName", + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + mode: { + serializedName: "mode", type: { - name: "Number", + name: "String", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + uri: { + serializedName: "uri", + nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const Objective: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - primaryMetric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "primaryMetric", - required: true, - type: { - name: "String", - }, - }, - goal: { - serializedName: "goal", + mode: { + serializedName: "mode", required: true, type: { name: "String", @@ -9992,21 +9665,26 @@ export const Objective: coreClient.CompositeMapper = { }, }; -export const SparkResourceConfiguration: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkResourceConfiguration", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - instanceType: { - serializedName: "instanceType", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - runtimeVersion: { - defaultValue: "3.1", - serializedName: "runtimeVersion", + jobOutputType: { + serializedName: "jobOutputType", + required: true, type: { name: "String", }, @@ -10015,19 +9693,13 @@ export const SparkResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const SparkJobEntry: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkJobEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: { - serializedName: "sparkJobEntryType", - clientName: "sparkJobEntryType", - }, + className: "QueueSettings", modelProperties: { - sparkJobEntryType: { - serializedName: "sparkJobEntryType", - required: true, + jobTier: { + serializedName: "jobTier", type: { name: "String", }, @@ -10036,75 +9708,88 @@ export const SparkJobEntry: coreClient.CompositeMapper = { }, }; -export const TrialComponent: coreClient.CompositeMapper = { +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrialComponent", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", + }, modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + logVerbosity: { + serializedName: "logVerbosity", type: { name: "String", }, }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "command", - required: true, + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, type: { name: "String", }, }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "environmentId", + taskType: { + serializedName: "taskType", required: true, type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + trainingData: { + serializedName: "trainingData", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "MLTableJobInput", }, }, - distribution: { - serializedName: "distribution", + }, + }, +}; + +export const JobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", + }, + modelProperties: { + description: { + serializedName: "description", + nullable: true, type: { - name: "Composite", - className: "DistributionConfiguration", + name: "String", }, }, - resources: { - serializedName: "resources", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { - name: "Composite", - className: "JobResourceConfiguration", + name: "String", }, }, }, }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "NCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + mode: { + serializedName: "mode", + required: true, type: { name: "String", }, @@ -10113,314 +9798,500 @@ export const PrivateEndpointResource: coreClient.CompositeMapper = { }, }; -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, +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 PrivateEndpointConnection: coreClient.CompositeMapper = { +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + }, + }, +}; + +export const TargetRollingWindowSize: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, + modelProperties: { + mode: { + serializedName: "mode", + required: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sku: { - serializedName: "sku", + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + }, + }, +}; + +export const AzureOpenAiHyperParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + modelProperties: { + batchSize: { + serializedName: "batchSize", + nullable: true, type: { - name: "Composite", - className: "PrivateEndpoint", + name: "Number", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + learningRateMultiplier: { + serializedName: "learningRateMultiplier", + nullable: true, type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState", + name: "Number", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + nEpochs: { + serializedName: "nEpochs", + nullable: true, type: { - name: "String", + name: "Number", }, }, }, }, }; -export const Workspace: coreClient.CompositeMapper = { +export const FineTuningVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "FineTuningVertical", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: { + serializedName: "modelProvider", + clientName: "modelProvider", + }, modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + model: { + serializedName: "model", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "JobInput", }, }, - kind: { - serializedName: "kind", + modelProvider: { + serializedName: "modelProvider", + required: true, type: { name: "String", }, }, - location: { - serializedName: "location", + taskType: { + serializedName: "taskType", + required: true, type: { name: "String", }, }, - tags: { - serializedName: "tags", + trainingData: { + serializedName: "trainingData", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "JobInput", }, }, - sku: { - serializedName: "sku", + validationData: { + serializedName: "validationData", type: { name: "Composite", - className: "Sku", + className: "JobInput", }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + }, + }, +}; + +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType", + }, + modelProperties: { + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "String", + name: "Number", }, }, - description: { - serializedName: "properties.description", + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { - name: "String", + name: "Number", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + policyType: { + serializedName: "policyType", + required: true, type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + }, + }, +}; + +export const SamplingAlgorithm: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType", + }, + modelProperties: { + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", + required: true, type: { name: "String", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + }, + }, +}; + +export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataDriftMetricThresholdBase", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, + }, + }, +}; + +export const MonitoringThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringThreshold", + modelProperties: { + value: { + serializedName: "value", nullable: true, type: { - name: "String", + name: "Number", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + }, + }, +}; + +export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataQualityMetricThresholdBase", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + threshold: { + serializedName: "threshold", type: { - name: "String", + name: "Composite", + className: "MonitoringThreshold", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + }, + }, +}; + +export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, + modelProperties: { + dataType: { + serializedName: "dataType", + required: true, type: { name: "String", }, }, - encryption: { - serializedName: "properties.encryption", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "EncryptionProperty", + className: "MonitoringThreshold", }, }, - hbiWorkspace: { + }, + }, +}; + +export const TrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrainingSettings", + modelProperties: { + enableDnnTraining: { defaultValue: false, - serializedName: "properties.hbiWorkspace", + serializedName: "enableDnnTraining", type: { name: "Boolean", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "String", + name: "Boolean", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", type: { - name: "Number", + name: "Boolean", }, }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { - name: "String", + name: "Boolean", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { name: "Boolean", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "String", + name: "TimeSpan", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Composite", + className: "StackEnsembleSettings", }, }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", + }, + }, +}; + +export const StackEnsembleSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StackEnsembleSettings", + modelProperties: { + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, type: { - name: "Composite", - className: "ServerlessComputeSettings", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", + type: { + name: "Number", + }, + }, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TableVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVertical", + modelProperties: { + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SharedPrivateLinkResource", + name: "String", }, }, }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + featurizationSettings: { + serializedName: "featurizationSettings", type: { name: "Composite", - className: "NotebookResourceInfo", + className: "TableVerticalFeaturizationSettings", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + limitSettings: { + serializedName: "limitSettings", type: { name: "Composite", - className: "ServiceManagedResourcesSettings", - }, - }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", - type: { - name: "String", + className: "TableVerticalLimitSettings", }, }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "String", + name: "Composite", + className: "NCrossValidations", }, }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + testData: { + serializedName: "testData", type: { - name: "Boolean", + name: "Composite", + className: "MLTableJobInput", }, }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + testDataSize: { + serializedName: "testDataSize", + nullable: true, type: { - name: "String", + name: "Number", }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", + validationData: { + serializedName: "validationData", type: { - name: "Boolean", + name: "Composite", + className: "MLTableJobInput", }, }, - managedNetwork: { - serializedName: "properties.managedNetwork", + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Number", }, }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { - name: "Composite", - className: "FeatureStoreSettings", + name: "String", }, }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", + }, + }, +}; + +export const ColumnTransformer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ColumnTransformer", + modelProperties: { + fields: { + serializedName: "fields", + nullable: true, type: { name: "Sequence", element: { @@ -10430,724 +10301,3497 @@ export const Workspace: coreClient.CompositeMapper = { }, }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", - type: { - name: "Boolean", - }, - }, - hubResourceId: { - serializedName: "properties.hubResourceId", - type: { - name: "String", - }, - }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", + parameters: { + serializedName: "parameters", + nullable: true, type: { - name: "Composite", - className: "WorkspaceHubConfig", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const FeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "FeaturizationSettings", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - tags: { - serializedName: "tags", + datasetLanguage: { + serializedName: "datasetLanguage", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", + name: "String", }, }, }, }, }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "TableVerticalLimitSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "Boolean", }, }, - location: { - serializedName: "location", + exitScore: { + serializedName: "exitScore", + nullable: true, type: { - name: "String", + name: "Number", }, }, - tags: { - serializedName: "tags", + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - sku: { - serializedName: "sku", + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", type: { - name: "Composite", - className: "Sku", + name: "Number", }, }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", type: { - name: "String", + name: "Number", }, }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, }, }, }; -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 = { +export const DistributionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleBasicResource", + className: "DistributionConfiguration", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: { + serializedName: "distributionType", + clientName: "distributionType", + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + distributionType: { + serializedName: "distributionType", + required: true, type: { - name: "Composite", - className: "OutboundRule", + name: "String", }, }, }, }, }; -export const ProxyResource: coreClient.CompositeMapper = { +export const JobLimits: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties, + className: "JobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: { + serializedName: "jobLimitsType", + clientName: "jobLimitsType", }, - }, -}; - -export const TrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrackedResource", modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + jobLimitsType: { + serializedName: "jobLimitsType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - location: { - serializedName: "location", - required: true, + timeout: { + serializedName: "timeout", + nullable: true, type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { - serializedName: "PrivateEndpoint", +export const ContainerResourceRequirements: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "ContainerResourceRequirements", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { name: "Composite", - className: "PrivateEndpointDestination", + className: "ContainerResourceSettings", + }, + }, + containerResourceRequests: { + serializedName: "containerResourceRequests", + type: { + name: "Composite", + className: "ContainerResourceSettings", }, }, }, }, }; -export const ServiceTagOutboundRule: coreClient.CompositeMapper = { - serializedName: "ServiceTag", +export const ContainerResourceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "ContainerResourceSettings", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + cpu: { + serializedName: "cpu", + nullable: true, type: { - name: "Composite", - className: "ServiceTagDestination", + name: "String", + }, + }, + gpu: { + serializedName: "gpu", + nullable: true, + type: { + name: "String", + }, + }, + memory: { + serializedName: "memory", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const MonitorDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "MonitorDefinition", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + alertNotificationSettings: { + serializedName: "alertNotificationSettings", type: { - name: "String", + name: "Composite", + className: "MonitorNotificationSettings", + }, + }, + computeConfiguration: { + serializedName: "computeConfiguration", + type: { + name: "Composite", + className: "MonitorComputeConfigurationBase", + }, + }, + monitoringTarget: { + serializedName: "monitoringTarget", + type: { + name: "Composite", + className: "MonitoringTarget", + }, + }, + signals: { + serializedName: "signals", + required: true, + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringSignalBase" }, + }, }, }, }, }, }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", +export const MonitorNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MonitorNotificationSettings", modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties, + emailNotificationSettings: { + serializedName: "emailNotificationSettings", + type: { + name: "Composite", + className: "MonitorEmailNotificationSettings", + }, + }, }, }, }; -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MonitorEmailNotificationSettings", modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties, + emails: { + serializedName: "emails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const AmlCompute: coreClient.CompositeMapper = { - serializedName: "AmlCompute", +export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlCompute", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MonitorComputeConfigurationBase", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, modelProperties: { - ...Compute.type.modelProperties, - ...AmlComputeSchema.type.modelProperties, + computeType: { + serializedName: "computeType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", +export const MonitoringTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MonitoringTarget", modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties, + deploymentId: { + serializedName: "deploymentId", + nullable: true, + type: { + name: "String", + }, + }, + modelId: { + serializedName: "modelId", + nullable: true, + type: { + name: "String", + }, + }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties, + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: { + serializedName: "signalType", + clientName: "signalType", }, - }, -}; - -export const HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", - type: { - name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties, + notificationTypes: { + serializedName: "notificationTypes", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + signalType: { + serializedName: "signalType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const CustomMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "CustomMetricThreshold", modelProperties: { - ...Compute.type.modelProperties, + metric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const MonitoringInputDataBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties, + className: "MonitoringInputDataBase", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: { + serializedName: "inputDataType", + clientName: "inputDataType", }, - }, -}; - -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", - type: { - name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties, + columns: { + serializedName: "columns", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + dataContext: { + serializedName: "dataContext", + nullable: true, + type: { + name: "String", + }, + }, + inputDataType: { + serializedName: "inputDataType", + required: true, + type: { + name: "String", + }, + }, + jobInputType: { + serializedName: "jobInputType", + required: true, + type: { + name: "String", + }, + }, + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "uri", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const FeatureImportanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "FeatureImportanceSettings", modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "SynapseSparkProperties", + name: "String", + }, + }, + targetColumn: { + serializedName: "targetColumn", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "FeatureAttributionMetricThreshold", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const JobResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "JobResources", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties, + instanceTypes: { + serializedName: "instanceTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "ForecastingSettings", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties, - }, - }, -}; - -export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "PAT", - type: { - name: "Composite", - className: "PATAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - }, + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, + type: { + name: "String", }, }, - }, - }; - -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", - }, - }, + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, + type: { + name: "Number", + }, + }, + featureLags: { + serializedName: "featureLags", + type: { + name: "String", + }, + }, + forecastHorizon: { + serializedName: "forecastHorizon", + type: { + name: "Composite", + className: "ForecastHorizon", + }, + }, + frequency: { + serializedName: "frequency", + nullable: true, + type: { + name: "String", + }, + }, + seasonality: { + serializedName: "seasonality", + type: { + name: "Composite", + className: "Seasonality", + }, + }, + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", + type: { + name: "String", + }, + }, + targetAggregateFunction: { + serializedName: "targetAggregateFunction", + type: { + name: "String", + }, + }, + targetLags: { + serializedName: "targetLags", + type: { + name: "Composite", + className: "TargetLags", + }, + }, + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", + type: { + name: "Composite", + className: "TargetRollingWindowSize", + }, + }, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, + type: { + name: "String", + }, + }, + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + useStl: { + serializedName: "useStl", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelSettings", + modelProperties: { + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, + type: { + name: "String", + }, + }, + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "Boolean", + }, + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String", + }, + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "Number", + }, + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "Number", + }, + }, + checkpointFrequency: { + serializedName: "checkpointFrequency", + nullable: true, + type: { + name: "Number", + }, + }, + checkpointModel: { + serializedName: "checkpointModel", + type: { + name: "Composite", + className: "MLFlowModelJobInput", + }, + }, + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "Boolean", + }, + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "Boolean", + }, + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "Number", + }, + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "Number", + }, + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "Boolean", + }, + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "Number", + }, + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "Number", + }, + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "Number", + }, + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "Number", + }, + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + type: { + name: "String", + }, + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String", + }, + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "Number", + }, + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "Boolean", + }, + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "Number", + }, + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "Number", + }, + }, + optimizer: { + serializedName: "optimizer", + type: { + name: "String", + }, + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "Number", + }, + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "Number", + }, + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "Number", + }, + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "Number", + }, + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "Number", + }, + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "Number", + }, + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "Number", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ImageModelDistributionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettings", + modelProperties: { + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "String", + }, + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String", + }, + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "String", + }, + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "String", + }, + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "String", + }, + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "String", + }, + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "String", + }, + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "String", + }, + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "String", + }, + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "String", + }, + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "String", + }, + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "String", + }, + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "String", + }, + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + nullable: true, + type: { + name: "String", + }, + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String", + }, + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "String", + }, + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "String", + }, + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "String", + }, + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "String", + }, + }, + optimizer: { + serializedName: "optimizer", + nullable: true, + type: { + name: "String", + }, + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "String", + }, + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "String", + }, + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "String", + }, + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "String", + }, + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "String", + }, + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageVertical", + modelProperties: { + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "ImageLimitSettings", + }, + }, + sweepSettings: { + serializedName: "sweepSettings", + type: { + name: "Composite", + className: "ImageSweepSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ImageLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const ImageSweepSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageSweepSettings", + modelProperties: { + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + }, + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OneLakeArtifact: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OneLakeArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: { + serializedName: "artifactType", + clientName: "artifactType", + }, + modelProperties: { + artifactName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "artifactName", + required: true, + type: { + name: "String", + }, + }, + artifactType: { + serializedName: "artifactType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NlpVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVertical", + modelProperties: { + featurizationSettings: { + serializedName: "featurizationSettings", + type: { + name: "Composite", + className: "NlpVerticalFeaturizationSettings", + }, + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, + }, + }, +}; + +export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number", + }, + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number", + }, + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const Objective: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Objective", + modelProperties: { + goal: { + serializedName: "goal", + required: true, + type: { + name: "String", + }, + }, + primaryMetric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "primaryMetric", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SparkJobEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType", + }, + modelProperties: { + sparkJobEntryType: { + serializedName: "sparkJobEntryType", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SparkResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkResourceConfiguration", + modelProperties: { + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + runtimeVersion: { + defaultValue: "3.1", + serializedName: "runtimeVersion", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TrialComponent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrialComponent", + modelProperties: { + codeId: { + serializedName: "codeId", + nullable: true, + type: { + name: "String", + }, + }, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "command", + required: true, + type: { + name: "String", + }, + }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "environmentId", + required: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + modelProperties: { + accessKeyId: { + serializedName: "accessKeyId", + type: { + name: "String", + }, + }, + secretAccessKey: { + serializedName: "secretAccessKey", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + modelProperties: { + key: { + serializedName: "key", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + modelProperties: { + key: { + serializedName: "key", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CapacityConfig: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapacityConfig", + modelProperties: { + minimum: { + serializedName: "minimum", + type: { + name: "Number", + }, + }, + maximum: { + serializedName: "maximum", + type: { + name: "Number", + }, + }, + step: { + serializedName: "step", + type: { + name: "Number", + }, + }, + default: { + serializedName: "default", + type: { + name: "Number", + }, + }, + allowedValues: { + serializedName: "allowedValues", + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + }, + }, +}; + +export const CognitiveServiceEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "CognitiveServiceEndpointDeploymentResourceProperties", + modelProperties: { + model: { + serializedName: "model", + type: { + name: "Composite", + className: "EndpointDeploymentModel", + }, + }, + raiPolicyName: { + serializedName: "raiPolicyName", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "CognitiveServicesSku", + }, + }, + versionUpgradeOption: { + serializedName: "versionUpgradeOption", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const EndpointDeploymentModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointDeploymentModel", + modelProperties: { + format: { + serializedName: "format", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + source: { + serializedName: "source", + type: { + name: "String", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CognitiveServicesSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CognitiveServicesSku", + modelProperties: { + capacity: { + serializedName: "capacity", + type: { + name: "Number", + }, + }, + family: { + serializedName: "family", + type: { + name: "String", + }, + }, + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + size: { + serializedName: "size", + type: { + name: "String", + }, + }, + tier: { + serializedName: "tier", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessEndpointContentSafety: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointContentSafety", + modelProperties: { + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CustomKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomKeys", + modelProperties: { + keys: { + serializedName: "keys", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + clientId: { + serializedName: "clientId", + type: { + name: "String", + }, + }, + resourceId: { + serializedName: "resourceId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessEndpointModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + modelProperties: { + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + modelProperties: { + authUrl: { + serializedName: "authUrl", + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + type: { + name: "Uuid", + }, + }, + clientSecret: { + serializedName: "clientSecret", + type: { + name: "String", + }, + }, + developerToken: { + serializedName: "developerToken", + type: { + name: "String", + }, + }, + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + refreshToken: { + serializedName: "refreshToken", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const PrivateEndpointDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointDestination", + modelProperties: { + serviceResourceId: { + serializedName: "serviceResourceId", + type: { + name: "String", + }, + }, + sparkEnabled: { + serializedName: "sparkEnabled", + type: { + name: "Boolean", + }, + }, + sparkStatus: { + serializedName: "sparkStatus", + type: { + name: "String", + }, + }, + subresourceTarget: { + serializedName: "subresourceTarget", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ServerlessEndpointCapacityReservation: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + modelProperties: { + capacityReservationGroupId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "capacityReservationGroupId", + required: true, + type: { + name: "String", + }, + }, + endpointReservedCapacity: { + serializedName: "endpointReservedCapacity", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ServerlessEndpointInferenceEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointInferenceEndpoint", + modelProperties: { + headers: { + serializedName: "headers", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + uri: { + serializedName: "uri", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessOffer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessOffer", + modelProperties: { + offerName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "offerName", + required: true, + type: { + name: "String", + }, + }, + publisher: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "publisher", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + modelProperties: { + clientId: { + serializedName: "clientId", + type: { + name: "String", + }, + }, + clientSecret: { + serializedName: "clientSecret", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServiceTagDestination: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServiceTagDestination", + modelProperties: { + action: { + serializedName: "action", + type: { + name: "String", + }, + }, + addressPrefixes: { + serializedName: "addressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + portRanges: { + serializedName: "portRanges", + type: { + name: "String", + }, + }, + protocol: { + serializedName: "protocol", + type: { + name: "String", + }, + }, + serviceTag: { + serializedName: "serviceTag", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + modelProperties: { + password: { + serializedName: "password", + type: { + name: "String", + }, + }, + securityToken: { + serializedName: "securityToken", + type: { + name: "String", + }, + }, + username: { + serializedName: "username", + type: { + name: "String", + }, + }, + }, + }, +}; + +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: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + }, + }, +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties, + }, + }, +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + location: { + serializedName: "location", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "WorkspacePrivateEndpointResource", + }, + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Workspace: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Workspace", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + agentsEndpointUri: { + serializedName: "properties.agentsEndpointUri", + readOnly: true, + type: { + name: "String", + }, + }, + allowPublicAccessWhenBehindVnet: { + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean", + }, + }, + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", + type: { + name: "Boolean", + }, + }, + applicationInsights: { + serializedName: "properties.applicationInsights", + type: { + name: "String", + }, + }, + associatedWorkspaces: { + serializedName: "properties.associatedWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + containerRegistries: { + serializedName: "properties.containerRegistries", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + containerRegistry: { + serializedName: "properties.containerRegistry", + type: { + name: "String", + }, + }, + description: { + serializedName: "properties.description", + type: { + name: "String", + }, + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", + type: { + name: "String", + }, + }, + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", + type: { + name: "Boolean", + }, + }, + enableServiceSideCMKEncryption: { + serializedName: "properties.enableServiceSideCMKEncryption", + type: { + name: "Boolean", + }, + }, + enableSimplifiedCmk: { + serializedName: "properties.enableSimplifiedCmk", + type: { + name: "Boolean", + }, + }, + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", + type: { + name: "Boolean", + }, + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionProperty", + }, + }, + existingWorkspaces: { + serializedName: "properties.existingWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", + type: { + name: "Composite", + className: "FeatureStoreSettings", + }, + }, + friendlyName: { + serializedName: "properties.friendlyName", + type: { + name: "String", + }, + }, + hbiWorkspace: { + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean", + }, + }, + hubResourceId: { + serializedName: "properties.hubResourceId", + type: { + name: "String", + }, + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String", + }, + }, + ipAllowlist: { + serializedName: "properties.ipAllowlist", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "String", + }, + }, + keyVaults: { + serializedName: "properties.keyVaults", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + managedNetwork: { + serializedName: "properties.managedNetwork", + type: { + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, + type: { + name: "String", + }, + }, + networkAcls: { + serializedName: "properties.networkAcls", + type: { + name: "Composite", + className: "NetworkAcls", + }, + }, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo", + }, + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", + type: { + name: "String", + }, + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, + }, + }, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, + type: { + name: "Number", + }, + }, + provisionNetworkNow: { + serializedName: "properties.provisionNetworkNow", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String", + }, + }, + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", + type: { + name: "Composite", + className: "ServerlessComputeSettings", + }, + }, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings", + }, + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String", + }, + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource", + }, + }, + }, + }, + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", + type: { + name: "Number", + }, + }, + storageAccount: { + serializedName: "properties.storageAccount", + type: { + name: "String", + }, + }, + storageAccounts: { + serializedName: "properties.storageAccounts", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean", + }, + }, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", + type: { + name: "String", + }, + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String", + }, + }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", + }, + }, + workspaceHubConfig: { + serializedName: "properties.workspaceHubConfig", + type: { + name: "Composite", + className: "WorkspaceHubConfig", + }, + }, + workspaceId: { + serializedName: "properties.workspaceId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", + }, + }, + }, + }, + }; + +export const EndpointDeploymentResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EndpointDeploymentResourceProperties", + }, + }, + }, + }, + }; + +export const RaiBlocklistPropertiesBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RaiBlocklistProperties", + }, + }, + }, + }, +}; + +export const RaiBlocklistItemPropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RaiBlocklistItemProperties", + }, + }, + }, + }, + }; + +export const RaiPolicyPropertiesBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RaiPolicyProperties", + }, + }, + }, + }, +}; + +export const EndpointResourcePropertiesBasicResource: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointResourcePropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EndpointResourceProperties", + }, + }, + }, + }, + }; + +export const OutboundRuleBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OutboundRule", + }, + }, + }, + }, +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + groupId: { + serializedName: "properties.groupId", + type: { + name: "String", + }, + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const Aks: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "Aks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AKSSchema.type.modelProperties, + }, + }, +}; + +export const Kubernetes: coreClient.CompositeMapper = { + serializedName: "Kubernetes", + type: { + name: "Composite", + className: "Kubernetes", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...KubernetesSchema.type.modelProperties, + }, + }, +}; + +export const AmlCompute: coreClient.CompositeMapper = { + serializedName: "AmlCompute", + type: { + name: "Composite", + className: "AmlCompute", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AmlComputeSchema.type.modelProperties, + }, + }, +}; + +export const ComputeInstance: coreClient.CompositeMapper = { + serializedName: "ComputeInstance", + type: { + name: "Composite", + className: "ComputeInstance", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...ComputeInstanceSchema.type.modelProperties, + }, + }, +}; + +export const VirtualMachine: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachine", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...VirtualMachineSchema.type.modelProperties, + }, + }, +}; + +export const HDInsight: coreClient.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + className: "HDInsight", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...HDInsightSchema.type.modelProperties, + }, + }, +}; + +export const DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", + type: { + name: "Composite", + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + }, + }, +}; + +export const Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties, + }, + }, +}; + +export const DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", + type: { + name: "Composite", + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DataLakeAnalyticsSchema.type.modelProperties, + }, + }, +}; + +export const SynapseSpark: coreClient.CompositeMapper = { + serializedName: "SynapseSpark", + type: { + name: "Composite", + className: "SynapseSpark", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "SynapseSparkProperties", + }, + }, + }, + }, +}; + +export const AksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "AksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...AksComputeSecretsProperties.type.modelProperties, + }, + }, +}; + +export const VirtualMachineSecrets: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachineSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...VirtualMachineSecretsSchema.type.modelProperties, + }, + }, +}; + +export const DatabricksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "DatabricksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...DatabricksComputeSecretsProperties.type.modelProperties, + }, + }, +}; + +export const 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 CapabilityHostProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapabilityHostProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + aiServicesConnections: { + serializedName: "aiServicesConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + capabilityHostKind: { + serializedName: "capabilityHostKind", + type: { + name: "String", + }, + }, + customerSubnet: { + serializedName: "customerSubnet", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + storageConnections: { + serializedName: "storageConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + vectorStoreConnections: { + serializedName: "vectorStoreConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, }, }, - }; + }, +}; -export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "UsernamePassword", - type: { - name: "Composite", - className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword", - }, +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", + type: { + name: "Composite", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials", + }, + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String", + }, + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const FeatureProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeatureProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, + featureName: { + serializedName: "featureName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", + type: { + name: "Composite", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType", + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + componentId: { + serializedName: "componentId", + nullable: true, + type: { + name: "String", + }, + }, + computeId: { + serializedName: "computeId", + nullable: true, + type: { + name: "String", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", + type: { + name: "String", + }, + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityConfiguration", + }, + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean", + }, + }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String", + }, + }, + notificationSetting: { + serializedName: "notificationSetting", + type: { + name: "Composite", + className: "NotificationSetting", + }, + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", + }, + }, + }, + }, +}; + +export const SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: + PendingUploadCredentialDto.type.polymorphicDiscriminator, + modelProperties: { + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AnonymousAccessCredential: coreClient.CompositeMapper = { + serializedName: "NoCredentials", + type: { + name: "Composite", + className: "AnonymousAccessCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + }, + }, +}; + +export const DockerCredential: coreClient.CompositeMapper = { + serializedName: "DockerCredentials", + type: { + name: "Composite", + className: "DockerCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + password: { + serializedName: "password", + nullable: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "None", - type: { - name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityTenantId: { + serializedName: "userManagedIdentityTenantId", + nullable: true, + type: { + name: "String", + }, }, }, - }; + }, +}; -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - }, +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: + DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AAD", - type: { - name: "Composite", - className: "AADAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, +export const BatchEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", + type: { + name: "Composite", + className: "BatchEndpointDefaults", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, }, }, - }; + }, +}; -export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AccessKey", - type: { - name: "Composite", - className: "AccessKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionAccessKey", - }, +export const OnlineEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, }, }, }, - }; + }, +}; -export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { - serializedName: "AccountKey", type: { name: "Composite", - className: "AccountKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "PartialMinimalTrackedResourceWithIdentity", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "WorkspaceConnectionAccountKey", + className: "PartialManagedServiceIdentity", }, }, }, }, }; -export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = { - serializedName: "ApiKey", type: { name: "Composite", - className: "ApiKeyAuthWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "PartialMinimalTrackedResourceWithSkuAndIdentity", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "WorkspaceConnectionApiKey", + className: "PartialManagedServiceIdentity", }, }, - }, - }, - }; - -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", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "CustomKeys", + className: "PartialSku", }, }, }, }, }; -export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { - serializedName: "OAuth2", type: { name: "Composite", - className: "OAuth2AuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "PartialMinimalTrackedResourceWithSku", modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", type: { name: "Composite", - className: "WorkspaceConnectionOAuth2", + className: "PartialSku", }, }, }, }, }; -export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", + serializedName: "PipelineComponent", type: { name: "Composite", - className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + BatchDeploymentConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...BatchDeploymentConfiguration.type.modelProperties, + componentId: { + serializedName: "componentId", type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "IdAssetReference", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const AssetContainer: coreClient.CompositeMapper = { +export const IdAssetReference: coreClient.CompositeMapper = { + serializedName: "Id", type: { name: "Composite", - className: "AssetContainer", + className: "IdAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...AssetReferenceBase.type.modelProperties, + assetId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "assetId", + required: true, type: { - name: "Boolean", + name: "String", }, }, - latestVersion: { - serializedName: "latestVersion", - 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", }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, + path: { + serializedName: "path", nullable: true, type: { name: "String", @@ -11157,82 +13801,62 @@ export const AssetContainer: coreClient.CompositeMapper = { }, }; -export const AssetBase: coreClient.CompositeMapper = { +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", type: { name: "Composite", - className: "AssetBase", + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + path: { + serializedName: "path", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType", - }, + className: "DeploymentResourceConfiguration", modelProperties: { - ...ResourceBase.type.modelProperties, - datastoreType: { - serializedName: "datastoreType", - required: true, - type: { - name: "String", - }, - }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean", - }, - }, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "DatastoreCredentials", - }, - }, + ...ResourceConfiguration.type.modelProperties, }, }, }; -export const FeatureProperties: coreClient.CompositeMapper = { +export const JobResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureProperties", + className: "JobResourceConfiguration", modelProperties: { - ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", nullable: true, type: { name: "String", }, }, - dataType: { - serializedName: "dataType", + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]"), + }, + serializedName: "shmSize", type: { name: "String", }, @@ -11241,463 +13865,375 @@ export const FeatureProperties: coreClient.CompositeMapper = { }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const BatchDeploymentProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType", - }, + className: "BatchDeploymentProperties", modelProperties: { - ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", - required: true, + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", - nullable: true, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", type: { - name: "String", + name: "Composite", + className: "BatchDeploymentConfiguration", }, }, - status: { - serializedName: "status", - readOnly: true, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", type: { - name: "String", + name: "Number", }, }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + loggingLevel: { + serializedName: "loggingLevel", type: { name: "String", }, }, - services: { - serializedName: "services", - nullable: true, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, + name: "Number", }, }, - computeId: { - serializedName: "computeId", - nullable: true, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", + type: { + name: "Number", + }, + }, + model: { + serializedName: "model", + type: { + name: "Composite", + className: "AssetReferenceBase", + }, + }, + outputAction: { + serializedName: "outputAction", type: { name: "String", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", type: { - name: "Boolean", + name: "String", }, }, - identity: { - serializedName: "identity", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "IdentityConfiguration", + name: "String", }, }, - componentId: { - serializedName: "componentId", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "String", + name: "Composite", + className: "DeploymentResourceConfiguration", }, }, - notificationSetting: { - serializedName: "notificationSetting", + retrySettings: { + serializedName: "retrySettings", type: { name: "Composite", - className: "NotificationSetting", + className: "BatchRetrySettings", }, }, }, }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", type: { name: "Composite", - className: "ScheduleProperties", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType", + }, modelProperties: { - ...ResourceBase.type.modelProperties, - displayName: { - serializedName: "displayName", - nullable: true, - type: { - name: "String", - }, - }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", type: { name: "Boolean", }, }, - trigger: { - serializedName: "trigger", + dataCollector: { + serializedName: "dataCollector", type: { name: "Composite", - className: "TriggerBase", + className: "DataCollector", }, }, - action: { - serializedName: "action", + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", type: { - name: "Composite", - className: "ScheduleActionBase", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, type: { name: "String", }, }, - }, - }, -}; - -export const SASCredentialDto: coreClient.CompositeMapper = { - serializedName: "SAS", - type: { - name: "Composite", - className: "SASCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: - PendingUploadCredentialDto.type.polymorphicDiscriminator, - modelProperties: { - ...PendingUploadCredentialDto.type.modelProperties, - sasUri: { - serializedName: "sasUri", + instanceType: { + serializedName: "instanceType", nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const AnonymousAccessCredential: coreClient.CompositeMapper = { - serializedName: "NoCredentials", - type: { - name: "Composite", - className: "AnonymousAccessCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, - }, - }, -}; - -export const DockerCredential: coreClient.CompositeMapper = { - serializedName: "DockerCredentials", - type: { - name: "Composite", - className: "DockerCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, - userName: { - serializedName: "userName", - nullable: true, + livenessProbe: { + serializedName: "livenessProbe", type: { - name: "String", + name: "Composite", + className: "ProbeSettings", }, }, - password: { - serializedName: "password", + model: { + serializedName: "model", nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const ManagedIdentityCredential: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentityCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, - managedIdentityType: { - serializedName: "managedIdentityType", + modelMountPath: { + serializedName: "modelMountPath", nullable: true, type: { name: "String", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", - nullable: true, + readinessProbe: { + serializedName: "readinessProbe", type: { - name: "String", + name: "Composite", + className: "ProbeSettings", }, }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", - nullable: true, + requestSettings: { + serializedName: "requestSettings", type: { - name: "String", + name: "Composite", + className: "OnlineRequestSettings", }, }, - userManagedIdentityTenantId: { - serializedName: "userManagedIdentityTenantId", - nullable: true, + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String", + name: "Composite", + className: "OnlineScaleSettings", }, }, }, }, }; -export const SASCredential: coreClient.CompositeMapper = { - serializedName: "SAS", +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "SASCredential", - uberParent: "DataReferenceCredential", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...DataReferenceCredential.type.modelProperties, - sasUri: { - serializedName: "sasUri", - nullable: true, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { - name: "String", + name: "Composite", + className: "AccountKeyDatastoreSecrets", }, }, }, }, }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", - type: { - name: "Composite", - className: "BatchEndpointDefaults", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const OnlineEndpointProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnlineEndpointProperties", - modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + clientId: { + serializedName: "clientId", + required: true, type: { - name: "String", + name: "Uuid", }, }, - compute: { - serializedName: "compute", + resourceUrl: { + serializedName: "resourceUrl", nullable: true, type: { name: "String", }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + secrets: { + serializedName: "secrets", type: { - name: "String", + name: "Composite", + className: "CertificateDatastoreSecrets", }, }, - traffic: { - serializedName: "traffic", - nullable: true, + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "Uuid", }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", - nullable: true, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "thumbprint", + required: true, type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "String", }, }, }, }, }; -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, - }, - }, +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, }, - }; + }, +}; -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "SasDatastoreSecrets", }, }, }, - }; + }, +}; -export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithSkuAndIdentity", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - identity: { - serializedName: "identity", + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, type: { - name: "Composite", - className: "PartialManagedServiceIdentity", + 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", + clientId: { + serializedName: "clientId", + required: true, type: { - name: "Composite", - className: "IdAssetReference", + name: "Uuid", }, }, - description: { - serializedName: "description", + resourceUrl: { + serializedName: "resourceUrl", nullable: true, type: { name: "String", }, }, - settings: { - serializedName: "settings", - nullable: true, + secrets: { + serializedName: "secrets", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", }, }, - tags: { - serializedName: "tags", - nullable: true, + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Uuid", }, }, }, }, }; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "assetId", - required: true, + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, type: { name: "String", }, @@ -11706,24 +14242,17 @@ export const IdAssetReference: coreClient.CompositeMapper = { }, }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, - type: { - name: "String", - }, - }, - datastoreId: { - serializedName: "datastoreId", + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", nullable: true, type: { name: "String", @@ -11733,24 +14262,37 @@ export const DataPathAssetReference: coreClient.CompositeMapper = { }, }; -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", nullable: true, type: { name: "String", }, }, - jobId: { - serializedName: "jobId", + }, + }, +}; + +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", @@ -11760,35 +14302,69 @@ export const OutputPathAssetReference: coreClient.CompositeMapper = { }, }; -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", type: { name: "Composite", - className: "DeploymentResourceConfiguration", + className: "AzureDevOpsWebhook", + uberParent: "Webhook", + polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties, + ...Webhook.type.modelProperties, + }, + }, +}; + +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", + type: { + name: "Composite", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, + type: { + name: "String", + }, + }, + interval: { + serializedName: "interval", + required: true, + type: { + name: "Number", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + }, + }, }, }, }; -export const JobResourceConfiguration: coreClient.CompositeMapper = { +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties, - shmSize: { - defaultValue: "2g", + ...TriggerBase.type.modelProperties, + expression: { constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]"), - }, - serializedName: "shmSize", - type: { - name: "String", + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - dockerArgs: { - serializedName: "dockerArgs", - nullable: true, + serializedName: "expression", + required: true, type: { name: "String", }, @@ -11797,701 +14373,896 @@ export const JobResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const InferencePoolProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "InferencePoolProperties", modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, + ...PropertiesBase.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - deploymentConfiguration: { - serializedName: "deploymentConfiguration", - type: { - name: "Composite", - className: "BatchDeploymentConfiguration", - }, - }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", - type: { - name: "Number", - }, - }, - retrySettings: { - serializedName: "retrySettings", + scaleUnitConfiguration: { + serializedName: "scaleUnitConfiguration", type: { name: "Composite", - className: "BatchRetrySettings", - }, - }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", - type: { - name: "Number", + className: "ScaleUnitConfiguration", }, }, - loggingLevel: { - serializedName: "loggingLevel", + }, + }, +}; + +export const InferenceEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceEndpointProperties", + modelProperties: { + ...PropertiesBase.type.modelProperties, + authMode: { + serializedName: "authMode", + required: true, type: { name: "String", }, }, - model: { - serializedName: "model", + endpointUri: { + serializedName: "endpointUri", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "AssetReferenceBase", + name: "String", }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", - type: { - name: "Number", + groupName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - outputAction: { - serializedName: "outputAction", + serializedName: "groupName", + required: true, type: { name: "String", }, }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - resources: { - serializedName: "resources", + requestConfiguration: { + serializedName: "requestConfiguration", type: { name: "Composite", - className: "DeploymentResourceConfiguration", - }, - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", + className: "RequestConfiguration", }, }, }, }, }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const InferenceGroupProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType", - }, + className: "InferenceGroupProperties", modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, - type: { - name: "String", - }, - }, - scaleSettings: { - serializedName: "scaleSettings", + ...PropertiesBase.type.modelProperties, + environmentConfiguration: { + serializedName: "environmentConfiguration", type: { name: "Composite", - className: "OnlineScaleSettings", + className: "GroupEnvironmentConfiguration", }, }, - requestSettings: { - serializedName: "requestSettings", + modelConfiguration: { + serializedName: "modelConfiguration", type: { name: "Composite", - className: "OnlineRequestSettings", + className: "GroupModelConfiguration", }, }, - modelMountPath: { - serializedName: "modelMountPath", + nodeSkuType: { + serializedName: "nodeSkuType", nullable: true, type: { name: "String", }, }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Boolean", + name: "String", }, }, - livenessProbe: { - serializedName: "livenessProbe", + scaleUnitSize: { + serializedName: "scaleUnitSize", type: { - name: "Composite", - className: "ProbeSettings", + name: "Number", }, }, - readinessProbe: { - serializedName: "readinessProbe", + }, + }, +}; + +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: "Composite", - className: "ProbeSettings", + name: "Uuid", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + objectId: { + serializedName: "objectId", + nullable: true, type: { - name: "String", + name: "Uuid", }, }, - instanceType: { - serializedName: "instanceType", + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String", }, }, - model: { - serializedName: "model", - nullable: true, + }, + }, +}; + +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", + type: { + name: "Composite", + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + modelProperties: { + ...Nodes.type.modelProperties, + }, + }, +}; + +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + }, + }, +}; + +export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { + serializedName: "TargetUtilization", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", + type: { + name: "Number", + }, + }, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", type: { - name: "String", + name: "Number", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", type: { - name: "String", + name: "TimeSpan", }, }, - dataCollector: { - serializedName: "dataCollector", + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", type: { - name: "Composite", - className: "DataCollector", + name: "Number", }, }, }, }, }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", + className: "MonitorDefinition", }, }, }, }, }; -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", type: { name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.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", + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", required: true, type: { - name: "Uuid", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - clientId: { - serializedName: "clientId", - required: true, + }, + }, +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", type: { - name: "Uuid", + name: "Composite", + className: "JobBaseProperties", }, }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "thumbprint", - required: true, + }, + }, +}; + +export const PrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointResource", + modelProperties: { + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", + nullable: true, type: { name: "String", }, }, - secrets: { - serializedName: "secrets", + }, + }, +}; + +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", + type: { + name: "Composite", + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", type: { - name: "Composite", - className: "CertificateDatastoreSecrets", + name: "String", }, }, }, }, }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", type: { name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, + fqdns: { + serializedName: "fqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", type: { name: "Composite", - className: "SasDatastoreSecrets", + className: "ServiceTagDestination", + }, + }, + }, + }, +}; + +export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AAD", + type: { + name: "Composite", + className: "AADAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, + }; + +export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AccessKey", + type: { + name: "Composite", + className: "AccessKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + }, + }, + }, + }, + }; + +export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + }, + }, + }, + }, + }; + +export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "ApiKey", + type: { + name: "Composite", + className: "ApiKeyAuthWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + }, }, }, }, - }, -}; + }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = +export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", + serializedName: "CustomKeys", type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "CustomKeysWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + WorkspaceConnectionPropertiesV2.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, + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", type: { - name: "Uuid", + name: "Composite", + className: "CustomKeys", }, }, - secrets: { - serializedName: "secrets", + }, + }, + }; + +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: "ServicePrincipalDatastoreSecrets", + className: "WorkspaceConnectionManagedIdentity", }, }, }, }, }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", - type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, - type: { - name: "String", - }, +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, }, }, - }, -}; + }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", - nullable: true, - type: { - name: "String", +export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "OAuth2", + type: { + name: "Composite", + className: "OAuth2AuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + }, }, }, }, - }, -}; + }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", - type: { - name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, - type: { - name: "String", +export const 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 ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", - type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", - nullable: true, - type: { - name: "String", +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = + { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, }, }, }, - }, -}; + }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", - type: { - name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, - modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, - type: { - name: "String", +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", + }, }, }, - interval: { - serializedName: "interval", - required: true, - type: { - name: "Number", + }, + }; + +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", + }, }, }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "RecurrenceSchedule", - }, + }, + }; + +export const ContentSafetyEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, }, }, - }, -}; + }; -export const 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, +export const ManagedOnlineEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointDeploymentResourceProperties.type.modelProperties, + endpointComputeType: { + serializedName: "endpointComputeType", + type: { + name: "String", + }, }, - serializedName: "expression", - required: true, - type: { - name: "String", + model: { + serializedName: "model", + type: { + name: "String", + }, }, }, }, - }, -}; + }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", - type: { - name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, - modelProperties: { - ...Webhook.type.modelProperties, +export const OpenAIEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, }, - }, -}; + }; -export const AllNodes: coreClient.CompositeMapper = { - serializedName: "All", - type: { - name: "Composite", - className: "AllNodes", - uberParent: "Nodes", - polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, - modelProperties: { - ...Nodes.type.modelProperties, +export const SpeechEndpointDeploymentResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.Speech", + type: { + name: "Composite", + className: "SpeechEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: + EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type + .modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, }, - }, -}; + }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", - type: { - name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, +export const ContentSafetyEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, }, - }, -}; + }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", - type: { - name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", - nullable: true, - type: { - name: "Uuid", +export const ManagedOnlineEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, }, - }, - objectId: { - serializedName: "objectId", - nullable: true, - type: { - name: "Uuid", + compute: { + serializedName: "compute", + type: { + name: "String", + }, }, - }, - resourceId: { - serializedName: "resourceId", - nullable: true, - type: { - name: "String", + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, }, }, }, - }, -}; + }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const OpenAIEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.OpenAI", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", + className: "OpenAIEndpointResourceProperties", + uberParent: "EndpointResourceProperties", polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, - }, - }, -}; - -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", - type: { - name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + EndpointResourceProperties.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, + ...EndpointResourceProperties.type.modelProperties, }, }, }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", - type: { - name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, - modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", - type: { - name: "TimeSpan", +export const ServerlessEndpointResourceProperties: coreClient.CompositeMapper = + { + serializedName: "serverlessEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, }, - }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", - type: { - name: "Number", + capacityReservation: { + serializedName: "capacityReservation", + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + }, }, - }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", - type: { - name: "Number", + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ServerlessEndpointContentSafety", + }, }, - }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", - type: { - name: "Number", + endpointState: { + serializedName: "endpointState", + type: { + name: "String", + }, }, - }, - }, - }, -}; - -export const CreateMonitorAction: coreClient.CompositeMapper = { - serializedName: "CreateMonitor", - type: { - name: "Composite", - className: "CreateMonitorAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, - modelProperties: { - ...ScheduleActionBase.type.modelProperties, - monitorDefinition: { - serializedName: "monitorDefinition", - type: { - name: "Composite", - className: "MonitorDefinition", + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + type: { + name: "String", + }, }, - }, - }, - }, -}; - -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", - type: { - name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, - modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } }, + metadata: { + serializedName: "metadata", + type: { + name: "any", + }, + }, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + }, + }, + offer: { + serializedName: "offer", + type: { + name: "Composite", + className: "ServerlessOffer", + }, }, }, }, - }, -}; + }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const SpeechEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.Speech", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "SpeechEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: + EndpointResourceProperties.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", - type: { - name: "Composite", - className: "JobBaseProperties", - }, - }, + ...EndpointResourceProperties.type.modelProperties, }, }, }; @@ -12803,6 +15574,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 +15594,6 @@ export const Classification: coreClient.CompositeMapper = { className: "ClassificationTrainingSettings", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -12837,12 +15608,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 +15615,12 @@ export const Forecasting: coreClient.CompositeMapper = { className: "ForecastingSettings", }, }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, trainingSettings: { serializedName: "trainingSettings", type: { @@ -13311,6 +16082,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 +16099,6 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", - type: { - name: "String", - }, - }, }, }, }; @@ -13342,17 +16113,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 +16131,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 +16180,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 +16198,6 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String", - }, - }, protocol: { serializedName: "protocol", nullable: true, @@ -13444,6 +16215,47 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { }, }; +export const AzureOpenAiFineTuning: coreClient.CompositeMapper = { + serializedName: "AzureOpenAI", + type: { + name: "Composite", + className: "AzureOpenAiFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + type: { + name: "Composite", + className: "AzureOpenAiHyperParameters", + }, + }, + }, + }, +}; + +export const CustomModelFineTuning: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomModelFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, + modelProperties: { + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + export const BanditPolicy: coreClient.CompositeMapper = { serializedName: "Bandit", type: { @@ -13454,16 +16266,16 @@ export const BanditPolicy: coreClient.CompositeMapper = { EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { ...EarlyTerminationPolicy.type.modelProperties, - slackFactor: { + slackAmount: { defaultValue: 0, - serializedName: "slackFactor", + serializedName: "slackAmount", type: { name: "Number", }, }, - slackAmount: { + slackFactor: { defaultValue: 0, - serializedName: "slackAmount", + serializedName: "slackFactor", type: { name: "Number", }, @@ -13542,6 +16354,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 +16367,6 @@ export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { name: "Number", }, }, - rule: { - serializedName: "rule", - type: { - name: "String", - }, - }, }, }, }; @@ -13796,12 +16608,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 +16628,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 +16656,6 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { }, }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", - type: { - name: "Boolean", - }, - }, }, }, }; @@ -13910,16 +16722,16 @@ export const TensorFlow: coreClient.CompositeMapper = { DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { ...DistributionConfiguration.type.modelProperties, - workerCount: { - serializedName: "workerCount", - nullable: true, + parameterServerCount: { + defaultValue: 0, + serializedName: "parameterServerCount", type: { name: "Number", }, }, - parameterServerCount: { - defaultValue: 0, - serializedName: "parameterServerCount", + workerCount: { + serializedName: "workerCount", + nullable: true, type: { name: "Number", }, @@ -13950,6 +16762,13 @@ export const SweepJobLimits: coreClient.CompositeMapper = { polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { ...JobLimits.type.modelProperties, + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", + nullable: true, + type: { + name: "Number", + }, + }, maxTotalTrials: { serializedName: "maxTotalTrials", nullable: true, @@ -13957,18 +16776,54 @@ export const SweepJobLimits: coreClient.CompositeMapper = { name: "Number", }, }, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", + trialTimeout: { + serializedName: "trialTimeout", nullable: true, type: { - name: "Number", + name: "TimeSpan", + }, + }, + }, + }, +}; + +export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { + serializedName: "ServerlessSpark", + type: { + name: "Composite", + className: "MonitorServerlessSparkCompute", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: + MonitorComputeConfigurationBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeConfigurationBase.type.modelProperties, + computeIdentity: { + serializedName: "computeIdentity", + type: { + name: "Composite", + className: "MonitorComputeIdentityBase", + }, + }, + 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, }, - }, - trialTimeout: { - serializedName: "trialTimeout", - nullable: true, + serializedName: "runtimeVersion", + required: true, type: { - name: "TimeSpan", + name: "String", }, }, }, @@ -13985,6 +16840,17 @@ export const CustomMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, + componentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "componentId", + required: true, + type: { + name: "String", + }, + }, inputAssets: { serializedName: "inputAssets", nullable: true, @@ -14003,17 +16869,6 @@ export const CustomMonitoringSignal: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "JobInput" } }, }, }, - componentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "componentId", - required: true, - type: { - name: "String", - }, - }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14041,11 +16896,12 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14055,6 +16911,13 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14082,14 +16945,6 @@ export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14104,11 +16959,12 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14118,6 +16974,13 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "FeatureImportanceSettings", }, }, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14145,14 +17008,6 @@ export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14168,11 +17023,12 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, - metricThreshold: { - serializedName: "metricThreshold", + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "Composite", - className: "FeatureAttributionMetricThreshold", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, featureImportanceSettings: { @@ -14182,6 +17038,13 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "FeatureImportanceSettings", }, }, + metricThreshold: { + serializedName: "metricThreshold", + type: { + name: "Composite", + className: "FeatureAttributionMetricThreshold", + }, + }, productionData: { serializedName: "productionData", required: true, @@ -14202,14 +17065,6 @@ export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, }, }, }; @@ -14224,6 +17079,14 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, metricThresholds: { serializedName: "metricThresholds", required: true, @@ -14251,57 +17114,6 @@ export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { className: "MonitoringInputDataBase", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, -}; - -export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { - serializedName: "ServerlessSpark", - type: { - name: "Composite", - className: "MonitorServerlessSparkCompute", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: - MonitorComputeConfigurationBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitorComputeConfigurationBase.type.modelProperties, - computeIdentity: { - serializedName: "computeIdentity", - type: { - name: "Composite", - className: "MonitorComputeIdentityBase", - }, - }, - instanceType: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "instanceType", - required: true, - type: { - name: "String", - }, - }, - runtimeVersion: { - constraints: { - Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), - MinLength: 1, - }, - serializedName: "runtimeVersion", - required: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14330,6 +17142,13 @@ export const RollingInputData: coreClient.CompositeMapper = { MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, windowOffset: { serializedName: "windowOffset", required: true, @@ -14344,13 +17163,6 @@ export const RollingInputData: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; @@ -14365,11 +17177,11 @@ export const StaticInputData: coreClient.CompositeMapper = { MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { ...MonitoringInputDataBase.type.modelProperties, - windowStart: { - serializedName: "windowStart", - required: true, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, type: { - name: "DateTime", + name: "String", }, }, windowEnd: { @@ -14379,11 +17191,11 @@ export const StaticInputData: coreClient.CompositeMapper = { name: "DateTime", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + windowStart: { + serializedName: "windowStart", + required: true, type: { - name: "String", + name: "DateTime", }, }, }, @@ -14899,6 +17711,23 @@ export const ModelVersion: coreClient.CompositeMapper = { }, }; +export const CapabilityHost: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapabilityHost", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CapabilityHostProperties", + }, + }, + }, + }, +}; + export const Datastore: coreClient.CompositeMapper = { type: { name: "Composite", @@ -14994,75 +17823,186 @@ export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { serializedName: "properties", type: { name: "Composite", - className: "FeaturestoreEntityVersionProperties", + className: "FeaturestoreEntityVersionProperties", + }, + }, + }, + }, +}; + +export const JobBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobBase", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, +}; + +export const MarketplaceSubscription: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MarketplaceSubscription", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "MarketplaceSubscriptionProperties", + }, + }, + }, + }, +}; + +export const Schedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Schedule", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ScheduleProperties", }, }, }, }, }; -export const JobBase: coreClient.CompositeMapper = { +export const BatchEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBase", + 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: "JobBaseProperties", + className: "BatchEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const MarketplaceSubscription: coreClient.CompositeMapper = { +export const BatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscription", + 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: "MarketplaceSubscriptionProperties", + className: "BatchDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const Schedule: coreClient.CompositeMapper = { +export const InferencePool: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Schedule", + className: "InferencePool", 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: "ScheduleProperties", + className: "InferencePoolProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const BatchEndpoint: coreClient.CompositeMapper = { +export const InferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpoint", + className: "InferenceEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15071,11 +18011,11 @@ export const BatchEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "InferenceEndpointProperties", }, }, sku: { @@ -15089,17 +18029,17 @@ export const BatchEndpoint: coreClient.CompositeMapper = { }, }; -export const BatchDeployment: coreClient.CompositeMapper = { +export const InferenceGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeployment", + className: "InferenceGroup", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15108,11 +18048,11 @@ export const BatchDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "InferenceGroupProperties", }, }, sku: { @@ -15132,11 +18072,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { className: "OnlineEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15145,11 +18085,11 @@ export const OnlineEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineEndpointProperties", }, }, sku: { @@ -15169,11 +18109,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { className: "OnlineDeployment", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "OnlineDeploymentProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15182,11 +18122,11 @@ export const OnlineDeployment: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "OnlineDeploymentProperties", }, }, sku: { @@ -15206,11 +18146,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { className: "ServerlessEndpoint", modelProperties: { ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "ManagedServiceIdentity", }, }, kind: { @@ -15219,11 +18159,11 @@ export const ServerlessEndpoint: coreClient.CompositeMapper = { name: "String", }, }, - identity: { - serializedName: "identity", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ServerlessEndpointProperties", }, }, sku: { @@ -15284,6 +18224,13 @@ export const Registry: coreClient.CompositeMapper = { className: "ArmResourceId", }, }, + managedResourceGroupSettings: { + serializedName: "properties.managedResourceGroupSettings", + type: { + name: "Composite", + className: "ManagedResourceGroupSettings", + }, + }, mlFlowRegistryUri: { serializedName: "properties.mlFlowRegistryUri", nullable: true, @@ -15537,17 +18484,17 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "EnvironmentVersionProperties", modelProperties: { ...AssetBase.type.modelProperties, - environmentType: { - serializedName: "environmentType", - readOnly: true, + autoRebuild: { + serializedName: "autoRebuild", type: { name: "String", }, }, - image: { - serializedName: "image", + build: { + serializedName: "build", type: { - name: "String", + name: "Composite", + className: "BuildContext", }, }, condaFile: { @@ -15556,15 +18503,15 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { name: "String", }, }, - build: { - serializedName: "build", + environmentType: { + serializedName: "environmentType", + readOnly: true, type: { - name: "Composite", - className: "BuildContext", + name: "String", }, }, - osType: { - serializedName: "osType", + image: { + serializedName: "image", type: { name: "String", }, @@ -15576,8 +18523,8 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { className: "InferenceContainerProperties", }, }, - autoRebuild: { - serializedName: "autoRebuild", + osType: { + serializedName: "osType", type: { name: "String", }, @@ -15614,22 +18561,22 @@ export const ModelVersionProperties: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "FlavorData" } }, }, }, - modelType: { - serializedName: "modelType", + jobName: { + serializedName: "jobName", nullable: true, type: { name: "String", }, }, - modelUri: { - serializedName: "modelUri", + modelType: { + serializedName: "modelType", nullable: true, type: { name: "String", }, }, - jobName: { - serializedName: "jobName", + modelUri: { + serializedName: "modelUri", nullable: true, type: { name: "String", @@ -15659,11 +18606,16 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { className: "FeaturesetVersionProperties", modelProperties: { ...AssetBase.type.modelProperties, - specification: { - serializedName: "specification", + entities: { + serializedName: "entities", + nullable: true, type: { - name: "Composite", - className: "FeaturesetSpecification", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, materializationSettings: { @@ -15673,28 +18625,23 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { className: "MaterializationSettings", }, }, - stage: { - serializedName: "stage", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - entities: { - serializedName: "entities", - nullable: true, + specification: { + serializedName: "specification", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "FeaturesetSpecification", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15722,16 +18669,16 @@ export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { }, }, }, - stage: { - serializedName: "stage", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -15756,20 +18703,20 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { className: "OneLakeArtifact", }, }, - oneLakeWorkspaceName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "oneLakeWorkspaceName", - required: true, + endpoint: { + serializedName: "endpoint", + nullable: true, type: { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + oneLakeWorkspaceName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "oneLakeWorkspaceName", + required: true, type: { name: "String", }, @@ -15793,13 +18740,6 @@ export const AutoMLJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration", - }, - }, environmentId: { serializedName: "environmentId", nullable: true, @@ -15815,13 +18755,6 @@ export const AutoMLJob: coreClient.CompositeMapper = { value: { type: { name: "String" } }, }, }, - taskDetails: { - serializedName: "taskDetails", - type: { - name: "Composite", - className: "AutoMLVertical", - }, - }, outputs: { serializedName: "outputs", nullable: true, @@ -15837,6 +18770,20 @@ export const AutoMLJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + taskDetails: { + serializedName: "taskDetails", + type: { + name: "Composite", + className: "AutoMLVertical", + }, + }, }, }, }; @@ -15850,13 +18797,6 @@ export const CommandJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration", - }, - }, codeId: { serializedName: "codeId", nullable: true, @@ -15875,6 +18815,13 @@ export const CommandJob: coreClient.CompositeMapper = { name: "String", }, }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration", + }, + }, environmentId: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), @@ -15886,27 +18833,20 @@ export const CommandJob: coreClient.CompositeMapper = { name: "String", }, }, - inputs: { - serializedName: "inputs", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + value: { type: { name: "String" } }, }, }, - outputs: { - serializedName: "outputs", + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, - }, - }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, limits: { @@ -15916,12 +18856,12 @@ export const CommandJob: coreClient.CompositeMapper = { className: "CommandJobLimits", }, }, - environmentVariables: { - serializedName: "environmentVariables", + outputs: { + serializedName: "outputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, parameters: { @@ -15940,6 +18880,55 @@ export const CommandJob: coreClient.CompositeMapper = { className: "QueueSettings", }, }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration", + }, + }, + }, + }, +}; + +export const FineTuningJob: coreClient.CompositeMapper = { + serializedName: "FineTuning", + type: { + name: "Composite", + className: "FineTuningJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...JobBaseProperties.type.modelProperties, + fineTuningDetails: { + serializedName: "fineTuningDetails", + type: { + name: "Composite", + className: "FineTuningVertical", + }, + }, + outputs: { + serializedName: "outputs", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResources", + }, + }, }, }, }; @@ -15953,12 +18942,12 @@ export const PipelineJob: coreClient.CompositeMapper = { polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - settings: { - serializedName: "settings", + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Dictionary", - value: { type: { name: "any" } }, + value: { type: { name: "Composite", className: "JobInput" } }, }, }, jobs: { @@ -15971,6 +18960,110 @@ export const PipelineJob: coreClient.CompositeMapper = { }, }, }, + outputs: { + serializedName: "outputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + sourceJobId: { + serializedName: "sourceJobId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", + type: { + name: "Composite", + className: "SparkJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...JobBaseProperties.type.modelProperties, + archives: { + serializedName: "archives", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + 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: "SparkJobEntry", + }, + }, + environmentId: { + serializedName: "environmentId", + nullable: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + files: { + serializedName: "files", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, inputs: { serializedName: "inputs", nullable: true, @@ -15979,6 +19072,18 @@ export const PipelineJob: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "JobInput" } }, }, }, + jars: { + serializedName: "jars", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, outputs: { serializedName: "outputs", nullable: true, @@ -15987,103 +19092,162 @@ export const PipelineJob: coreClient.CompositeMapper = { value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - sourceJobId: { - serializedName: "sourceJobId", + pyFiles: { + serializedName: "pyFiles", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "SparkResourceConfiguration", }, }, }, }, }; -export const SparkJob: coreClient.CompositeMapper = { - serializedName: "Spark", +export const SweepJob: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "SparkJob", + className: "SweepJob", uberParent: "JobBaseProperties", polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + earlyTermination: { + serializedName: "earlyTermination", type: { name: "Composite", - className: "SparkResourceConfiguration", + className: "EarlyTerminationPolicy", }, }, - args: { - serializedName: "args", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - codeId: { - serializedName: "codeId", - required: true, + limits: { + serializedName: "limits", type: { - name: "String", + name: "Composite", + className: "SweepJobLimits", }, }, - entry: { - serializedName: "entry", + objective: { + serializedName: "objective", type: { name: "Composite", - className: "SparkJobEntry", + className: "Objective", }, }, - environmentId: { - serializedName: "environmentId", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - inputs: { - serializedName: "inputs", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "Composite", + className: "QueueSettings", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + type: { + name: "Composite", + className: "SamplingAlgorithm", + }, + }, + searchSpace: { + serializedName: "searchSpace", + required: true, type: { name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + value: { type: { name: "any" } }, }, }, - pyFiles: { - serializedName: "pyFiles", - nullable: true, + trial: { + serializedName: "trial", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "TrialComponent", }, }, - jars: { - serializedName: "jars", - nullable: true, + }, + }, +}; + +export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Kubernetes", + type: { + name: "Composite", + className: "KubernetesOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: + OnlineDeploymentProperties.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineDeploymentProperties.type.modelProperties, + containerResourceRequirements: { + serializedName: "containerResourceRequirements", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ContainerResourceRequirements", }, }, - files: { - serializedName: "files", + }, + }, +}; + +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: "Sequence", @@ -16094,218 +19258,314 @@ export const SparkJob: coreClient.CompositeMapper = { }, }, }, - archives: { - serializedName: "archives", - nullable: 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: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - conf: { - serializedName: "conf", - nullable: true, + }, + }, +}; + +export const ComputeDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeDeleteHeaders", + modelProperties: { + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - queueSettings: { - serializedName: "queueSettings", + location: { + serializedName: "location", type: { - name: "Composite", - className: "QueueSettings", + name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + }, + }, +}; + +export const ComputeResizeHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResizeHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryCodeContainersDeleteHeaders", + 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: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, }, }, }; -export const SweepJob: coreClient.CompositeMapper = { - serializedName: "Sweep", +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 = { type: { name: "Composite", - className: "SweepJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryCodeVersionsDeleteHeaders", 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", - type: { - name: "Composite", - className: "Objective", + }, + }, +}; + +export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryCodeVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, }, - }, - trial: { - serializedName: "trial", - type: { - name: "Composite", - className: "TrialComponent", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, }, }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + }, + }; + +export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryComponentContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, }, - }, - outputs: { - serializedName: "outputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + location: { + serializedName: "location", + type: { + name: "String", + }, }, - }, - queueSettings: { - serializedName: "queueSettings", - type: { - name: "Composite", - className: "QueueSettings", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; -export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Kubernetes", - type: { - name: "Composite", - className: "KubernetesOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, - modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, - containerResourceRequirements: { - serializedName: "containerResourceRequirements", - type: { - name: "Composite", - className: "ContainerResourceRequirements", +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 ManagedOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Managed", - type: { - name: "Composite", - className: "ManagedOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, - modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, +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 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: "Sequence", - element: { - type: { - name: "String", - }, +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", }, }, }, }, - }, -}; - -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 WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesCreateOrUpdateHeaders", + className: "RegistryDataContainersDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16326,11 +19586,39 @@ export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesUpdateHeaders: 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 = { type: { name: "Composite", - className: "WorkspacesUpdateHeaders", + className: "RegistryDataVersionsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16348,14 +19636,204 @@ export const WorkspacesUpdateHeaders: 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 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, + }, + 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 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, + }, + 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 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", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "RegistryModelContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; -export const 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 +19854,39 @@ export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesResyncKeysHeaders: 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 = { type: { name: "Composite", - className: "WorkspacesResyncKeysHeaders", + className: "BatchEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16401,11 +19907,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,11 +19938,17 @@ export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { }, }; -export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeCreateOrUpdateHeaders", + className: "BatchEndpointsCreateOrUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { @@ -16441,15 +19959,15 @@ export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ComputeDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeDeleteHeaders", + className: "BatchDeploymentsDeleteHeaders", modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, location: { @@ -16458,82 +19976,24 @@ export const ComputeDeleteHeaders: coreClient.CompositeMapper = { 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, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeContainersDeleteHeaders", + className: "BatchDeploymentsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16561,11 +20021,11 @@ export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeContainersCreateOrUpdateHeaders", + className: "BatchDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16583,10 +20043,10 @@ export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMa }, }; -export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const CapabilityHostsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeVersionsDeleteHeaders", + className: "CapabilityHostsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16614,11 +20074,11 @@ export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const CapabilityHostsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeVersionsCreateOrUpdateHeaders", + className: "CapabilityHostsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16636,118 +20096,110 @@ export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersionsPublishHeaders", + modelProperties: { + 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 RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersionsPublishHeaders", + 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 RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, + }, +}; + +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionsPublishHeaders", + modelProperties: { + 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 RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersionsPublishHeaders", + 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 RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataContainersDeleteHeaders", + className: "FeaturesetContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16775,11 +20227,11 @@ export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataContainersCreateOrUpdateHeaders", + className: "FeaturesetContainersCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16797,10 +20249,10 @@ export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMa }, }; -export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataVersionsDeleteHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16828,11 +20280,11 @@ export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataVersionsCreateOrUpdateHeaders", + className: "FeaturesetVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16850,65 +20302,36 @@ export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -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, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionsBackfillHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", - 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 RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryEnvironmentVersionsDeleteHeaders", + className: "FeaturestoreEntityContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16936,11 +20359,11 @@ export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMappe }, }; -export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryEnvironmentVersionsCreateOrUpdateHeaders", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16958,11 +20381,11 @@ export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.Compos }, }; -export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelContainersDeleteHeaders", + className: "FeaturestoreEntityVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16990,11 +20413,11 @@ export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = }, }; -export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelContainersCreateOrUpdateHeaders", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17012,10 +20435,10 @@ export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeM }, }; -export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const InferencePoolsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsDeleteHeaders", + className: "InferencePoolsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17043,32 +20466,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 InferencePoolsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "InferencePoolsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17096,10 +20497,31 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const InferencePoolsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "InferencePoolsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const InferenceEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17127,10 +20549,10 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const InferenceEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "InferenceEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17138,20 +20560,52 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", type: { name: "String", }, }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const InferenceEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "InferenceEndpointsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const InferenceGroupsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "InferenceGroupsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17179,10 +20633,10 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const InferenceGroupsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "InferenceGroupsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17210,11 +20664,11 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const InferenceGroupsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "InferenceGroupsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17232,11 +20686,17 @@ export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = }, }; -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "JobsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17257,10 +20717,10 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionsPublishHeaders", + className: "JobsCancelHeaders", modelProperties: { location: { serializedName: "location", @@ -17282,10 +20742,64 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, + }; + +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionsPublishHeaders", + className: "ModelVersionsPublishHeaders", modelProperties: { location: { serializedName: "location", @@ -17307,11 +20821,17 @@ export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "OnlineEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17332,10 +20852,10 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17363,11 +20883,11 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersCreateOrUpdateHeaders", + className: "OnlineEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17385,10 +20905,36 @@ export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapp }, }; -export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "OnlineEndpointsRegenerateKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "OnlineDeploymentsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17416,33 +20962,17 @@ export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { +export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "OnlineDeploymentsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17463,43 +20993,11 @@ export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + className: "OnlineDeploymentsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17517,64 +21015,62 @@ export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.Compo }, }; -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - location: { - serializedName: "location", - type: { - name: "String", - }, + }, + location: { + serializedName: "location", + type: { + name: "String", }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17602,11 +21098,17 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17627,11 +21129,11 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsDeleteHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17639,53 +21141,53 @@ export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = name: "TimeSpan", }, }, - location: { - serializedName: "location", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, }, }, }; -export const MarketplaceSubscriptionsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionsCreateOrUpdateHeaders", + className: "ServerlessEndpointsRegenerateKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -17706,10 +21208,10 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17737,17 +21239,32 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "WorkspacesDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, + }, + }, +}; + +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesCreateOrUpdateHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -17755,10 +21272,27 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesDiagnoseHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, + }, + retryAfter: { serializedName: "retry-after", type: { name: "Number", @@ -17768,33 +21302,53 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesPrepareNotebookHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspacesResyncKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const WorkspaceConnectionsTestConnectionHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", + className: "WorkspaceConnectionsTestConnectionHeaders", modelProperties: { location: { serializedName: "location", @@ -17803,10 +21357,6 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17816,17 +21366,11 @@ export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = }, }; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionDeleteDeploymentHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "ConnectionDeleteDeploymentHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17834,10 +21378,6 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17847,17 +21387,11 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiBlocklistDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "ConnectionRaiBlocklistDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17865,10 +21399,6 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17878,39 +21408,77 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ConnectionRaiBlocklistItemAddBulkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemAddBulkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ConnectionRaiBlocklistItemDeleteBulkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemDeleteBulkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const ConnectionRaiBlocklistItemDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", + className: "ConnectionRaiBlocklistItemDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "ConnectionRaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17918,10 +21486,6 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17931,38 +21495,54 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "EndpointDeploymentDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentCreateOrUpdateHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, + }; + +export const EndpointCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "EndpointCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17970,10 +21550,6 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17983,17 +21559,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const RaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "RaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18001,10 +21571,6 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18014,33 +21580,33 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsCreateOrUpdateHeaders", + className: "ManagedNetworkSettingsRuleDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan", + name: "String", }, }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + retryAfter: { + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", modelProperties: { location: { serializedName: "location", @@ -18049,10 +21615,6 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18062,95 +21624,58 @@ export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMappe }, }; -export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistriesDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, -}; - -export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistriesRemoveRegionsHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, }, - serializedName: "retry-after", - type: { - name: "Number", + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", + }, }, }, }, - }, -}; + }; export let discriminators = { - OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, - WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, PendingUploadCredentialDto: PendingUploadCredentialDto, DataReferenceCredential: DataReferenceCredential, BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, - TriggerBase: TriggerBase, Webhook: Webhook, - Nodes: Nodes, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, + OutboundRule: OutboundRule, + WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + EndpointDeploymentResourceProperties: EndpointDeploymentResourceProperties, + EndpointResourceProperties: EndpointResourceProperties, MonitoringFeatureFilterBase: MonitoringFeatureFilterBase, MonitorComputeIdentityBase: MonitorComputeIdentityBase, ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, JobInput: JobInput, - JobOutput: JobOutput, NCrossValidations: NCrossValidations, Seasonality: Seasonality, TargetLags: TargetLags, TargetRollingWindowSize: TargetRollingWindowSize, + FineTuningVertical: FineTuningVertical, EarlyTerminationPolicy: EarlyTerminationPolicy, SamplingAlgorithm: SamplingAlgorithm, DataDriftMetricThresholdBase: DataDriftMetricThresholdBase, @@ -18158,14 +21683,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 +21701,6 @@ export let discriminators = { "ComputeSecrets.AKS": AksComputeSecrets, "ComputeSecrets.VirtualMachine": VirtualMachineSecrets, "ComputeSecrets.Databricks": DatabricksComputeSecrets, - "WorkspaceConnectionPropertiesV2.PAT": - PATAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.SAS": - SASAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.UsernamePassword": - UsernamePasswordAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.None": - NoneAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ManagedIdentity": - ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AAD": - AADAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccessKey": - AccessKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccountKey": - AccountKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ApiKey": - ApiKeyAuthWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.CustomKeys": - CustomKeysWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.OAuth2": - OAuth2AuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ServicePrincipal": - ServicePrincipalAuthTypeWorkspaceConnectionProperties, "ResourceBase.DatastoreProperties": DatastoreProperties, "ResourceBase.JobBaseProperties": JobBaseProperties, "PendingUploadCredentialDto.SAS": SASCredentialDto, @@ -18226,18 +21724,61 @@ export let discriminators = { "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, + "Webhook.AzureDevOps": AzureDevOpsWebhook, "TriggerBase.Recurrence": RecurrenceTrigger, "TriggerBase.Cron": CronTrigger, - "Webhook.AzureDevOps": AzureDevOpsWebhook, - "Nodes.All": AllNodes, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, "ScheduleActionBase.CreateMonitor": CreateMonitorAction, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, + "OutboundRule.FQDN": FqdnOutboundRule, + "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, + "OutboundRule.ServiceTag": ServiceTagOutboundRule, + "WorkspaceConnectionPropertiesV2.AAD": + AADAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccessKey": + AccessKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccountKey": + AccountKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ApiKey": + ApiKeyAuthWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.CustomKeys": + CustomKeysWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ManagedIdentity": + ManagedIdentityAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.None": + NoneAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.OAuth2": + OAuth2AuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.PAT": + PATAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.SAS": + SASAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ServicePrincipal": + ServicePrincipalAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.UsernamePassword": + UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "EndpointDeploymentResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.OpenAI": + OpenAIEndpointDeploymentResourceProperties, + "EndpointDeploymentResourceProperties.Azure.Speech": + SpeechEndpointDeploymentResourceProperties, + "EndpointResourceProperties.Azure.ContentSafety": + ContentSafetyEndpointResourceProperties, + "EndpointResourceProperties.managedOnlineEndpoint": + ManagedOnlineEndpointResourceProperties, + "EndpointResourceProperties.Azure.OpenAI": OpenAIEndpointResourceProperties, + "EndpointResourceProperties.serverlessEndpoint": + ServerlessEndpointResourceProperties, + "EndpointResourceProperties.Azure.Speech": SpeechEndpointResourceProperties, "MonitoringFeatureFilterBase.AllFeatures": AllFeatures, "MonitoringFeatureFilterBase.FeatureSubset": FeatureSubset, "MonitoringFeatureFilterBase.TopNByAttribution": TopNFeaturesByAttribution, @@ -18280,6 +21821,8 @@ export let discriminators = { "DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore, "DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore, "DatastoreProperties.AzureFile": AzureFileDatastore, + "FineTuningVertical.AzureOpenAI": AzureOpenAiFineTuning, + "FineTuningVertical.Custom": CustomModelFineTuning, "EarlyTerminationPolicy.Bandit": BanditPolicy, "EarlyTerminationPolicy.MedianStopping": MedianStoppingPolicy, "EarlyTerminationPolicy.TruncationSelection": TruncationSelectionPolicy, @@ -18302,14 +21845,14 @@ export let discriminators = { "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, + "MonitorComputeConfigurationBase.ServerlessSpark": + MonitorServerlessSparkCompute, "MonitoringSignalBase.Custom": CustomMonitoringSignal, "MonitoringSignalBase.DataDrift": DataDriftMonitoringSignal, "MonitoringSignalBase.DataQuality": DataQualityMonitoringSignal, "MonitoringSignalBase.FeatureAttributionDrift": FeatureAttributionDriftMonitoringSignal, "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, - "MonitorComputeConfigurationBase.ServerlessSpark": - MonitorServerlessSparkCompute, "MonitoringInputDataBase.Fixed": FixedInputData, "MonitoringInputDataBase.Rolling": RollingInputData, "MonitoringInputDataBase.Static": StaticInputData, @@ -18320,6 +21863,7 @@ export let discriminators = { "DatastoreProperties.OneLake": OneLakeDatastore, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, + "JobBaseProperties.FineTuning": FineTuningJob, "JobBaseProperties.Pipeline": PipelineJob, "JobBaseProperties.Spark": SparkJob, "JobBaseProperties.Sweep": SweepJob, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 6cd7aad4495b..73d3ef71c840 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -12,16 +12,11 @@ import { OperationQueryParameter, } from "@azure/core-client"; import { - Workspace as WorkspaceMapper, - WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, - DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, - PrivateEndpointConnection as PrivateEndpointConnectionMapper, - WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, - ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, + IdleShutdownSetting as IdleShutdownSettingMapper, + ResizeSchema as ResizeSchemaMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, PendingUploadRequestDto as PendingUploadRequestDtoMapper, @@ -38,25 +33,47 @@ import { BatchEndpoint as BatchEndpointMapper, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties as PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, BatchDeployment as BatchDeploymentMapper, + CapabilityHost as CapabilityHostMapper, DestinationAsset as DestinationAssetMapper, Datastore as DatastoreMapper, + SecretExpiry as SecretExpiryMapper, FeaturesetContainer as FeaturesetContainerMapper, FeaturesetVersion as FeaturesetVersionMapper, FeaturesetVersionBackfillRequest as FeaturesetVersionBackfillRequestMapper, FeaturestoreEntityContainer as FeaturestoreEntityContainerMapper, FeaturestoreEntityVersion as FeaturestoreEntityVersionMapper, + PartialMinimalTrackedResourceWithSkuAndIdentity as PartialMinimalTrackedResourceWithSkuAndIdentityMapper, + InferencePool as InferencePoolMapper, + InferenceEndpoint as InferenceEndpointMapper, + PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, + InferenceGroup as InferenceGroupMapper, + DeltaModelStatusRequest as DeltaModelStatusRequestMapper, + DeltaModelListRequest as DeltaModelListRequestMapper, + DeltaModelModifyRequest as DeltaModelModifyRequestMapper, JobBase as JobBaseMapper, MarketplaceSubscription as MarketplaceSubscriptionMapper, OnlineEndpoint as OnlineEndpointMapper, RegenerateEndpointKeysRequest as RegenerateEndpointKeysRequestMapper, - PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, OnlineDeployment as OnlineDeploymentMapper, DeploymentLogsRequest as DeploymentLogsRequestMapper, Schedule as ScheduleMapper, - PartialMinimalTrackedResourceWithSkuAndIdentity as PartialMinimalTrackedResourceWithSkuAndIdentityMapper, ServerlessEndpoint as ServerlessEndpointMapper, PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, Registry as RegistryMapper, + WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper, + Workspace as WorkspaceMapper, + DiagnoseWorkspaceParameters as DiagnoseWorkspaceParametersMapper, + WorkspaceConnectionUpdateParameter as WorkspaceConnectionUpdateParameterMapper, + WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, + EndpointDeploymentResourcePropertiesBasicResource as EndpointDeploymentResourcePropertiesBasicResourceMapper, + RaiBlocklistPropertiesBasicResource as RaiBlocklistPropertiesBasicResourceMapper, + RaiBlocklistItemPropertiesBasicResource as RaiBlocklistItemPropertiesBasicResourceMapper, + RaiPolicyPropertiesBasicResource as RaiPolicyPropertiesBasicResourceMapper, + EndpointResourcePropertiesBasicResource as EndpointResourcePropertiesBasicResourceMapper, + RegenerateServiceAccountKeyContent as RegenerateServiceAccountKeyContentMapper, + OutboundRuleBasicResource as OutboundRuleBasicResourceMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper, + ManagedNetworkProvisionOptions as ManagedNetworkProvisionOptionsMapper, } from "../models/mappers"; export const accept: OperationParameter = { @@ -86,7 +103,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2024-10-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +126,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 +140,16 @@ export const resourceGroupName: OperationURLParameter = { }, }; -export const workspaceName: OperationURLParameter = { - parameterPath: "workspaceName", +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "workspaceName", + serializedName: "nextLink", required: true, type: { name: "String", }, }, + skipEncoding: true, }; export const contentType: OperationParameter = { @@ -152,74 +166,56 @@ export const contentType: OperationParameter = { export const parameters: OperationParameter = { parameterPath: "parameters", - mapper: WorkspaceMapper, + mapper: QuotaUpdateParametersMapper, }; -export const forceToPurge: OperationQueryParameter = { - parameterPath: ["options", "forceToPurge"], +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", mapper: { - defaultValue: false, - serializedName: "forceToPurge", - type: { - name: "Boolean", + constraints: { + MaxLength: 90, + MinLength: 1, }, - }, -}; - -export const parameters1: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceUpdateParametersMapper, -}; - -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], - mapper: { - serializedName: "$skip", + serializedName: "resourceGroupName", + required: true, type: { name: "String", }, }, }; -export const parameters2: OperationParameter = { - parameterPath: ["options", "parameters"], - mapper: DiagnoseWorkspaceParametersMapper, -}; - -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const workspaceName: OperationURLParameter = { + parameterPath: "workspaceName", mapper: { - serializedName: "nextLink", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "workspaceName", required: true, type: { name: "String", }, }, - skipEncoding: true, }; -export const location: OperationURLParameter = { - parameterPath: "location", +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$"), - }, - serializedName: "location", - required: true, + serializedName: "$skip", type: { name: "String", }, }, }; -export const parameters3: OperationParameter = { - parameterPath: "parameters", - mapper: QuotaUpdateParametersMapper, -}; - export const computeName: OperationURLParameter = { parameterPath: "computeName", mapper: { + constraints: { + Pattern: new RegExp( + "^[a-zA-Z](?![a-zA-Z0-9-]*-\\d+$)[a-zA-Z0-9\\-]{2,23}$", + ), + }, serializedName: "computeName", required: true, type: { @@ -228,12 +224,12 @@ export const computeName: OperationURLParameter = { }, }; -export const parameters4: OperationParameter = { +export const parameters1: OperationParameter = { parameterPath: "parameters", mapper: ComputeResourceMapper, }; -export const parameters5: OperationParameter = { +export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: ClusterUpdateParametersMapper, }; @@ -249,83 +245,48 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", - mapper: { - serializedName: "privateEndpointConnectionName", - required: true, - type: { - name: "String", - }, - }, -}; - -export const properties: OperationParameter = { - parameterPath: "properties", - mapper: PrivateEndpointConnectionMapper, -}; - -export const parameters6: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, -}; - -export const connectionName: OperationURLParameter = { - parameterPath: "connectionName", +export const customServices: OperationParameter = { + parameterPath: "customServices", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "connectionName", + serializedName: "customServices", required: true, type: { - name: "String", - }, - }, -}; - -export const target: OperationQueryParameter = { - parameterPath: ["options", "target"], - mapper: { - serializedName: "target", - type: { - name: "String", - }, - }, -}; - -export const category: OperationQueryParameter = { - parameterPath: ["options", "category"], - mapper: { - serializedName: "category", - type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, }, }, }; -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", +export const dataMounts: OperationParameter = { + parameterPath: "dataMounts", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "ruleName", + serializedName: "dataMounts", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, }, }, }; -export const body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: IdleShutdownSettingMapper, }; -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: ResizeSchemaMapper, }; export const registryName: OperationURLParameter = { @@ -356,7 +317,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +353,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 +377,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 +408,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +437,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 +461,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 +485,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body10: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +520,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +530,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +556,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +575,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,7 +591,7 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, @@ -650,11 +611,16 @@ export const deploymentName1: OperationURLParameter = { }, }; -export const body17: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", mapper: BatchDeploymentMapper, }; +export const body16: OperationParameter = { + parameterPath: "body", + mapper: CapabilityHostMapper, +}; + export const hash: OperationQueryParameter = { parameterPath: ["options", "hash"], mapper: { @@ -675,7 +641,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +714,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -764,6 +730,11 @@ export const skipValidation: OperationQueryParameter = { }, }; +export const body19: OperationParameter = { + parameterPath: ["options", "body"], + mapper: SecretExpiryMapper, +}; + export const pageSize: OperationQueryParameter = { parameterPath: ["options", "pageSize"], mapper: { @@ -900,30 +871,34 @@ export const body24: OperationParameter = { mapper: FeaturestoreEntityVersionMapper, }; -export const jobType: OperationQueryParameter = { - parameterPath: ["options", "jobType"], +export const orderBy2: OperationQueryParameter = { + parameterPath: ["options", "orderBy"], mapper: { - serializedName: "jobType", + serializedName: "orderBy", type: { name: "String", }, }, }; -export const tag: OperationQueryParameter = { - parameterPath: ["options", "tag"], +export const inferencePoolName: OperationURLParameter = { + parameterPath: "inferencePoolName", mapper: { - serializedName: "tag", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "inferencePoolName", + required: true, type: { name: "String", }, }, }; -export const id: OperationURLParameter = { - parameterPath: "id", +export const inferencePoolName1: OperationURLParameter = { + parameterPath: "inferencePoolName", mapper: { - serializedName: "id", + serializedName: "inferencePoolName", required: true, type: { name: "String", @@ -933,16 +908,21 @@ export const id: OperationURLParameter = { export const body25: OperationParameter = { parameterPath: "body", - mapper: JobBaseMapper, + mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, }; -export const id1: OperationURLParameter = { - parameterPath: "id", +export const body26: OperationParameter = { + parameterPath: "body", + mapper: InferencePoolMapper, +}; + +export const poolName: OperationURLParameter = { + parameterPath: "poolName", mapper: { constraints: { Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), }, - serializedName: "id", + serializedName: "poolName", required: true, type: { name: "String", @@ -950,72 +930,184 @@ export const id1: OperationURLParameter = { }, }; -export const body26: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", - mapper: MarketplaceSubscriptionMapper, -}; - -export const offset: OperationQueryParameter = { - parameterPath: ["options", "offset"], mapper: { - serializedName: "offset", + serializedName: "body", + required: true, type: { - name: "Number", + name: "any", }, }, }; -export const feed: OperationQueryParameter = { - parameterPath: ["options", "feed"], +export const body28: OperationParameter = { + parameterPath: "body", + mapper: InferenceEndpointMapper, +}; + +export const groupName: OperationURLParameter = { + parameterPath: "groupName", mapper: { - serializedName: "feed", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "groupName", + required: true, type: { name: "String", }, }, }; -export const computeType: OperationQueryParameter = { - parameterPath: ["options", "computeType"], +export const body29: OperationParameter = { + parameterPath: "body", + mapper: PartialMinimalTrackedResourceWithSkuMapper, +}; + +export const poolName1: OperationURLParameter = { + parameterPath: "poolName", mapper: { - serializedName: "computeType", + serializedName: "poolName", + required: true, type: { name: "String", }, }, }; -export const orderBy2: OperationQueryParameter = { - parameterPath: ["options", "orderBy"], +export const groupName1: OperationURLParameter = { + parameterPath: "groupName", mapper: { - serializedName: "orderBy", + serializedName: "groupName", + required: true, type: { name: "String", }, }, }; -export const body27: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", - mapper: OnlineEndpointMapper, + mapper: InferenceGroupMapper, }; -export const body28: OperationParameter = { +export const body31: OperationParameter = { parameterPath: "body", - mapper: RegenerateEndpointKeysRequestMapper, + mapper: DeltaModelStatusRequestMapper, }; -export const body29: OperationParameter = { +export const body32: OperationParameter = { parameterPath: "body", - mapper: PartialMinimalTrackedResourceWithSkuMapper, + mapper: DeltaModelListRequestMapper, }; -export const body30: OperationParameter = { +export const body33: OperationParameter = { + parameterPath: "body", + mapper: DeltaModelModifyRequestMapper, +}; + +export const jobType: OperationQueryParameter = { + parameterPath: ["options", "jobType"], + mapper: { + serializedName: "jobType", + type: { + name: "String", + }, + }, +}; + +export const tag: OperationQueryParameter = { + parameterPath: ["options", "tag"], + mapper: { + serializedName: "tag", + type: { + name: "String", + }, + }, +}; + +export const id: OperationURLParameter = { + parameterPath: "id", + mapper: { + serializedName: "id", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body34: OperationParameter = { + parameterPath: "body", + mapper: JobBaseMapper, +}; + +export const id1: OperationURLParameter = { + parameterPath: "id", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "id", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body35: OperationParameter = { + parameterPath: "body", + mapper: MarketplaceSubscriptionMapper, +}; + +export const offset: OperationQueryParameter = { + parameterPath: ["options", "offset"], + mapper: { + serializedName: "offset", + type: { + name: "Number", + }, + }, +}; + +export const feed: OperationQueryParameter = { + parameterPath: ["options", "feed"], + mapper: { + serializedName: "feed", + type: { + name: "String", + }, + }, +}; + +export const computeType: OperationQueryParameter = { + parameterPath: ["options", "computeType"], + mapper: { + serializedName: "computeType", + type: { + name: "String", + }, + }, +}; + +export const body36: OperationParameter = { + parameterPath: "body", + mapper: OnlineEndpointMapper, +}; + +export const body37: OperationParameter = { + parameterPath: "body", + mapper: RegenerateEndpointKeysRequestMapper, +}; + +export const body38: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper, }; -export const body31: OperationParameter = { +export const body39: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper, }; @@ -1030,17 +1122,12 @@ export const listViewType1: OperationQueryParameter = { }, }; -export const body32: OperationParameter = { +export const body40: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper, }; -export const body33: OperationParameter = { - parameterPath: "body", - mapper: PartialMinimalTrackedResourceWithSkuAndIdentityMapper, -}; - -export const body34: OperationParameter = { +export const body41: OperationParameter = { parameterPath: "body", mapper: ServerlessEndpointMapper, }; @@ -1059,12 +1146,345 @@ export const name3: OperationURLParameter = { }, }; -export const body35: OperationParameter = { +export const body42: OperationParameter = { parameterPath: "body", mapper: PartialRegistryPartialTrackedResourceMapper, }; -export const body36: OperationParameter = { +export const body43: OperationParameter = { parameterPath: "body", mapper: RegistryMapper, }; + +export const kind: OperationQueryParameter = { + parameterPath: ["options", "kind"], + mapper: { + serializedName: "kind", + type: { + name: "String", + }, + }, +}; + +export const aiCapabilities: OperationQueryParameter = { + parameterPath: ["options", "aiCapabilities"], + mapper: { + serializedName: "aiCapabilities", + type: { + name: "String", + }, + }, +}; + +export const forceToPurge: OperationQueryParameter = { + parameterPath: ["options", "forceToPurge"], + mapper: { + defaultValue: false, + serializedName: "forceToPurge", + type: { + name: "Boolean", + }, + }, +}; + +export const body44: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceUpdateParametersMapper, +}; + +export const body45: OperationParameter = { + parameterPath: "body", + mapper: WorkspaceMapper, +}; + +export const body46: OperationParameter = { + parameterPath: ["options", "body"], + mapper: DiagnoseWorkspaceParametersMapper, +}; + +export const target: OperationQueryParameter = { + parameterPath: ["options", "target"], + mapper: { + serializedName: "target", + type: { + name: "String", + }, + }, +}; + +export const category: OperationQueryParameter = { + parameterPath: ["options", "category"], + mapper: { + serializedName: "category", + type: { + name: "String", + }, + }, +}; + +export const includeAll: OperationQueryParameter = { + parameterPath: ["options", "includeAll"], + mapper: { + defaultValue: false, + serializedName: "includeAll", + type: { + name: "Boolean", + }, + }, +}; + +export const connectionName: OperationURLParameter = { + parameterPath: "connectionName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "connectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body47: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionUpdateParameterMapper, +}; + +export const body48: OperationParameter = { + parameterPath: ["options", "body"], + mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, +}; + +export const proxyApiVersion: OperationQueryParameter = { + parameterPath: ["options", "proxyApiVersion"], + mapper: { + serializedName: "proxy-api-version", + type: { + name: "String", + }, + }, +}; + +export const deploymentName2: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "deploymentName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body49: OperationParameter = { + parameterPath: "body", + mapper: EndpointDeploymentResourcePropertiesBasicResourceMapper, +}; + +export const raiBlocklistName: OperationURLParameter = { + parameterPath: "raiBlocklistName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body50: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistPropertiesBasicResourceMapper, +}; + +export const body51: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemBulkRequest", + }, + }, + }, + }, +}; + +export const body52: OperationParameter = { + parameterPath: "body", + mapper: { + serializedName: "body", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, +}; + +export const raiBlocklistItemName: OperationURLParameter = { + parameterPath: "raiBlocklistItemName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiBlocklistItemName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body53: OperationParameter = { + parameterPath: "body", + mapper: RaiBlocklistItemPropertiesBasicResourceMapper, +}; + +export const raiPolicyName: OperationURLParameter = { + parameterPath: "raiPolicyName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"), + }, + serializedName: "raiPolicyName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body54: OperationParameter = { + parameterPath: "body", + mapper: RaiPolicyPropertiesBasicResourceMapper, +}; + +export const endpointType: OperationQueryParameter = { + parameterPath: ["options", "endpointType"], + mapper: { + serializedName: "endpointType", + type: { + name: "String", + }, + }, +}; + +export const endpointName2: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]{2,32}$"), + }, + serializedName: "endpointName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const includeOnlineEndpoints: OperationQueryParameter = { + parameterPath: ["options", "includeOnlineEndpoints"], + mapper: { + defaultValue: false, + serializedName: "includeOnlineEndpoints", + type: { + name: "Boolean", + }, + }, +}; + +export const includeServerlessEndpoints: OperationQueryParameter = { + parameterPath: ["options", "includeServerlessEndpoints"], + mapper: { + defaultValue: false, + serializedName: "includeServerlessEndpoints", + type: { + name: "Boolean", + }, + }, +}; + +export const includeConnections: OperationQueryParameter = { + parameterPath: ["options", "includeConnections"], + mapper: { + defaultValue: false, + serializedName: "includeConnections", + type: { + name: "Boolean", + }, + }, +}; + +export const expand: OperationQueryParameter = { + parameterPath: ["options", "expand"], + mapper: { + serializedName: "$expand", + type: { + name: "String", + }, + }, +}; + +export const body55: OperationParameter = { + parameterPath: "body", + mapper: EndpointResourcePropertiesBasicResourceMapper, +}; + +export const body56: OperationParameter = { + parameterPath: "body", + mapper: RegenerateServiceAccountKeyContentMapper, +}; + +export const ruleName: OperationURLParameter = { + parameterPath: "ruleName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "ruleName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body57: OperationParameter = { + parameterPath: "body", + mapper: OutboundRuleBasicResourceMapper, +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body58: OperationParameter = { + parameterPath: "body", + mapper: PrivateEndpointConnectionMapper, +}; + +export const body59: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkProvisionOptionsMapper, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index b354b122c60a..871c9a18e236 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -12,7 +12,7 @@ import { BatchDeployments } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing BatchDeployments operations. */ export class BatchDeploymentsImpl implements BatchDeployments { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class BatchDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -626,7 +626,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body16, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -660,7 +660,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -688,9 +688,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts index 60ad4eea5bf7..e289eed6a3ef 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -12,7 +12,7 @@ import { BatchEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -40,13 +40,13 @@ import { /// /** Class containing BatchEndpoints operations. */ export class BatchEndpointsImpl implements BatchEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class BatchEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -575,7 +575,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -608,7 +608,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -657,9 +657,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts b/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts new file mode 100644 index 000000000000..a891e3734566 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts @@ -0,0 +1,344 @@ +/* + * 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 { CapabilityHosts } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + CapabilityHostsDeleteOptionalParams, + CapabilityHostsDeleteResponse, + CapabilityHostsGetOptionalParams, + CapabilityHostsGetResponse, + CapabilityHost, + CapabilityHostsCreateOrUpdateOptionalParams, + CapabilityHostsCreateOrUpdateResponse, +} from "../models"; + +/** Class containing CapabilityHosts operations. */ +export class CapabilityHostsImpl implements CapabilityHosts { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class CapabilityHosts class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Delete capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + CapabilityHostsDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, name, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + CapabilityHostsDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getOperationSpec, + ); + } + + /** + * Create or update capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param body CapabilityHost definition. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: CapabilityHost, + options?: CapabilityHostsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + CapabilityHostsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, name, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + CapabilityHostsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param body CapabilityHost definition. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: CapabilityHost, + options?: CapabilityHostsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/capabilityHosts/{name}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.CapabilityHostsDeleteHeaders, + }, + 201: { + headersMapper: Mappers.CapabilityHostsDeleteHeaders, + }, + 202: { + headersMapper: Mappers.CapabilityHostsDeleteHeaders, + }, + 204: { + headersMapper: Mappers.CapabilityHostsDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/capabilityHosts/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CapabilityHost, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/capabilityHosts/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CapabilityHost, + }, + 201: { + bodyMapper: Mappers.CapabilityHost, + }, + 202: { + bodyMapper: Mappers.CapabilityHost, + }, + 204: { + bodyMapper: Mappers.CapabilityHost, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body16, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts index 1d5cdc1ffa83..cdf4156c29a9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -12,7 +12,7 @@ import { CodeContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { CodeContainer, CodeContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing CodeContainers operations. */ export class CodeContainersImpl implements CodeContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class CodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -291,7 +291,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -318,9 +318,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts index b96b27c7c808..3e36b760c3f6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -12,7 +12,7 @@ import { CodeVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -40,13 +40,13 @@ import { /// /** Class containing CodeVersions operations. */ export class CodeVersionsImpl implements CodeVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class CodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -459,7 +459,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,7 +485,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -510,7 +510,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -538,9 +538,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts index e051f226dc63..f194ee668413 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -12,7 +12,7 @@ import { ComponentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ComponentContainer, ComponentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ComponentContainers operations. */ export class ComponentContainersImpl implements ComponentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts index bf90b229bb54..13caccd2ef78 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -12,7 +12,7 @@ import { ComponentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing ComponentVersions operations. */ export class ComponentVersionsImpl implements ComponentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -432,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +458,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +486,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index 7e9f18b29963..5c0da18ea309 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -12,7 +12,7 @@ import { ComputeOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,11 +37,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, ComputeListNextResponse, ComputeListNodesNextResponse, } from "../models"; @@ -49,13 +60,13 @@ import { /// /** Class containing ComputeOperations operations. */ export class ComputeOperationsImpl implements ComputeOperations { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ComputeOperations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -580,6 +591,33 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + computeName, + customServices, + options, + }, + updateCustomServicesOperationSpec, + ); + } + /** * Get the details (e.g IP address, port etc) of all the compute nodes in the compute. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -618,6 +656,27 @@ export class ComputeOperationsImpl implements ComputeOperations { ); } + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, dataMounts, options }, + updateDataMountsOperationSpec, + ); + } + /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -876,6 +935,151 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the idle shutdown setting of a compute instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, parameters, options }, + updateIdleShutdownSettingOperationSpec, + ); + } + + /** + * Returns supported virtual machine sizes for resize + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, options }, + getAllowedResizeSizesOperationSpec, + ); + } + + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + }, + spec: resizeOperationSpec, + }); + const poller = await createHttpPoller< + ComputeResizeResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + async beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise { + const poller = await this.beginResize( + resourceGroupName, + workspaceName, + computeName, + parameters, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -982,7 +1186,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +1219,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1051,6 +1255,28 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateCustomServicesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/customServices", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.customServices, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNodesOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", httpMethod: "POST", @@ -1095,6 +1321,28 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateDataMountsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateDataMounts", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.dataMounts, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const startOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start", httpMethod: "POST", @@ -1164,6 +1412,83 @@ const restartOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const updateIdleShutdownSettingOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.parameters3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getAllowedResizeSizesOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/getAllowedVmSizesForResize", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.VirtualMachineSizeListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const resizeOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/resize", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 201: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 202: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + 204: { + headersMapper: Mappers.ComputeResizeHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.parameters4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -1178,9 +1503,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1524,9 @@ const listNodesNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.computeName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts new file mode 100644 index 000000000000..5c4153459ade --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts @@ -0,0 +1,788 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Connection } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsNextOptionalParams, + ConnectionListDeploymentsOptionalParams, + ConnectionListDeploymentsResponse, + EndpointModelProperties, + ConnectionGetModelsNextOptionalParams, + ConnectionGetModelsOptionalParams, + ConnectionGetModelsResponse, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionGetAllModelsOptionalParams, + ConnectionGetAllModelsResponse, + ConnectionListDeploymentsNextResponse, + ConnectionGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing Connection operations. */ +export class ConnectionImpl implements Connection { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class Connection class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listDeploymentsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listDeploymentsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: ConnectionListDeploymentsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listDeployments( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listDeploymentsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listDeploymentsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listDeploymentsOperationSpec, + ); + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + spec: deleteDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionDeleteDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise { + const poller = await this.beginDeleteDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + options, + }, + getDeploymentOperationSpec, + ); + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + }, + spec: createOrUpdateDeploymentOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionCreateOrUpdateDeploymentResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdateDeployment( + resourceGroupName, + workspaceName, + connectionName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + getModelsOperationSpec, + ); + } + + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + getAllModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionGetAllModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getAllModelsOperationSpec, + ); + } + + /** + * ListDeploymentsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the ListDeployments method. + * @param options The options parameters. + */ + private _listDeploymentsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionListDeploymentsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listDeploymentsNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listDeploymentsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionDeleteDeploymentHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateDeploymentOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body49, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.deploymentName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getAllModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listConnectionModels", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listDeploymentsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..47e526a58a06 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiBlocklist } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklist operations. */ +export class ConnectionRaiBlocklistImpl implements ConnectionRaiBlocklist { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklist class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body50, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..410ba8c85f17 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts @@ -0,0 +1,737 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiBlocklistItem } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteBulkResponse, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiBlocklistItem operations. */ +export class ConnectionRaiBlocklistItemImpl + implements ConnectionRaiBlocklistItem +{ + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItem class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: addBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemAddBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise { + const poller = await this.beginAddBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: deleteBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemDeleteBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise { + const poller = await this.beginDeleteBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + raiBlocklistItemName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const addBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/addRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 201: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 202: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + 204: { + bodyMapper: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistItemPropertiesBasicResource", + }, + }, + }, + }, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body51, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteBulkOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/deleteRaiBlocklistItems", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteBulkHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body52, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistItemDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems/{raiBlocklistItemName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body53, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + Parameters.raiBlocklistItemName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..169fea57b9b3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts @@ -0,0 +1,248 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiBlocklistItems } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListNextOptionalParams, + ConnectionRaiBlocklistItemsListOptionalParams, + ConnectionRaiBlocklistItemsListResponse, + ConnectionRaiBlocklistItemsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklistItems operations. */ +export class ConnectionRaiBlocklistItemsImpl + implements ConnectionRaiBlocklistItems +{ + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItems class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistItemsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + nextLink: string, + options?: ConnectionRaiBlocklistItemsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiBlocklistName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..530924d608f7 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiBlocklists } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListNextOptionalParams, + ConnectionRaiBlocklistsListOptionalParams, + ConnectionRaiBlocklistsListResponse, + ConnectionRaiBlocklistsListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiBlocklists operations. */ +export class ConnectionRaiBlocklistsImpl implements ConnectionRaiBlocklists { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklists class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiBlocklistsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts new file mode 100644 index 000000000000..f91212840382 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ConnectionRaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListNextOptionalParams, + ConnectionRaiPoliciesListOptionalParams, + ConnectionRaiPoliciesListResponse, + ConnectionRaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing ConnectionRaiPolicies operations. */ +export class ConnectionRaiPoliciesImpl implements ConnectionRaiPolicies { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts new file mode 100644 index 000000000000..80e7fd985e22 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { ConnectionRaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Class containing ConnectionRaiPolicy operations. */ +export class ConnectionRaiPolicyImpl implements ConnectionRaiPolicy { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body54, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + Parameters.raiPolicyName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 37f06f8f83fa..c398e4f366db 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -12,7 +12,7 @@ import { DataContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { DataContainer, DataContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing DataContainers operations. */ export class DataContainersImpl implements DataContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class DataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts index 945091990901..10e04e64cf49 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -12,7 +12,7 @@ import { DataVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing DataVersions operations. */ export class DataVersionsImpl implements DataVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class DataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -433,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -459,7 +459,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -487,9 +487,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts index ba30b92e5379..6d4dc99ab204 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -12,7 +12,7 @@ import { Datastores } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Datastore, DatastoresListNextOptionalParams, @@ -31,13 +31,13 @@ import { /// /** Class containing Datastores operations. */ export class DatastoresImpl implements Datastores { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Datastores class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -321,7 +321,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body19, + requestBody: Parameters.body18, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -345,6 +345,7 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -353,7 +354,8 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.name, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listNextOperationSpec: coreClient.OperationSpec = { @@ -370,9 +372,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts new file mode 100644 index 000000000000..ae277e8e886e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts @@ -0,0 +1,740 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { EndpointDeployment } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceNextOptionalParams, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentGetInWorkspaceResponse, + EndpointDeploymentListNextOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentListResponse, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, + EndpointDeploymentGetInWorkspaceNextResponse, + EndpointDeploymentListNextResponse, +} from "../models"; + +/// +/** Class containing EndpointDeployment operations. */ +export class EndpointDeploymentImpl implements EndpointDeployment { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class EndpointDeployment class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getInWorkspacePagingAll( + resourceGroupName, + workspaceName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *getInWorkspacePagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentGetInWorkspaceResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getInWorkspace( + resourceGroupName, + workspaceName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getInWorkspaceNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getInWorkspacePagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getInWorkspacePagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator< + EndpointDeploymentResourcePropertiesBasicResource[] + > { + let result: EndpointDeploymentListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _getInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getInWorkspaceOperationSpec, + ); + } + + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + options, + }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointDeploymentCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + deploymentName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * GetInWorkspaceNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param nextLink The nextLink from the previous successful call to the GetInWorkspace method. + * @param options The options parameters. + */ + private _getInWorkspaceNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: EndpointDeploymentGetInWorkspaceNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + getInWorkspaceNextOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointDeploymentListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getInWorkspaceOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 201: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 202: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + 204: { + headersMapper: Mappers.EndpointDeploymentDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointDeploymentResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body49, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.deploymentName2, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getInWorkspaceNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts new file mode 100644 index 000000000000..2c46b6ab4d42 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts @@ -0,0 +1,660 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { EndpointOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListNextOptionalParams, + EndpointListOptionalParams, + EndpointListResponse, + EndpointModelProperties, + EndpointGetModelsNextOptionalParams, + EndpointGetModelsOptionalParams, + EndpointGetModelsResponse, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, + EndpointListNextResponse, + EndpointGetModelsNextResponse, +} from "../models"; + +/// +/** Class containing EndpointOperations operations. */ +export class EndpointOperationsImpl implements EndpointOperations { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class EndpointOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, endpointName, body, options }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + EndpointCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + endpointName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listKeysOperationSpec, + ); + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _getModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getModelsOperationSpec, + ); + } + + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, body, options }, + regenerateKeysOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: EndpointListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } + + /** + * GetModelsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the GetModels method. + * @param options The options parameters. + */ + private _getModelsNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: EndpointGetModelsNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + getModelsNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.endpointType, + Parameters.includeOnlineEndpoints, + Parameters.includeServerlessEndpoints, + Parameters.includeConnections, + Parameters.expand, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.EndpointResourcePropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body55, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/listKeys", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.EndpointKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const regenerateKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/regenerateKey", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.AccountApiKeys, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body56, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: + Mappers.EndpointResourcePropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getModelsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EndpointModels, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index b2b05c13bcb2..479519ccda3e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -12,7 +12,7 @@ import { EnvironmentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { EnvironmentContainer, EnvironmentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing EnvironmentContainers operations. */ export class EnvironmentContainersImpl implements EnvironmentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class EnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +322,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts index ee50fa915db5..e9f61c3c29dc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -12,7 +12,7 @@ import { EnvironmentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing EnvironmentVersions operations. */ export class EnvironmentVersionsImpl implements EnvironmentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class EnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -432,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +458,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +486,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts index eb807e729516..1e6adf6ba116 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts @@ -12,7 +12,7 @@ import { Features } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Feature, FeaturesListNextOptionalParams, @@ -26,13 +26,13 @@ import { /// /** Class containing Features operations. */ export class FeaturesImpl implements Features { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Features class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -297,9 +297,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.featuresetName, Parameters.featuresetVersion, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts index c97498261409..ba6a67c18637 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -12,7 +12,7 @@ import { FeaturesetContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing FeaturesetContainers operations. */ export class FeaturesetContainersImpl implements FeaturesetContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturesetContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -488,9 +488,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts index 34c136474846..e970b0f9a003 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -12,7 +12,7 @@ import { FeaturesetVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing FeaturesetVersions operations. */ export class FeaturesetVersionsImpl implements FeaturesetVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturesetVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -669,9 +669,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts index ee8a24d5d47d..04f02ac7e449 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -12,7 +12,7 @@ import { FeaturestoreEntityContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class FeaturestoreEntityContainersImpl implements FeaturestoreEntityContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturestoreEntityContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -490,9 +490,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts index 1a0cdce0a1f0..9d54b92c35c4 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -12,7 +12,7 @@ import { FeaturestoreEntityVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class FeaturestoreEntityVersionsImpl implements FeaturestoreEntityVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class FeaturestoreEntityVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -529,9 +529,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index 1ab888709948..951fde5aeb24 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -6,17 +6,10 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; -export * from "./workspaces"; export * from "./usages"; export * from "./virtualMachineSizes"; export * from "./quotas"; export * from "./computeOperations"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; -export * from "./workspaceConnections"; -export * from "./managedNetworkSettingsRule"; -export * from "./managedNetworkProvisions"; export * from "./registryCodeContainers"; export * from "./registryCodeVersions"; export * from "./registryComponentContainers"; @@ -30,6 +23,7 @@ export * from "./registryModelContainers"; export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; +export * from "./capabilityHosts"; export * from "./codeContainers"; export * from "./codeVersions"; export * from "./componentContainers"; @@ -44,6 +38,9 @@ export * from "./features"; export * from "./featuresetVersions"; export * from "./featurestoreEntityContainers"; export * from "./featurestoreEntityVersions"; +export * from "./inferencePools"; +export * from "./inferenceEndpoints"; +export * from "./inferenceGroups"; export * from "./jobs"; export * from "./marketplaceSubscriptions"; export * from "./modelContainers"; @@ -54,3 +51,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/inferenceEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceEndpoints.ts new file mode 100644 index 000000000000..236c5bd5d321 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceEndpoints.ts @@ -0,0 +1,693 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { InferenceEndpoints } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + InferenceEndpoint, + InferenceEndpointsListNextOptionalParams, + InferenceEndpointsListOptionalParams, + InferenceEndpointsListResponse, + InferenceEndpointsDeleteOptionalParams, + InferenceEndpointsGetOptionalParams, + InferenceEndpointsGetResponse, + InferenceEndpointsUpdateOptionalParams, + InferenceEndpointsUpdateResponse, + InferenceEndpointsCreateOrUpdateOptionalParams, + InferenceEndpointsCreateOrUpdateResponse, + InferenceEndpointsListNextResponse, +} from "../models"; + +/// +/** Class containing InferenceEndpoints operations. */ +export class InferenceEndpointsImpl implements InferenceEndpoints { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class InferenceEndpoints class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List Inference Endpoints. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceEndpointsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + poolName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + poolName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceEndpointsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: InferenceEndpointsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + poolName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + poolName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceEndpointsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + poolName, + options, + )) { + yield* page; + } + } + + /** + * List Inference Endpoints. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceEndpointsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, options }, + listOperationSpec, + ); + } + + /** + * Delete InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsDeleteOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + poolName, + endpointName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + poolName, + endpointName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get InferenceEndpoint. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, endpointName, options }, + getOperationSpec, + ); + } + + /** + * Update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: any, + options?: InferenceEndpointsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceEndpointsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + poolName, + endpointName, + body, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + InferenceEndpointsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: any, + options?: InferenceEndpointsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + workspaceName, + poolName, + endpointName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Create or update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body InferenceEndpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: InferenceEndpoint, + options?: InferenceEndpointsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceEndpointsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + poolName, + endpointName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + InferenceEndpointsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body InferenceEndpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: InferenceEndpoint, + options?: InferenceEndpointsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + poolName, + endpointName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + poolName: string, + nextLink: string, + options?: InferenceEndpointsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceEndpointTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.tags1, + Parameters.properties, + Parameters.count, + Parameters.orderBy2, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints/{endpointName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName1, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints/{endpointName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceEndpoint, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName1, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints/{endpointName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 201: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 202: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 204: { + bodyMapper: Mappers.InferenceEndpoint, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body27, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName1, + Parameters.poolName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints/{endpointName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 201: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 202: { + bodyMapper: Mappers.InferenceEndpoint, + }, + 204: { + bodyMapper: Mappers.InferenceEndpoint, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body28, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName1, + Parameters.poolName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceEndpointTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/inferenceGroups.ts b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceGroups.ts new file mode 100644 index 000000000000..ccd4731fe210 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceGroups.ts @@ -0,0 +1,1258 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { InferenceGroups } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + InferenceGroup, + InferenceGroupsListNextOptionalParams, + InferenceGroupsListOptionalParams, + InferenceGroupsListResponse, + DeltaModelListRequest, + InferenceGroupsListDeltaModelsAsyncNextOptionalParams, + InferenceGroupsListDeltaModelsAsyncOptionalParams, + InferenceGroupsListDeltaModelsAsyncResponse, + SkuResource, + InferenceGroupsListSkusNextOptionalParams, + InferenceGroupsListSkusOptionalParams, + InferenceGroupsListSkusResponse, + InferenceGroupsDeleteOptionalParams, + InferenceGroupsGetOptionalParams, + InferenceGroupsGetResponse, + PartialMinimalTrackedResourceWithSku, + InferenceGroupsUpdateOptionalParams, + InferenceGroupsUpdateResponse, + InferenceGroupsCreateOrUpdateOptionalParams, + InferenceGroupsCreateOrUpdateResponse, + DeltaModelStatusRequest, + InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams, + InferenceGroupsGetDeltaModelsStatusAsyncResponse, + DeltaModelModifyRequest, + InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + InferenceGroupsGetStatusOptionalParams, + InferenceGroupsGetStatusResponse, + InferenceGroupsListNextResponse, + InferenceGroupsListDeltaModelsAsyncNextResponse, + InferenceGroupsListSkusNextResponse, +} from "../models"; + +/// +/** Class containing InferenceGroups operations. */ +export class InferenceGroupsImpl implements InferenceGroups { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class InferenceGroups class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List Inference Groups. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceGroupsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + poolName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + poolName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceGroupsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: InferenceGroupsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + poolName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + poolName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceGroupsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + poolName, + options, + )) { + yield* page; + } + } + + /** + * List delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param options The options parameters. + */ + public listDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + options?: InferenceGroupsListDeltaModelsAsyncOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listDeltaModelsAsyncPagingAll( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listDeltaModelsAsyncPagingPage( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + settings, + ); + }, + }; + } + + private async *listDeltaModelsAsyncPagingPage( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + options?: InferenceGroupsListDeltaModelsAsyncOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: InferenceGroupsListDeltaModelsAsyncResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listDeltaModelsAsync( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listDeltaModelsAsyncNext( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listDeltaModelsAsyncPagingAll( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + options?: InferenceGroupsListDeltaModelsAsyncOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listDeltaModelsAsyncPagingPage( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + )) { + yield* page; + } + } + + /** + * List Inference Group Skus. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Inference Pool name. + * @param groupName Inference Group name. + * @param options The options parameters. + */ + public listSkus( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsListSkusOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listSkusPagingAll( + resourceGroupName, + workspaceName, + poolName, + groupName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listSkusPagingPage( + resourceGroupName, + workspaceName, + poolName, + groupName, + options, + settings, + ); + }, + }; + } + + private async *listSkusPagingPage( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsListSkusOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: InferenceGroupsListSkusResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listSkus( + resourceGroupName, + workspaceName, + poolName, + groupName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listSkusNext( + resourceGroupName, + workspaceName, + poolName, + groupName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listSkusPagingAll( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsListSkusOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listSkusPagingPage( + resourceGroupName, + workspaceName, + poolName, + groupName, + options, + )) { + yield* page; + } + } + + /** + * List Inference Groups. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceGroupsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, options }, + listOperationSpec, + ); + } + + /** + * Delete InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsDeleteOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, poolName, groupName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + poolName, + groupName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get InferenceGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, options }, + getOperationSpec, + ); + } + + /** + * Update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: PartialMinimalTrackedResourceWithSku, + options?: InferenceGroupsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + InferenceGroupsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: PartialMinimalTrackedResourceWithSku, + options?: InferenceGroupsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Create or update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body InferenceGroup entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: InferenceGroup, + options?: InferenceGroupsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + InferenceGroupsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body InferenceGroup entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: InferenceGroup, + options?: InferenceGroupsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Retrieve status of delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param options The options parameters. + */ + getDeltaModelsStatusAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelStatusRequest, + options?: InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, body, options }, + getDeltaModelsStatusAsyncOperationSpec, + ); + } + + /** + * List delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param options The options parameters. + */ + private _listDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + options?: InferenceGroupsListDeltaModelsAsyncOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, body, options }, + listDeltaModelsAsyncOperationSpec, + ); + } + + /** + * Modify delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelModifyRequest. + * @param options The options parameters. + */ + modifyDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelModifyRequest, + options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, body, options }, + modifyDeltaModelsAsyncOperationSpec, + ); + } + + /** + * Retrieve inference group status. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + getStatus( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsGetStatusOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, options }, + getStatusOperationSpec, + ); + } + + /** + * List Inference Group Skus. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Inference Pool name. + * @param groupName Inference Group name. + * @param options The options parameters. + */ + private _listSkus( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsListSkusOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, groupName, options }, + listSkusOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + poolName: string, + nextLink: string, + options?: InferenceGroupsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, poolName, nextLink, options }, + listNextOperationSpec, + ); + } + + /** + * ListDeltaModelsAsyncNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param nextLink The nextLink from the previous successful call to the ListDeltaModelsAsync method. + * @param options The options parameters. + */ + private _listDeltaModelsAsyncNext( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + nextLink: string, + options?: InferenceGroupsListDeltaModelsAsyncNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + nextLink, + options, + }, + listDeltaModelsAsyncNextOperationSpec, + ); + } + + /** + * ListSkusNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Inference Pool name. + * @param groupName Inference Group name. + * @param nextLink The nextLink from the previous successful call to the ListSkus method. + * @param options The options parameters. + */ + private _listSkusNext( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + nextLink: string, + options?: InferenceGroupsListSkusNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + poolName, + groupName, + nextLink, + options, + }, + listSkusNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceGroupTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.tags1, + Parameters.properties, + Parameters.count, + Parameters.orderBy2, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + Parameters.groupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceGroup, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + Parameters.groupName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.InferenceGroup, + }, + 201: { + bodyMapper: Mappers.InferenceGroup, + }, + 202: { + bodyMapper: Mappers.InferenceGroup, + }, + 204: { + bodyMapper: Mappers.InferenceGroup, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body29, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.InferenceGroup, + }, + 201: { + bodyMapper: Mappers.InferenceGroup, + }, + 202: { + bodyMapper: Mappers.InferenceGroup, + }, + 204: { + bodyMapper: Mappers.InferenceGroup, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body30, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + Parameters.groupName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getDeltaModelsStatusAsyncOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/deltaModels/getStatus", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.DeltaModelStatusResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body31, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listDeltaModelsAsyncOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/deltaModels/list", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.StringArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body32, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const modifyDeltaModelsAsyncOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/deltaModels/modify", + httpMethod: "POST", + responses: { + 202: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body33, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const getStatusOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/getStatus", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.GroupStatus, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listSkusOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/skus", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SkuResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferenceGroupTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listDeltaModelsAsyncNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.StringArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listSkusNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.SkuResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.poolName1, + Parameters.groupName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/inferencePools.ts b/sdk/machinelearning/arm-machinelearning/src/operations/inferencePools.ts new file mode 100644 index 000000000000..1a9aa49eb0a3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferencePools.ts @@ -0,0 +1,642 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { InferencePools } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + InferencePool, + InferencePoolsListNextOptionalParams, + InferencePoolsListOptionalParams, + InferencePoolsListResponse, + InferencePoolsDeleteOptionalParams, + InferencePoolsGetOptionalParams, + InferencePoolsGetResponse, + PartialMinimalTrackedResourceWithSkuAndIdentity, + InferencePoolsUpdateOptionalParams, + InferencePoolsUpdateResponse, + InferencePoolsCreateOrUpdateOptionalParams, + InferencePoolsCreateOrUpdateResponse, + InferencePoolsListNextResponse, +} from "../models"; + +/// +/** Class containing InferencePools operations. */ +export class InferencePoolsImpl implements InferencePools { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class InferencePools class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List InferencePools. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: InferencePoolsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: InferencePoolsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: InferencePoolsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: InferencePoolsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * List InferencePools. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: InferencePoolsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsDeleteOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, inferencePoolName, options }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Delete InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + inferencePoolName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Get InferencePool. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, inferencePoolName, options }, + getOperationSpec, + ); + } + + /** + * Update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body Inference Pool entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: PartialMinimalTrackedResourceWithSkuAndIdentity, + options?: InferencePoolsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferencePoolsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + inferencePoolName, + body, + options, + }, + spec: updateOperationSpec, + }); + const poller = await createHttpPoller< + InferencePoolsUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body Inference Pool entity to apply during operation. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: PartialMinimalTrackedResourceWithSkuAndIdentity, + options?: InferencePoolsUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + workspaceName, + inferencePoolName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Create or update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body InferencePool entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: InferencePool, + options?: InferencePoolsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferencePoolsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + inferencePoolName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + InferencePoolsCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "original-uri", + }); + await poller.poll(); + return poller; + } + + /** + * Create or update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body InferencePool entity to apply during operation. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: InferencePool, + options?: InferencePoolsCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + inferencePoolName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: InferencePoolsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferencePoolTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.tags1, + Parameters.properties, + Parameters.count, + Parameters.orderBy2, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.inferencePoolName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferencePool, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.inferencePoolName1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.InferencePool, + }, + 201: { + bodyMapper: Mappers.InferencePool, + }, + 202: { + bodyMapper: Mappers.InferencePool, + }, + 204: { + bodyMapper: Mappers.InferencePool, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body25, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.inferencePoolName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.InferencePool, + }, + 201: { + bodyMapper: Mappers.InferencePool, + }, + 202: { + bodyMapper: Mappers.InferencePool, + }, + 204: { + bodyMapper: Mappers.InferencePool, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body26, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.inferencePoolName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.InferencePoolTrackedResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index fa9150c51ea1..328d67a6ecfd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -12,7 +12,7 @@ import { Jobs } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -36,13 +36,13 @@ import { /// /** Class containing Jobs operations. */ export class JobsImpl implements Jobs { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Jobs class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -391,7 +391,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.listViewType, - Parameters.properties1, + Parameters.properties, Parameters.jobType, Parameters.tag, ], @@ -463,7 +463,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body25, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -513,9 +513,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts index 4f310ee8c1aa..457055cab8d8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -10,7 +10,7 @@ import { ManagedNetworkProvisions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -24,20 +24,20 @@ import { /** Class containing ManagedNetworkProvisions operations. */ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ManagedNetworkProvisions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetwork( @@ -108,7 +108,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetworkAndWait( @@ -147,7 +147,7 @@ const provisionManagedNetworkOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body1, + requestBody: Parameters.body59, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts index 217e8d5b55dd..ac071953d8d5 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -12,7 +12,7 @@ import { ManagedNetworkSettingsRule } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,20 +37,20 @@ import { export class ManagedNetworkSettingsRuleImpl implements ManagedNetworkSettingsRule { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ManagedNetworkSettingsRule class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -126,7 +126,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -143,7 +143,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -199,6 +199,7 @@ export class ManagedNetworkSettingsRuleImpl const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -207,7 +208,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -229,7 +230,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -248,7 +249,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -324,7 +325,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -350,7 +351,7 @@ export class ManagedNetworkSettingsRuleImpl /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -455,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body57, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts index 0b3ac054253d..b570958207b9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts @@ -12,7 +12,7 @@ import { MarketplaceSubscriptions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -36,13 +36,13 @@ import { /// /** Class containing MarketplaceSubscriptions operations. */ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class MarketplaceSubscriptions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -469,7 +469,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body26, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -496,9 +496,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts index 1b62e6f931ab..7742194c095e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -12,7 +12,7 @@ import { ModelContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ModelContainer, ModelContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ModelContainers operations. */ export class ModelContainersImpl implements ModelContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -296,7 +296,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,9 +323,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index b95fa0d83639..84b0f233673e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -12,7 +12,7 @@ import { ModelVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { /// /** Class containing ModelVersions operations. */ export class ModelVersionsImpl implements ModelVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -365,7 +365,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.offset, Parameters.feed, ], @@ -438,7 +438,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -464,7 +464,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -492,9 +492,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index 517b12f76610..6e01d68f9fd2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -12,7 +12,7 @@ import { OnlineDeployments } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -46,13 +46,13 @@ import { /// /** Class containing OnlineDeployments operations. */ export class OnlineDeploymentsImpl implements OnlineDeployments { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class OnlineDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -857,7 +857,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body38, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +882,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body39, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -933,9 +933,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], @@ -955,9 +955,9 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, Parameters.deploymentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index faf9528d5ec9..ab45383e5564 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -12,7 +12,7 @@ import { OnlineEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing OnlineEndpoints operations. */ export class OnlineEndpointsImpl implements OnlineEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class OnlineEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -619,11 +619,11 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.count, Parameters.name2, - Parameters.computeType, Parameters.orderBy2, + Parameters.computeType, ], urlParameters: [ Parameters.$host, @@ -699,7 +699,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -732,7 +732,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body27, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +779,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -828,9 +828,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 6770e1c739a8..bfbf03f85930 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -11,7 +11,7 @@ import { Operations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Operation, OperationsListOptionalParams, @@ -21,18 +21,18 @@ import { /// /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ public list( @@ -73,7 +73,7 @@ export class OperationsImpl implements Operations { } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ private _list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index eae9b01889d7..b300692c72b1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -11,16 +11,16 @@ import { PrivateEndpointConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// @@ -28,20 +28,20 @@ import { export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class PrivateEndpointConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -97,9 +97,9 @@ export class PrivateEndpointConnectionsImpl } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ private _list( @@ -114,19 +114,18 @@ export class PrivateEndpointConnectionsImpl } /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -134,60 +133,59 @@ export class PrivateEndpointConnectionsImpl privateEndpointConnectionName, options, }, - getOperationSpec, + deleteOperationSpec, ); } /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise { + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, - properties, options, }, - createOrUpdateOperationSpec, + getOperationSpec, ); } /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise { + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, privateEndpointConnectionName, + body, options, }, - deleteOperationSpec, + createOrUpdateOperationSpec, ); } } @@ -215,13 +213,12 @@ const listOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const getOperationSpec: coreClient.OperationSpec = { +const deleteOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "GET", + httpMethod: "DELETE", responses: { - 200: { - bodyMapper: Mappers.PrivateEndpointConnection, - }, + 200: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -237,9 +234,9 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { +const getOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "PUT", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnection, @@ -248,7 +245,6 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -257,20 +253,21 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", - httpMethod: "DELETE", + httpMethod: "PUT", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.PrivateEndpointConnection, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body58, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -279,6 +276,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.privateEndpointConnectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts index ee340e387393..b29f10fadac3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -6,35 +6,106 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; import { PrivateLinkResources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse, } from "../models"; +/// /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class PrivateLinkResources class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - list( + public list( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + _settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateLinkResourcesListResponse; + result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options, + )) { + yield* page; + } + } + + /** + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 3817e12372b9..d9c952ad3369 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -12,7 +12,7 @@ import { Quotas } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { ResourceQuota, QuotasListNextOptionalParams, @@ -27,13 +27,13 @@ import { /// /** Class containing Quotas operations. */ export class QuotasImpl implements Quotas { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Quotas class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -158,7 +158,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -203,8 +203,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts new file mode 100644 index 000000000000..29c23e6160f4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RaiPolicies } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListNextOptionalParams, + RaiPoliciesListOptionalParams, + RaiPoliciesListResponse, + RaiPoliciesListNextResponse, +} from "../models"; + +/// +/** Class containing RaiPolicies operations. */ +export class RaiPoliciesImpl implements RaiPolicies { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class RaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + endpointName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: RaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts new file mode 100644 index 000000000000..7a4ce2921540 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts @@ -0,0 +1,378 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { RaiPolicy } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Class containing RaiPolicy operations. */ +export class RaiPolicyImpl implements RaiPolicy { + private readonly client: AzureMachineLearningServicesMgmtClient; + + /** + * Initialize a new instance of the class RaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesMgmtClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + RaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + endpointName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.RaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies/{raiPolicyName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body54, + queryParameters: [Parameters.apiVersion, Parameters.proxyApiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.raiPolicyName, + Parameters.endpointName2, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts index 5ca82fb9f095..75c5bc1e4f77 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -12,7 +12,7 @@ import { Registries } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing Registries operations. */ export class RegistriesImpl implements Registries { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Registries class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -631,7 +631,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body35, + requestBody: Parameters.body42, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +663,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body43, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +695,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body43, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -740,8 +740,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts index 88006db3971c..6f85942e4938 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -12,7 +12,7 @@ import { RegistryCodeContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryCodeContainers operations. */ export class RegistryCodeContainersImpl implements RegistryCodeContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryCodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -452,7 +452,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -479,8 +479,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts index a2f5469d6eb3..8a9b700f4a8d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -12,7 +12,7 @@ import { RegistryCodeVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryCodeVersions operations. */ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryCodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -526,7 +526,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -551,7 +551,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -579,8 +579,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.codeName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts index 14c3eae5d7eb..2fbb3909e183 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -12,7 +12,7 @@ import { RegistryComponentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryComponentContainersImpl implements RegistryComponentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -454,7 +454,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -481,8 +481,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts index 164c583c6200..6c2934c8fef0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -12,7 +12,7 @@ import { RegistryComponentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryComponentVersionsImpl implements RegistryComponentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -508,7 +508,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -536,8 +536,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.componentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts index 1d31306aefe4..a61aa808bfb2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -12,7 +12,7 @@ import { RegistryDataContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryDataContainers operations. */ export class RegistryDataContainersImpl implements RegistryDataContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +483,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts index 8e801a03b2da..0e2b782c3bf9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts @@ -10,7 +10,7 @@ import { RegistryDataReferences } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { GetBlobReferenceSASRequestDto, RegistryDataReferencesGetBlobReferenceSASOptionalParams, @@ -19,13 +19,13 @@ import { /** Class containing RegistryDataReferences operations. */ export class RegistryDataReferencesImpl implements RegistryDataReferences { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataReferences class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -66,7 +66,7 @@ const getBlobReferenceSASOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body9, + requestBody: Parameters.body7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts index c376ffeb3f60..968f00e44eb6 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -12,7 +12,7 @@ import { RegistryDataVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryDataVersions operations. */ export class RegistryDataVersionsImpl implements RegistryDataVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryDataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -516,7 +516,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -541,7 +541,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -569,8 +569,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.name, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts index 8fd75f579068..08ed705455e8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -12,7 +12,7 @@ import { RegistryEnvironmentContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryEnvironmentContainersImpl implements RegistryEnvironmentContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryEnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -458,7 +458,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,8 +485,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts index ccac2d11593b..6bfa0a153a72 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -12,7 +12,7 @@ import { RegistryEnvironmentVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -37,13 +37,13 @@ import { export class RegistryEnvironmentVersionsImpl implements RegistryEnvironmentVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryEnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -509,7 +509,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -537,8 +537,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.environmentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts index 289cb024f2eb..7810c5bdaf1d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -12,7 +12,7 @@ import { RegistryModelContainers } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing RegistryModelContainers operations. */ export class RegistryModelContainersImpl implements RegistryModelContainers { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +483,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts index 056c4d67d973..7d57b3e1f2ef 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -12,7 +12,7 @@ import { RegistryModelVersions } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -38,13 +38,13 @@ import { /// /** Class containing RegistryModelVersions operations. */ export class RegistryModelVersionsImpl implements RegistryModelVersions { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class RegistryModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -452,7 +452,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, ], urlParameters: [ Parameters.$host, @@ -531,7 +531,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -556,7 +556,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -584,8 +584,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.modelName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts index 7881737890c3..5b4612e91181 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -12,7 +12,7 @@ import { Schedules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -35,13 +35,13 @@ import { /// /** Class containing Schedules operations. */ export class SchedulesImpl implements Schedules { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Schedules class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -456,7 +456,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body32, + requestBody: Parameters.body40, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts index d49a37cb2c8c..0dee975146e0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts @@ -12,7 +12,7 @@ import { ServerlessEndpoints } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -44,13 +44,13 @@ import { /// /** Class containing ServerlessEndpoints operations. */ export class ServerlessEndpointsImpl implements ServerlessEndpoints { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class ServerlessEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -695,7 +695,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body33, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +728,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body41, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +783,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -810,9 +810,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index 88f89c303dbd..126619aba67a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -12,7 +12,7 @@ import { Usages } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { Usage, UsagesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing Usages operations. */ export class UsagesImpl implements Usages { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Usages class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -163,8 +163,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index a837b74743f4..4942a45848a9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts @@ -10,7 +10,7 @@ import { VirtualMachineSizes } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { VirtualMachineSizesListOptionalParams, VirtualMachineSizesListResponse, @@ -18,13 +18,13 @@ import { /** Class containing VirtualMachineSizes operations. */ export class VirtualMachineSizesImpl implements VirtualMachineSizes { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class VirtualMachineSizes class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index 62fbf5ade938..645a2aa8a204 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -12,38 +12,49 @@ import { WorkspaceConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; +import { + SimplePollerLike, + OperationState, + createHttpPoller, +} from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, WorkspaceConnectionsListOptionalParams, WorkspaceConnectionsListResponse, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, WorkspaceConnectionsListNextResponse, } from "../models"; /// /** Class containing WorkspaceConnections operations. */ export class WorkspaceConnectionsImpl implements WorkspaceConnections { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class WorkspaceConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -117,28 +128,45 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceConnectionsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Delete machine learning workspaces connections by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise { + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, connectionName, parameters, options }, - createOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + deleteOperationSpec, ); } /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -155,43 +183,47 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise { + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, connectionName, options }, - deleteOperationSpec, + updateOperationSpec, ); } /** + * Create or update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - private _list( + create( resourceGroupName: string, workspaceName: string, - options?: WorkspaceConnectionsListOptionalParams, - ): Promise { + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOperationSpec, + { resourceGroupName, workspaceName, connectionName, options }, + createOperationSpec, ); } /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -207,10 +239,105 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { ); } + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, connectionName, options }, + spec: testConnectionOperationSpec, + }); + const poller = await createHttpPoller< + WorkspaceConnectionsTestConnectionResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + async beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise { + const poller = await this.beginTestConnection( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ @@ -229,18 +356,43 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const createOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "PUT", +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + bodyMapper: + Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters6, + queryParameters: [ + Parameters.apiVersion, + Parameters.target, + Parameters.category, + Parameters.includeAll, + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -249,8 +401,7 @@ const createOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const getOperationSpec: coreClient.OperationSpec = { @@ -275,16 +426,18 @@ const getOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const deleteOperationSpec: coreClient.OperationSpec = { +const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", - httpMethod: "DELETE", + httpMethod: "PATCH", responses: { - 200: {}, - 204: {}, + 200: { + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, + }, default: { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body47, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -293,33 +446,32 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.workspaceName, Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; -const listOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections", - httpMethod: "GET", +const createOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResource, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.target, - Parameters.category, - ], + requestBody: Parameters.body48, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, + Parameters.connectionName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const listSecretsOperationSpec: coreClient.OperationSpec = { @@ -344,6 +496,39 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const testConnectionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/testconnection", + httpMethod: "POST", + responses: { + 200: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 201: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 202: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + 204: { + headersMapper: Mappers.WorkspaceConnectionsTestConnectionHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body48, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.connectionName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -359,9 +544,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index 0eed26da9c95..a1ae1e0c04f0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -12,7 +12,7 @@ import { WorkspaceFeatures } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { AmlUserFeature, WorkspaceFeaturesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing WorkspaceFeatures operations. */ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class WorkspaceFeatures class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } @@ -184,9 +184,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts index d6a49f9eb2e3..30e26c6652da 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -12,7 +12,7 @@ import { Workspaces } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient"; +import { AzureMachineLearningServicesMgmtClient } from "../azureMachineLearningServicesMgmtClient"; import { SimplePollerLike, OperationState, @@ -21,62 +21,60 @@ import { import { createLroSpec } from "../lroImpl"; import { Workspace, - WorkspacesListByResourceGroupNextOptionalParams, - WorkspacesListByResourceGroupOptionalParams, - WorkspacesListByResourceGroupResponse, WorkspacesListBySubscriptionNextOptionalParams, WorkspacesListBySubscriptionOptionalParams, WorkspacesListBySubscriptionResponse, + WorkspacesListByResourceGroupNextOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesListByResourceGroupResponse, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, - WorkspacesListByResourceGroupNextResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, WorkspacesListBySubscriptionNextResponse, + WorkspacesListByResourceGroupNextResponse, } from "../models"; /// /** Class containing Workspaces operations. */ export class WorkspacesImpl implements Workspaces { - private readonly client: AzureMachineLearningServicesManagementClient; + private readonly client: AzureMachineLearningServicesMgmtClient; /** * Initialize a new instance of the class Workspaces class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningServicesManagementClient) { + constructor(client: AzureMachineLearningServicesMgmtClient) { this.client = client; } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + public listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -88,35 +86,26 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listByResourceGroupPagingPage( - resourceGroupName, - options, - settings, - ); + return this.listBySubscriptionPagingPage(options, settings); }, }; } - private async *listByResourceGroupPagingPage( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingPage( + options?: WorkspacesListBySubscriptionOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListByResourceGroupResponse; + let result: WorkspacesListBySubscriptionResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listByResourceGroup(resourceGroupName, options); + result = await this._listBySubscription(options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listByResourceGroupNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listBySubscriptionNext(continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -124,26 +113,24 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listByResourceGroupPagingAll( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + private async *listBySubscriptionPagingAll( + options?: WorkspacesListBySubscriptionOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listByResourceGroupPagingPage( - resourceGroupName, - options, - )) { + for await (const page of this.listBySubscriptionPagingPage(options)) { yield* page; } } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the available machine learning workspaces under the specified resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ - public listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, + public listByResourceGroup( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listBySubscriptionPagingAll(options); + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); return { next() { return iter.next(); @@ -155,26 +142,35 @@ export class WorkspacesImpl implements Workspaces { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listBySubscriptionPagingPage(options, settings); + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings, + ); }, }; } - private async *listBySubscriptionPagingPage( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, settings?: PageSettings, ): AsyncIterableIterator { - let result: WorkspacesListBySubscriptionResponse; + let result: WorkspacesListByResourceGroupResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listBySubscription(options); + result = await this._listByResourceGroup(resourceGroupName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); yield page; } while (continuationToken) { - result = await this._listBySubscriptionNext(continuationToken, options); + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options, + ); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -182,129 +178,50 @@ export class WorkspacesImpl implements Workspaces { } } - private async *listBySubscriptionPagingAll( - options?: WorkspacesListBySubscriptionOptionalParams, + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: WorkspacesListByResourceGroupOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listBySubscriptionPagingPage(options)) { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options, + )) { yield* page; } } /** - * Gets the properties of the specified machine learning workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise { + private _listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - getOperationSpec, + { options }, + listBySubscriptionOperationSpec, ); } /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - async beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - > { - const directSendOperation = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ): Promise => { - return this.client.sendOperationRequest(args, spec); - }; - const sendOperationFn = async ( - args: coreClient.OperationArguments, - spec: coreClient.OperationSpec, - ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; - const providedCallback = args.options?.onResponse; - const callback: coreClient.RawResponseCallback = ( - rawResponse: coreClient.FullOperationResponse, - flatResponse: unknown, - ) => { - currentRawResponse = rawResponse; - providedCallback?.(rawResponse, flatResponse); - }; - const updatedArgs = { - ...args, - options: { - ...args.options, - onResponse: callback, - }, - }; - const flatResponse = await directSendOperation(updatedArgs, spec); - return { - flatResponse, - rawResponse: { - statusCode: currentRawResponse!.status, - body: currentRawResponse!.parsedBody, - headers: currentRawResponse!.headers.toJSON(), - }, - }; - }; - - const lro = createLroSpec({ - sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, - spec: createOrUpdateOperationSpec, - }); - const poller = await createHttpPoller< - WorkspacesCreateOrUpdateResponse, - OperationState - >(lro, { - restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - }); - await poller.poll(); - return poller; - } - - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginCreateOrUpdateAndWait( + private _listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - workspaceName, - parameters, - options, + options?: WorkspacesListByResourceGroupOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec, ); - return poller.pollUntilDone(); } /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDelete( @@ -358,6 +275,7 @@ export class WorkspacesImpl implements Workspaces { const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -366,7 +284,7 @@ export class WorkspacesImpl implements Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginDeleteAndWait( @@ -382,17 +300,34 @@ export class WorkspacesImpl implements Workspaces { return poller.pollUntilDone(); } + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + getOperationSpec, + ); + } + /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -440,7 +375,7 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, + args: { resourceGroupName, workspaceName, body, options }, spec: updateOperationSpec, }); const poller = await createHttpPoller< @@ -457,60 +392,47 @@ export class WorkspacesImpl implements Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ async beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise { const poller = await this.beginUpdate( resourceGroupName, workspaceName, - parameters, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - private _listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listByResourceGroupOperationSpec, - ); - } - - /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnose( + async beginCreateOrUpdate( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse + OperationState, + WorkspacesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -547,13 +469,13 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, options }, - spec: diagnoseOperationSpec, + args: { resourceGroupName, workspaceName, body, options }, + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< - WorkspacesDiagnoseResponse, - OperationState - >(lro, { + WorkspacesCreateOrUpdateResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, resourceLocationConfig: "location", @@ -563,58 +485,47 @@ export class WorkspacesImpl implements Workspaces { } /** - * Diagnose workspace setup issue. + * Creates or updates a workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - async beginDiagnoseAndWait( + async beginCreateOrUpdateAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDiagnoseOptionalParams, - ): Promise { - const poller = await this.beginDiagnose( + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( resourceGroupName, workspaceName, + body, options, ); return poller.pollUntilDone(); } /** - * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - listKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listKeysOperationSpec, - ); - } - - /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeys( + async beginDiagnose( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>> { + options?: WorkspacesDiagnoseOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesDiagnoseResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( @@ -652,29 +563,32 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, args: { resourceGroupName, workspaceName, options }, - spec: resyncKeysOperationSpec, + spec: diagnoseOperationSpec, }); - const poller = await createHttpPoller>(lro, { + const poller = await createHttpPoller< + WorkspacesDiagnoseResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginResyncKeysAndWait( + async beginDiagnoseAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise { - const poller = await this.beginResyncKeys( + options?: WorkspacesDiagnoseOptionalParams, + ): Promise { + const poller = await this.beginDiagnose( resourceGroupName, workspaceName, options, @@ -683,22 +597,27 @@ export class WorkspacesImpl implements Workspaces { } /** - * Lists all the available machine learning workspaces under the specified subscription. + * Lists all the keys associated with this workspace. This includes keys for the storage account, app + * insights and password for container registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - private _listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, - ): Promise { + listKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListKeysOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, + { resourceGroupName, workspaceName, options }, + listKeysOperationSpec, ); } /** - * return notebook access token and refresh token + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listNotebookAccessToken( @@ -713,9 +632,61 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Lists keys of Azure Machine Learning Workspaces notebook. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listNotebookKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listNotebookKeysOperationSpec, + ); + } + + /** + * Lists keys of Azure Machine Learning Workspace's storage account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listStorageAccountKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listStorageAccountKeysOperationSpec, + ); + } + + /** + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOutboundNetworkDependenciesEndpointsOperationSpec, + ); + } + + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebook( @@ -784,9 +755,9 @@ export class WorkspacesImpl implements Workspaces { } /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginPrepareNotebookAndWait( @@ -803,54 +774,101 @@ export class WorkspacesImpl implements Workspaces { } /** - * List storage account keys of a workspace. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listStorageAccountKeys( + async beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listStorageAccountKeysOperationSpec, - ); + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = + undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { resourceGroupName, workspaceName, options }, + spec: resyncKeysOperationSpec, + }); + const poller = await createHttpPoller>(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; } /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + async beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listNotebookKeysOperationSpec, + options?: WorkspacesResyncKeysOptionalParams, + ): Promise { + const poller = await this.beginResyncKeys( + resourceGroupName, + workspaceName, + options, ); + return poller.pollUntilDone(); } /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise { + private _listBySubscriptionNext( + nextLink: string, + options?: WorkspacesListBySubscriptionNextOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - listOutboundNetworkDependenciesEndpointsOperationSpec, + { nextLink, options }, + listBySubscriptionNextOperationSpec, ); } @@ -870,76 +888,54 @@ export class WorkspacesImpl implements Workspaces { listByResourceGroupNextOperationSpec, ); } - - /** - * ListBySubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. - * @param options The options parameters. - */ - private _listBySubscriptionNext( - nextLink: string, - options?: WorkspacesListBySubscriptionNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listBySubscriptionNextOperationSpec, - ); - } } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const getOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, ], + urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer, }; -const createOrUpdateOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", - httpMethod: "PUT", +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.Workspace, - }, - 201: { - bodyMapper: Mappers.Workspace, - }, - 202: { - bodyMapper: Mappers.Workspace, - }, - 204: { - bodyMapper: Mappers.Workspace, + bodyMapper: Mappers.WorkspaceListResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.workspaceName, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + headerParameters: [Parameters.accept], serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { @@ -964,6 +960,27 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Workspace, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; const updateOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", httpMethod: "PATCH", @@ -984,7 +1001,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.body44, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -996,24 +1013,36 @@ const updateOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; -const listByResourceGroupOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", + httpMethod: "PUT", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.Workspace, + }, + 201: { + bodyMapper: Mappers.Workspace, + }, + 202: { + bodyMapper: Mappers.Workspace, + }, + 204: { + bodyMapper: Mappers.Workspace, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], + requestBody: Parameters.body45, + queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, + Parameters.workspaceName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer, }; const diagnoseOperationSpec: coreClient.OperationSpec = { @@ -1036,7 +1065,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.body46, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1069,14 +1098,13 @@ const listKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const resyncKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", +const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", httpMethod: "POST", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.NotebookAccessTokenResult, + }, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1091,28 +1119,33 @@ const resyncKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", - httpMethod: "GET", +const listNotebookKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.WorkspaceListResult, + bodyMapper: Mappers.ListNotebookKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [Parameters.apiVersion, Parameters.skip], - urlParameters: [Parameters.$host, Parameters.subscriptionId], + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], headerParameters: [Parameters.accept], serializer, }; -const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken", +const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.NotebookAccessTokenResult, + bodyMapper: Mappers.ListStorageAccountKeysResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -1128,6 +1161,28 @@ const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = + { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ExternalFqdnResponse, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, + }; const prepareNotebookOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", httpMethod: "POST", @@ -1158,34 +1213,14 @@ const prepareNotebookOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ListStorageAccountKeysResult, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, -}; -const listNotebookKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys", +const resyncKeysOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", httpMethod: "POST", responses: { - 200: { - bodyMapper: Mappers.ListNotebookKeysResult, - }, + 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.ErrorResponse, }, @@ -1200,29 +1235,7 @@ const listNotebookKeysOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = - { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.ExternalFqdnResponse, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, - ], - headerParameters: [Parameters.accept], - serializer, - }; -const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1236,13 +1249,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1257,6 +1269,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts new file mode 100644 index 000000000000..0923b927ac77 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts @@ -0,0 +1,101 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + CapabilityHostsDeleteOptionalParams, + CapabilityHostsDeleteResponse, + CapabilityHostsGetOptionalParams, + CapabilityHostsGetResponse, + CapabilityHost, + CapabilityHostsCreateOrUpdateOptionalParams, + CapabilityHostsCreateOrUpdateResponse, +} from "../models"; + +/** Interface representing a CapabilityHosts. */ +export interface CapabilityHosts { + /** + * Delete capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + CapabilityHostsDeleteResponse + > + >; + /** + * Delete capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsDeleteOptionalParams, + ): Promise; + /** + * Get capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: CapabilityHostsGetOptionalParams, + ): Promise; + /** + * Create or update capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param body CapabilityHost definition. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: CapabilityHost, + options?: CapabilityHostsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + CapabilityHostsCreateOrUpdateResponse + > + >; + /** + * Create or update capabilityHost. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name CapabilityHost name. + * @param body CapabilityHost definition. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: CapabilityHost, + options?: CapabilityHostsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 46ba330822d6..90ca448fae7c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -22,11 +22,22 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, + ComputeInstanceDataMount, + ComputeUpdateDataMountsOptionalParams, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, + ComputeGetAllowedResizeSizesOptionalParams, + ComputeGetAllowedResizeSizesResponse, + ResizeSchema, + ComputeResizeOptionalParams, + ComputeResizeResponse, } from "../models"; /// @@ -178,6 +189,21 @@ export interface ComputeOperations { underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams, ): Promise; + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams, + ): Promise; /** * Gets secrets related to Machine Learning compute (storage keys, service credentials, etc). * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -191,6 +217,21 @@ export interface ComputeOperations { computeName: string, options?: ComputeListKeysOptionalParams, ): Promise; + /** + * Update Data Mounts of a Machine Learning compute. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param dataMounts The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + updateDataMounts( + resourceGroupName: string, + workspaceName: string, + computeName: string, + dataMounts: ComputeInstanceDataMount[], + options?: ComputeUpdateDataMountsOptionalParams, + ): Promise; /** * Posts a start action to a compute instance * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -269,4 +310,67 @@ export interface ComputeOperations { computeName: string, options?: ComputeRestartOptionalParams, ): Promise; + /** + * Updates the idle shutdown setting of a compute instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams, + ): Promise; + /** + * Returns supported virtual machine sizes for resize + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param options The options parameters. + */ + getAllowedResizeSizes( + resourceGroupName: string, + workspaceName: string, + computeName: string, + options?: ComputeGetAllowedResizeSizesOptionalParams, + ): Promise; + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResize( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ComputeResizeResponse + > + >; + /** + * Updates the size of a Compute Instance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating VM size setting of specified Compute Instance. + * @param options The options parameters. + */ + beginResizeAndWait( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: ResizeSchema, + options?: ComputeResizeOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts new file mode 100644 index 000000000000..a5456f2441a1 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connection.ts @@ -0,0 +1,155 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsOptionalParams, + EndpointModelProperties, + ConnectionGetModelsOptionalParams, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionGetAllModelsOptionalParams, + ConnectionGetAllModelsResponse, +} from "../models"; + +/// +/** Interface representing a Connection. */ +export interface Connection { + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionDeleteDeploymentResponse + > + >; + /** + * Delete Azure OpenAI connection deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionDeleteDeploymentOptionalParams, + ): Promise; + /** + * Get deployments under the Azure OpenAI connection by name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + getDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + options?: ConnectionGetDeploymentOptionalParams, + ): Promise; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeployment( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionCreateOrUpdateDeploymentResponse + > + >; + /** + * Create or update Azure OpenAI connection deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateDeploymentAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: ConnectionCreateOrUpdateDeploymentOptionalParams, + ): Promise; + /** + * Get models under the Azure ML workspace for all Azure OpenAI connections that the user can deploy. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + getAllModels( + resourceGroupName: string, + workspaceName: string, + options?: ConnectionGetAllModelsOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts new file mode 100644 index 000000000000..ac74344d4901 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklist.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklist. */ +export interface ConnectionRaiBlocklist { + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + >; + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts new file mode 100644 index 000000000000..cedd2161d6f0 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItem.ts @@ -0,0 +1,206 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteBulkResponse, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiBlocklistItem. */ +export interface ConnectionRaiBlocklistItem { + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + >; + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteBulkResponse + > + >; + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + beginDeleteBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemDeleteResponse + > + >; + /** + * Deletes the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemDeleteOptionalParams, + ): Promise; + /** + * Gets the specified custom blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + options?: ConnectionRaiBlocklistItemGetOptionalParams, + ): Promise; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemCreateResponse + > + >; + /** + * Update the state of specified blocklist item associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param raiBlocklistItemName Name of the RaiBlocklist Item + * @param body + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + raiBlocklistItemName: string, + body: RaiBlocklistItemPropertiesBasicResource, + options?: ConnectionRaiBlocklistItemCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts new file mode 100644 index 000000000000..972c441a8718 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklistItems.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklistItems. */ +export interface ConnectionRaiBlocklistItems { + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts new file mode 100644 index 000000000000..d5fdc727c307 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiBlocklists.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiBlocklists. */ +export interface ConnectionRaiBlocklists { + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts new file mode 100644 index 000000000000..2c83e624b7c9 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicies.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a ConnectionRaiPolicies. */ +export interface ConnectionRaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts new file mode 100644 index 000000000000..c009a4102515 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/connectionRaiPolicy.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a ConnectionRaiPolicy. */ +export interface ConnectionRaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts new file mode 100644 index 000000000000..dd8e562e5d39 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointDeployment.ts @@ -0,0 +1,139 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a EndpointDeployment. */ +export interface EndpointDeployment { + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get all the deployments under the endpoint resource scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointDeploymentListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentDeleteResponse + > + >; + /** + * Delete endpoint deployment resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentDeleteOptionalParams, + ): Promise; + /** + * Get deployments under endpoint resource by name + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + options?: EndpointDeploymentGetOptionalParams, + ): Promise; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointDeploymentCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint deployment resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param deploymentName Name of the deployment resource + * @param body deployment object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + deploymentName: string, + body: EndpointDeploymentResourcePropertiesBasicResource, + options?: EndpointDeploymentCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts new file mode 100644 index 000000000000..5d18f0d9a7bb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts @@ -0,0 +1,130 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListOptionalParams, + EndpointModelProperties, + EndpointGetModelsOptionalParams, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, +} from "../models"; + +/// +/** Interface representing a EndpointOperations. */ +export interface EndpointOperations { + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + EndpointCreateOrUpdateResponse + > + >; + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise; + /** + * List keys for the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + listKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointListKeysOptionalParams, + ): Promise; + /** + * Regenerate account keys + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body + * @param options The options parameters. + */ + regenerateKeys( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: RegenerateServiceAccountKeyContent, + options?: EndpointRegenerateKeysOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 1ab888709948..951fde5aeb24 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -6,17 +6,10 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations"; -export * from "./workspaces"; export * from "./usages"; export * from "./virtualMachineSizes"; export * from "./quotas"; export * from "./computeOperations"; -export * from "./privateEndpointConnections"; -export * from "./privateLinkResources"; -export * from "./workspaceConnections"; -export * from "./managedNetworkSettingsRule"; -export * from "./managedNetworkProvisions"; export * from "./registryCodeContainers"; export * from "./registryCodeVersions"; export * from "./registryComponentContainers"; @@ -30,6 +23,7 @@ export * from "./registryModelContainers"; export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; +export * from "./capabilityHosts"; export * from "./codeContainers"; export * from "./codeVersions"; export * from "./componentContainers"; @@ -44,6 +38,9 @@ export * from "./features"; export * from "./featuresetVersions"; export * from "./featurestoreEntityContainers"; export * from "./featurestoreEntityVersions"; +export * from "./inferencePools"; +export * from "./inferenceEndpoints"; +export * from "./inferenceGroups"; export * from "./jobs"; export * from "./marketplaceSubscriptions"; export * from "./modelContainers"; @@ -54,3 +51,21 @@ export * from "./schedules"; export * from "./serverlessEndpoints"; export * from "./registries"; export * from "./workspaceFeatures"; +export * from "./operations"; +export * from "./workspaces"; +export * from "./workspaceConnections"; +export * from "./connection"; +export * from "./connectionRaiBlocklists"; +export * from "./connectionRaiBlocklist"; +export * from "./connectionRaiBlocklistItem"; +export * from "./connectionRaiBlocklistItems"; +export * from "./connectionRaiPolicies"; +export * from "./connectionRaiPolicy"; +export * from "./endpointDeployment"; +export * from "./endpointOperations"; +export * from "./raiPolicies"; +export * from "./raiPolicy"; +export * from "./managedNetworkSettingsRule"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./managedNetworkProvisions"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceEndpoints.ts new file mode 100644 index 000000000000..5aafc88deebe --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceEndpoints.ts @@ -0,0 +1,162 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + InferenceEndpoint, + InferenceEndpointsListOptionalParams, + InferenceEndpointsDeleteOptionalParams, + InferenceEndpointsGetOptionalParams, + InferenceEndpointsGetResponse, + InferenceEndpointsUpdateOptionalParams, + InferenceEndpointsUpdateResponse, + InferenceEndpointsCreateOrUpdateOptionalParams, + InferenceEndpointsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a InferenceEndpoints. */ +export interface InferenceEndpoints { + /** + * List Inference Endpoints. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceEndpointsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsDeleteOptionalParams, + ): Promise; + /** + * Get InferenceEndpoint. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + options?: InferenceEndpointsGetOptionalParams, + ): Promise; + /** + * Update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: any, + options?: InferenceEndpointsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceEndpointsUpdateResponse + > + >; + /** + * Update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: any, + options?: InferenceEndpointsUpdateOptionalParams, + ): Promise; + /** + * Create or update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body InferenceEndpoint entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: InferenceEndpoint, + options?: InferenceEndpointsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceEndpointsCreateOrUpdateResponse + > + >; + /** + * Create or update InferenceEndpoint (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param endpointName InferenceEndpoint name. + * @param body InferenceEndpoint entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + endpointName: string, + body: InferenceEndpoint, + options?: InferenceEndpointsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceGroups.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceGroups.ts new file mode 100644 index 000000000000..0a6ac2767f2a --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceGroups.ts @@ -0,0 +1,255 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + InferenceGroup, + InferenceGroupsListOptionalParams, + DeltaModelListRequest, + InferenceGroupsListDeltaModelsAsyncOptionalParams, + SkuResource, + InferenceGroupsListSkusOptionalParams, + InferenceGroupsDeleteOptionalParams, + InferenceGroupsGetOptionalParams, + InferenceGroupsGetResponse, + PartialMinimalTrackedResourceWithSku, + InferenceGroupsUpdateOptionalParams, + InferenceGroupsUpdateResponse, + InferenceGroupsCreateOrUpdateOptionalParams, + InferenceGroupsCreateOrUpdateResponse, + DeltaModelStatusRequest, + InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams, + InferenceGroupsGetDeltaModelsStatusAsyncResponse, + DeltaModelModifyRequest, + InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + InferenceGroupsGetStatusOptionalParams, + InferenceGroupsGetStatusResponse, +} from "../models"; + +/// +/** Interface representing a InferenceGroups. */ +export interface InferenceGroups { + /** + * List Inference Groups. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Name of the InferencePool. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + poolName: string, + options?: InferenceGroupsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * List delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param options The options parameters. + */ + listDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelListRequest, + options?: InferenceGroupsListDeltaModelsAsyncOptionalParams, + ): PagedAsyncIterableIterator; + /** + * List Inference Group Skus. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName Inference Pool name. + * @param groupName Inference Group name. + * @param options The options parameters. + */ + listSkus( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsListSkusOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsDeleteOptionalParams, + ): Promise; + /** + * Get InferenceGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsGetOptionalParams, + ): Promise; + /** + * Update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: PartialMinimalTrackedResourceWithSku, + options?: InferenceGroupsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsUpdateResponse + > + >; + /** + * Update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body Online Endpoint entity to apply during operation. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: PartialMinimalTrackedResourceWithSku, + options?: InferenceGroupsUpdateOptionalParams, + ): Promise; + /** + * Create or update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body InferenceGroup entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: InferenceGroup, + options?: InferenceGroupsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsCreateOrUpdateResponse + > + >; + /** + * Create or update InferenceGroup (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body InferenceGroup entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: InferenceGroup, + options?: InferenceGroupsCreateOrUpdateOptionalParams, + ): Promise; + /** + * Retrieve status of delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelBaseRequest. + * @param options The options parameters. + */ + getDeltaModelsStatusAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelStatusRequest, + options?: InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams, + ): Promise; + /** + * Modify delta models associated with the InferenceGroup and the target base model. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param body DeltaModelModifyRequest. + * @param options The options parameters. + */ + modifyDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelModifyRequest, + options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + ): Promise; + /** + * Retrieve inference group status. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param poolName InferencePool name. + * @param groupName InferenceGroup name. + * @param options The options parameters. + */ + getStatus( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + options?: InferenceGroupsGetStatusOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferencePools.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferencePools.ts new file mode 100644 index 000000000000..c3eb2099a371 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferencePools.ts @@ -0,0 +1,147 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + InferencePool, + InferencePoolsListOptionalParams, + InferencePoolsDeleteOptionalParams, + InferencePoolsGetOptionalParams, + InferencePoolsGetResponse, + PartialMinimalTrackedResourceWithSkuAndIdentity, + InferencePoolsUpdateOptionalParams, + InferencePoolsUpdateResponse, + InferencePoolsCreateOrUpdateOptionalParams, + InferencePoolsCreateOrUpdateResponse, +} from "../models"; + +/// +/** Interface representing a InferencePools. */ +export interface InferencePools { + /** + * List InferencePools. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: InferencePoolsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Delete InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsDeleteOptionalParams, + ): Promise, void>>; + /** + * Delete InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsDeleteOptionalParams, + ): Promise; + /** + * Get InferencePool. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + options?: InferencePoolsGetOptionalParams, + ): Promise; + /** + * Update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body Inference Pool entity to apply during operation. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: PartialMinimalTrackedResourceWithSkuAndIdentity, + options?: InferencePoolsUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferencePoolsUpdateResponse + > + >; + /** + * Update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body Inference Pool entity to apply during operation. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: PartialMinimalTrackedResourceWithSkuAndIdentity, + options?: InferencePoolsUpdateOptionalParams, + ): Promise; + /** + * Create or update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body InferencePool entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: InferencePool, + options?: InferencePoolsCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferencePoolsCreateOrUpdateResponse + > + >; + /** + * Create or update InferencePool (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param inferencePoolName Name of InferencePool + * @param body InferencePool entity to apply during operation. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + inferencePoolName: string, + body: InferencePool, + options?: InferencePoolsCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts index ce0b0ccc93f6..b7b10226a733 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkProvisions.ts @@ -17,7 +17,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetwork( @@ -33,7 +33,7 @@ export interface ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginProvisionManagedNetworkAndWait( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts index 4cf42f0f3a6e..47c9d5d0365a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts @@ -24,7 +24,7 @@ export interface ManagedNetworkSettingsRule { /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -35,7 +35,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -48,7 +48,7 @@ export interface ManagedNetworkSettingsRule { /** * Deletes an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -61,7 +61,7 @@ export interface ManagedNetworkSettingsRule { /** * Gets an outbound rule from the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param options The options parameters. */ @@ -74,7 +74,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. @@ -95,7 +95,7 @@ export interface ManagedNetworkSettingsRule { /** * Creates or updates an outbound rule in the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param ruleName Name of the workspace managed network outbound rule * @param body Outbound Rule to be created or updated in the managed network of a machine learning * workspace. diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index 3f7a0879a045..b2389fdf7d2e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -13,7 +13,7 @@ import { Operation, OperationsListOptionalParams } from "../models"; /** Interface representing a Operations. */ export interface Operations { /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts index 6dbdbda8ffa6..821a34bb1cbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts @@ -10,20 +10,20 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models"; /// /** Interface representing a PrivateEndpointConnections. */ export interface PrivateEndpointConnections { /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -32,47 +32,45 @@ export interface PrivateEndpointConnections { options?: PrivateEndpointConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the specified private endpoint connection associated with the workspace. + * Called by end-users to delete a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - get( + delete( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsGetOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsDeleteOptionalParams, + ): Promise; /** - * Update the state of specified private endpoint connection associated with the workspace. + * Called by end-users to get a PE connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace - * @param properties The private endpoint connection properties. + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name * @param options The options parameters. */ - createOrUpdate( + get( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - properties: PrivateEndpointConnection, - options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, - ): Promise; + options?: PrivateEndpointConnectionsGetOptionalParams, + ): Promise; /** - * Deletes the specified private endpoint connection associated with the workspace. + * Called by end-users to approve or reject a PE connection. + * This method must validate and forward the call to NRP. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param privateEndpointConnectionName The name of the private endpoint connection associated with the - * workspace + * @param workspaceName Azure Machine Learning Workspace Name + * @param privateEndpointConnectionName NRP Private Endpoint Connection Name + * @param body PrivateEndpointConnection object * @param options The options parameters. */ - delete( + createOrUpdate( resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, - options?: PrivateEndpointConnectionsDeleteOptionalParams, - ): Promise; + body: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts index 5be795d4659d..b544a862c207 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts @@ -6,22 +6,29 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse, } from "../models"; +/// /** Interface representing a PrivateLinkResources. */ export interface PrivateLinkResources { /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, - ): Promise; + ): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts new file mode 100644 index 000000000000..2e974885b28f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicies.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListOptionalParams, +} from "../models"; + +/// +/** Interface representing a RaiPolicies. */ +export interface RaiPolicies { + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts new file mode 100644 index 000000000000..110a796143a4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { SimplePollerLike, OperationState } from "@azure/core-lro"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models"; + +/** Interface representing a RaiPolicy. */ +export interface RaiPolicy { + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyDeleteResponse + > + >; + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise; + /** + * Gets the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyGetOptionalParams, + ): Promise; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + RaiPolicyCreateResponse + > + >; + /** + * Update the state of specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: RaiPolicyCreateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index a0dbe0ddd6ca..65cfa39a15ba 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts @@ -7,24 +7,30 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListOptionalParams, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, } from "../models"; /// /** Interface representing a WorkspaceConnections. */ export interface WorkspaceConnections { /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ list( @@ -33,22 +39,22 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsListOptionalParams, ): PagedAsyncIterableIterator; /** + * Delete machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection - * @param parameters The object for creating or updating a new workspace connection * @param options The options parameters. */ - create( + delete( resourceGroupName: string, workspaceName: string, connectionName: string, - parameters: WorkspaceConnectionPropertiesV2BasicResource, - options?: WorkspaceConnectionsCreateOptionalParams, - ): Promise; + options?: WorkspaceConnectionsDeleteOptionalParams, + ): Promise; /** + * Lists machine learning workspaces connections by name. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -59,21 +65,35 @@ export interface WorkspaceConnections { options?: WorkspaceConnectionsGetOptionalParams, ): Promise; /** + * Update machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ - delete( + update( resourceGroupName: string, workspaceName: string, connectionName: string, - options?: WorkspaceConnectionsDeleteOptionalParams, - ): Promise; + options?: WorkspaceConnectionsUpdateOptionalParams, + ): Promise; + /** + * Create or update machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + create( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsCreateOptionalParams, + ): Promise; /** * List all the secrets of a machine learning workspaces connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param connectionName Friendly name of the workspace connection * @param options The options parameters. */ @@ -83,4 +103,35 @@ export interface WorkspaceConnections { connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams, ): Promise; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnection( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspaceConnectionsTestConnectionResponse + > + >; + /** + * Test machine learning workspaces connections under the specified workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + beginTestConnectionAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: WorkspaceConnectionsTestConnectionOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts index e0e9dbaf128a..c26c0791b0f1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -10,45 +10,36 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Workspace, - WorkspacesListByResourceGroupOptionalParams, WorkspacesListBySubscriptionOptionalParams, + WorkspacesListByResourceGroupOptionalParams, + WorkspacesDeleteOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, - WorkspacesCreateOrUpdateOptionalParams, - WorkspacesCreateOrUpdateResponse, - WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, + WorkspacesCreateOrUpdateOptionalParams, + WorkspacesCreateOrUpdateResponse, WorkspacesDiagnoseOptionalParams, WorkspacesDiagnoseResponse, WorkspacesListKeysOptionalParams, WorkspacesListKeysResponse, - WorkspacesResyncKeysOptionalParams, WorkspacesListNotebookAccessTokenOptionalParams, WorkspacesListNotebookAccessTokenResponse, - WorkspacesPrepareNotebookOptionalParams, - WorkspacesPrepareNotebookResponse, - WorkspacesListStorageAccountKeysOptionalParams, - WorkspacesListStorageAccountKeysResponse, WorkspacesListNotebookKeysOptionalParams, WorkspacesListNotebookKeysResponse, + WorkspacesListStorageAccountKeysOptionalParams, + WorkspacesListStorageAccountKeysResponse, WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, WorkspacesListOutboundNetworkDependenciesEndpointsResponse, + WorkspacesPrepareNotebookOptionalParams, + WorkspacesPrepareNotebookResponse, + WorkspacesResyncKeysOptionalParams, } from "../models"; /// /** Interface representing a Workspaces. */ export interface Workspaces { - /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, - ): PagedAsyncIterableIterator; /** * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. @@ -57,51 +48,18 @@ export interface Workspaces { options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator; /** - * Gets the properties of the specified machine learning workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - get( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise; - /** - * Creates or updates a workspace with the specified parameters. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. - * @param options The options parameters. - */ - beginCreateOrUpdate( - resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - >; - /** - * Creates or updates a workspace with the specified parameters. + * Lists all the available machine learning workspaces under the specified resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for creating or updating a machine learning workspace. * @param options The options parameters. */ - beginCreateOrUpdateAndWait( + listByResourceGroup( resourceGroupName: string, - workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise; + options?: WorkspacesListByResourceGroupOptionalParams, + ): PagedAsyncIterableIterator; /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDelete( @@ -112,7 +70,7 @@ export interface Workspaces { /** * Deletes a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDeleteAndWait( @@ -120,17 +78,28 @@ export interface Workspaces { workspaceName: string, options?: WorkspacesDeleteOptionalParams, ): Promise; + /** + * Gets the properties of the specified machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesGetOptionalParams, + ): Promise; /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise< SimplePollerLike< @@ -141,20 +110,51 @@ export interface Workspaces { /** * Updates a machine learning workspace with the specified parameters. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param parameters The parameters for updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, + body: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams, ): Promise; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + WorkspacesCreateOrUpdateResponse + > + >; + /** + * Creates or updates a workspace with the specified parameters. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for creating or updating a machine learning workspace. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise; /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnose( @@ -170,7 +170,7 @@ export interface Workspaces { /** * Diagnose workspace setup issue. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginDiagnoseAndWait( @@ -180,9 +180,9 @@ export interface Workspaces { ): Promise; /** * Lists all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * insights and password for container registry. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ listKeys( @@ -191,44 +191,54 @@ export interface Workspaces { options?: WorkspacesListKeysOptionalParams, ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Get Azure Machine Learning Workspace notebook access token * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeys( + listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise, void>>; + options?: WorkspacesListNotebookAccessTokenOptionalParams, + ): Promise; /** - * Resync all the keys associated with this workspace. This includes keys for the storage account, app - * insights and password for container registry + * Lists keys of Azure Machine Learning Workspaces notebook. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginResyncKeysAndWait( + listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise; + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise; /** - * return notebook access token and refresh token + * Lists keys of Azure Machine Learning Workspace's storage account. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookAccessToken( + listStorageAccountKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams, - ): Promise; + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise; /** - * Prepare a notebook. + * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) + * programmatically. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise; + /** + * Prepare Azure Machine Learning Workspace's notebook resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebook( @@ -242,9 +252,9 @@ export interface Workspaces { > >; /** - * Prepare a notebook. + * Prepare Azure Machine Learning Workspace's notebook resource * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ beginPrepareNotebookAndWait( @@ -253,37 +263,27 @@ export interface Workspaces { options?: WorkspacesPrepareNotebookOptionalParams, ): Promise; /** - * List storage account keys of a workspace. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. - * @param options The options parameters. - */ - listStorageAccountKeys( - resourceGroupName: string, - workspaceName: string, - options?: WorkspacesListStorageAccountKeysOptionalParams, - ): Promise; - /** - * List keys of a notebook. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listNotebookKeys( + beginResyncKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookKeysOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise, void>>; /** - * Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) - * programmatically. + * Resync all the keys associated with this workspace.This includes keys for the storage account, app + * insights and password for container registry * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - listOutboundNetworkDependenciesEndpoints( + beginResyncKeysAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, - ): Promise; + options?: WorkspacesResyncKeysOptionalParams, + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index c068b7a47837..3e6ae96443f3 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-machinelearning": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"