diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 96e82c8c169c..423ffbf5d4b7 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,585 @@ # Release History +## 4.0.0 (2025-05-13) + +### 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 ManagedNetworkSettingsOperations + - Added operation group OutboundRuleOperations + - Added operation group OutboundRules + - Added operation group PTUQuota + - 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 AvailableQuota + - Added Interface AvailableQuotaArmPaginatedResult + - Added Interface AvailableQuotaProperties + - 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 DataGenerationVertical + - Added Interface DatasetReference + - Added Interface DeltaModelCurrentState + - Added Interface DeltaModelListRequest + - Added Interface DeltaModelModifyRequest + - Added Interface DeltaModelStatusRequest + - Added Interface DeltaModelStatusResponse + - Added Interface DistillationJob + - 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 FinetuningDetails + - Added Interface FineTuningJob + - Added Interface FineTuningVertical + - Added Interface FqdnEndpointsPropertyBag + - Added Interface GroupEnvironmentConfiguration + - Added Interface GroupModelConfiguration + - Added Interface GroupStatus + - Added Interface ImageDetails + - Added Interface ImageInfo + - 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 InferenceGroupsModifyDeltaModelsAsyncHeaders + - 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 LabelGeneration + - Added Interface ManagedNetworkListResult + - Added Interface ManagedNetworkSettingsBasicResource + - Added Interface ManagedNetworkSettingsEx + - Added Interface ManagedNetworkSettingsGetOptionalParams + - Added Interface ManagedNetworkSettingsListNextOptionalParams + - Added Interface ManagedNetworkSettingsListOptionalParams + - Added Interface ManagedNetworkSettingsPatchHeaders + - Added Interface ManagedNetworkSettingsPatchOptionalParams + - Added Interface ManagedNetworkSettingsProperties + - Added Interface ManagedNetworkSettingsPropertiesBasicResource + - Added Interface ManagedNetworkSettingsPutHeaders + - Added Interface ManagedNetworkSettingsPutOptionalParams + - 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 OutboundRuleCreateOrUpdateHeaders + - Added Interface OutboundRuleCreateOrUpdateOptionalParams + - Added Interface OutboundRuleDeleteHeaders + - Added Interface OutboundRuleDeleteOptionalParams + - Added Interface OutboundRuleGetOptionalParams + - Added Interface OutboundRuleListNextOptionalParams + - Added Interface OutboundRuleListOptionalParams + - Added Interface OutboundRulesPostHeaders + - Added Interface OutboundRulesPostNextHeaders + - Added Interface OutboundRulesPostNextOptionalParams + - Added Interface OutboundRulesPostOptionalParams + - Added Interface PackageDetails + - Added Interface PromptSettings + - Added Interface PropertiesBase + - Added Interface PTUDeploymentUsage + - Added Interface PTUQuotaGetAvailableOptionalParams + - Added Interface PTUQuotaListAvailableNextOptionalParams + - Added Interface PTUQuotaListAvailableOptionalParams + - Added Interface PTUQuotaListNextOptionalParams + - Added Interface PTUQuotaListOptionalParams + - 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 TeacherModelEndpoint + - Added Interface TeacherModelEndpointRequestSettings + - Added Interface TeacherModelSettings + - Added Interface UsageAndQuotaDetails + - Added Interface UsageAndQuotaDetailsArmPaginatedResult + - Added Interface VulnerabilityDetails + - Added Interface VulnerabilityFindings + - Added Interface WorkspaceConnectionsTestConnectionHeaders + - Added Interface WorkspaceConnectionsTestConnectionOptionalParams + - Added Interface WorkspaceConnectionsUpdateOptionalParams + - Added Interface WorkspaceConnectionUpdateParameter + - Added Interface WorkspacePrivateEndpointResource + - Added Interface WorkspacesDeleteHeaders + - 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 ContentSafetyLevel + - Added Type Alias DataGenerationTaskType + - Added Type Alias DataGenerationType + - Added Type Alias DataGenerationVerticalUnion + - 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 InferenceGroupsModifyDeltaModelsAsyncResponse + - 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 ManagedNetworkKind + - Added Type Alias ManagedNetworkProvisioningState + - Added Type Alias ManagedNetworkSettingsGetResponse + - Added Type Alias ManagedNetworkSettingsListNextResponse + - Added Type Alias ManagedNetworkSettingsListResponse + - Added Type Alias ManagedNetworkSettingsPatchResponse + - Added Type Alias ManagedNetworkSettingsPutResponse + - 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 OutboundRuleCreateOrUpdateResponse + - Added Type Alias OutboundRuleDeleteResponse + - Added Type Alias OutboundRuleGetResponse + - Added Type Alias OutboundRuleListNextResponse + - Added Type Alias OutboundRuleListResponse + - Added Type Alias OutboundRulesPostNextResponse + - Added Type Alias OutboundRulesPostResponse + - Added Type Alias PatchStatus + - Added Type Alias PoolProvisioningState + - Added Type Alias PTUQuotaGetAvailableResponse + - Added Type Alias PTUQuotaListAvailableNextResponse + - Added Type Alias PTUQuotaListAvailableResponse + - Added Type Alias PTUQuotaListNextResponse + - Added Type Alias PTUQuotaListResponse + - 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 VulnerabilityRisk + - 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 ContentSafety has a new optional parameter contentSafetyLevel + - 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 EnvironmentVersionProperties has a new optional parameter imageDetails + - 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 InferenceContainerProperties has a new optional parameter startupRoute + - Interface JobBaseProperties has a new optional parameter parentJobName + - Interface JobResourceConfiguration has a new optional parameter dockerArgsList + - Interface ListWorkspaceKeysResult has a new optional parameter userStorageArmId + - Interface ManagedNetworkSettings has a new optional parameter enableNetworkMonitor + - Interface ManagedNetworkSettings has a new optional parameter firewallPublicIpAddress + - Interface ManagedNetworkSettings has a new optional parameter firewallSku + - Interface ManagedNetworkSettings has a new optional parameter managedNetworkKind + - Interface ManagedNetworkSettingsRuleDeleteHeaders has a new optional parameter retryAfter + - Interface ModelVersionProperties has a new optional parameter datasets + - Interface NotebookResourceInfo has a new optional parameter isPrivateLinkEnabled + - Interface OnlineDeploymentProperties has a new optional parameter startupProbe + - Interface OutboundRule has a new optional parameter errorInformation + - Interface OutboundRule has a new optional parameter parentRuleNames + - Interface 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 KnownContentSafetyLevel + - Added Enum KnownDataGenerationTaskType + - Added Enum KnownDataGenerationType + - Added Enum KnownDefaultActionType + - Added Enum KnownDefaultResourceProvisioningState + - Added Enum KnownDeploymentModelVersionUpgradeOption + - Added Enum KnownEndpointType + - Added Enum KnownFineTuningTaskType + - Added Enum KnownFirewallSku + - Added Enum KnownManagedNetworkKind + - Added Enum KnownManagedNetworkProvisioningState + - 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 + - Added Enum KnownVulnerabilityRisk + - 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 Distillation + - Enum KnownJobType has a new value FineTuning + - Enum KnownOperationName has a new value Resize + - Enum KnownOperationStatus has a new value ResizeFailed + - Enum KnownRuleStatus has a new value Deleting + - Enum KnownRuleStatus has a new value Failed + - Enum KnownRuleStatus has a new value Provisioning + - Enum KnownServerlessInferenceEndpointAuthMode has a new value AAD + - Enum KnownServerlessInferenceEndpointAuthMode has a new value KeyAndAAD + +### Breaking Changes + + - Operation WorkspaceConnections.create has a new signature + - Interface AcrDetails no longer has parameter userCreatedAcrAccount + - Interface FqdnEndpoints no longer has parameter properties + - Interface ListWorkspaceKeysResult no longer has parameter userStorageResourceId + - Interface StorageAccountDetails no longer has parameter userCreatedStorageAccount + - 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/LICENSE b/sdk/machinelearning/arm-machinelearning/LICENSE index b2f52a2bad4e..63447fd8bbbf 100644 --- a/sdk/machinelearning/arm-machinelearning/LICENSE +++ b/sdk/machinelearning/arm-machinelearning/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index dd724df59f5d..d88dca5f11d6 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -44,7 +44,6 @@ npm install @azure/identity ``` You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). -Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). @@ -55,10 +54,7 @@ import { AzureMachineLearningServicesManagementClient } from "@azure/arm-machine import { DefaultAzureCredential } from "@azure/identity"; const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new AzureMachineLearningServicesManagementClient( - new DefaultAzureCredential(), - subscriptionId, -); +const client = new AzureMachineLearningServicesManagementClient(new DefaultAzureCredential(), subscriptionId); ``` For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate. @@ -67,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur import { InteractiveBrowserCredential } from "@azure/identity"; import { AzureMachineLearningServicesManagementClient } from "@azure/arm-machinelearning"; -const subscriptionId = "00000000-0000-0000-0000-000000000000"; const credential = new InteractiveBrowserCredential({ tenantId: "", - clientId: "", -}); + clientId: "" + }); const client = new AzureMachineLearningServicesManagementClient(credential, subscriptionId); ``` ### JavaScript Bundle - To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). ## Key concepts @@ -111,6 +105,7 @@ If you'd like to contribute to this library, please read the [contributing guide - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) + [azure_cli]: https://learn.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_sub]: https://azure.microsoft.com/free/ diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 90a26e519823..25465d515882 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906", + "commit": "2778d8f9c45762a2deb1193048189a13b073d323", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.11", - "use": "@autorest/typescript@6.0.23" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.27", + "use": "@autorest/typescript@^6.0.12" } diff --git a/sdk/machinelearning/arm-machinelearning/api-extractor.json b/sdk/machinelearning/arm-machinelearning/api-extractor.json index 6dcc6665ec70..905d40b905df 100644 --- a/sdk/machinelearning/arm-machinelearning/api-extractor.json +++ b/sdk/machinelearning/arm-machinelearning/api-extractor.json @@ -28,4 +28,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 9bb616b99ab8..4b062b70ea95 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -3,17 +3,17 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningServicesManagementClient.", - "version": "3.0.0", + "version": "4.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", - "@azure/core-client": "^1.9.2", + "@azure/core-client": "^1.9.4", "@azure/core-lro": "^2.5.4", "@azure/core-paging": "^1.6.2", - "@azure/core-rest-pipeline": "^1.19.0", + "@azure/core-rest-pipeline": "^1.20.0", "tslib": "^2.8.1" }, "keywords": [ @@ -28,18 +28,19 @@ "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/commonjs/index.d.ts", + "type": "module", "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.6.0", - "@azure/logger": "^1.1.4", + "@azure/identity": "^4.9.1", + "@azure/logger": "^1.2.0", "@types/node": "^18.0.0", "@vitest/browser": "^3.0.9", "@vitest/coverage-istanbul": "^3.0.9", "dotenv": "^16.0.0", - "playwright": "^1.50.1", + "playwright": "^1.52.0", "typescript": "~5.8.2", "vitest": "^3.0.9" }, @@ -56,20 +57,30 @@ ], "scripts": { "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", + "build:browser": "echo skipped", + "build:node": "echo skipped", "build:samples": "echo skipped.", - "check-format": "echo skipped", + "build:test": "echo skipped", + "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "echo skipped", "extract-api": "dev-tool run extract-api", - "format": "echo skipped", + "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:browser": "echo skipped", + "integration-test:node": "dev-tool run test:vitest --esm", "lint": "echo skipped", + "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", "pack": "npm pack 2>&1", "prepack": "npm run build", - "test": "npm run test:node && npm run test:browser", + "test": "npm run integration-test", "test:browser": "echo skipped", "test:node": "dev-tool run test:vitest", - "test:node:esm": "dev-tool run test:vitest --esm", - "update-snippets": "dev-tool run update-snippets" + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "unit-test:browser": "echo skipped", + "unit-test:node": "dev-tool run test:vitest", + "update-snippets": "dev-tool run update-snippets", + "test:node:esm": "dev-tool run test:vitest --esm" }, "sideEffects": false, "//metadata": { @@ -81,16 +92,9 @@ ] }, "autoPublish": true, + "browser": "./dist/browser/index.js", + "react-native": "./dist/react-native/index.js", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - }, - "type": "module", "tshy": { "project": "./tsconfig.src.json", "exports": { @@ -107,8 +111,6 @@ ], "selfLink": false }, - "browser": "./dist/browser/index.js", - "react-native": "./dist/react-native/index.js", "exports": { "./package.json": "./package.json", ".": { @@ -130,4 +132,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md index 6e7caefe28c0..ad4711b7c6d9 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; } @@ -44,12 +51,20 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { // @public export interface AcrDetails { systemCreatedAcrAccount?: SystemCreatedAcrAccount; - userCreatedAcrAccount?: UserCreatedAcrAccount; } // @public export type ActionType = string; +// @public (undocumented) +export interface ActualCapacityInfo { + failed?: number; + outdatedFailed?: number; + outdatedSucceeded?: number; + succeeded?: number; + total?: number; +} + // @public export interface Aks extends Compute, AKSSchema { computeType: "AKS"; @@ -106,6 +121,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 +228,7 @@ export interface AssetJobInput { // @public export interface AssetJobOutput { + assetName?: string; mode?: OutputDeliveryMode; uri?: string; } @@ -231,6 +250,9 @@ export interface AssignedUser { tenantId: string; } +// @public +export type AuthMode = string; + // @public export interface AutoForecastHorizon extends ForecastHorizon { mode: "Auto"; @@ -306,6 +328,22 @@ export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { mode: "Auto"; } +// @public (undocumented) +export interface AvailableQuota { + properties?: AvailableQuotaProperties; +} + +// @public +export interface AvailableQuotaArmPaginatedResult { + nextLink?: string; + value?: AvailableQuota[]; +} + +// @public (undocumented) +export interface AvailableQuotaProperties { + total?: number; +} + // @public export interface AzureBlobDatastore extends AzureDatastore, DatastoreProperties { accountName?: string; @@ -366,6 +404,8 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) batchEndpoints: BatchEndpoints; // (undocumented) + capabilityHosts: CapabilityHosts; + // (undocumented) codeContainers: CodeContainers; // (undocumented) codeVersions: CodeVersions; @@ -376,12 +416,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,10 +454,18 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) featurestoreEntityVersions: FeaturestoreEntityVersions; // (undocumented) + inferenceEndpoints: InferenceEndpoints; + // (undocumented) + inferenceGroups: InferenceGroups; + // (undocumented) + inferencePools: InferencePools; + // (undocumented) jobs: Jobs; // (undocumented) managedNetworkProvisions: ManagedNetworkProvisions; // (undocumented) + managedNetworkSettingsOperations: ManagedNetworkSettingsOperations; + // (undocumented) managedNetworkSettingsRule: ManagedNetworkSettingsRule; // (undocumented) marketplaceSubscriptions: MarketplaceSubscriptions; @@ -414,12 +480,22 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // (undocumented) operations: Operations; // (undocumented) + outboundRuleOperations: OutboundRuleOperations; + // (undocumented) + outboundRules: OutboundRules; + // (undocumented) privateEndpointConnections: PrivateEndpointConnections; // (undocumented) privateLinkResources: PrivateLinkResources; // (undocumented) + pTUQuota: PTUQuota; + // (undocumented) quotas: Quotas; // (undocumented) + raiPolicies: RaiPolicies; + // (undocumented) + raiPolicy: RaiPolicy; + // (undocumented) registries: Registries; // (undocumented) registryCodeContainers: RegistryCodeContainers; @@ -468,6 +544,19 @@ export interface AzureMachineLearningServicesManagementClientOptionalParams exte 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 +830,7 @@ export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { // @public export type BillingCurrency = string; -// @public +// @public (undocumented) export interface BindOptions { createHostPath?: boolean; propagation?: string; @@ -767,6 +856,84 @@ 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[]; + threadStorageConnections?: 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 +1156,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 +1393,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 +1421,11 @@ export interface ComputeInstanceApplication { // @public export type ComputeInstanceAuthorizationType = string; +// @public +export interface ComputeInstanceAutologgerSettings { + mlflowAutologger?: MlflowAutologger; +} + // @public export interface ComputeInstanceConnectivityEndpoints { readonly privateIpAddress?: string; @@ -1261,6 +1463,7 @@ export interface ComputeInstanceDataMount { error?: string; mountAction?: MountAction; mountedOn?: Date; + mountMode?: MountMode; mountName?: string; mountPath?: string; mountState?: MountState; @@ -1286,6 +1489,7 @@ export interface ComputeInstanceLastOperation { export interface ComputeInstanceProperties { readonly applications?: ComputeInstanceApplication[]; applicationSharingPolicy?: ApplicationSharingPolicy; + autologgerSettings?: ComputeInstanceAutologgerSettings; computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; readonly containers?: ComputeInstanceContainer[]; @@ -1294,10 +1498,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 +1579,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 +1590,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 +1613,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 +1649,7 @@ export interface ComputeRestartOptionalParams extends coreClient.OperationOption updateIntervalInMs?: number; } -// @public +// @public (undocumented) export interface ComputeRuntimeDto { // (undocumented) sparkRuntimeVersion?: string; @@ -1471,6 +1701,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 +1725,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,131 +1744,445 @@ 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 +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 CustomModelJobOutput extends AssetJobOutput, JobOutput { - jobOutputType: "custom_model"; +// @public +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } -// @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 type ConnectionRaiBlocklistCreateResponse = RaiBlocklistPropertiesBasicResource; + +// @public +export interface ConnectionRaiBlocklistDeleteHeaders { + location?: string; + retryAfter?: number; } // @public -export interface CustomNCrossValidations extends NCrossValidations { - mode: "Custom"; - value: number; +export interface ConnectionRaiBlocklistDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface CustomSeasonality extends Seasonality { - mode: "Custom"; - value: number; +// @public +export type ConnectionRaiBlocklistDeleteResponse = ConnectionRaiBlocklistDeleteHeaders; + +// @public +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface CustomService { - [property: string]: any; +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 { + contentSafetyLevel?: ContentSafetyLevel; + 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 ContentSafetyLevel = string; + +// @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[]; } @@ -1758,14 +2326,33 @@ export interface DataFactory extends Compute { } // @public -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { - computeType: "DataLakeAnalytics"; -} +export type DataGenerationTaskType = string; + +// @public +export type DataGenerationType = string; // @public (undocumented) -export interface DataLakeAnalyticsSchema { +export interface DataGenerationVertical { + dataGenerationTaskType: DataGenerationTaskType; + dataGenerationType: "LabelGeneration"; + promptSettings?: PromptSettings; + teacherModelEndpoint: TeacherModelEndpoint; // (undocumented) - properties?: DataLakeAnalyticsSchemaProperties; + teacherModelSettings?: TeacherModelSettings; +} + +// @public (undocumented) +export type DataGenerationVerticalUnion = DataGenerationVertical | LabelGeneration; + +// @public +export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { + computeType: "DataLakeAnalytics"; +} + +// @public (undocumented) +export interface DataLakeAnalyticsSchema { + // (undocumented) + properties?: DataLakeAnalyticsSchemaProperties; } // @public (undocumented) @@ -1813,6 +2400,12 @@ export type DataReferenceCredentialType = string; // @public (undocumented) export type DataReferenceCredentialUnion = DataReferenceCredential | AnonymousAccessCredential | DockerCredential | ManagedIdentityCredential | SASCredential; +// @public +export interface DatasetReference { + id?: string; + name?: string; +} + // @public export interface Datastore extends ProxyResource { properties: DatastorePropertiesUnion; @@ -1901,6 +2494,7 @@ export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; // @public export interface DatastoresListSecretsOptionalParams extends coreClient.OperationOptions { + body?: SecretExpiry; } // @public @@ -1991,11 +2585,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 +2645,9 @@ export interface DeploymentLogsRequest { tail?: number; } +// @public +export type DeploymentModelVersionUpgradeOption = string; + // @public export type DeploymentProvisioningState = string; @@ -2024,31 +2665,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,9 +2736,22 @@ export type DiagnoseResultLevel = string; // @public export interface DiagnoseWorkspaceParameters { + // (undocumented) value?: DiagnoseRequestProperties; } +// @public +export interface DistillationJob extends JobBaseProperties { + dataGenerationDetails: DataGenerationVerticalUnion; + finetuningDetails: FinetuningDetails; + jobType: "Distillation"; + outputs: { + [propertyName: string]: JobOutputUnion | null; + }; + queueSettings?: QueueSettings; + resources?: JobResources; +} + // @public export interface DistributionConfiguration { distributionType: "Mpi" | "PyTorch" | "TensorFlow"; @@ -2106,7 +2763,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 +2795,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 +2803,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 +2820,7 @@ export interface EncryptionUpdateProperties { keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -// @public +// @public (undocumented) export interface Endpoint { hostIp?: string; name?: string; @@ -2197,1106 +2850,1874 @@ export interface EndpointAuthToken { export type EndpointComputeType = string; // @public -export interface EndpointDeploymentPropertiesBase { - codeConfiguration?: CodeConfiguration; - description?: string; - environmentId?: string; - environmentVariables?: { - [propertyName: string]: string | null; - }; - properties?: { - [propertyName: string]: string | null; - }; -} - -// @public -export interface EndpointPropertiesBase { - authMode: EndpointAuthMode; - description?: string; - keys?: EndpointAuthKeys; - properties?: { - [propertyName: string]: string | null; - }; - readonly scoringUri?: string; - readonly swaggerUri?: string; +export interface EndpointCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; } // @public -export type EndpointProvisioningState = string; - -// @public (undocumented) -export interface EndpointScheduleAction extends ScheduleActionBase { - actionType: "InvokeBatchEndpoint"; - endpointInvocationDefinition: Record; +export interface EndpointCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type EndpointServiceConnectionStatus = string; +export type EndpointCreateOrUpdateResponse = EndpointResourcePropertiesBasicResource; // @public -export interface EnvironmentContainer extends ProxyResource { - properties: EnvironmentContainerProperties; +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 EnvironmentContainerProperties extends AssetContainer { - readonly provisioningState?: AssetProvisioningState; +export interface EndpointDeploymentCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; } // @public -export interface EnvironmentContainerResourceArmPaginatedResult { - nextLink?: string; - value?: EnvironmentContainer[]; +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface EnvironmentContainers { - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: EnvironmentContainer, options?: EnvironmentContainersCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentContainersDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentContainersGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: EnvironmentContainersListOptionalParams): PagedAsyncIterableIterator; -} +export type EndpointDeploymentCreateOrUpdateResponse = EndpointDeploymentResourcePropertiesBasicResource; // @public -export interface EnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface EndpointDeploymentDeleteHeaders { + location?: string; + retryAfter?: number; } // @public -export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export interface EndpointDeploymentDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface EnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { -} +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; // @public -export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions { +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentContainersGetResponse = EnvironmentContainer; +export type EndpointDeploymentGetInWorkspaceNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; // @public -export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { +export interface EndpointDeploymentGetInWorkspaceOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + skip?: string; } // @public -export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; +export type EndpointDeploymentGetInWorkspaceResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; // @public -export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; - -// @public -export type EnvironmentType = string; +export type EndpointDeploymentGetResponse = EndpointDeploymentResourcePropertiesBasicResource; // @public -export interface EnvironmentVariable { - [property: string]: any; - type?: EnvironmentVariableType; - value?: string; +export interface EndpointDeploymentListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentVariableType = string; +export type EndpointDeploymentListNextResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; // @public -export interface EnvironmentVersion extends ProxyResource { - properties: EnvironmentVersionProperties; +export interface EndpointDeploymentListOptionalParams extends coreClient.OperationOptions { } // @public -export interface EnvironmentVersionProperties extends AssetBase { - autoRebuild?: AutoRebuildSetting; - build?: BuildContext; - condaFile?: string; - readonly environmentType?: EnvironmentType; - image?: string; - inferenceConfig?: InferenceContainerProperties; - osType?: OperatingSystemType; - readonly provisioningState?: AssetProvisioningState; - stage?: string; -} +export type EndpointDeploymentListResponse = EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; -// @public -export interface EnvironmentVersionResourceArmPaginatedResult { - nextLink?: string; - value?: EnvironmentVersion[]; +// @public (undocumented) +export interface EndpointDeploymentModel { + format?: string; + name?: string; + source?: string; + version?: string; } // @public -export interface EnvironmentVersions { - beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise, void>>; - beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise; - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: EnvironmentVersion, options?: EnvironmentVersionsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentVersionsListOptionalParams): PagedAsyncIterableIterator; +export interface EndpointDeploymentPropertiesBase { + codeConfiguration?: CodeConfiguration; + description?: string; + environmentId?: string; + environmentVariables?: { + [propertyName: string]: string | null; + }; + properties?: { + [propertyName: string]: string | null; + }; } -// @public -export interface EnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface EndpointDeploymentResourceProperties { + failureReason?: string; + readonly provisioningState?: DefaultResourceProvisioningState; + type: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "Azure.Speech"; } -// @public -export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointDeploymentResourcePropertiesUnion; +} -// @public -export interface EnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: EndpointDeploymentResourcePropertiesBasicResource[]; } +// @public (undocumented) +export type EndpointDeploymentResourcePropertiesUnion = EndpointDeploymentResourceProperties | ContentSafetyEndpointDeploymentResourceProperties | ManagedOnlineEndpointDeploymentResourceProperties | OpenAIEndpointDeploymentResourceProperties | SpeechEndpointDeploymentResourceProperties; + // @public -export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions { +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +export type EndpointGetModelsNextResponse = EndpointModels; // @public -export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { +export interface EndpointGetModelsOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; +export type EndpointGetModelsResponse = EndpointModels; // @public -export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - top?: number; +export interface EndpointGetOptionalParams extends coreClient.OperationOptions { } // @public -export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; -// @public -export interface EnvironmentVersionsPublishHeaders { - location?: string; - retryAfter?: number; +// @public (undocumented) +export interface EndpointKeys { + keys?: AccountApiKeys; } // @public -export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface EndpointListKeysOptionalParams extends coreClient.OperationOptions { } // @public -export interface ErrorAdditionalInfo { - readonly info?: Record; - readonly type?: string; -} +export type EndpointListKeysResponse = EndpointKeys; // @public -export interface ErrorDetail { - readonly additionalInfo?: ErrorAdditionalInfo[]; - readonly code?: string; - readonly details?: ErrorDetail[]; - readonly message?: string; - readonly target?: string; +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ErrorResponse { - error?: ErrorDetail; -} +export type EndpointListNextResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; // @public -export interface EstimatedVMPrice { - osType: VMPriceOSType; - retailPrice: number; - vmTier: VMTier; +export interface EndpointListOptionalParams extends coreClient.OperationOptions { + endpointType?: EndpointType; + expand?: string; + // (undocumented) + includeConnections?: boolean; + // (undocumented) + includeOnlineEndpoints?: boolean; + // (undocumented) + includeServerlessEndpoints?: boolean; + skip?: string; } // @public -export interface EstimatedVMPrices { - billingCurrency: BillingCurrency; - unitOfMeasure: UnitOfMeasure; - values: EstimatedVMPrice[]; -} +export type EndpointListResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; // @public (undocumented) -export interface ExternalFqdnResponse { - // (undocumented) - value?: FqdnEndpoints[]; +export interface EndpointModelDeprecationProperties { + fineTune?: Date; + inference?: Date; } // @public -export interface Feature extends ProxyResource { - properties: FeatureProperties; +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 FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; - featureImportanceSettings: FeatureImportanceSettings; - metricThreshold: FeatureAttributionMetricThreshold; - productionData: MonitoringInputDataBaseUnion[]; - referenceData: MonitoringInputDataBaseUnion; - signalType: "FeatureAttributionDrift"; +export interface EndpointModels { + nextLink?: string; + value?: EndpointModelProperties[]; } -// @public -export type FeatureAttributionMetric = string; +// @public (undocumented) +export interface EndpointModelSkuCapacityProperties { + default?: number; + maximum?: number; +} // @public (undocumented) -export interface FeatureAttributionMetricThreshold { - metric: FeatureAttributionMetric; - threshold?: MonitoringThreshold; +export interface EndpointModelSkuProperties { + // (undocumented) + capacity?: EndpointModelSkuCapacityProperties; + connectionIds?: string[]; + deprecationDate?: Date; + name?: string; + // (undocumented) + rateLimits?: EndpointModelSkuRateLimitProperties[]; + usageName?: string; } -// @public -export type FeatureDataType = string; +// @public (undocumented) +export interface EndpointModelSkuRateLimitProperties { + count?: number; + renewalPeriod?: number; + rules?: EndpointModelSkuRateLimitRuleProperties[]; +} -// @public -export type FeatureImportanceMode = string; +// @public (undocumented) +export interface EndpointModelSkuRateLimitRulePatternProperties { + // (undocumented) + method?: string; + // (undocumented) + path?: string; +} // @public (undocumented) -export interface FeatureImportanceSettings { - mode?: FeatureImportanceMode; - targetColumn?: string; +export interface EndpointModelSkuRateLimitRuleProperties { + // (undocumented) + count?: number; + dynamicThrottlingEnabled?: boolean; + // (undocumented) + key?: string; + // (undocumented) + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + // (undocumented) + minCount?: number; + // (undocumented) + renewalPeriod?: number; } // @public -export type FeatureLags = string; +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 FeatureProperties extends ResourceBase { - dataType?: FeatureDataType; - featureName?: string; +export interface EndpointPropertiesBase { + authMode: EndpointAuthMode; + description?: string; + keys?: EndpointAuthKeys; + properties?: { + [propertyName: string]: string | null; + }; + readonly scoringUri?: string; + readonly swaggerUri?: string; } // @public -export interface FeatureResourceArmPaginatedResult { - nextLink?: string; - value?: Feature[]; -} +export type EndpointProvisioningState = string; // @public -export interface Features { - get(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, featureName: string, options?: FeaturesGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, options?: FeaturesListOptionalParams): PagedAsyncIterableIterator; +export interface EndpointRegenerateKeysOptionalParams extends coreClient.OperationOptions { } // @public -export interface FeaturesetContainer extends ProxyResource { - properties: FeaturesetContainerProperties; +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 -export interface FeaturesetContainerProperties extends AssetContainer { - readonly provisioningState?: AssetProvisioningState; +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResource extends Resource { + // (undocumented) + properties: EndpointResourcePropertiesUnion; } -// @public -export interface FeaturesetContainerResourceArmPaginatedResult { +// @public (undocumented) +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + // (undocumented) nextLink?: string; - value?: FeaturesetContainer[]; + // (undocumented) + value?: EndpointResourcePropertiesBasicResource[]; +} + +// @public (undocumented) +export type EndpointResourcePropertiesUnion = EndpointResourceProperties | ContentSafetyEndpointResourceProperties | ManagedOnlineEndpointResourceProperties | OpenAIEndpointResourceProperties | ServerlessEndpointResourceProperties | SpeechEndpointResourceProperties; + +// @public (undocumented) +export interface EndpointScheduleAction extends ScheduleActionBase { + actionType: "InvokeBatchEndpoint"; + endpointInvocationDefinition: Record; } // @public -export interface FeaturesetContainers { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise, FeaturesetContainersCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise; - getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersGetEntityOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: FeaturesetContainersListOptionalParams): PagedAsyncIterableIterator; +export type EndpointServiceConnectionStatus = string; + +// @public +export type EndpointType = string; + +// @public +export interface EnvironmentContainer extends ProxyResource { + properties: EnvironmentContainerProperties; } // @public -export interface FeaturesetContainersCreateOrUpdateHeaders { - azureAsyncOperation?: string; - xMsAsyncOperationTimeout?: string; +export interface EnvironmentContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public -export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface EnvironmentContainerResourceArmPaginatedResult { + nextLink?: string; + value?: EnvironmentContainer[]; } // @public -export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; +export interface EnvironmentContainers { + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: EnvironmentContainer, options?: EnvironmentContainersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentContainersGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: EnvironmentContainersListOptionalParams): PagedAsyncIterableIterator; +} // @public -export interface FeaturesetContainersDeleteHeaders { - location?: string; - retryAfter?: number; - xMsAsyncOperationTimeout?: string; +export interface EnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } // @public -export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; + +// @public +export interface EnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions { +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; +export type EnvironmentContainersGetResponse = EnvironmentContainer; // @public -export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions { +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; +export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; // @public -export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { - createdBy?: string; - description?: string; +export interface EnvironmentContainersListOptionalParams extends coreClient.OperationOptions { listViewType?: ListViewType; - name?: string; - pageSize?: number; skip?: string; - tags?: string; } // @public -export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; +export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; // @public -export interface FeaturesetSpecification { - path?: string; -} +export type EnvironmentType = string; -// @public -export interface FeaturesetVersion extends ProxyResource { - properties: FeaturesetVersionProperties; +// @public (undocumented) +export interface EnvironmentVariable { + [property: string]: any; + type?: EnvironmentVariableType; + value?: string; } // @public -export interface FeaturesetVersionBackfillRequest { - dataAvailabilityStatus?: DataAvailabilityStatus[]; - description?: string; - displayName?: string; - featureWindow?: FeatureWindow; - jobId?: string; - properties?: { - [propertyName: string]: string | null; - }; - resource?: MaterializationComputeResource; - sparkConfiguration?: { - [propertyName: string]: string | null; - }; - tags?: { - [propertyName: string]: string | null; - }; -} +export type EnvironmentVariableType = string; // @public -export interface FeaturesetVersionBackfillResponse { - jobIds?: string[]; +export interface EnvironmentVersion extends ProxyResource { + properties: EnvironmentVersionProperties; } // @public -export interface FeaturesetVersionProperties extends AssetBase { - entities?: string[]; - materializationSettings?: MaterializationSettings; +export interface EnvironmentVersionProperties extends AssetBase { + autoRebuild?: AutoRebuildSetting; + build?: BuildContext; + condaFile?: string; + readonly environmentType?: EnvironmentType; + image?: string; + imageDetails?: ImageDetails; + inferenceConfig?: InferenceContainerProperties; + osType?: OperatingSystemType; readonly provisioningState?: AssetProvisioningState; - specification?: FeaturesetSpecification; stage?: string; } // @public -export interface FeaturesetVersionResourceArmPaginatedResult { +export interface EnvironmentVersionResourceArmPaginatedResult { nextLink?: string; - value?: FeaturesetVersion[]; -} - -// @public -export interface FeaturesetVersions { - beginBackfill(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise, FeaturesetVersionsBackfillResponse>>; - beginBackfillAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise; - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise, FeaturesetVersionsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetVersionsListOptionalParams): PagedAsyncIterableIterator; + value?: EnvironmentVersion[]; } // @public -export interface FeaturesetVersionsBackfillHeaders { - location?: string; - retryAfter?: number; +export interface EnvironmentVersions { + beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise, void>>; + beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: EnvironmentVersionsPublishOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: EnvironmentVersion, options?: EnvironmentVersionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: EnvironmentVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: EnvironmentVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface EnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; // @public -export interface FeaturesetVersionsCreateOrUpdateHeaders { - azureAsyncOperation?: string; - xMsAsyncOperationTimeout?: string; +export interface EnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; +export type EnvironmentVersionsGetResponse = EnvironmentVersion; // @public -export interface FeaturesetVersionsDeleteHeaders { - location?: string; - retryAfter?: number; - xMsAsyncOperationTimeout?: string; +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { - resumeFrom?: string; - updateIntervalInMs?: number; -} +export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; // @public -export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions { +export interface EnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + orderBy?: string; + skip?: string; + top?: number; } // @public -export type FeaturesetVersionsGetResponse = FeaturesetVersion; +export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; // @public -export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions { +export interface EnvironmentVersionsPublishHeaders { + location?: string; + retryAfter?: number; } // @public -export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; +export interface EnvironmentVersionsPublishOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; +} + +// @public +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; + readonly code?: string; + readonly details?: ErrorDetail[]; + readonly message?: string; + readonly target?: string; +} + +// @public +export interface ErrorResponse { + error?: ErrorDetail; +} + +// @public +export interface EstimatedVMPrice { + osType: VMPriceOSType; + retailPrice: number; + vmTier: VMTier; +} + +// @public +export interface EstimatedVMPrices { + billingCurrency: BillingCurrency; + unitOfMeasure: UnitOfMeasure; + values: EstimatedVMPrice[]; +} + +// @public (undocumented) +export interface ExternalFqdnResponse { + // (undocumented) + value?: FqdnEndpointsPropertyBag[]; +} + +// @public +export interface Feature extends ProxyResource { + properties: FeatureProperties; +} + +// @public (undocumented) +export interface FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + featureImportanceSettings: FeatureImportanceSettings; + metricThreshold: FeatureAttributionMetricThreshold; + productionData: MonitoringInputDataBaseUnion[]; + referenceData: MonitoringInputDataBaseUnion; + signalType: "FeatureAttributionDrift"; +} + +// @public +export type FeatureAttributionMetric = string; + +// @public (undocumented) +export interface FeatureAttributionMetricThreshold { + metric: FeatureAttributionMetric; + threshold?: MonitoringThreshold; +} + +// @public +export type FeatureDataType = string; + +// @public +export type FeatureImportanceMode = string; + +// @public (undocumented) +export interface FeatureImportanceSettings { + mode?: FeatureImportanceMode; + targetColumn?: string; +} + +// @public +export type FeatureLags = string; + +// @public +export interface FeatureProperties extends ResourceBase { + dataType?: FeatureDataType; + featureName?: string; +} + +// @public +export interface FeatureResourceArmPaginatedResult { + nextLink?: string; + value?: Feature[]; +} + +// @public +export interface Features { + get(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, featureName: string, options?: FeaturesGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, featuresetName: string, featuresetVersion: string, options?: FeaturesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FeaturesetContainer extends ProxyResource { + properties: FeaturesetContainerProperties; +} + +// @public +export interface FeaturesetContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; +} + +// @public +export interface FeaturesetContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetContainer[]; +} + +// @public +export interface FeaturesetContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise, FeaturesetContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturesetContainersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FeaturesetContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; + +// @public +export interface FeaturesetContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; + +// @public +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; + +// @public +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { createdBy?: string; description?: string; listViewType?: ListViewType; + name?: string; pageSize?: number; skip?: string; - stage?: string; tags?: string; - version?: string; - versionName?: string; } // @public -export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; // @public -export interface FeaturesGetOptionalParams extends coreClient.OperationOptions { +export interface FeaturesetSpecification { + path?: string; +} + +// @public +export interface FeaturesetVersion extends ProxyResource { + properties: FeaturesetVersionProperties; +} + +// @public +export interface FeaturesetVersionBackfillRequest { + dataAvailabilityStatus?: DataAvailabilityStatus[]; + description?: string; + displayName?: string; + featureWindow?: FeatureWindow; + jobId?: string; + properties?: { + [propertyName: string]: string | null; + }; + resource?: MaterializationComputeResource; + sparkConfiguration?: { + [propertyName: string]: string | null; + }; + tags?: { + [propertyName: string]: string | null; + }; +} + +// @public +export interface FeaturesetVersionBackfillResponse { + jobIds?: string[]; +} + +// @public +export interface FeaturesetVersionProperties extends AssetBase { + entities?: string[]; + materializationSettings?: MaterializationSettings; + readonly provisioningState?: AssetProvisioningState; + specification?: FeaturesetSpecification; + stage?: string; +} + +// @public +export interface FeaturesetVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetVersion[]; +} + +// @public +export interface FeaturesetVersions { + beginBackfill(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise, FeaturesetVersionsBackfillResponse>>; + beginBackfillAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise, FeaturesetVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetVersionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FeaturesetVersionsBackfillHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; + +// @public +export interface FeaturesetVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; + +// @public +export interface FeaturesetVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesetVersionsGetResponse = FeaturesetVersion; + +// @public +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; + +// @public +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + pageSize?: number; + skip?: string; + stage?: string; + tags?: string; + version?: string; + versionName?: string; +} + +// @public +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; + +// @public +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesGetResponse = Feature; + +// @public +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; + +// @public +export interface FeaturesListOptionalParams extends coreClient.OperationOptions { + description?: string; + featureName?: string; + listViewType?: ListViewType; + pageSize?: number; + skip?: string; + tags?: string; +} + +// @public +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityContainer extends ProxyResource { + properties: FeaturestoreEntityContainerProperties; +} + +// @public +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; +} + +// @public +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityContainer[]; +} + +// @public +export interface FeaturestoreEntityContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; + +// @public +export interface FeaturestoreEntityContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; + +// @public +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + name?: string; + pageSize?: number; + skip?: string; + tags?: string; +} + +// @public +export type FeaturestoreEntityContainersListResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityVersion extends ProxyResource { + properties: FeaturestoreEntityVersionProperties; +} + +// @public +export interface FeaturestoreEntityVersionProperties extends AssetBase { + indexColumns?: IndexColumn[]; + readonly provisioningState?: AssetProvisioningState; + stage?: string; +} + +// @public +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityVersion[]; +} + +// @public +export interface FeaturestoreEntityVersions { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityVersionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; + +// @public +export interface FeaturestoreEntityVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; + +// @public +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FeaturestoreEntityVersionsListNextResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; + +// @public +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { + createdBy?: string; + description?: string; + listViewType?: ListViewType; + pageSize?: number; + skip?: string; + stage?: string; + tags?: string; + version?: string; + versionName?: string; +} + +// @public +export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; + +// @public (undocumented) +export interface FeatureStoreSettings { + // (undocumented) + computeRuntime?: ComputeRuntimeDto; + // (undocumented) + offlineStoreConnectionName?: string; + // (undocumented) + onlineStoreConnectionName?: string; +} + +// @public (undocumented) +export interface FeatureSubset extends MonitoringFeatureFilterBase { + features: string[]; + filterType: "FeatureSubset"; +} + +// @public +export interface FeatureWindow { + featureWindowEnd?: Date; + featureWindowStart?: Date; +} + +// @public +export type FeaturizationMode = string; + +// @public +export interface FeaturizationSettings { + datasetLanguage?: string; +} + +// @public (undocumented) +export interface FinetuningDetails { + hyperParameters?: { + [propertyName: string]: string | null; + }; + studentModel: JobInputUnion; +} + +// @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"; +} + +// @public (undocumented) +export interface FlavorData { + data?: { + [propertyName: string]: string | null; + }; +} + +// @public +export interface ForecastHorizon { + mode: "Auto" | "Custom"; +} + +// @public +export type ForecastHorizonMode = string; + +// @public (undocumented) +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; + +// @public +export interface Forecasting extends TableVertical, AutoMLVertical { + forecastingSettings?: ForecastingSettings; + primaryMetric?: ForecastingPrimaryMetrics; + taskType: "Forecasting"; + trainingSettings?: ForecastingTrainingSettings; +} + +// @public +export type ForecastingModels = string; + +// @public +export type ForecastingPrimaryMetrics = string; + +// @public +export interface ForecastingSettings { + countryOrRegionForHolidays?: string; + cvStepSize?: number; + featureLags?: FeatureLags; + forecastHorizon?: ForecastHorizonUnion; + frequency?: string; + seasonality?: SeasonalityUnion; + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; + targetAggregateFunction?: TargetAggregationFunction; + targetLags?: TargetLagsUnion; + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + timeColumnName?: string; + timeSeriesIdColumnNames?: string[]; + useStl?: UseStl; +} + +// @public +export interface ForecastingTrainingSettings extends TrainingSettings { + allowedTrainingAlgorithms?: ForecastingModels[]; + blockedTrainingAlgorithms?: ForecastingModels[]; +} + +// @public (undocumented) +export interface FqdnEndpoint { + // (undocumented) + domainName?: string; + // (undocumented) + endpointDetails?: FqdnEndpointDetail[]; +} + +// @public (undocumented) +export interface FqdnEndpointDetail { + // (undocumented) + port?: number; +} + +// @public (undocumented) +export interface FqdnEndpoints { + // (undocumented) + category?: string; + // (undocumented) + endpoints?: FqdnEndpoint[]; +} + +// @public +export interface FqdnEndpointsPropertyBag { + // (undocumented) + properties?: FqdnEndpoints; +} + +// @public +export interface FqdnOutboundRule extends OutboundRule { + // (undocumented) + destination?: string; + type: "FQDN"; +} + +// @public (undocumented) +export interface GetBlobReferenceForConsumptionDto { + blobUri?: string; + credential?: DataReferenceCredentialUnion; + storageAccountArmId?: string; +} + +// @public +export interface GetBlobReferenceSASRequestDto { + assetId?: string; + blobUri?: string; +} + +// @public +export interface GetBlobReferenceSASResponseDto { + blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; +} + +// @public +export function getContinuationToken(page: unknown): string | undefined; + +// @public +export type Goal = string; + +// @public +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"; +} + +// @public +export interface HDInsightProperties { + address?: string; + administratorAccount?: VirtualMachineSshCredentials; + sshPort?: number; +} + +// @public (undocumented) +export interface HDInsightSchema { + properties?: HDInsightProperties; +} + +// @public +export interface IdAssetReference extends AssetReferenceBase { + assetId: string; + referenceType: "Id"; +} + +// @public +export interface IdentityConfiguration { + identityType: "AMLToken" | "Managed" | "UserIdentity"; +} + +// @public +export type IdentityConfigurationType = string; + +// @public (undocumented) +export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; + +// @public +export interface IdentityForCmk { + userAssignedIdentity?: string; +} + +// @public +export interface IdleShutdownSetting { + idleTimeBeforeShutdown?: string; +} + +// @public (undocumented) +interface Image_2 { + [property: string]: any; + reference?: string; + type?: ImageType; + version?: string; +} +export { Image_2 as Image } + +// @public +export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationPrimaryMetrics; + taskType: "ImageClassification"; +} + +// @public (undocumented) +export interface ImageClassificationBase extends ImageVertical { + modelSettings?: ImageModelSettingsClassification; + searchSpace?: ImageModelDistributionSettingsClassification[]; +} + +// @public +export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationMultilabelPrimaryMetrics; + taskType: "ImageClassificationMultilabel"; +} + +// @public (undocumented) +export interface ImageDetails { + exists?: boolean; + image?: ImageInfo; + vulnerabilityFindings?: VulnerabilityFindings; +} + +// @public (undocumented) +export interface ImageInfo { + digest?: string; + hostname?: string; + repository?: string; + tag?: string; +} + +// @public +export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: InstanceSegmentationPrimaryMetrics; + taskType: "ImageInstanceSegmentation"; +} + +// @public +export interface ImageLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + +// @public +export interface ImageMetadata { + currentImageVersion?: string; + isLatestOsImageVersion?: boolean; + latestImageVersion?: string; + readonly osPatchingStatus?: OsPatchingStatus; +} + +// @public +export interface ImageModelDistributionSettings { + amsGradient?: string; + augmentations?: string; + beta1?: string; + beta2?: string; + distributed?: string; + earlyStopping?: string; + earlyStoppingDelay?: string; + earlyStoppingPatience?: string; + enableOnnxNormalization?: string; + evaluationFrequency?: string; + gradientAccumulationStep?: string; + layersToFreeze?: string; + learningRate?: string; + learningRateScheduler?: string; + modelName?: string; + momentum?: string; + nesterov?: string; + numberOfEpochs?: string; + numberOfWorkers?: string; + optimizer?: string; + randomSeed?: string; + stepLRGamma?: string; + stepLRStepSize?: string; + trainingBatchSize?: string; + validationBatchSize?: string; + warmupCosineLRCycles?: string; + warmupCosineLRWarmupEpochs?: string; + weightDecay?: string; +} + +// @public +export interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { + trainingCropSize?: string; + validationCropSize?: string; + validationResizeSize?: string; + weightedLoss?: string; +} + +// @public +export interface ImageModelDistributionSettingsObjectDetection extends ImageModelDistributionSettings { + boxDetectionsPerImage?: string; + boxScoreThreshold?: string; + imageSize?: string; + maxSize?: string; + minSize?: string; + modelSize?: string; + multiScale?: string; + nmsIouThreshold?: string; + tileGridSize?: string; + tileOverlapRatio?: string; + tilePredictionsNmsThreshold?: string; + validationIouThreshold?: string; + validationMetricType?: string; +} + +// @public +export interface ImageModelSettings { + advancedSettings?: string; + amsGradient?: boolean; + augmentations?: string; + beta1?: number; + beta2?: number; + checkpointFrequency?: number; + checkpointModel?: MLFlowModelJobInput; + checkpointRunId?: string; + distributed?: boolean; + earlyStopping?: boolean; + earlyStoppingDelay?: number; + earlyStoppingPatience?: number; + enableOnnxNormalization?: boolean; + evaluationFrequency?: number; + gradientAccumulationStep?: number; + layersToFreeze?: number; + learningRate?: number; + learningRateScheduler?: LearningRateScheduler; + modelName?: string; + momentum?: number; + nesterov?: boolean; + numberOfEpochs?: number; + numberOfWorkers?: number; + optimizer?: StochasticOptimizer; + randomSeed?: number; + stepLRGamma?: number; + stepLRStepSize?: number; + trainingBatchSize?: number; + validationBatchSize?: number; + warmupCosineLRCycles?: number; + warmupCosineLRWarmupEpochs?: number; + weightDecay?: number; +} + +// @public +export interface ImageModelSettingsClassification extends ImageModelSettings { + trainingCropSize?: number; + validationCropSize?: number; + validationResizeSize?: number; + weightedLoss?: number; +} + +// @public +export interface ImageModelSettingsObjectDetection extends ImageModelSettings { + boxDetectionsPerImage?: number; + boxScoreThreshold?: number; + imageSize?: number; + maxSize?: number; + minSize?: number; + modelSize?: ModelSize; + multiScale?: boolean; + nmsIouThreshold?: number; + tileGridSize?: string; + tileOverlapRatio?: number; + tilePredictionsNmsThreshold?: number; + validationIouThreshold?: number; + validationMetricType?: ValidationMetricType; +} + +// @public +export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: ObjectDetectionPrimaryMetrics; + taskType: "ImageObjectDetection"; } -// @public -export type FeaturesGetResponse = Feature; +// @public (undocumented) +export interface ImageObjectDetectionBase extends ImageVertical { + modelSettings?: ImageModelSettingsObjectDetection; + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} // @public -export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions { +export interface ImageSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; } // @public -export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; +export type ImageType = string; // @public -export interface FeaturesListOptionalParams extends coreClient.OperationOptions { - description?: string; - featureName?: string; - listViewType?: ListViewType; - pageSize?: number; - skip?: string; - tags?: string; +export interface ImageVertical { + limitSettings: ImageLimitSettings; + sweepSettings?: ImageSweepSettings; + validationData?: MLTableJobInput; + validationDataSize?: number; } // @public -export type FeaturesListResponse = FeatureResourceArmPaginatedResult; +export interface IndexColumn { + columnName?: string; + dataType?: FeatureDataType; +} -// @public -export interface FeaturestoreEntityContainer extends ProxyResource { - properties: FeaturestoreEntityContainerProperties; +// @public (undocumented) +export interface InferenceContainerProperties { + livenessRoute?: Route; + readinessRoute?: Route; + scoringRoute?: Route; + startupRoute?: Route; } -// @public -export interface FeaturestoreEntityContainerProperties extends AssetContainer { - readonly provisioningState?: AssetProvisioningState; +// @public (undocumented) +export interface InferenceEndpoint extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferenceEndpointProperties; + sku?: Sku; } // @public -export interface FeaturestoreEntityContainerResourceArmPaginatedResult { - nextLink?: string; - value?: FeaturestoreEntityContainer[]; +export interface InferenceEndpointProperties extends PropertiesBase { + authMode: AuthMode; + readonly endpointUri?: string; + groupName: string; + readonly provisioningState?: PoolProvisioningState; + requestConfiguration?: RequestConfiguration; } // @public -export interface FeaturestoreEntityContainers { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityContainersCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise; - getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersGetEntityOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams): PagedAsyncIterableIterator; +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 FeaturestoreEntityContainersCreateOrUpdateHeaders { +export interface InferenceEndpointsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface InferenceEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; +export type InferenceEndpointsCreateOrUpdateResponse = InferenceEndpoint; // @public -export interface FeaturestoreEntityContainersDeleteHeaders { +export interface InferenceEndpointsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { +export interface InferenceEndpointsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions { +export interface InferenceEndpointsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; +export type InferenceEndpointsGetResponse = InferenceEndpoint; // @public -export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions { +export interface InferenceEndpointsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; +export type InferenceEndpointsListNextResponse = InferenceEndpointTrackedResourceArmPaginatedResult; // @public -export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { - createdBy?: string; - description?: string; - listViewType?: ListViewType; - name?: string; - pageSize?: number; +export interface InferenceEndpointsListOptionalParams extends coreClient.OperationOptions { + count?: number; + orderBy?: OrderString; + properties?: string; skip?: string; tags?: string; } // @public -export type FeaturestoreEntityContainersListResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; +export type InferenceEndpointsListResponse = InferenceEndpointTrackedResourceArmPaginatedResult; // @public -export interface FeaturestoreEntityVersion extends ProxyResource { - properties: FeaturestoreEntityVersionProperties; +export interface InferenceEndpointsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface FeaturestoreEntityVersionProperties extends AssetBase { - indexColumns?: IndexColumn[]; - readonly provisioningState?: AssetProvisioningState; - stage?: string; +export interface InferenceEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface FeaturestoreEntityVersionResourceArmPaginatedResult { +export type InferenceEndpointsUpdateResponse = InferenceEndpoint; + +// @public +export interface InferenceEndpointTrackedResourceArmPaginatedResult { nextLink?: string; - value?: FeaturestoreEntityVersion[]; + value?: InferenceEndpoint[]; +} + +// @public (undocumented) +export interface InferenceGroup extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferenceGroupProperties; + sku?: Sku; } // @public -export interface FeaturestoreEntityVersions { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityVersionsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityVersionsListOptionalParams): PagedAsyncIterableIterator; +export interface InferenceGroupProperties extends PropertiesBase { + environmentConfiguration?: GroupEnvironmentConfiguration; + modelConfiguration?: GroupModelConfiguration; + nodeSkuType?: string; + readonly provisioningState?: PoolProvisioningState; + scaleUnitSize?: number; } // @public -export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { +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; + beginModifyDeltaModelsAsync(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: DeltaModelModifyRequest, options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams): Promise, InferenceGroupsModifyDeltaModelsAsyncResponse>>; + beginModifyDeltaModelsAsyncAndWait(resourceGroupName: string, workspaceName: string, poolName: string, groupName: string, body: DeltaModelModifyRequest, options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams): 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; +} + +// @public +export interface InferenceGroupsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface InferenceGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; +export type InferenceGroupsCreateOrUpdateResponse = InferenceGroup; // @public -export interface FeaturestoreEntityVersionsDeleteHeaders { +export interface InferenceGroupsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { +export interface InferenceGroupsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; - -// @public -export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FeaturestoreEntityVersionsListNextResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; - -// @public -export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { - createdBy?: string; - description?: string; - listViewType?: ListViewType; - pageSize?: number; - skip?: string; - stage?: string; - tags?: string; - version?: string; - versionName?: string; -} - -// @public -export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; - -// @public -export interface FeatureStoreSettings { - computeRuntime?: ComputeRuntimeDto; - // (undocumented) - offlineStoreConnectionName?: string; - // (undocumented) - onlineStoreConnectionName?: string; -} - -// @public (undocumented) -export interface FeatureSubset extends MonitoringFeatureFilterBase { - features: string[]; - filterType: "FeatureSubset"; -} - -// @public -export interface FeatureWindow { - featureWindowEnd?: Date; - featureWindowStart?: Date; +export interface InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams extends coreClient.OperationOptions { } // @public -export type FeaturizationMode = string; +export type InferenceGroupsGetDeltaModelsStatusAsyncResponse = DeltaModelStatusResponse; // @public -export interface FeaturizationSettings { - datasetLanguage?: string; +export interface InferenceGroupsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface FixedInputData extends MonitoringInputDataBase { - inputDataType: "Fixed"; -} - -// @public (undocumented) -export interface FlavorData { - data?: { - [propertyName: string]: string | null; - }; -} +export type InferenceGroupsGetResponse = InferenceGroup; // @public -export interface ForecastHorizon { - mode: "Auto" | "Custom"; +export interface InferenceGroupsGetStatusOptionalParams extends coreClient.OperationOptions { } // @public -export type ForecastHorizonMode = string; - -// @public (undocumented) -export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type InferenceGroupsGetStatusResponse = GroupStatus; // @public -export interface Forecasting extends TableVertical, AutoMLVertical { - forecastingSettings?: ForecastingSettings; - primaryMetric?: ForecastingPrimaryMetrics; - taskType: "Forecasting"; - trainingSettings?: ForecastingTrainingSettings; +export interface InferenceGroupsListDeltaModelsAsyncNextOptionalParams extends coreClient.OperationOptions { } // @public -export type ForecastingModels = string; - -// @public -export type ForecastingPrimaryMetrics = string; - -// @public -export interface ForecastingSettings { - countryOrRegionForHolidays?: string; - cvStepSize?: number; - featureLags?: FeatureLags; - forecastHorizon?: ForecastHorizonUnion; - frequency?: string; - seasonality?: SeasonalityUnion; - shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; - targetAggregateFunction?: TargetAggregationFunction; - targetLags?: TargetLagsUnion; - targetRollingWindowSize?: TargetRollingWindowSizeUnion; - timeColumnName?: string; - timeSeriesIdColumnNames?: string[]; - useStl?: UseStl; -} +export type InferenceGroupsListDeltaModelsAsyncNextResponse = StringArmPaginatedResult; // @public -export interface ForecastingTrainingSettings extends TrainingSettings { - allowedTrainingAlgorithms?: ForecastingModels[]; - blockedTrainingAlgorithms?: ForecastingModels[]; -} - -// @public (undocumented) -export interface FqdnEndpoint { - // (undocumented) - domainName?: string; - // (undocumented) - endpointDetails?: FqdnEndpointDetail[]; -} - -// @public (undocumented) -export interface FqdnEndpointDetail { - // (undocumented) - port?: number; -} - -// @public (undocumented) -export interface FqdnEndpoints { - // (undocumented) - properties?: FqdnEndpointsProperties; -} - -// @public (undocumented) -export interface FqdnEndpointsProperties { - // (undocumented) - category?: string; - // (undocumented) - endpoints?: FqdnEndpoint[]; +export interface InferenceGroupsListDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions { } // @public -export interface FqdnOutboundRule extends OutboundRule { - // (undocumented) - destination?: string; - type: "FQDN"; -} - -// @public (undocumented) -export interface GetBlobReferenceForConsumptionDto { - blobUri?: string; - credential?: DataReferenceCredentialUnion; - storageAccountArmId?: string; -} +export type InferenceGroupsListDeltaModelsAsyncResponse = StringArmPaginatedResult; // @public -export interface GetBlobReferenceSASRequestDto { - assetId?: string; - blobUri?: string; +export interface InferenceGroupsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface GetBlobReferenceSASResponseDto { - blobReferenceForConsumption?: GetBlobReferenceForConsumptionDto; -} +export type InferenceGroupsListNextResponse = InferenceGroupTrackedResourceArmPaginatedResult; // @public -export function getContinuationToken(page: unknown): string | undefined; +export interface InferenceGroupsListOptionalParams extends coreClient.OperationOptions { + count?: number; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; +} // @public -export type Goal = string; +export type InferenceGroupsListResponse = InferenceGroupTrackedResourceArmPaginatedResult; // @public -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - samplingAlgorithmType: "Grid"; +export interface InferenceGroupsListSkusNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface HDInsight extends Compute, HDInsightSchema { - computeType: "HDInsight"; -} +export type InferenceGroupsListSkusNextResponse = SkuResourceArmPaginatedResult; // @public -export interface HDInsightProperties { - address?: string; - administratorAccount?: VirtualMachineSshCredentials; - sshPort?: number; +export interface InferenceGroupsListSkusOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; } -// @public (undocumented) -export interface HDInsightSchema { - properties?: HDInsightProperties; -} +// @public +export type InferenceGroupsListSkusResponse = SkuResourceArmPaginatedResult; // @public -export interface IdAssetReference extends AssetReferenceBase { - assetId: string; - referenceType: "Id"; +export interface InferenceGroupsModifyDeltaModelsAsyncHeaders { + location?: string; + retryAfter?: number; } // @public -export interface IdentityConfiguration { - identityType: "AMLToken" | "Managed" | "UserIdentity"; +export interface InferenceGroupsModifyDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type IdentityConfigurationType = string; - -// @public (undocumented) -export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type InferenceGroupsModifyDeltaModelsAsyncResponse = InferenceGroupsModifyDeltaModelsAsyncHeaders; // @public -export interface IdentityForCmk { - userAssignedIdentity?: string; +export interface InferenceGroupsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface IdleShutdownSetting { - idleTimeBeforeShutdown?: string; +export interface InferenceGroupsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -interface Image_2 { - [property: string]: any; - reference?: string; - type?: ImageType; -} -export { Image_2 as Image } +export type InferenceGroupsUpdateResponse = InferenceGroup; // @public -export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationPrimaryMetrics; - taskType: "ImageClassification"; +export interface InferenceGroupTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: InferenceGroup[]; } // @public (undocumented) -export interface ImageClassificationBase extends ImageVertical { - modelSettings?: ImageModelSettingsClassification; - searchSpace?: ImageModelDistributionSettingsClassification[]; +export interface InferencePool extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: InferencePoolProperties; + sku?: Sku; } // @public -export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationMultilabelPrimaryMetrics; - taskType: "ImageClassificationMultilabel"; +export interface InferencePoolProperties extends PropertiesBase { + readonly provisioningState?: PoolProvisioningState; + scaleUnitConfiguration?: ScaleUnitConfiguration; } // @public -export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: InstanceSegmentationPrimaryMetrics; - taskType: "ImageInstanceSegmentation"; +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 ImageLimitSettings { - maxConcurrentTrials?: number; - maxTrials?: number; - timeout?: string; +export interface InferencePoolsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface ImageMetadata { - currentImageVersion?: string; - isLatestOsImageVersion?: boolean; - latestImageVersion?: string; +export interface InferencePoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelDistributionSettings { - amsGradient?: string; - augmentations?: string; - beta1?: string; - beta2?: string; - distributed?: string; - earlyStopping?: string; - earlyStoppingDelay?: string; - earlyStoppingPatience?: string; - enableOnnxNormalization?: string; - evaluationFrequency?: string; - gradientAccumulationStep?: string; - layersToFreeze?: string; - learningRate?: string; - learningRateScheduler?: string; - modelName?: string; - momentum?: string; - nesterov?: string; - numberOfEpochs?: string; - numberOfWorkers?: string; - optimizer?: string; - randomSeed?: string; - stepLRGamma?: string; - stepLRStepSize?: string; - trainingBatchSize?: string; - validationBatchSize?: string; - warmupCosineLRCycles?: string; - warmupCosineLRWarmupEpochs?: string; - weightDecay?: string; -} +export type InferencePoolsCreateOrUpdateResponse = InferencePool; // @public -export interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { - trainingCropSize?: string; - validationCropSize?: string; - validationResizeSize?: string; - weightedLoss?: string; +export interface InferencePoolsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface ImageModelDistributionSettingsObjectDetection extends ImageModelDistributionSettings { - boxDetectionsPerImage?: string; - boxScoreThreshold?: string; - imageSize?: string; - maxSize?: string; - minSize?: string; - modelSize?: string; - multiScale?: string; - nmsIouThreshold?: string; - tileGridSize?: string; - tileOverlapRatio?: string; - tilePredictionsNmsThreshold?: string; - validationIouThreshold?: string; - validationMetricType?: string; +export interface InferencePoolsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelSettings { - advancedSettings?: string; - amsGradient?: boolean; - augmentations?: string; - beta1?: number; - beta2?: number; - checkpointFrequency?: number; - checkpointModel?: MLFlowModelJobInput; - checkpointRunId?: string; - distributed?: boolean; - earlyStopping?: boolean; - earlyStoppingDelay?: number; - earlyStoppingPatience?: number; - enableOnnxNormalization?: boolean; - evaluationFrequency?: number; - gradientAccumulationStep?: number; - layersToFreeze?: number; - learningRate?: number; - learningRateScheduler?: LearningRateScheduler; - modelName?: string; - momentum?: number; - nesterov?: boolean; - numberOfEpochs?: number; - numberOfWorkers?: number; - optimizer?: StochasticOptimizer; - randomSeed?: number; - stepLRGamma?: number; - stepLRStepSize?: number; - trainingBatchSize?: number; - validationBatchSize?: number; - warmupCosineLRCycles?: number; - warmupCosineLRWarmupEpochs?: number; - weightDecay?: number; +export interface InferencePoolsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageModelSettingsClassification extends ImageModelSettings { - trainingCropSize?: number; - validationCropSize?: number; - validationResizeSize?: number; - weightedLoss?: number; -} +export type InferencePoolsGetResponse = InferencePool; // @public -export interface ImageModelSettingsObjectDetection extends ImageModelSettings { - boxDetectionsPerImage?: number; - boxScoreThreshold?: number; - imageSize?: number; - maxSize?: number; - minSize?: number; - modelSize?: ModelSize; - multiScale?: boolean; - nmsIouThreshold?: number; - tileGridSize?: string; - tileOverlapRatio?: number; - tilePredictionsNmsThreshold?: number; - validationIouThreshold?: number; - validationMetricType?: ValidationMetricType; +export interface InferencePoolsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: ObjectDetectionPrimaryMetrics; - taskType: "ImageObjectDetection"; -} - -// @public (undocumented) -export interface ImageObjectDetectionBase extends ImageVertical { - modelSettings?: ImageModelSettingsObjectDetection; - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; -} +export type InferencePoolsListNextResponse = InferencePoolTrackedResourceArmPaginatedResult; // @public -export interface ImageSweepSettings { - earlyTermination?: EarlyTerminationPolicyUnion; - samplingAlgorithm: SamplingAlgorithmType; +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 +4744,11 @@ export interface InstanceTypeSchemaResources { }; } +// @public +export interface IPRule { + value?: string; +} + // @public export type IsolationMode = string; @@ -3341,6 +4767,7 @@ export interface JobBaseProperties extends ResourceBase { isArchived?: boolean; jobType: JobType; notificationSetting?: NotificationSetting; + parentJobName?: string; services?: { [propertyName: string]: JobService | null; }; @@ -3348,7 +4775,7 @@ export interface JobBaseProperties extends ResourceBase { } // @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; +export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | DistillationJob | FineTuningJob | PipelineJob | SparkJob | SweepJob; // @public export interface JobBaseResourceArmPaginatedResult { @@ -3395,9 +4822,15 @@ export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOu // @public (undocumented) export interface JobResourceConfiguration extends ResourceConfiguration { dockerArgs?: string; + dockerArgsList?: string[]; 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 +4928,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 +4957,13 @@ export enum KnownAllocationState { Steady = "Steady" } +// @public +export enum KnownAllowedContentLevel { + High = "High", + Low = "Low", + Medium = "Medium" +} + // @public export enum KnownApplicationSharingPolicy { Personal = "Personal", @@ -3526,6 +4980,11 @@ export enum KnownAssetProvisioningState { Updating = "Updating" } +// @public +export enum KnownAuthMode { + AAD = "AAD" +} + // @public export enum KnownAutoRebuildSetting { Disabled = "Disabled", @@ -3584,6 +5043,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 +5133,7 @@ export enum KnownComputeInstanceState { Creating = "Creating", Deleting = "Deleting", JobRunning = "JobRunning", + Resizing = "Resizing", Restarting = "Restarting", Running = "Running", SettingUp = "SettingUp", @@ -3771,6 +5246,7 @@ export enum KnownConnectionCategory { Dynamics = "Dynamics", DynamicsAx = "DynamicsAx", DynamicsCrm = "DynamicsCrm", + Elasticsearch = "Elasticsearch", Eloqua = "Eloqua", FileServer = "FileServer", FtpServer = "FtpServer", @@ -3790,6 +5266,7 @@ export enum KnownConnectionCategory { Informix = "Informix", Jira = "Jira", Magento = "Magento", + ManagedOnlineEndpoint = "ManagedOnlineEndpoint", MariaDb = "MariaDb", Marketo = "Marketo", MicrosoftAccess = "MicrosoftAccess", @@ -3806,6 +5283,7 @@ export enum KnownConnectionCategory { OracleServiceCloud = "OracleServiceCloud", PayPal = "PayPal", Phoenix = "Phoenix", + Pinecone = "Pinecone", PostgreSql = "PostgreSql", Presto = "Presto", PythonFeed = "PythonFeed", @@ -3857,6 +5335,12 @@ export enum KnownContainerType { StorageInitializer = "StorageInitializer" } +// @public +export enum KnownContentSafetyLevel { + Blocking = "Blocking", + Deferred = "Deferred" +} + // @public export enum KnownContentSafetyStatus { Disabled = "Disabled", @@ -3894,6 +5378,21 @@ export enum KnownDataCollectionMode { Enabled = "Enabled" } +// @public +export enum KnownDataGenerationTaskType { + Conversation = "Conversation", + Math = "Math", + Nli = "Nli", + NluQa = "NluQa", + Summarization = "Summarization" +} + +// @public +export enum KnownDataGenerationType { + DataGeneration = "DataGeneration", + LabelGeneration = "LabelGeneration" +} + // @public export enum KnownDataReferenceCredentialType { DockerCredentials = "DockerCredentials", @@ -3918,6 +5417,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 +5524,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 +5585,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 +5742,8 @@ export enum KnownJobTier { export enum KnownJobType { AutoML = "AutoML", Command = "Command", + Distillation = "Distillation", + FineTuning = "FineTuning", Pipeline = "Pipeline", Spark = "Spark", Sweep = "Sweep" @@ -4225,12 +5785,42 @@ export enum KnownLogVerbosity { Warning = "Warning" } +// @public +export enum KnownManagedNetworkKind { + V1 = "V1", + V2 = "V2" +} + +// @public +export enum KnownManagedNetworkProvisioningState { + Deferred = "Deferred", + Deleted = "Deleted", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + // @public export enum KnownManagedNetworkStatus { Active = "Active", 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 +5854,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 +5938,12 @@ export enum KnownMountAction { Unmount = "Unmount" } +// @public +export enum KnownMountMode { + ReadOnly = "ReadOnly", + ReadWrite = "ReadWrite" +} + // @public export enum KnownMountState { Mounted = "Mounted", @@ -4411,6 +6025,7 @@ export enum KnownOperationName { Create = "Create", Delete = "Delete", Reimage = "Reimage", + Resize = "Resize", Restart = "Restart", Start = "Start", Stop = "Stop" @@ -4422,6 +6037,7 @@ export enum KnownOperationStatus { DeleteFailed = "DeleteFailed", InProgress = "InProgress", ReimageFailed = "ReimageFailed", + ResizeFailed = "ResizeFailed", RestartFailed = "RestartFailed", StartFailed = "StartFailed", StopFailed = "StopFailed", @@ -4463,6 +6079,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 +6100,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 +6142,6 @@ export enum KnownProvisioningStatus { Provisioning = "Provisioning" } -// @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} - // @public export enum KnownPublicNetworkAccessType { Disabled = "Disabled", @@ -4533,6 +6153,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", @@ -4610,7 +6249,10 @@ export enum KnownRuleCategory { // @public export enum KnownRuleStatus { Active = "Active", - Inactive = "Inactive" + Deleting = "Deleting", + Failed = "Failed", + Inactive = "Inactive", + Provisioning = "Provisioning" } // @public @@ -4699,7 +6341,15 @@ export enum KnownServerlessEndpointState { // @public export enum KnownServerlessInferenceEndpointAuthMode { - Key = "Key" + AAD = "AAD", + Key = "Key", + KeyAndAAD = "KeyAndAAD" +} + +// @public +export enum KnownServiceAccountKeyName { + Key1 = "Key1", + Key2 = "Key2" } // @public @@ -4788,6 +6438,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 +6517,6 @@ export enum KnownValidationMetricType { Voc = "Voc" } -// @public -export enum KnownValueFormat { - Json = "JSON" -} - // @public export enum KnownVMPriceOSType { Linux = "Linux", @@ -4892,6 +6544,15 @@ export enum KnownVolumeDefinitionType { Volume = "volume" } +// @public +export enum KnownVulnerabilityRisk { + Critical = "CRITICAL", + High = "HIGH", + LOW = "LOW", + Medium = "MEDIUM", + Unknown = "UNKNOWN" +} + // @public export enum KnownWebhookType { AzureDevOps = "AzureDevOps" @@ -4938,6 +6599,13 @@ export interface KubernetesSchema { properties?: KubernetesProperties; } +// @public (undocumented) +export interface LabelGeneration extends DataGenerationVertical { + dataGenerationType: "LabelGeneration"; + trainingData?: JobInputUnion; + validationData?: JobInputUnion; +} + // @public (undocumented) export interface LakeHouseArtifact extends OneLakeArtifact { artifactType: "LakeHouse"; @@ -4975,10 +6643,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 @@ -5030,6 +6700,18 @@ export interface ManagedIdentityCredential extends DataReferenceCredential { userManagedIdentityTenantId?: string; } +// @public +export type ManagedNetworkKind = string; + +// @public +export interface ManagedNetworkListResult { + nextLink?: string; + value?: ManagedNetworkSettingsPropertiesBasicResource[]; +} + +// @public +export type ManagedNetworkProvisioningState = string; + // @public export interface ManagedNetworkProvisionOptions { // (undocumented) @@ -5067,7 +6749,11 @@ export interface ManagedNetworkProvisionStatus { // @public export interface ManagedNetworkSettings { + enableNetworkMonitor?: boolean; + readonly firewallPublicIpAddress?: string; + firewallSku?: FirewallSku; isolationMode?: IsolationMode; + managedNetworkKind?: ManagedNetworkKind; readonly networkId?: string; outboundRules?: { [propertyName: string]: OutboundRuleUnion; @@ -5075,6 +6761,89 @@ export interface ManagedNetworkSettings { status?: ManagedNetworkProvisionStatus; } +// @public (undocumented) +export interface ManagedNetworkSettingsBasicResource extends Resource { + properties?: ManagedNetworkSettings; +} + +// @public (undocumented) +export interface ManagedNetworkSettingsEx extends ManagedNetworkSettings { + readonly changeableIsolationModes?: IsolationMode[]; +} + +// @public +export interface ManagedNetworkSettingsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsGetResponse = ManagedNetworkSettingsPropertiesBasicResource; + +// @public +export interface ManagedNetworkSettingsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsListNextResponse = ManagedNetworkListResult; + +// @public +export interface ManagedNetworkSettingsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedNetworkSettingsListResponse = ManagedNetworkListResult; + +// @public +export interface ManagedNetworkSettingsOperations { + beginPatch(resourceGroupName: string, workspaceName: string, managedNetworkName: string, options?: ManagedNetworkSettingsPatchOptionalParams): Promise, ManagedNetworkSettingsPatchResponse>>; + beginPatchAndWait(resourceGroupName: string, workspaceName: string, managedNetworkName: string, options?: ManagedNetworkSettingsPatchOptionalParams): Promise; + beginPut(resourceGroupName: string, workspaceName: string, managedNetworkName: string, body: ManagedNetworkSettingsPropertiesBasicResource, options?: ManagedNetworkSettingsPutOptionalParams): Promise, ManagedNetworkSettingsPutResponse>>; + beginPutAndWait(resourceGroupName: string, workspaceName: string, managedNetworkName: string, body: ManagedNetworkSettingsPropertiesBasicResource, options?: ManagedNetworkSettingsPutOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, managedNetworkName: string, options?: ManagedNetworkSettingsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: ManagedNetworkSettingsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ManagedNetworkSettingsPatchHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ManagedNetworkSettingsPatchOptionalParams extends coreClient.OperationOptions { + body?: ManagedNetworkSettingsPropertiesBasicResource; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ManagedNetworkSettingsPatchResponse = ManagedNetworkSettingsPropertiesBasicResource; + +// @public +export interface ManagedNetworkSettingsProperties { + managedNetwork?: ManagedNetworkSettingsEx; + readonly provisioningState?: ManagedNetworkProvisioningState; +} + +// @public (undocumented) +export interface ManagedNetworkSettingsPropertiesBasicResource extends Resource { + properties?: ManagedNetworkSettingsProperties; +} + +// @public +export interface ManagedNetworkSettingsPutHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ManagedNetworkSettingsPutOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ManagedNetworkSettingsPutResponse = ManagedNetworkSettingsPropertiesBasicResource; + // @public export interface ManagedNetworkSettingsRule { beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, ruleName: string, body: OutboundRuleBasicResource, options?: ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams): Promise, ManagedNetworkSettingsRuleCreateOrUpdateResponse>>; @@ -5103,6 +6872,7 @@ export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasic // @public export interface ManagedNetworkSettingsRuleDeleteHeaders { location?: string; + retryAfter?: number; } // @public @@ -5140,6 +6910,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 +7084,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 +7172,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; @@ -5375,6 +7196,7 @@ export interface ModelVersion extends ProxyResource { // @public export interface ModelVersionProperties extends AssetBase { + datasets?: DatasetReference[]; flavors?: { [propertyName: string]: FlavorData | null; }; @@ -5569,6 +7391,9 @@ export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurati // @public export type MountAction = string; +// @public +export type MountMode = string; + // @public export type MountState = string; @@ -5592,6 +7417,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 +7499,8 @@ export interface NotebookPreparationError { export interface NotebookResourceInfo { // (undocumented) fqdn?: string; + // (undocumented) + isPrivateLinkEnabled?: boolean; notebookPreparationError?: NotebookPreparationError; resourceId?: string; } @@ -5766,6 +7599,7 @@ export interface OnlineDeploymentProperties extends EndpointDeploymentProperties readinessProbe?: ProbeSettings; requestSettings?: OnlineRequestSettings; scaleSettings?: OnlineScaleSettingsUnion; + startupProbe?: ProbeSettings; } // @public (undocumented) @@ -6036,7 +7870,17 @@ export interface OnlineScaleSettings { } // @public (undocumented) -export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; +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,29 +7935,136 @@ 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 errorInformation?: string; + readonly parentRuleNames?: string[]; status?: RuleStatus; - type: "PrivateEndpoint" | "ServiceTag" | "FQDN"; + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; } -// @public +// @public (undocumented) export interface OutboundRuleBasicResource extends Resource { properties: OutboundRuleUnion; } +// @public +export interface OutboundRuleCreateOrUpdateHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface OutboundRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type OutboundRuleCreateOrUpdateResponse = OutboundRuleBasicResource; + +// @public +export interface OutboundRuleDeleteHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface OutboundRuleDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type OutboundRuleDeleteResponse = OutboundRuleDeleteHeaders; + +// @public +export interface OutboundRuleGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OutboundRuleGetResponse = OutboundRuleBasicResource; + +// @public +export interface OutboundRuleListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OutboundRuleListNextResponse = OutboundRuleListResult; + +// @public +export interface OutboundRuleListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OutboundRuleListResponse = OutboundRuleListResult; + // @public export interface OutboundRuleListResult { nextLink?: string; value?: OutboundRuleBasicResource[]; } +// @public +export interface OutboundRuleOperations { + // (undocumented) + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams): Promise, OutboundRuleCreateOrUpdateResponse>>; + // (undocumented) + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams): Promise, OutboundRuleDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, managedNetworkName: string, options?: OutboundRuleListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface OutboundRules { + beginListPostAndWait(resourceGroupName: string, workspaceName: string, managedNetworkName: string, body: ManagedNetworkSettingsBasicResource, options?: OutboundRulesPostOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface OutboundRulesPostHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface OutboundRulesPostNextHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface OutboundRulesPostNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OutboundRulesPostNextResponse = OutboundRuleListResult; + +// @public +export interface OutboundRulesPostOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type OutboundRulesPostResponse = OutboundRuleListResult; + // @public (undocumented) -export type OutboundRuleUnion = OutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule | FqdnOutboundRule; +export type OutboundRuleUnion = OutboundRule | FqdnOutboundRule | PrivateEndpointOutboundRule | ServiceTagOutboundRule; // @public export type OutputDeliveryMode = string; @@ -6125,6 +8076,14 @@ export interface OutputPathAssetReference extends AssetReferenceBase { referenceType: "OutputPath"; } +// @public (undocumented) +export interface PackageDetails { + installedVersion?: string; + installPath?: string; + name?: string; + patchedVersion?: string; +} + // @public export interface PaginatedComputeResourcesList { nextLink?: string; @@ -6206,6 +8165,9 @@ export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConne credentials?: WorkspaceConnectionPersonalAccessToken; } +// @public +export type PatchStatus = string; + // @public (undocumented) export interface PendingUploadCredentialDto { credentialType: "SAS"; @@ -6254,6 +8216,9 @@ export interface PipelineJob extends JobBaseProperties { sourceJobId?: string; } +// @public +export type PoolProvisioningState = string; + // @public (undocumented) export interface PredictionDriftMetricThresholdBase { dataType: "Categorical" | "Numerical"; @@ -6283,9 +8248,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 +8267,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 +8312,8 @@ export interface PrivateEndpointDestination { // @public export interface PrivateEndpointOutboundRule extends OutboundRule { destination?: PrivateEndpointDestination; + // (undocumented) + fqdns?: string[]; type: "PrivateEndpoint"; } @@ -6355,15 +8322,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 +8337,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 @@ -6386,98 +8351,320 @@ export interface PrivateLinkResourcesListOptionalParams extends coreClient.Opera } // @public -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; - -// @public -export interface PrivateLinkServiceConnectionState { - actionsRequired?: string; - description?: string; - status?: PrivateEndpointServiceConnectionStatus; +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +// @public +export interface PrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: EndpointServiceConnectionStatus; +} + +// @public +export interface ProbeSettings { + failureThreshold?: number; + initialDelay?: string; + period?: string; + successThreshold?: number; + timeout?: string; +} + +// @public (undocumented) +export interface PromptSettings { + // (undocumented) + enableChainOfDensity?: boolean; + // (undocumented) + enableChainOfThought?: boolean; + // (undocumented) + maxLenSummary?: number; +} + +// @public +export interface PropertiesBase { + description?: string; + properties?: StringKeyValuePair[]; +} + +// @public +export type Protocol = string; + +// @public +export type ProvisioningState = string; + +// @public +export type ProvisioningStatus = string; + +// @public +export interface ProxyResource extends Resource { +} + +// @public (undocumented) +export interface PTUDeploymentUsage { + collectionQuotaUsage?: number; + deploymentName?: string; + resourceGroup?: string; + usage?: number; + workspaceName?: string; +} + +// @public +export interface PTUQuota { + getAvailable(location: string, options?: PTUQuotaGetAvailableOptionalParams): Promise; + list(location: string, options?: PTUQuotaListOptionalParams): PagedAsyncIterableIterator; + listAvailable(location: string, options?: PTUQuotaListAvailableOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface PTUQuotaGetAvailableOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PTUQuotaGetAvailableResponse = AvailableQuota; + +// @public +export interface PTUQuotaListAvailableNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PTUQuotaListAvailableNextResponse = AvailableQuotaArmPaginatedResult; + +// @public +export interface PTUQuotaListAvailableOptionalParams extends coreClient.OperationOptions { + skip?: string; +} + +// @public +export type PTUQuotaListAvailableResponse = AvailableQuotaArmPaginatedResult; + +// @public +export interface PTUQuotaListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PTUQuotaListNextResponse = UsageAndQuotaDetailsArmPaginatedResult; + +// @public +export interface PTUQuotaListOptionalParams extends coreClient.OperationOptions { + skip?: string; +} + +// @public +export type PTUQuotaListResponse = UsageAndQuotaDetailsArmPaginatedResult; + +// @public +export type PublicNetworkAccessType = string; + +// @public +export interface PyTorch extends DistributionConfiguration { + distributionType: "PyTorch"; + processCountPerInstance?: number; +} + +// @public (undocumented) +export interface QueueSettings { + jobTier?: JobTier; +} + +// @public +export interface QuotaBaseProperties { + id?: string; + limit?: number; + type?: string; + unit?: QuotaUnit; +} + +// @public +export interface Quotas { + list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; + update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; +} + +// @public +export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type QuotasListNextResponse = ListWorkspaceQuotas; + +// @public +export interface QuotasListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type QuotasListResponse = ListWorkspaceQuotas; + +// @public +export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +// @public +export type QuotaUnit = string; + +// @public +export interface QuotaUpdateParameters { + location?: string; + 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 ProbeSettings { - failureThreshold?: number; - initialDelay?: string; - period?: string; - successThreshold?: number; - timeout?: string; +export interface RaiPoliciesListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type Protocol = string; +export type RaiPoliciesListNextResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; // @public -export type ProvisioningState = string; +export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; +} // @public -export type ProvisioningStatus = string; +export type RaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; // @public -export interface ProxyResource extends Resource { +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 type PublicNetworkAccess = string; +export interface RaiPolicyContentFilter { + allowedContentLevel?: AllowedContentLevel; + blocking?: boolean; + enabled?: boolean; + name?: string; + source?: RaiPolicyContentSource; +} // @public -export type PublicNetworkAccessType = string; +export type RaiPolicyContentSource = string; // @public -export interface PyTorch extends DistributionConfiguration { - distributionType: "PyTorch"; - processCountPerInstance?: number; -} - -// @public (undocumented) -export interface QueueSettings { - jobTier?: JobTier; +export interface RaiPolicyCreateOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface QuotaBaseProperties { - id?: string; - limit?: number; - type?: string; - unit?: QuotaUnit; -} +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; // @public -export interface Quotas { - list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; - update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; +export interface RaiPolicyDeleteHeaders { + location?: string; + retryAfter?: number; } // @public -export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { +export interface RaiPolicyDeleteOptionalParams extends coreClient.OperationOptions { + proxyApiVersion?: string; + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; // @public -export interface QuotasListOptionalParams extends coreClient.OperationOptions { +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions { } // @public -export type QuotasListResponse = ListWorkspaceQuotas; +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; // @public -export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { -} +export type RaiPolicyMode = string; // @public -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +export interface RaiPolicyProperties { + basePolicyName?: string; + // (undocumented) + completionBlocklists?: RaiBlocklistConfig[]; + // (undocumented) + contentFilters?: RaiPolicyContentFilter[]; + mode?: RaiPolicyMode; + // (undocumented) + promptBlocklists?: RaiBlocklistConfig[]; + type?: RaiPolicyType; +} // @public -export type QuotaUnit = string; +export interface RaiPolicyPropertiesBasicResource extends Resource { + properties: RaiPolicyProperties; +} // @public -export interface QuotaUpdateParameters { - location?: string; - value?: QuotaBaseProperties[]; +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + // (undocumented) + nextLink?: string; + // (undocumented) + value?: RaiPolicyPropertiesBasicResource[]; } +// @public +export type RaiPolicyType = string; + // @public export interface RandomSamplingAlgorithm extends SamplingAlgorithm { rule?: RandomSamplingAlgorithmRule; @@ -6525,6 +8712,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 +8819,7 @@ export interface Registry extends TrackedResource { intellectualPropertyPublisher?: string; kind?: string; managedResourceGroup?: ArmResourceId; + managedResourceGroupSettings?: ManagedResourceGroupSettings; mlFlowRegistryUri?: string; publicNetworkAccess?: string; regionDetails?: RegistryRegionArmDetails[]; @@ -7354,11 +9548,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 +9699,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 +9841,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 +9864,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 +9903,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 +10050,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 +10096,7 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { // @public export interface ServiceTagDestination { action?: RuleAction; - readonly addressPrefixes?: string[]; + addressPrefixes?: string[]; // (undocumented) portRanges?: string; // (undocumented) @@ -7844,7 +10122,7 @@ export interface SharedPrivateLinkResource { name?: string; privateLinkResourceId?: string; requestMessage?: string; - status?: PrivateEndpointServiceConnectionStatus; + status?: EndpointServiceConnectionStatus; } // @public @@ -7951,6 +10229,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; @@ -7994,12 +10282,25 @@ export type StochasticOptimizer = string; // @public export interface StorageAccountDetails { systemCreatedStorageAccount?: SystemCreatedStorageAccount; - userCreatedStorageAccount?: UserCreatedStorageAccount; } // @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 +10374,9 @@ export interface SystemData { lastModifiedByType?: CreatedByType; } +// @public +export type SystemDatastoresAuthMode = string; + // @public export interface SystemService { readonly publicIpAddress?: string; @@ -8154,6 +10458,28 @@ export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { // @public export type TaskType = string; +// @public (undocumented) +export interface TeacherModelEndpoint { + // (undocumented) + endpointName?: string; +} + +// @public (undocumented) +export interface TeacherModelEndpointRequestSettings { + // (undocumented) + minEndpointSuccessRatio?: number; + // (undocumented) + requestBatchSize?: number; +} + +// @public (undocumented) +export interface TeacherModelSettings { + teacherModelEndpointRequestSettings?: TeacherModelEndpointRequestSettings; + teacherModelInferenceParameters?: { + [propertyName: string]: string | null; + }; +} + // @public export interface TensorFlow extends DistributionConfiguration { distributionType: "TensorFlow"; @@ -8179,7 +10505,7 @@ export interface TextNer extends NlpVertical, AutoMLVertical { taskType: "TextNER"; } -// @public +// @public (undocumented) export interface TmpfsOptions { size?: number; } @@ -8313,6 +10639,19 @@ export interface Usage { readonly unit?: UsageUnit; } +// @public (undocumented) +export interface UsageAndQuotaDetails { + modelCollection?: string; + quota?: number; + usageDetails?: PTUDeploymentUsage[]; +} + +// @public +export interface UsageAndQuotaDetailsArmPaginatedResult { + nextLink?: string; + value?: UsageAndQuotaDetails[]; +} + // @public export interface UsageName { readonly localizedValue?: string; @@ -8354,16 +10693,6 @@ export interface UserAssignedIdentity { readonly principalId?: string; } -// @public (undocumented) -export interface UserCreatedAcrAccount { - armResourceId?: ArmResourceId; -} - -// @public (undocumented) -export interface UserCreatedStorageAccount { - armResourceId?: ArmResourceId; -} - // @public export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; @@ -8382,9 +10711,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 +10796,7 @@ export type VmPriority = string; // @public export type VMTier = string; -// @public +// @public (undocumented) export interface VolumeDefinition { bind?: BindOptions; consistency?: string; @@ -8485,11 +10811,44 @@ export interface VolumeDefinition { // @public export type VolumeDefinitionType = string; -// @public +// @public (undocumented) export interface VolumeOptions { nocopy?: boolean; } +// @public (undocumented) +export interface VulnerabilityDetails { + cve?: string; + cveUrl?: string; + dueDate?: Date; + readonly id?: string; + packageDetails?: PackageDetails[]; + patchable?: boolean; + providerId?: string; + publishDate?: Date; + risk?: VulnerabilityRisk; + solution?: string; + title?: string; + vendorId?: string; + vendorUrl?: string; +} + +// @public (undocumented) +export interface VulnerabilityFindings { + assetId?: string; + readonly criticalFindingsCount?: number; + data?: VulnerabilityDetails[]; + generatedTime?: Date; + readonly highFindingsCount?: number; + lastScanDate?: Date; + scanner?: string; + source?: string; + readonly totalFindingsCount?: number; +} + +// @public +export type VulnerabilityRisk = string; + // @public export interface Webhook { eventType?: string; @@ -8507,16 +10866,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 +10894,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 +10940,7 @@ export interface WorkspaceConnectionAccessKey { secretAccessKey?: string; } -// @public (undocumented) +// @public export interface WorkspaceConnectionAccountKey { // (undocumented) key?: string; @@ -8602,10 +10982,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 +10996,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 +11015,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 +11081,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties // @public export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { category?: string; + includeAll?: boolean; target?: string; } @@ -8707,6 +11095,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 +11166,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 +11184,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 +11211,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 +11232,7 @@ export interface WorkspacesDiagnoseHeaders { // @public export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { - parameters?: DiagnoseWorkspaceParameters; + body?: DiagnoseWorkspaceParameters; resumeFrom?: string; updateIntervalInMs?: number; } @@ -8827,6 +11256,9 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; // @public export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8842,6 +11274,9 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; // @public export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions { + // (undocumented) + aiCapabilities?: string; + kind?: string; skip?: string; } @@ -8910,12 +11345,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 +11356,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/sample.env b/sdk/machinelearning/arm-machinelearning/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/machinelearning/arm-machinelearning/sample.env +++ b/sdk/machinelearning/arm-machinelearning/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts index b4b5d76bd62a..3730850a157e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServicesManagementClient.ts @@ -8,24 +8,14 @@ import * as coreClient from "@azure/core-client"; import * as coreRestPipeline from "@azure/core-rest-pipeline"; -import { - PipelineRequest, - PipelineResponse, - SendRequest, -} from "@azure/core-rest-pipeline"; +import { PipelineRequest, PipelineResponse, SendRequest } from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { - OperationsImpl, - WorkspacesImpl, UsagesImpl, VirtualMachineSizesImpl, QuotasImpl, ComputeOperationsImpl, - PrivateEndpointConnectionsImpl, - PrivateLinkResourcesImpl, - WorkspaceConnectionsImpl, - ManagedNetworkSettingsRuleImpl, - ManagedNetworkProvisionsImpl, + PTUQuotaImpl, RegistryCodeContainersImpl, RegistryCodeVersionsImpl, RegistryComponentContainersImpl, @@ -39,6 +29,7 @@ import { RegistryModelVersionsImpl, BatchEndpointsImpl, BatchDeploymentsImpl, + CapabilityHostsImpl, CodeContainersImpl, CodeVersionsImpl, ComponentContainersImpl, @@ -53,6 +44,9 @@ import { FeaturesetVersionsImpl, FeaturestoreEntityContainersImpl, FeaturestoreEntityVersionsImpl, + InferencePoolsImpl, + InferenceEndpointsImpl, + InferenceGroupsImpl, JobsImpl, MarketplaceSubscriptionsImpl, ModelContainersImpl, @@ -63,19 +57,34 @@ import { ServerlessEndpointsImpl, RegistriesImpl, WorkspaceFeaturesImpl, + OperationsImpl, + WorkspacesImpl, + WorkspaceConnectionsImpl, + ConnectionImpl, + ConnectionRaiBlocklistsImpl, + ConnectionRaiBlocklistImpl, + ConnectionRaiBlocklistItemImpl, + ConnectionRaiBlocklistItemsImpl, + ConnectionRaiPoliciesImpl, + ConnectionRaiPolicyImpl, + EndpointDeploymentImpl, + EndpointOperationsImpl, + RaiPoliciesImpl, + RaiPolicyImpl, + ManagedNetworkSettingsRuleImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl, + ManagedNetworkProvisionsImpl, + OutboundRuleOperationsImpl, + OutboundRulesImpl, + ManagedNetworkSettingsOperationsImpl, } from "./operations/index.js"; import { - Operations, - Workspaces, Usages, VirtualMachineSizes, Quotas, ComputeOperations, - PrivateEndpointConnections, - PrivateLinkResources, - WorkspaceConnections, - ManagedNetworkSettingsRule, - ManagedNetworkProvisions, + PTUQuota, RegistryCodeContainers, RegistryCodeVersions, RegistryComponentContainers, @@ -89,6 +98,7 @@ import { RegistryModelVersions, BatchEndpoints, BatchDeployments, + CapabilityHosts, CodeContainers, CodeVersions, ComponentContainers, @@ -103,6 +113,9 @@ import { FeaturesetVersions, FeaturestoreEntityContainers, FeaturestoreEntityVersions, + InferencePools, + InferenceEndpoints, + InferenceGroups, Jobs, MarketplaceSubscriptions, ModelContainers, @@ -113,6 +126,27 @@ import { ServerlessEndpoints, Registries, WorkspaceFeatures, + Operations, + Workspaces, + WorkspaceConnections, + Connection, + ConnectionRaiBlocklists, + ConnectionRaiBlocklist, + ConnectionRaiBlocklistItem, + ConnectionRaiBlocklistItems, + ConnectionRaiPolicies, + ConnectionRaiPolicy, + EndpointDeployment, + EndpointOperations, + RaiPolicies, + RaiPolicy, + ManagedNetworkSettingsRule, + PrivateEndpointConnections, + PrivateLinkResources, + ManagedNetworkProvisions, + OutboundRuleOperations, + OutboundRules, + ManagedNetworkSettingsOperations, } from "./operationsInterfaces/index.js"; import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models/index.js"; @@ -143,13 +177,12 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser if (!options) { options = {}; } - const defaults: AzureMachineLearningServicesManagementClientOptionalParams = - { - requestContentType: "application/json; charset=utf-8", - credential: credentials, - }; + const defaults: AzureMachineLearningServicesManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials, + }; - const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/4.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -161,8 +194,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser userAgentOptions: { userAgentPrefix, }, - endpoint: - options.endpoint ?? options.baseUri ?? "https://management.azure.com", + endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com", }; super(optionsWithDefaults); @@ -172,8 +204,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser options.pipeline.getOrderedPolicies(); bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => - pipelinePolicy.name === - coreRestPipeline.bearerTokenAuthenticationPolicyName, + pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName, ); } if ( @@ -189,11 +220,9 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser coreRestPipeline.bearerTokenAuthenticationPolicy({ credential: credentials, scopes: - optionsWithDefaults.credentialScopes ?? - `${optionsWithDefaults.endpoint}/.default`, + optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`, challengeCallbacks: { - authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge, + authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge, }, }), ); @@ -203,37 +232,26 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-04-01"; - this.operations = new OperationsImpl(this); - this.workspaces = new WorkspacesImpl(this); + this.apiVersion = options.apiVersion || "2025-06-01"; this.usages = new UsagesImpl(this); this.virtualMachineSizes = new VirtualMachineSizesImpl(this); this.quotas = new QuotasImpl(this); this.computeOperations = new ComputeOperationsImpl(this); - this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); - this.privateLinkResources = new PrivateLinkResourcesImpl(this); - this.workspaceConnections = new WorkspaceConnectionsImpl(this); - this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this); - this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this); + this.pTUQuota = new PTUQuotaImpl(this); this.registryCodeContainers = new RegistryCodeContainersImpl(this); this.registryCodeVersions = new RegistryCodeVersionsImpl(this); - this.registryComponentContainers = new RegistryComponentContainersImpl( - this, - ); + this.registryComponentContainers = new RegistryComponentContainersImpl(this); this.registryComponentVersions = new RegistryComponentVersionsImpl(this); this.registryDataContainers = new RegistryDataContainersImpl(this); this.registryDataVersions = new RegistryDataVersionsImpl(this); this.registryDataReferences = new RegistryDataReferencesImpl(this); - this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl( - this, - ); - this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl( - this, - ); + this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl(this); + this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl(this); this.registryModelContainers = new RegistryModelContainersImpl(this); this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); 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); @@ -246,10 +264,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser this.featuresetContainers = new FeaturesetContainersImpl(this); this.features = new FeaturesImpl(this); this.featuresetVersions = new FeaturesetVersionsImpl(this); - this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl( - this, - ); + this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl(this); this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this); + this.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 +279,27 @@ 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.outboundRuleOperations = new OutboundRuleOperationsImpl(this); + this.outboundRules = new OutboundRulesImpl(this); + this.managedNetworkSettingsOperations = new ManagedNetworkSettingsOperationsImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -270,10 +310,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser } const apiVersionPolicy = { name: "CustomApiVersionPolicy", - async sendRequest( - request: PipelineRequest, - next: SendRequest, - ): Promise { + async sendRequest(request: PipelineRequest, next: SendRequest): Promise { const param = request.url.split("?"); if (param.length > 1) { const newParams = param[1].split("&").map((item) => { @@ -291,17 +328,11 @@ 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; + pTUQuota: PTUQuota; registryCodeContainers: RegistryCodeContainers; registryCodeVersions: RegistryCodeVersions; registryComponentContainers: RegistryComponentContainers; @@ -315,6 +346,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser registryModelVersions: RegistryModelVersions; batchEndpoints: BatchEndpoints; batchDeployments: BatchDeployments; + capabilityHosts: CapabilityHosts; codeContainers: CodeContainers; codeVersions: CodeVersions; componentContainers: ComponentContainers; @@ -329,6 +361,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 +374,25 @@ 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; + outboundRuleOperations: OutboundRuleOperations; + outboundRules: OutboundRules; + managedNetworkSettingsOperations: ManagedNetworkSettingsOperations; } diff --git a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts index d8bc98987053..1b3a95e6c540 100644 --- a/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts +++ b/sdk/machinelearning/arm-machinelearning/src/lroImpl.ts @@ -5,6 +5,7 @@ * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ + import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; @@ -22,10 +23,7 @@ export function createLroSpec(inputs: { requestMethod: spec.httpMethod, requestPath: spec.path!, sendInitialRequest: () => sendOperationFn(args, spec), - sendPollRequest: ( - path: string, - options?: { abortSignal?: AbortSignalLike }, - ) => { + sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => { const { requestBody, ...restSpec } = spec; return sendOperationFn(args, { ...restSpec, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index edd35d4c8d95..ffc0b5a71f59 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -8,11 +8,6 @@ import * as coreClient from "@azure/core-client"; -export type OutboundRuleUnion = - | OutboundRule - | PrivateEndpointOutboundRule - | ServiceTagOutboundRule - | FqdnOutboundRule; export type ComputeUnion = | Compute | Aks @@ -30,23 +25,7 @@ export type ComputeSecretsUnion = | AksComputeSecrets | VirtualMachineSecrets | DatabricksComputeSecrets; -export type WorkspaceConnectionPropertiesV2Union = - | WorkspaceConnectionPropertiesV2 - | PATAuthTypeWorkspaceConnectionProperties - | SASAuthTypeWorkspaceConnectionProperties - | UsernamePasswordAuthTypeWorkspaceConnectionProperties - | NoneAuthTypeWorkspaceConnectionProperties - | ManagedIdentityAuthTypeWorkspaceConnectionProperties - | AADAuthTypeWorkspaceConnectionProperties - | AccessKeyAuthTypeWorkspaceConnectionProperties - | AccountKeyAuthTypeWorkspaceConnectionProperties - | ApiKeyAuthWorkspaceConnectionProperties - | CustomKeysWorkspaceConnectionProperties - | OAuth2AuthTypeWorkspaceConnectionProperties - | ServicePrincipalAuthTypeWorkspaceConnectionProperties; -export type PendingUploadCredentialDtoUnion = - | PendingUploadCredentialDto - | SASCredentialDto; +export type PendingUploadCredentialDtoUnion = PendingUploadCredentialDto | SASCredentialDto; export type DataReferenceCredentialUnion = | DataReferenceCredential | AnonymousAccessCredential @@ -74,14 +53,14 @@ export type DatastoreSecretsUnion = | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type WebhookUnion = Webhook | AzureDevOpsWebhook; -export type NodesUnion = Nodes | AllNodes; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings @@ -91,6 +70,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 @@ -100,10 +111,15 @@ export type MonitorComputeIdentityBaseUnion = | MonitorComputeIdentityBase | AmlTokenComputeIdentity | ManagedComputeIdentity; -export type ForecastHorizonUnion = - | ForecastHorizon - | AutoForecastHorizon - | CustomForecastHorizon; +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; export type AutoMLVerticalUnion = | AutoMLVertical | Classification @@ -125,27 +141,20 @@ export type JobInputUnion = | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; export type NCrossValidationsUnion = | NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; -export type SeasonalityUnion = - | Seasonality - | AutoSeasonality - | CustomSeasonality; +export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality; export type TargetLagsUnion = TargetLags | AutoTargetLags | CustomTargetLags; export type TargetRollingWindowSizeUnion = | TargetRollingWindowSize | AutoTargetRollingWindowSize | CustomTargetRollingWindowSize; +export type FineTuningVerticalUnion = + | FineTuningVertical + | AzureOpenAiFineTuning + | CustomModelFineTuning; export type EarlyTerminationPolicyUnion = | EarlyTerminationPolicy | BanditPolicy @@ -168,12 +177,11 @@ export type PredictionDriftMetricThresholdBaseUnion = | PredictionDriftMetricThresholdBase | CategoricalPredictionDriftMetricThreshold | NumericalPredictionDriftMetricThreshold; -export type DistributionConfigurationUnion = - | DistributionConfiguration - | Mpi - | PyTorch - | TensorFlow; +export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; +export type MonitorComputeConfigurationBaseUnion = + | MonitorComputeConfigurationBase + | MonitorServerlessSparkCompute; export type MonitoringSignalBaseUnion = | MonitoringSignalBase | CustomMonitoringSignal @@ -181,19 +189,14 @@ export type MonitoringSignalBaseUnion = | DataQualityMonitoringSignal | FeatureAttributionDriftMonitoringSignal | PredictionDriftMonitoringSignal; -export type MonitorComputeConfigurationBaseUnion = - | MonitorComputeConfigurationBase - | MonitorServerlessSparkCompute; export type MonitoringInputDataBaseUnion = | MonitoringInputDataBase | FixedInputData | RollingInputData | StaticInputData; +export type DataGenerationVerticalUnion = DataGenerationVertical | LabelGeneration; export type OneLakeArtifactUnion = OneLakeArtifact | LakeHouseArtifact; -export type SparkJobEntryUnion = - | SparkJobEntry - | SparkJobPythonEntry - | SparkJobScalaEntry; +export type SparkJobEntryUnion = SparkJobEntry | SparkJobPythonEntry | SparkJobScalaEntry; export type DatastorePropertiesUnion = | DatastoreProperties | AzureBlobDatastore @@ -205,6 +208,8 @@ export type JobBasePropertiesUnion = | JobBaseProperties | AutoMLJob | CommandJob + | DistillationJob + | FineTuningJob | PipelineJob | SparkJob | SweepJob; @@ -218,68 +223,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 +339,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 +507,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 +537,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 +707,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 +863,119 @@ 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; +/** 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; } -export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { - value?: WorkspaceConnectionPropertiesV2BasicResource[]; - /** NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nextLink?: string; +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; } -export interface ExternalFqdnResponse { - value?: FqdnEndpoints[]; +/** Schema for Compute Instance resize. */ +export interface ResizeSchema { + /** The name of the virtual machine size. */ + targetVMSize?: string; } -export interface FqdnEndpoints { - properties?: FqdnEndpointsProperties; +/** A paginated list of AvailableQuota entities. */ +export interface AvailableQuotaArmPaginatedResult { + /** The link to the next page of AvailableQuota objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type AvailableQuota. */ + value?: AvailableQuota[]; } -export interface FqdnEndpointsProperties { - category?: string; - endpoints?: FqdnEndpoint[]; +export interface AvailableQuota { + /** Available quota properties */ + properties?: AvailableQuotaProperties; } -export interface FqdnEndpoint { - domainName?: string; - endpointDetails?: FqdnEndpointDetail[]; +export interface AvailableQuotaProperties { + /** The number of available quota */ + total?: number; } -export interface FqdnEndpointDetail { - port?: number; +/** A paginated list of UsageAndQuotaDetails entities. */ +export interface UsageAndQuotaDetailsArmPaginatedResult { + /** The link to the next page of UsageAndQuotaDetails objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type UsageAndQuotaDetails. */ + value?: UsageAndQuotaDetails[]; } -/** List of outbound rules for the managed network of a machine learning workspace. */ -export interface OutboundRuleListResult { - /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ - nextLink?: string; - /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ - value?: OutboundRuleBasicResource[]; +export interface UsageAndQuotaDetails { + /** Model collection name */ + modelCollection?: string; + /** The total number of quota */ + quota?: number; + /** Usage details for each deployment */ + usageDetails?: PTUDeploymentUsage[]; } -/** Managed Network Provisioning options for managed network of a machine learning workspace. */ -export interface ManagedNetworkProvisionOptions { - includeSpark?: boolean; +export interface PTUDeploymentUsage { + /** Usage number from the collection level quota */ + collectionQuotaUsage?: number; + /** Deployment name */ + deploymentName?: string; + /** Resource group name */ + resourceGroup?: string; + /** Usage number from subscription level quota */ + usage?: number; + /** Workspace name */ + workspaceName?: 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 +1000,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 +1013,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,36 +1060,32 @@ 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 { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: - | "NoCredentials" - | "DockerCredentials" - | "ManagedIdentity" - | "SAS"; + credentialType: "NoCredentials" | "DockerCredentials" | "ManagedIdentity" | "SAS"; } /** A paginated list of EnvironmentContainer entities. */ export interface EnvironmentContainerResourceArmPaginatedResult { - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ nextLink?: string; + /** 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 */ @@ -1369,6 +1102,99 @@ export interface BuildContext { dockerfilePath?: string; } +export interface ImageDetails { + /** Indicates if image exists */ + exists?: boolean; + /** Container image details */ + image?: ImageInfo; + /** Vulnerability findings details */ + vulnerabilityFindings?: VulnerabilityFindings; +} + +export interface ImageInfo { + /** Image digest */ + digest?: string; + /** Container registry host name */ + hostname?: string; + /** Repository name */ + repository?: string; + /** Image tag */ + tag?: string; +} + +export interface VulnerabilityFindings { + /** AssetId (Image digest). */ + assetId?: string; + /** + * Number of critical findings. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly criticalFindingsCount?: number; + /** List of vulnerability findings. */ + data?: VulnerabilityDetails[]; + /** Time the report was generated. */ + generatedTime?: Date; + /** + * Number of high findings. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly highFindingsCount?: number; + /** Scan result date. */ + lastScanDate?: Date; + /** Vulnerability scanner name. */ + scanner?: string; + /** Data source (internal). */ + source?: string; + /** + * Total findings count. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly totalFindingsCount?: number; +} + +export interface VulnerabilityDetails { + /** CVE id. */ + cve?: string; + /** CVE url. */ + cveUrl?: string; + /** DueDate for vulnerability. Provider data or PublishDate + 30 days. */ + dueDate?: Date; + /** + * Vulnerability ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** Dependency details. */ + packageDetails?: PackageDetails[]; + /** Indicates if there is a known patch for vulnerability. */ + patchable?: boolean; + /** Vulnerability ID from provider. */ + providerId?: string; + /** Vulnerability publish date. */ + publishDate?: Date; + /** Vulnerability Risk value. */ + risk?: VulnerabilityRisk; + /** Vulnerability description. */ + solution?: string; + /** Vulnerability name. */ + title?: string; + /** Vendor vulnerability ID (USN, GH Advisory, etc). */ + vendorId?: string; + /** Vendor vulnerability url. */ + vendorUrl?: string; +} + +export interface PackageDetails { + /** Install path. */ + installPath?: string; + /** Installed version. */ + installedVersion?: string; + /** Package or dependency name. */ + name?: string; + /** Patched version. */ + patchedVersion?: string; +} + export interface InferenceContainerProperties { /** The route to check the liveness of the inference server container. */ livenessRoute?: Route; @@ -1376,6 +1202,8 @@ export interface InferenceContainerProperties { readinessRoute?: Route; /** The port to send the scoring requests to, within the inference server container. */ scoringRoute?: Route; + /** The route to check the startup of the application in the container. */ + startupRoute?: Route; } export interface Route { @@ -1387,18 +1215,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 { @@ -1406,12 +1234,20 @@ export interface FlavorData { data?: { [propertyName: string]: string | null }; } +/** Dataset reference object. */ +export interface DatasetReference { + /** The name of the dataset reference. */ + name?: string; + /** The fully qualified ARM id of the dataset reference. */ + id?: string; +} + /** 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 +1261,15 @@ export interface BatchEndpointDefaults { /** Inference Endpoint base definition */ export interface EndpointPropertiesBase { + /** [Required] The authentication method for invoking the endpoint (data plane operation). Use 'Key' for key-based authentication. Use 'AMLToken' for Azure Machine Learning token-based authentication. Use 'AADToken' for Microsoft Entra token-based authentication. */ + authMode: EndpointAuthMode; /** Description of the inference endpoint. */ description?: string; + /** + * 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 +1282,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 +1308,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 +1320,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 +1335,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,31 +1381,34 @@ 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. */ export interface DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: - | "AccountKey" - | "Certificate" - | "None" - | "Sas" - | "ServicePrincipal"; + credentialsType: "AccountKey" | "Certificate" | "None" | "Sas" | "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. */ @@ -1580,45 +1419,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 +1483,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 +1507,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,243 +1551,224 @@ 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. */ - nextLink?: string; -} - -export interface MarketplaceSubscriptionProperties { - /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ - modelId: string; - /** - * Marketplace Plan associated with the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly marketplacePlan?: MarketplacePlan; - /** - * Current status of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; - /** - * Provisioning State of the Marketplace Subscription. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: MarketplaceSubscriptionProvisioningState; -} - -export interface MarketplacePlan { - /** - * The identifying name of the Publisher of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publisherId?: string; - /** - * The identifying name of the Offer of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly offerId?: string; - /** - * The identifying name of the Plan of the Marketplace Plan. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly planId?: string; -} - -/** 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; +/** 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 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. */ +/** 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[]; } -/** 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; +/** Scoring requests configuration. */ +export interface RequestConfiguration { + /** The number of maximum concurrent requests per node allowed per deployment. Defaults to 1. */ + maxConcurrentRequestsPerInstance?: number; /** * 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; +} + +/** 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; - /** The length of time between probes in ISO 8601 format. */ - period?: string; - /** The delay before the first probe in ISO 8601 format. */ - initialDelay?: string; } -export interface DataCollector { - /** - * [Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string. - * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. - */ - collections: { [propertyName: string]: Collection | null }; - /** - * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. - * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. - * If it's day, all data will be collected in blob path /yyyy/MM/dd/. - * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. - */ - rollingRate?: RollingRateType; - /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ - requestLogging?: RequestLogging; +/** Model configuration options. */ +export interface GroupModelConfiguration { + /** The URI path to the model. */ + modelId?: string; } -export interface Collection { - /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ - samplingRate?: number; - /** Enable or disable data collection. */ - dataCollectionMode?: DataCollectionMode; - /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ - dataId?: string; - /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ - clientId?: string; +export interface DeltaModelStatusRequest { + /** Gets or sets collection of delta models to retrieve status for. */ + deltaModels?: string[]; + /** Gets or sets target base model. */ + targetBaseModel?: string; } -export interface RequestLogging { - /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ - captureHeaders?: string[]; +/** 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; } -/** 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; +/** 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 DeploymentLogsRequest { - /** The type of container to retrieve logs from. */ - containerType?: ContainerType; - /** The maximum number of lines to tail. */ - tail?: number; +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; } -export interface DeploymentLogs { - /** The retrieved online deployment logs. */ - content?: 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 (scale units) regardless of provisioning state or whether current group payload version matches the target group payload. */ + total?: number; + /** Gets or sets the number of instances (scale units) which have Succeeded provisioning state and target group payload. */ + succeeded?: number; + /** Gets or sets the number of instances (scale units) which have Failed provisioning state and have target group payload. */ + failed?: number; + /** Gets or sets the number of instances (scale units) which have Succeeded provisioning state but do not have target group payload. */ + outdatedSucceeded?: number; + /** Gets or sets the number of instances (scale units) which have Failed provisioning state but do not have target group payload. */ + outdatedFailed?: number; } /** A paginated list of SkuResource entities. */ export interface SkuResourceArmPaginatedResult { - /** An array of objects of type SkuResource. */ - value?: SkuResource[]; /** The link to the next page of SkuResource objects. If null, there are no additional pages. */ nextLink?: string; + /** An array of objects of type SkuResource. */ + value?: SkuResource[]; } /** Fulfills ARM Contract requirement to list all available SKUS for a resource. */ export interface SkuResource { + /** Gets or sets the Sku Capacity. */ + capacity?: SkuCapacity; /** * The resource type name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1956,119 +1776,296 @@ export interface SkuResource { readonly resourceType?: string; /** Gets or sets the Sku. */ sku?: SkuSetting; - /** Gets or sets the Sku Capacity. */ - capacity?: SkuCapacity; -} - -/** SkuSetting fulfills the need for stripped down SKU info in ARM contract. */ -export interface SkuSetting { - /** [Required] The name of the SKU. Ex - P3. It is typically a letter+number code. */ - name: string; - /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ - tier?: SkuTier; } /** SKU capacity information */ export interface SkuCapacity { - /** Gets or sets the minimum. */ - minimum?: number; - /** Gets or sets the maximum. */ - maximum?: number; /** Gets or sets the default capacity. */ default?: number; + /** Gets or sets the maximum. */ + maximum?: number; + /** Gets or sets the minimum. */ + minimum?: number; /** Gets or sets the type of the scale. */ scaleType?: SkuScaleType; } -export interface RegenerateEndpointKeysRequest { - /** [Required] Specification for which type of key to generate. Primary or Secondary. */ - keyType: KeyType; - /** The value the key is set to. */ - keyValue?: string; -} - -/** Service Token */ -export interface EndpointAuthToken { - /** Access token for endpoint authentication. */ - accessToken?: string; - /** Access token type. */ - tokenType?: string; - /** Access token expiry time (UTC). */ - expiryTimeUtc?: number; - /** Refresh access token after time (UTC). */ - refreshAfterTimeUtc?: number; +/** 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 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. */ +/** 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[]; } -export interface ScheduleActionBase { +/** Base definition for identity configuration. */ +export interface IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; -} - -/** 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; + identityType: "AMLToken" | "Managed" | "UserIdentity"; } -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; - /** - * 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 inferenceEndpoint?: ServerlessInferenceEndpoint; +/** Job endpoint definition */ +export interface JobService { + /** Url for endpoint. */ + endpoint?: string; /** - * Provisioning state for the endpoint. + * Any error in the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningState?: EndpointProvisioningState; + readonly errorMessage?: string; + /** Endpoint type. */ + jobServiceType?: string; /** - * The current state of the ServerlessEndpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Nodes that user would like to start the service on. + * If Nodes is not set or set to null, the service will only be started on leader node. */ - readonly endpointState?: ServerlessEndpointState; + nodes?: NodesUnion; + /** Port for endpoint. */ + port?: number; + /** Additional properties to set on the endpoint. */ + properties?: { [propertyName: string]: string | null }; /** - * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * Status of 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 status?: string; } -export interface ModelSettings { - /** The unique model identifier that this ServerlessEndpoint should provision. */ - modelId?: string; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } -export interface ServerlessInferenceEndpoint { - /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ - uri: string; +/** 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 { /** - * Specifies any required headers to target this serverless endpoint. + * Marketplace Plan associated with the Marketplace Subscription. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly headers?: { [propertyName: string]: string | null }; + readonly marketplacePlan?: MarketplacePlan; + /** + * Current status of the Marketplace Subscription. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; + /** [Required] Target Marketplace Model ID to create a Marketplace Subscription for. */ + modelId: string; + /** + * Provisioning State of the Marketplace Subscription. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: MarketplaceSubscriptionProvisioningState; +} + +export interface MarketplacePlan { + /** + * The identifying name of the Offer of the Marketplace Plan. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly offerId?: string; + /** + * The identifying name of the Plan of the Marketplace Plan. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly planId?: string; + /** + * The identifying name of the Publisher of the Marketplace Plan. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publisherId?: string; +} + +/** A paginated list of OnlineEndpoint entities. */ +export interface OnlineEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of OnlineEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type OnlineEndpoint. */ + value?: OnlineEndpoint[]; +} + +/** A paginated list of OnlineDeployment entities. */ +export interface OnlineDeploymentTrackedResourceArmPaginatedResult { + /** The link to the next page of OnlineDeployment objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type OnlineDeployment. */ + value?: OnlineDeployment[]; +} + +export interface DataCollector { + /** + * [Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string. + * Model data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging. + */ + collections: { [propertyName: string]: Collection | null }; + /** The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional. */ + requestLogging?: RequestLogging; + /** + * When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file. + * If the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/. + * If it's day, all data will be collected in blob path /yyyy/MM/dd/. + * The other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly. + */ + rollingRate?: RollingRateType; +} + +export interface Collection { + /** The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth. */ + clientId?: string; + /** Enable or disable data collection. */ + dataCollectionMode?: DataCollectionMode; + /** The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage. */ + dataId?: string; + /** The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default. */ + samplingRate?: number; +} + +export interface RequestLogging { + /** For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload. */ + captureHeaders?: string[]; +} + +/** 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 { + /** The type of container to retrieve logs from. */ + containerType?: ContainerType; + /** The maximum number of lines to tail. */ + tail?: number; +} + +export interface DeploymentLogs { + /** The retrieved online deployment logs. */ + content?: string; +} + +export interface RegenerateEndpointKeysRequest { + /** [Required] Specification for which type of key to generate. Primary or Secondary. */ + keyType: KeyType; + /** The value the key is set to. */ + keyValue?: string; +} + +/** Service Token */ +export interface EndpointAuthToken { + /** Access token for endpoint authentication. */ + accessToken?: string; + /** Access token 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 { + /** 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 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor" | "InvokeBatchEndpoint" | "CreateJob"; +} + +/** A paginated list of ServerlessEndpoint entities. */ +export interface ServerlessEndpointTrackedResourceArmPaginatedResult { + /** The link to the next page of ServerlessEndpoint objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ServerlessEndpoint. */ + value?: ServerlessEndpoint[]; +} + +export interface ServerlessEndpointProperties { + /** [Required] Specifies the authentication mode for the Serverless endpoint. */ + authMode: ServerlessInferenceEndpointAuthMode; + /** Specifies the content safety options. If omitted, the default content safety settings will be configured */ + contentSafety?: ContentSafety; + /** + * The current state of the ServerlessEndpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endpointState?: ServerlessEndpointState; + /** + * 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 inferenceEndpoint?: ServerlessInferenceEndpoint; + /** + * The MarketplaceSubscription Azure ID associated to this ServerlessEndpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly marketplaceSubscriptionId?: string; + /** The model settings (model id) for the model being serviced on the ServerlessEndpoint. */ + modelSettings?: ModelSettings; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; } export interface ContentSafety { + /** Specifies the current safety level for content safety. */ + contentSafetyLevel?: ContentSafetyLevel; /** [Required] Specifies the status of content safety. */ contentSafetyStatus: ContentSafetyStatus; } +export interface ServerlessInferenceEndpoint { + /** + * Specifies any required headers to target this serverless endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly headers?: { [propertyName: string]: string | null }; + /** [Required] The inference uri to target when making requests against the Serverless Endpoint. */ + uri: string; +} + +export interface ModelSettings { + /** The unique model identifier that this ServerlessEndpoint should provision. */ + modelId?: string; +} + /** A paginated list of Registry entities. */ export interface RegistryTrackedResourceArmPaginatedResult { /** The link to the next page of Registry objects. If null, there are no additional pages. */ @@ -2086,6 +2083,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 +2117,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. */ @@ -2129,8 +2150,6 @@ export interface RegistryRegionArmDetails { export interface AcrDetails { /** Details of system created ACR account to be used for the Registry */ systemCreatedAcrAccount?: SystemCreatedAcrAccount; - /** Details of user created ACR account to be used for the Registry */ - userCreatedAcrAccount?: UserCreatedAcrAccount; } export interface SystemCreatedAcrAccount { @@ -2142,17 +2161,10 @@ export interface SystemCreatedAcrAccount { armResourceId?: ArmResourceId; } -export interface UserCreatedAcrAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; -} - /** Details of storage account to be used for the Registry */ export interface StorageAccountDetails { /** Details of system created storage account to be used for the registry */ systemCreatedStorageAccount?: SystemCreatedStorageAccount; - /** Details of user created storage account to be used for the registry */ - userCreatedStorageAccount?: UserCreatedStorageAccount; } export interface SystemCreatedStorageAccount { @@ -2178,11 +2190,6 @@ export interface SystemCreatedStorageAccount { storageAccountType?: string; } -export interface UserCreatedStorageAccount { - /** ARM ResourceId of a resource */ - armResourceId?: ArmResourceId; -} - /** Strictly used in update requests. */ export interface PartialRegistryPartialTrackedResource { /** Managed service identity (system assigned and/or user assigned identities) */ @@ -2217,5198 +2224,6386 @@ export interface AmlUserFeature { description?: string; } -/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ -export interface ResourceId { - /** The ID of the resource */ - id: string; -} - -export interface AKSSchema { - /** AKS properties */ - properties?: AKSSchemaProperties; -} - -/** AKS properties */ -export interface AKSSchemaProperties { - /** Cluster full qualified domain name */ - clusterFqdn?: string; +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { /** - * System services + * List of operations supported by the resource provider * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemServices?: SystemService[]; - /** Number of agents */ - agentCount?: number; - /** Agent virtual machine size */ - agentVmSize?: string; - /** Intended usage of the cluster */ - clusterPurpose?: ClusterPurpose; - /** SSL configuration */ - sslConfiguration?: SslConfiguration; - /** AKS networking configuration for vnet */ - aksNetworkingConfiguration?: AksNetworkingConfiguration; - /** Load Balancer Type */ - loadBalancerType?: LoadBalancerType; - /** Load Balancer Subnet */ - loadBalancerSubnet?: string; -} - -/** A system service running on a compute. */ -export interface SystemService { + readonly value?: Operation[]; /** - * The type of this system service. + * URL to get the next set of operation list results (if there are any). * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly systemServiceType?: string; + readonly nextLink?: string; +} + +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { /** - * Public IP address + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly publicIpAddress?: string; + readonly name?: string; /** - * The version for this type. + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly version?: string; -} - -/** The ssl configuration for scoring */ -export interface SslConfiguration { - /** Enable or disable ssl for scoring */ - status?: SslConfigStatus; - /** Cert data */ - cert?: string; - /** Key data */ - key?: string; - /** CNAME of the cert */ - cname?: string; - /** Leaf domain label of public endpoint */ - leafDomainLabel?: string; - /** Indicates whether to overwrite existing domain label. */ - overwriteExistingDomain?: boolean; -} - -/** Advance configuration for AKS networking */ -export interface AksNetworkingConfiguration { - /** Virtual network subnet resource ID the compute nodes belong to */ - subnetId?: string; - /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ - serviceCidr?: string; - /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ - dnsServiceIP?: string; - /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ - dockerBridgeCidr?: string; -} - -/** Kubernetes Compute Schema */ -export interface KubernetesSchema { - /** Properties of Kubernetes */ - properties?: KubernetesProperties; -} - -/** Kubernetes properties */ -export interface KubernetesProperties { - /** Relay connection string. */ - relayConnectionString?: string; - /** ServiceBus connection string. */ - serviceBusConnectionString?: string; - /** Extension principal-id. */ - extensionPrincipalId?: string; - /** Extension instance release train. */ - extensionInstanceReleaseTrain?: string; - /** VC name. */ - vcName?: string; - /** Compute namespace */ - namespace?: string; - /** Default instance type */ - defaultInstanceType?: string; - /** Instance Type Schema */ - instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; -} - -/** Instance type schema. */ -export interface InstanceTypeSchema { - /** Node Selector */ - nodeSelector?: { [propertyName: string]: string | null }; - /** Resource requests/limits for this instance type */ - resources?: InstanceTypeSchemaResources; -} - -/** Resource requests/limits for this instance type */ -export interface InstanceTypeSchemaResources { - /** Resource requests for this instance type */ - requests?: { [propertyName: string]: string }; - /** Resource limits for this instance type */ - limits?: { [propertyName: string]: string }; -} - -/** AML Compute properties */ -export interface AmlComputeProperties { - /** Compute OS Type */ - osType?: OsType; - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual Machine priority */ - vmPriority?: VmPriority; - /** Virtual Machine image for AML Compute - windows only */ - virtualMachineImage?: VirtualMachineImage; - /** Network is isolated or not */ - isolatedNetwork?: boolean; - /** Scale settings for AML Compute */ - scaleSettings?: ScaleSettings; - /** Credentials for an administrator user account that will be created on each compute node. */ - userAccountCredentials?: UserAccountCredentials; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ - remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; /** - * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly allocationState?: AllocationState; + readonly origin?: Origin; /** - * The time at which the compute entered its current allocation state. + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly allocationStateTransitionTime?: Date; + readonly actionType?: ActionType; +} + +/** Localized display information for this particular operation. */ +export interface OperationDisplay { /** - * Collection of errors encountered by various compute nodes during node setup. + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly errors?: ErrorResponse[]; + readonly provider?: string; /** - * The number of compute nodes currently assigned to the compute. + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly currentNodeCount?: number; + readonly resource?: string; /** - * The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation. + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly targetNodeCount?: number; + readonly operation?: string; /** - * Counts of various node states on the compute. + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly nodeStateCounts?: NodeStateCounts; - /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ - enableNodePublicIp?: boolean; - /** A property bag containing additional properties. */ - propertyBag?: Record; -} - -/** Virtual Machine image for Windows AML Compute */ -export interface VirtualMachineImage { - /** Virtual Machine image path */ - id: string; + readonly description?: string; } -/** Settings for user account that gets created on each on the nodes of a compute. */ -export interface UserAccountCredentials { - /** Name of the administrator user account which can be used to SSH to nodes. */ - adminUserName: string; - /** SSH public key of the administrator user account. */ - adminUserSshPublicKey?: string; - /** Password of the administrator user account. */ - adminUserPassword?: string; +/** The result of a request to list machine learning workspaces. */ +export interface WorkspaceListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: Workspace[]; } -/** Counts of various compute node states on the amlCompute. */ -export interface NodeStateCounts { +export interface EncryptionProperty { /** - * Number of compute nodes in idle state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok cosmosdb account that customer brings to store customer's data + * with encryption */ - readonly idleNodeCount?: number; + cosmosDbResourceId?: string; + /** Identity to be used with the keyVault */ + identity?: IdentityForCmk; + /** KeyVault details to do the encryption */ + keyVaultProperties: KeyVaultProperties; /** - * Number of compute nodes which are running jobs. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok search account that customer brings to store customer's data + * with encryption */ - readonly runningNodeCount?: number; + searchAccountResourceId?: string; + /** Indicates whether or not the encryption is enabled for the workspace. */ + status: EncryptionStatus; /** - * Number of compute nodes which are being prepared. - * NOTE: This property will not be serialized. It can only be populated by the server. + * The byok storage account that customer brings to store customer's data + * with encryption */ - readonly preparingNodeCount?: number; + storageAccountResourceId?: string; +} + +/** Identity object used for encryption. */ +export interface IdentityForCmk { + /** UserAssignedIdentity to be used to fetch the encryption key from keyVault */ + userAssignedIdentity?: string; +} + +/** Customer Key vault properties. */ +export interface KeyVaultProperties { /** - * Number of compute nodes which are in unusable state. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Currently, we support only SystemAssigned MSI. + * We need this when we support UserAssignedIdentities */ - readonly unusableNodeCount?: number; + identityClientId?: string; + /** KeyVault key identifier to encrypt the data */ + keyIdentifier: string; + /** KeyVault Arm Id that contains the data encryption key */ + keyVaultArmId: string; +} + +export interface FeatureStoreSettings { + computeRuntime?: ComputeRuntimeDto; + offlineStoreConnectionName?: string; + onlineStoreConnectionName?: string; +} + +export interface ComputeRuntimeDto { + sparkRuntimeVersion?: string; +} + +/** Managed Network settings for a machine learning workspace. */ +export interface ManagedNetworkSettings { + /** A flag to indicate if monitoring needs to be enabled for the managed network. */ + enableNetworkMonitor?: boolean; + /** Isolation mode for the managed network of a machine learning workspace. */ + isolationMode?: IsolationMode; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly networkId?: string; + /** Dictionary of */ + outboundRules?: { [propertyName: string]: OutboundRuleUnion }; + /** Status of the Provisioning for the managed network of a machine learning workspace. */ + status?: ManagedNetworkProvisionStatus; + /** Firewall Sku used for FQDN Rules */ + firewallSku?: FirewallSku; + /** The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled. */ + managedNetworkKind?: ManagedNetworkKind; /** - * Number of compute nodes which are leaving the amlCompute. + * Public IP address assigned to the Azure Firewall. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly leavingNodeCount?: number; + readonly firewallPublicIpAddress?: string; +} + +/** Outbound Rule for the managed network of a machine learning workspace. */ +export interface OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN" | "PrivateEndpoint" | "ServiceTag"; + /** Category of a managed network Outbound Rule of a machine learning workspace. */ + category?: RuleCategory; + /** Type of a managed network Outbound Rule of a machine learning workspace. */ + status?: RuleStatus; /** - * Number of compute nodes which are in preempted state. + * Error information about an outbound rule of a machine learning workspace if RuleStatus is failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly preemptedNodeCount?: number; + readonly errorInformation?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly parentRuleNames?: string[]; } -/** Properties(top level) of AmlCompute */ -export interface AmlComputeSchema { - /** Properties of AmlCompute */ - properties?: AmlComputeProperties; +/** 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; } -/** Compute Instance properties */ -export interface ComputeInstanceProperties { - /** Virtual Machine Size */ - vmSize?: string; - /** Virtual network subnet resource ID the compute nodes belong to. */ - subnet?: ResourceId; - /** Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role. */ - applicationSharingPolicy?: ApplicationSharingPolicy; - /** Specifies policy and settings for SSH access. */ - sshSettings?: ComputeInstanceSshSettings; - /** List of Custom Services added to the compute. */ - customServices?: CustomService[]; - /** - * Returns metadata about the operating system image for this compute instance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly osImageMetadata?: ImageMetadata; - /** - * Describes all connectivity endpoints available for this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; - /** - * Describes available applications and their endpoints on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly applications?: ComputeInstanceApplication[]; - /** - * Describes information on user who created this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: ComputeInstanceCreatedBy; - /** - * Collection of errors encountered on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly errors?: ErrorResponse[]; - /** - * The current state of this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly state?: ComputeInstanceState; - /** The Compute Instance Authorization type. Available values are personal (default). */ - computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; - /** Settings for a personal compute instance. */ - personalComputeInstanceSettings?: PersonalComputeInstanceSettings; - /** Details of customized scripts to execute for setting up the cluster. */ - setupScripts?: SetupScripts; - /** - * The last operation on ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly lastOperation?: ComputeInstanceLastOperation; - /** The list of schedules to be applied on the computes. */ - schedules?: ComputeSchedules; - /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ - enableNodePublicIp?: boolean; - /** - * Describes informations of containers on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly containers?: ComputeInstanceContainer[]; - /** - * Describes informations of dataDisks on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataDisks?: ComputeInstanceDataDisk[]; - /** - * Describes informations of dataMounts on this ComputeInstance. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly dataMounts?: ComputeInstanceDataMount[]; - /** - * ComputeInstance version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly versions?: ComputeInstanceVersion; +export interface 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[]; } -/** 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; +/** 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 { /** - * Describes the admin user name. + * 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 adminUserName?: string; + readonly id?: string; /** - * Describes the port for connecting through SSH. + * 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 sshPort?: number; - /** Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. */ - adminPublicKey?: string; + readonly subnetArmId?: string; } -/** Specifies the custom service configuration */ -export interface CustomService { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Name of the Custom Service */ - name?: string; - /** Describes the Image Specifications */ - image?: Image; - /** Environment Variable for the container */ - environmentVariables?: { [propertyName: string]: EnvironmentVariable }; - /** Describes the docker settings for the image */ - docker?: Docker; - /** Configuring the endpoints for the container */ - endpoints?: Endpoint[]; - /** Configuring the volumes for the container */ - volumes?: VolumeDefinition[]; +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Some RP chose "None". Other RPs use this for region expansion. */ + actionsRequired?: string; + /** User-defined message that, per NRP doc, may be used for approval-related message. */ + description?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** Describes the Image Specifications */ -export interface Image { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images */ - type?: ImageType; - /** Image reference */ - reference?: string; +export interface ServerlessComputeSettings { + /** The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed */ + serverlessComputeCustomSubnet?: string; + /** The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint */ + serverlessComputeNoPublicIP?: boolean; } -/** Environment Variables for the container */ -export interface EnvironmentVariable { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Type of the Environment Variable. Possible values are: local - For local variable */ - type?: EnvironmentVariableType; - /** Value of the Environment variable */ - value?: string; +export interface ServiceManagedResourcesSettings { + cosmosDb?: CosmosDbSettings; } -/** Docker container configuration */ -export interface Docker { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Indicate whether container shall run in privileged or non-privileged mode. */ - privileged?: boolean; +export interface CosmosDbSettings { + collectionsThroughput?: number; } -/** Describes the endpoint configuration for the container */ -export interface Endpoint { - /** Protocol over which communication will happen over this endpoint */ - protocol?: Protocol; - /** Name of the Endpoint */ +export interface SharedPrivateLinkResource { + /** Unique name of the private link */ name?: string; - /** Application port inside the container. */ - target?: number; - /** Port over which the application is exposed from container. */ - published?: number; - /** Host IP over which the application is exposed from the container */ - hostIp?: string; -} - -/** 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; + /** group id of the private link */ + groupId?: string; + /** the resource id that private link links to */ + privateLinkResourceId?: string; + /** Request message */ + requestMessage?: string; + /** Connection status of the service consumer with the service provider */ + status?: EndpointServiceConnectionStatus; } -/** Describes the 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; +/** WorkspaceHub's configuration object. */ +export interface WorkspaceHubConfig { + additionalWorkspaceStorageAccounts?: string[]; + defaultWorkspaceResourceGroup?: string; } -/** Describes the volume options for the container */ -export interface VolumeOptions { - /** Indicate whether volume is nocopy */ - nocopy?: boolean; +/** The parameters for updating a machine learning workspace. */ +export interface WorkspaceUpdateParameters { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** The resource tags for the machine learning workspace. */ + tags?: { [propertyName: string]: string }; + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + enableDataIsolation?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionUpdateProperties; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** Whether requests from Public Network are allowed. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Settings for serverless compute in a workspace */ + serverlessComputeSettings?: ServerlessComputeSettings; + /** The service managed resource settings. */ + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; } -/** Describes the tmpfs options for the container */ -export interface TmpfsOptions { - /** Mention the Tmpfs size */ - size?: number; +export interface EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; } -/** Returns metadata about the operating system image for this compute instance. */ -export interface ImageMetadata { - /** Specifies the current operating system image version this compute instance is running on. */ - currentImageVersion?: string; - /** Specifies the latest available operating system image version. */ - latestImageVersion?: string; - /** Specifies whether this compute instance is running on the latest operating system image. */ - isLatestOsImageVersion?: boolean; +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: 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 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; /** - * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * Group based on connection category * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly privateIpAddress?: string; + readonly group?: ConnectionGroup; + isSharedToAll?: boolean; + /** Store user metadata for this connection */ + metadata?: { [propertyName: string]: string }; + peRequirement?: ManagedPERequirement; + peStatus?: ManagedPEStatus; + sharedUserList?: string[]; + target?: string; + useWorkspaceManagedIdentity?: boolean; } -/** Defines an Aml Instance application and its connectivity endpoint URI. */ -export interface ComputeInstanceApplication { - /** Name of the ComputeInstance application. */ - displayName?: string; - /** Application' endpoint URI. */ - endpointUri?: string; +/** The properties that the machine learning workspace connection will be updated with. */ +export interface WorkspaceConnectionUpdateParameter { + /** The properties that the machine learning workspace connection will be updated with. */ + properties?: WorkspaceConnectionPropertiesV2Union; } -/** Describes information on user who created this ComputeInstance. */ -export interface ComputeInstanceCreatedBy { - /** - * Name of the user. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly userName?: string; +export interface EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointDeploymentResourcePropertiesBasicResource[]; +} + +export interface EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.ContentSafety" | "managedOnlineEndpoint" | "Azure.OpenAI" | "Azure.Speech"; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * Uniquely identifies user' Azure Active Directory organization. + * Read-only provision state status property. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userOrgId?: string; + readonly provisioningState?: DefaultResourceProvisioningState; +} + +export interface EndpointModels { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** List of models. */ + value?: EndpointModelProperties[]; +} + +/** Endpoint Model properties. */ +export interface EndpointModelProperties { + /** The capabilities. */ + capabilities?: { [propertyName: string]: string }; + deprecation?: EndpointModelDeprecationProperties; + /** The capabilities for finetune models. */ + finetuneCapabilities?: { [propertyName: string]: string }; + /** Deployment model format. */ + format?: string; + /** If the model is default version. */ + isDefaultVersion?: boolean; + /** Model lifecycle status. */ + lifecycleStatus?: ModelLifecycleStatus; + /** The max capacity. */ + maxCapacity?: number; + /** Deployment model name. */ + name?: string; + /** The list of Model Sku. */ + skus?: EndpointModelSkuProperties[]; /** - * Uniquely identifies the user within his/her organization. + * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly userId?: string; + readonly systemData?: SystemData; + /** Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. */ + version?: string; } -/** Settings for a personal compute instance. */ -export interface PersonalComputeInstanceSettings { - /** A user explicitly assigned to a personal compute instance. */ - assignedUser?: AssignedUser; +export interface EndpointModelDeprecationProperties { + /** The datetime of deprecation of the fineTune Model. */ + fineTune?: Date; + /** The datetime of deprecation of the inference Model. */ + inference?: Date; } -/** A user that can be assigned to a compute instance. */ -export interface AssignedUser { - /** User’s AAD Object Id. */ - objectId: string; - /** User’s AAD Tenant Id. */ - tenantId: string; +export interface EndpointModelSkuProperties { + capacity?: EndpointModelSkuCapacityProperties; + /** The list of ARM id for the connection support this SKU. */ + connectionIds?: string[]; + /** The datetime of deprecation of the model SKU. */ + deprecationDate?: Date; + /** The name of the model SKU. */ + name?: string; + rateLimits?: EndpointModelSkuRateLimitProperties[]; + /** The usage name of the model SKU. */ + usageName?: string; } -/** Details of customized scripts to execute for setting up the cluster. */ -export interface SetupScripts { - /** Customized setup scripts */ - scripts?: ScriptsToExecute; +export interface EndpointModelSkuCapacityProperties { + /** The default capacity. */ + default?: number; + /** The maximum capacity. */ + maximum?: number; } -/** Customized setup scripts */ -export interface ScriptsToExecute { - /** Script that's run every time the machine starts. */ - startupScript?: ScriptReference; - /** Script that's run only once during provision of the compute. */ - creationScript?: ScriptReference; +export interface EndpointModelSkuRateLimitProperties { + /** The count value of Call Rate Limit. */ + count?: number; + /** The renewal period in seconds of Call Rate Limit. */ + renewalPeriod?: number; + /** The call rate limit for the model. */ + rules?: EndpointModelSkuRateLimitRuleProperties[]; } -/** Script reference */ -export interface ScriptReference { - /** The storage source of the script: workspace. */ - scriptSource?: string; - /** The location of scripts in the mounted volume. */ - scriptData?: string; - /** Optional command line arguments passed to the script to run. */ - scriptArguments?: string; - /** Optional time period passed to timeout command. */ - timeout?: string; +export interface EndpointModelSkuRateLimitRuleProperties { + count?: number; + /** If the dynamic throttling is enabled. */ + dynamicThrottlingEnabled?: boolean; + key?: string; + matchPatterns?: EndpointModelSkuRateLimitRulePatternProperties[]; + minCount?: number; + renewalPeriod?: number; } -/** The last operation on ComputeInstance. */ -export interface ComputeInstanceLastOperation { - /** Name of the last operation. */ - operationName?: OperationName; - /** Time of the last operation. */ - operationTime?: Date; - /** Operation status. */ - operationStatus?: OperationStatus; - /** Trigger of operation. */ - operationTrigger?: OperationTrigger; +export interface EndpointModelSkuRateLimitRulePatternProperties { + method?: string; + path?: string; } -/** The list of schedules to be applied on the computes */ -export interface ComputeSchedules { - /** The list of compute start stop schedules to be applied. */ - computeStartStop?: ComputeStartStopSchedule[]; +export interface RaiBlocklistPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistPropertiesBasicResource[]; } -/** Compute start stop schedule properties */ -export interface ComputeStartStopSchedule { +/** RAI Custom Blocklist properties. */ +export interface RaiBlocklistProperties { + /** Description of the block list. */ + description?: string; +} + +/** The Cognitive Services RaiBlocklist Item request body. */ +export interface RaiBlocklistItemBulkRequest { + name?: string; + /** Properties of Cognitive Services RaiBlocklist Item. */ + properties?: RaiBlocklistItemProperties; +} + +/** RAI Custom Blocklist Item properties. */ +export interface RaiBlocklistItemProperties { + /** If the pattern is a regex pattern. */ + isRegex?: boolean; + /** Pattern to match against. */ + pattern?: string; +} + +export interface RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiBlocklistItemPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters resource list. */ +export interface RaiPolicyPropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: RaiPolicyPropertiesBasicResource[]; +} + +/** Azure OpenAI Content Filters properties. */ +export interface RaiPolicyProperties { + /** Name of the base Content Filters. */ + basePolicyName?: string; + completionBlocklists?: RaiBlocklistConfig[]; + contentFilters?: RaiPolicyContentFilter[]; + /** Content Filters mode. */ + mode?: RaiPolicyMode; + promptBlocklists?: RaiBlocklistConfig[]; + /** Content Filters policy type. */ + type?: RaiPolicyType; +} + +/** Azure OpenAI blocklist config. */ +export interface RaiBlocklistConfig { + /** If blocking would occur. */ + blocking?: boolean; + /** Name of ContentFilter. */ + blocklistName?: string; +} + +/** Azure OpenAI Content Filter. */ +export interface RaiPolicyContentFilter { + /** Level at which content is filtered. */ + allowedContentLevel?: AllowedContentLevel; + /** If blocking would occur. */ + blocking?: boolean; + /** If the ContentFilter is enabled. */ + enabled?: boolean; + /** Name of ContentFilter. */ + name?: string; + /** Content source to apply the Content Filters. */ + source?: RaiPolicyContentSource; +} + +/** Parameters to diagnose a workspace */ +export interface DiagnoseWorkspaceParameters { + value?: DiagnoseRequestProperties; +} + +export interface DiagnoseRequestProperties { + /** Setting for diagnosing dependent application insights */ + applicationInsights?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent container registry */ + containerRegistry?: { [propertyName: string]: any }; + /** Setting for diagnosing dns resolution */ + dnsResolution?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent key vault */ + keyVault?: { [propertyName: string]: any }; + /** Setting for diagnosing network security group */ + nsg?: { [propertyName: string]: any }; + /** Setting for diagnosing unclassified category of problems */ + others?: { [propertyName: string]: any }; + /** Setting for diagnosing the presence of required resource providers in the workspace. */ + requiredResourceProviders?: { [propertyName: string]: any }; + /** Setting for diagnosing resource lock */ + resourceLock?: { [propertyName: string]: any }; + /** Setting for diagnosing dependent storage account */ + storageAccount?: { [propertyName: string]: any }; + /** Setting for diagnosing user defined routing */ + udr?: { [propertyName: string]: any }; +} + +export interface DiagnoseResponseResult { + value?: DiagnoseResponseResultValue; +} + +export interface DiagnoseResponseResultValue { + userDefinedRouteResults?: DiagnoseResult[]; + networkSecurityRuleResults?: DiagnoseResult[]; + resourceLockResults?: DiagnoseResult[]; + dnsResolutionResults?: DiagnoseResult[]; + storageAccountResults?: DiagnoseResult[]; + keyVaultResults?: DiagnoseResult[]; + containerRegistryResults?: DiagnoseResult[]; + applicationInsightsResults?: DiagnoseResult[]; + otherResults?: DiagnoseResult[]; +} + +/** Result of Diagnose */ +export interface DiagnoseResult { /** - * A system assigned id for the schedule. + * Code for workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly id?: string; + readonly code?: string; /** - * The current deployment state of schedule. + * Level of workspace setup error * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly provisioningStatus?: ProvisioningStatus; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; - /** [Required] The compute power action. */ - action?: ComputePowerAction; - /** [Required] The schedule trigger type. */ - triggerType?: ComputeTriggerType; - /** Required if triggerType is Recurrence. */ - recurrence?: Recurrence; - /** Required if triggerType is Cron. */ - cron?: Cron; - /** [Deprecated] Not used any more. */ - schedule?: ScheduleBase; + readonly level?: DiagnoseResultLevel; + /** + * Message of workspace setup error + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; } -/** The workflow trigger recurrence for ComputeStartStop schedule type. */ -export interface Recurrence { - /** [Required] The frequency to trigger schedule. */ - frequency?: ComputeRecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval?: number; - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; +export interface EndpointResourcePropertiesBasicResourceArmPaginatedResult { + nextLink?: string; + value?: EndpointResourcePropertiesBasicResource[]; +} + +export interface EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: + | "Azure.ContentSafety" + | "managedOnlineEndpoint" + | "Azure.OpenAI" + | "serverlessEndpoint" + | "Azure.Speech"; + /** Byo resource id for creating the built-in model service endpoints. */ + associatedResourceId?: string; + /** Deployments info. */ + deployments?: EndpointDeploymentResourcePropertiesBasicResource[]; + /** Uri of the endpoint. */ + endpointUri?: string; + /** The failure reason if the creation failed. */ + failureReason?: string; /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * Location of the endpoint. + * Since input dto and when parse endpoint resource share the same contract + * this Location field is just for parse the endpoint resource info + * we won't let customer specify the endpoint resource location since we will create it the same location as workspace */ - timeZone?: string; - /** [Required] The recurrence schedule. */ - schedule?: ComputeRecurrenceSchedule; + location?: string; + /** Name of the endpoint. */ + name?: string; + /** + * Read-only provision state status property. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DefaultResourceProvisioningState; + /** Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. */ + shouldCreateAiServicesEndpoint?: boolean; } -export interface ComputeRecurrenceSchedule { - /** [Required] List of hours for the schedule. */ - hours: number[]; - /** [Required] List of minutes for the schedule. */ - minutes: number[]; - /** List of month days for the schedule */ - monthDays?: number[]; - /** List of days for the schedule. */ - weekDays?: ComputeWeekDay[]; +export interface EndpointKeys { + /** Dictionary of Keys for the endpoint. */ + keys?: AccountApiKeys; } -/** The workflow trigger cron for ComputeStartStop schedule type. */ -export interface Cron { - /** The start time in yyyy-MM-ddTHH:mm:ss format. */ - startTime?: string; +export interface AccountApiKeys { + key1?: string; + key2?: string; +} + +export interface RegenerateServiceAccountKeyContent { + keyName?: ServiceAccountKeyName; +} + +export interface ListWorkspaceKeysResult { /** - * Specifies time zone in which the schedule runs. - * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + * The access key of the workspace app insights + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; + readonly appInsightsInstrumentationKey?: string; + containerRegistryCredentials?: RegistryListCredentialsResult; + notebookAccessKeys?: ListNotebookKeysResult; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * The arm Id key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. */ - expression?: string; + readonly userStorageArmId?: string; + /** + * The access key of the workspace storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -export interface ScheduleBase { - /** A system assigned id for the schedule. */ - id?: string; - /** The current deployment state of schedule. */ - provisioningStatus?: ScheduleProvisioningState; - /** Is the schedule enabled or disabled? */ - status?: ScheduleStatus; -} - -/** Defines an Aml Instance container. */ -export interface ComputeInstanceContainer { - /** Name of the ComputeInstance container. */ - name?: string; - /** Auto save settings. */ - autosave?: Autosave; - /** Information of GPU. */ - gpu?: string; - /** network of this container. */ - network?: Network; - /** Environment information of this container. */ - environment?: ComputeInstanceEnvironmentInfo; +export interface RegistryListCredentialsResult { /** - * services of this containers. + * The location of the workspace ACR * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly services?: Record[]; + readonly location?: string; + passwords?: Password[]; + /** + * The username of the workspace ACR + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly username?: string; } -/** Environment information */ -export interface ComputeInstanceEnvironmentInfo { - /** name of environment. */ - name?: string; - /** version of environment. */ - version?: string; +export interface Password { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly name?: string; + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly value?: string; } -/** Defines an Aml Instance DataDisk. */ -export interface ComputeInstanceDataDisk { - /** Caching type of Data Disk. */ - caching?: Caching; - /** The initial disk size in gigabytes. */ - diskSizeGB?: number; - /** The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. */ - lun?: number; - /** type of this storage account. */ - storageAccountType?: StorageAccountType; +export interface ListNotebookKeysResult { + /** + * The primary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryAccessKey?: string; + /** + * The secondary access key of the Notebook + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly secondaryAccessKey?: string; } -/** Defines an Aml Instance DataMount. */ -export interface ComputeInstanceDataMount { - /** Source of the ComputeInstance data mount. */ - source?: string; - /** Data source type. */ - sourceType?: SourceType; - /** name of the ComputeInstance data mount. */ - mountName?: string; - /** Mount Action. */ - mountAction?: MountAction; - /** who this data mount created by. */ - createdBy?: string; - /** Path of this data mount. */ - mountPath?: string; - /** Mount state. */ - mountState?: MountState; - /** The time when the disk mounted. */ - mountedOn?: Date; - /** Error of this data mount. */ - error?: string; +export interface 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; } -/** Version of computeInstance. */ -export interface ComputeInstanceVersion { - /** Runtime of compute instance. */ - runtime?: string; +export interface ListStorageAccountKeysResult { + /** + * The access key of the storage + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly userStorageKey?: string; } -/** Properties(top level) of ComputeInstance */ -export interface ComputeInstanceSchema { - /** Properties of ComputeInstance */ - properties?: ComputeInstanceProperties; +export interface ExternalFqdnResponse { + value?: FqdnEndpointsPropertyBag[]; } -export interface VirtualMachineSchema { - properties?: VirtualMachineSchemaProperties; +/** Property bag for FQDN endpoints result */ +export interface FqdnEndpointsPropertyBag { + properties?: FqdnEndpoints; } -export interface VirtualMachineSchemaProperties { - /** Virtual Machine size */ - virtualMachineSize?: string; - /** Port open for ssh connections. */ - sshPort?: number; - /** Notebook server port open for ssh connections. */ - notebookServerPort?: number; - /** Public IP address of the virtual machine. */ - address?: string; - /** Admin credentials for virtual machine */ - administratorAccount?: VirtualMachineSshCredentials; - /** Indicates whether this compute will be used for running notebooks. */ - isNotebookInstanceCompute?: boolean; +export interface FqdnEndpoints { + category?: string; + endpoints?: FqdnEndpoint[]; } -/** Admin credentials for virtual machine */ -export interface VirtualMachineSshCredentials { - /** Username of admin account */ - username?: string; - /** Password of admin account */ - password?: string; - /** Public key data */ - publicKeyData?: string; - /** Private key data */ - privateKeyData?: string; +export interface FqdnEndpoint { + domainName?: string; + endpointDetails?: FqdnEndpointDetail[]; } -/** HDInsight compute properties */ -export interface HDInsightProperties { - /** Port open for ssh connections on the master node of the cluster. */ - sshPort?: number; - /** Public IP address of the master node of the cluster. */ - address?: string; - /** Admin credentials for master node of the cluster */ - administratorAccount?: VirtualMachineSshCredentials; +export interface FqdnEndpointDetail { + port?: number; } -export interface HDInsightSchema { - /** HDInsight compute properties */ - properties?: HDInsightProperties; +/** 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[]; } -/** Properties of Databricks */ -export interface DatabricksProperties { - /** Databricks access token */ - databricksAccessToken?: string; - /** Workspace Url */ - workspaceUrl?: string; +/** List of private endpoint connection associated with the specified workspace */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; } -export interface DatabricksSchema { - /** Properties of Databricks */ - properties?: DatabricksProperties; +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } -export interface DataLakeAnalyticsSchema { - properties?: DataLakeAnalyticsSchemaProperties; +/** Managed Network Provisioning options for managed network of a machine learning workspace. */ +export interface ManagedNetworkProvisionOptions { + includeSpark?: boolean; } -export interface DataLakeAnalyticsSchemaProperties { - /** DataLake Store Account Name */ - dataLakeStoreAccountName?: string; +/** The properties of the managed network settings of a machine learning workspace. */ +export interface ManagedNetworkSettingsProperties { + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettingsEx; + /** + * The current deployment state of the managed network 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?: ManagedNetworkProvisioningState; } -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; +/** List of managed networks of a machine learning workspace. */ +export interface ManagedNetworkListResult { + /** The link to the next page constructed using the continuationToken. If null, there are no additional pages. */ + nextLink?: string; + /** The list of managed network settings of a workspace. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */ + value?: ManagedNetworkSettingsPropertiesBasicResource[]; } -/** Auto scale properties */ -export interface AutoScaleProperties { - minNodeCount?: number; - enabled?: boolean; - maxNodeCount?: number; +/** Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ +export interface ResourceId { + /** The ID of the resource */ + id: string; } -/** Auto pause properties */ -export interface AutoPauseProperties { - delayInMinutes?: number; - enabled?: boolean; +export interface AKSSchema { + /** AKS properties */ + properties?: AKSSchemaProperties; } -/** 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; +/** AKS properties */ +export interface AKSSchemaProperties { + /** Cluster full qualified domain name */ + clusterFqdn?: string; + /** + * System services + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemServices?: SystemService[]; + /** Number of agents */ + agentCount?: number; + /** Agent virtual machine size */ + agentVmSize?: string; + /** Intended usage of the cluster */ + clusterPurpose?: ClusterPurpose; + /** SSL configuration */ + sslConfiguration?: SslConfiguration; + /** AKS networking configuration for vnet */ + aksNetworkingConfiguration?: AksNetworkingConfiguration; + /** Load Balancer Type */ + loadBalancerType?: LoadBalancerType; + /** Load Balancer Subnet */ + loadBalancerSubnet?: string; } -export interface VirtualMachineSecretsSchema { - /** Admin credentials for virtual machine. */ - administratorAccount?: VirtualMachineSshCredentials; -} - -/** Properties of Databricks Compute Secrets */ -export interface DatabricksComputeSecretsProperties { - /** access token for databricks account. */ - databricksAccessToken?: string; -} - -/** Stops compute instance after user defined period of inactivity. */ -export interface IdleShutdownSetting { - /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ - idleTimeBeforeShutdown?: string; -} - -/** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointDestination { - serviceResourceId?: string; - sparkEnabled?: boolean; - /** Type of a managed network Outbound Rule of a machine learning workspace. */ - sparkStatus?: RuleStatus; - subresourceTarget?: string; -} - -/** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ -export interface ServiceTagDestination { - /** The action enum for networking rule. */ - action?: RuleAction; +/** A system service running on a compute. */ +export interface SystemService { /** - * Optional, if provided, the ServiceTag property will be ignored. + * The type of this system service. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly addressPrefixes?: string[]; - portRanges?: string; - protocol?: string; - serviceTag?: string; -} - -export interface WorkspaceConnectionUsernamePassword { - username?: string; - password?: string; - /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ - securityToken?: string; -} - -export interface WorkspaceConnectionPersonalAccessToken { - pat?: string; + readonly systemServiceType?: string; + /** + * Public IP address + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicIpAddress?: string; + /** + * The version for this type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: string; } -export interface WorkspaceConnectionSharedAccessSignature { - sas?: string; +/** The ssl configuration for scoring */ +export interface SslConfiguration { + /** Enable or disable ssl for scoring */ + status?: SslConfigStatus; + /** Cert data */ + cert?: string; + /** Key data */ + key?: string; + /** CNAME of the cert */ + cname?: string; + /** Leaf domain label of public endpoint */ + leafDomainLabel?: string; + /** Indicates whether to overwrite existing domain label. */ + overwriteExistingDomain?: boolean; } -export interface WorkspaceConnectionAccountKey { - key?: string; +/** Advance configuration for AKS networking */ +export interface AksNetworkingConfiguration { + /** Virtual network subnet resource ID the compute nodes belong to */ + subnetId?: string; + /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ + serviceCidr?: string; + /** An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. */ + dnsServiceIP?: string; + /** A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. */ + dockerBridgeCidr?: string; } -export interface WorkspaceConnectionManagedIdentity { - resourceId?: string; - clientId?: string; +/** Kubernetes Compute Schema */ +export interface KubernetesSchema { + /** Properties of Kubernetes */ + properties?: KubernetesProperties; } -export interface WorkspaceConnectionAccessKey { - accessKeyId?: string; - secretAccessKey?: string; +/** Kubernetes properties */ +export interface KubernetesProperties { + /** Relay connection string. */ + relayConnectionString?: string; + /** ServiceBus connection string. */ + serviceBusConnectionString?: string; + /** Extension principal-id. */ + extensionPrincipalId?: string; + /** Extension instance release train. */ + extensionInstanceReleaseTrain?: string; + /** VC name. */ + vcName?: string; + /** Compute namespace */ + namespace?: string; + /** Default instance type */ + defaultInstanceType?: string; + /** Instance Type Schema */ + instanceTypes?: { [propertyName: string]: InstanceTypeSchema }; } -/** Api key object for workspace connection credential. */ -export interface WorkspaceConnectionApiKey { - key?: string; +/** Instance type schema. */ +export interface InstanceTypeSchema { + /** Node Selector */ + nodeSelector?: { [propertyName: string]: string | null }; + /** Resource requests/limits for this instance type */ + resources?: InstanceTypeSchemaResources; } -/** Custom Keys credential object */ -export interface CustomKeys { - /** Dictionary of */ - keys?: { [propertyName: string]: string }; +/** Resource requests/limits for this instance type */ +export interface InstanceTypeSchemaResources { + /** Resource requests for this instance type */ + requests?: { [propertyName: string]: string }; + /** Resource limits for this instance type */ + limits?: { [propertyName: string]: string }; } -/** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ -export interface WorkspaceConnectionOAuth2 { - /** Required by Concur connection category */ - authUrl?: string; - /** Client id in the format of UUID */ - clientId?: string; - clientSecret?: string; - /** Required by GoogleAdWords connection category */ - developerToken?: string; - password?: string; +/** AML Compute properties */ +export interface AmlComputeProperties { + /** Compute OS Type */ + osType?: OsType; + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual Machine priority */ + vmPriority?: VmPriority; + /** Virtual Machine image for AML Compute - windows only */ + virtualMachineImage?: VirtualMachineImage; + /** Network is isolated or not */ + isolatedNetwork?: boolean; + /** Scale settings for AML Compute */ + scaleSettings?: ScaleSettings; + /** Credentials for an administrator user account that will be created on each compute node. */ + userAccountCredentials?: UserAccountCredentials; + /** Virtual network subnet resource ID the compute nodes belong to. */ + subnet?: ResourceId; + /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. */ + remoteLoginPortPublicAccess?: RemoteLoginPortPublicAccess; /** - * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho - * where user needs to get RefreshToken offline + * Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - refreshToken?: string; - /** Required by QuickBooks and Xero connection categories */ - tenantId?: string; + readonly allocationState?: AllocationState; /** - * Concur, ServiceNow auth server AccessToken grant type is 'Password' - * which requires UsernamePassword + * The time at which the compute entered its current allocation state. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - username?: string; + 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 WorkspaceConnectionServicePrincipal { - clientId?: string; - clientSecret?: string; - tenantId?: string; +/** Virtual Machine image for Windows AML Compute */ +export interface VirtualMachineImage { + /** Virtual Machine image path */ + id: string; } -export interface MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +/** 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; } -/** Monitor compute identity base definition. */ -export interface MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken" | "ManagedIdentity"; +/** Counts of various compute node states on the amlCompute. */ +export interface NodeStateCounts { + /** + * Number of compute nodes in idle state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly idleNodeCount?: number; + /** + * Number of compute nodes which are running jobs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly runningNodeCount?: number; + /** + * Number of compute nodes which are being prepared. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preparingNodeCount?: number; + /** + * Number of compute nodes which are in unusable state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly unusableNodeCount?: number; + /** + * Number of compute nodes which are leaving the amlCompute. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly leavingNodeCount?: number; + /** + * Number of compute nodes which are in preempted state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly preemptedNodeCount?: number; } -/** Asset input type. */ -export interface AssetJobInput { - /** [Required] Input Asset URI. */ - uri: string; - /** Input Asset Delivery Mode. */ - mode?: InputDeliveryMode; +/** Properties(top level) of AmlCompute */ +export interface AmlComputeSchema { + /** Properties of AmlCompute */ + properties?: AmlComputeProperties; } -/** Asset output type. */ -export interface AssetJobOutput { - /** Output Asset URI. */ - uri?: string; - /** Output Asset Delivery Mode. */ - mode?: OutputDeliveryMode; +/** Compute Instance properties */ +export interface ComputeInstanceProperties { + /** Virtual Machine Size */ + vmSize?: string; + /** Virtual network subnet resource ID the compute nodes belong to. */ + subnet?: ResourceId; + /** Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role. */ + applicationSharingPolicy?: ApplicationSharingPolicy; + /** Specifies settings for autologger. */ + autologgerSettings?: ComputeInstanceAutologgerSettings; + /** Specifies policy and settings for SSH access. */ + sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; + /** + * Returns metadata about the operating system image for this compute instance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osImageMetadata?: ImageMetadata; + /** + * Describes all connectivity endpoints available for this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; + /** + * Describes available applications and their endpoints on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly applications?: ComputeInstanceApplication[]; + /** + * Describes information on user who created this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdBy?: ComputeInstanceCreatedBy; + /** + * Collection of errors encountered on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errors?: ErrorResponse[]; + /** + * The current state of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: ComputeInstanceState; + /** The Compute Instance Authorization type. Available values are personal (default). */ + computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; + /** Enable Auto OS Patching. Possible values are: true, false. */ + enableOSPatching?: boolean; + /** Enable root access. Possible values are: true, false. */ + enableRootAccess?: boolean; + /** Enable SSO (single sign on). Possible values are: true, false. */ + enableSSO?: boolean; + /** Release quota if compute instance stopped. Possible values are: true - release quota if compute instance stopped. false - don't release quota when compute instance stopped. */ + releaseQuotaOnStop?: boolean; + /** Settings for a personal compute instance. */ + personalComputeInstanceSettings?: PersonalComputeInstanceSettings; + /** Details of customized scripts to execute for setting up the cluster. */ + setupScripts?: SetupScripts; + /** + * The last operation on ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly lastOperation?: ComputeInstanceLastOperation; + /** The list of schedules to be applied on the computes. */ + schedules?: ComputeSchedules; + /** Stops compute instance after user defined period of inactivity. Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; + /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ + enableNodePublicIp?: boolean; + /** + * Describes informations of containers on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containers?: ComputeInstanceContainer[]; + /** + * Describes informations of dataDisks on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataDisks?: ComputeInstanceDataDisk[]; + /** + * Describes informations of dataMounts on this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly dataMounts?: ComputeInstanceDataMount[]; + /** + * ComputeInstance version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly versions?: ComputeInstanceVersion; } -/** 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"; +/** Specifies settings for autologger. */ +export interface ComputeInstanceAutologgerSettings { + /** Indicates whether mlflow autologger is enabled for notebooks. */ + mlflowAutologger?: MlflowAutologger; } -/** - * AutoML vertical class. - * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical - */ -export interface AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: - | "Classification" - | "Forecasting" - | "ImageClassification" - | "ImageClassificationMultilabel" - | "ImageInstanceSegmentation" - | "ImageObjectDetection" - | "Regression" - | "TextClassification" - | "TextClassificationMultilabel" - | "TextNER"; - /** Log verbosity for the job. */ - logVerbosity?: LogVerbosity; - /** [Required] Training data input. */ - trainingData: MLTableJobInput; +/** 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; /** - * Target column name: This is prediction values column. - * Also known as label column name in context of classification tasks. + * Describes the admin user name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - targetColumnName?: string; -} - -/** Command job definition. */ -export interface JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: - | "mltable" - | "custom_model" - | "mlflow_model" - | "literal" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the input. */ - description?: string; + 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; } -/** 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; +/** 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 QueueSettings { - /** Controls the compute job tier */ - jobTier?: JobTier; +/** 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[]; } -/** N-Cross validations value. */ -export interface NCrossValidations { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Defines all connectivity endpoints and properties for an ComputeInstance. */ +export interface ComputeInstanceConnectivityEndpoints { + /** + * Public IP Address of this ComputeInstance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicIpAddress?: string; + /** + * Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateIpAddress?: string; } -/** Forecasting seasonality. */ -export interface Seasonality { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Defines an Aml Instance application and its connectivity endpoint URI. */ +export interface ComputeInstanceApplication { + /** Name of the ComputeInstance application. */ + displayName?: string; + /** Application' endpoint URI. */ + endpointUri?: string; } -/** The number of past periods to lag from the target column. */ -export interface TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** 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; } -/** Forecasting target rolling window size. */ -export interface TargetRollingWindowSize { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto" | "Custom"; +/** Settings for a personal compute instance. */ +export interface PersonalComputeInstanceSettings { + /** A user explicitly assigned to a personal compute instance. */ + assignedUser?: AssignedUser; } -/** Base definition for Azure datastore contents configuration. */ -export interface AzureDatastore { - /** Azure Subscription Id */ - subscriptionId?: string; - /** Azure Resource Group name */ - resourceGroup?: 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; } -/** 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; +/** Details of customized scripts to execute for setting up the cluster. */ +export interface SetupScripts { + /** Customized setup scripts */ + scripts?: ScriptsToExecute; } -/** - * The Sampling Algorithm used to generate hyperparameter values, along with properties to - * configure the algorithm - */ -export interface SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; +/** 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 DataDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** 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 MonitoringThreshold { - /** The threshold value. If null, the set default is dependent on the metric type. */ - value?: number; +/** The last operation on ComputeInstance. */ +export interface ComputeInstanceLastOperation { + /** Name of the last operation. */ + operationName?: OperationName; + /** Time of the last operation. */ + operationTime?: Date; + /** Operation status. */ + operationStatus?: OperationStatus; + /** Trigger of operation. */ + operationTrigger?: OperationTrigger; } -export interface DataQualityMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** The list of schedules to be applied on the computes */ +export interface ComputeSchedules { + /** The list of compute start stop schedules to be applied. */ + computeStartStop?: ComputeStartStopSchedule[]; } -export interface PredictionDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical" | "Numerical"; - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; +/** 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; } -/** Training related configuration. */ -export interface TrainingSettings { - /** Flag for enabling onnx compatible models. */ - enableOnnxCompatibleModels?: boolean; - /** Stack ensemble settings for stack ensemble run. */ - stackEnsembleSettings?: StackEnsembleSettings; - /** Enable stack ensemble run. */ - enableStackEnsemble?: boolean; - /** Enable voting ensemble run. */ - enableVoteEnsemble?: boolean; +/** 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; /** - * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. - * Configure this parameter with a higher value than 300 secs, if more time is needed. + * 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 */ - ensembleModelDownloadTimeout?: string; - /** Flag to turn on explainability on best model. */ - enableModelExplainability?: boolean; - /** Enable recommendation of DNN models. */ - enableDnnTraining?: boolean; + timeZone?: string; + /** [Required] The recurrence schedule. */ + schedule?: ComputeRecurrenceSchedule; } -/** 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; +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[]; } -/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ -export interface TableVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: TableVerticalLimitSettings; - /** - * Number of cross validation folds to be applied on training dataset - * 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 workflow trigger cron for ComputeStartStop schedule type. */ +export interface Cron { + /** The start time in yyyy-MM-ddTHH:mm:ss format. */ + startTime?: string; /** - * The fraction of training dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 */ - validationDataSize?: number; + timeZone?: string; /** - * The fraction of test dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. */ - testDataSize?: number; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: TableVerticalFeaturizationSettings; + expression?: string; } -/** Job execution constraints. */ -export interface TableVerticalLimitSettings { - /** Number of iterations. */ - maxTrials?: number; - /** Iteration timeout. */ - trialTimeout?: string; - /** AutoML job timeout. */ - timeout?: string; - /** Maximum Concurrent iterations. */ - maxConcurrentTrials?: number; - /** Max cores per iteration. */ - maxCoresPerTrial?: number; - /** Exit score for the AutoML job. */ - exitScore?: number; - /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ - enableEarlyTermination?: boolean; +export interface ScheduleBase { + /** A system assigned id for the schedule. */ + id?: string; + /** The current deployment state of schedule. */ + provisioningStatus?: ScheduleProvisioningState; + /** Is the schedule enabled or disabled? */ + status?: ScheduleStatus; } -/** Column transformer parameters. */ -export interface ColumnTransformer { - /** Fields to apply transformer logic on. */ - fields?: string[]; +/** Defines an Aml Instance container. */ +export interface ComputeInstanceContainer { + /** Name of the ComputeInstance container. */ + name?: string; + /** Auto save settings. */ + autosave?: Autosave; + /** Information of GPU. */ + gpu?: string; + /** network of this container. */ + network?: Network; + /** Environment information of this container. */ + environment?: ComputeInstanceEnvironmentInfo; /** - * Different properties to be passed to transformer. - * Input expected is dictionary of key,value pairs in JSON format. + * services of this containers. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parameters?: Record; + readonly services?: Record[]; } -/** Featurization Configuration. */ -export interface FeaturizationSettings { - /** Dataset language, useful for the text data. */ - datasetLanguage?: string; +/** Environment information */ +export interface ComputeInstanceEnvironmentInfo { + /** name of environment. */ + name?: string; + /** version of environment. */ + version?: string; } -/** Base definition for job distribution configuration. */ -export interface DistributionConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi" | "PyTorch" | "TensorFlow"; +/** 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 JobLimits { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Command" | "Sweep"; - /** The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds. */ - timeout?: string; +/** Version of computeInstance. */ +export interface ComputeInstanceVersion { + /** Runtime of compute instance. */ + runtime?: string; } -/** Resource requirements for each container instance within an online deployment. */ -export interface ContainerResourceRequirements { - /** Container resource request info: */ - containerResourceRequests?: ContainerResourceSettings; - /** Container resource limit info: */ - containerResourceLimits?: ContainerResourceSettings; +/** Properties(top level) of ComputeInstance */ +export interface ComputeInstanceSchema { + /** Properties of ComputeInstance */ + properties?: ComputeInstanceProperties; } -export interface ContainerResourceSettings { - /** - * Number of vCPUs request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - cpu?: string; - /** - * Memory size request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - memory?: string; - /** - * Number of Nvidia GPU cards request/limit for container. More info: - * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ - */ - gpu?: string; +export interface VirtualMachineSchema { + properties?: VirtualMachineSchemaProperties; } -export interface MonitorDefinition { - /** The entities targeted by the monitor. */ - monitoringTarget?: MonitoringTarget; - /** [Required] The signals to monitor. */ - signals: { [propertyName: string]: MonitoringSignalBaseUnion | null }; - /** [Required] The ARM resource ID of the compute resource to run the monitoring job on. */ - computeConfiguration: MonitorComputeConfigurationBaseUnion; - /** The monitor's notification settings. */ - alertNotificationSettings?: MonitorNotificationSettings; +export interface 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; } -/** Monitoring target definition. */ -export interface MonitoringTarget { - /** Reference to the model asset targeted by this monitor. */ - modelId?: string; - /** Reference to the deployment asset targeted by this monitor. */ - deploymentId?: string; - /** [Required] The machine learning task type of the monitored model. */ - taskType: ModelTaskType; +/** Admin credentials for virtual machine */ +export interface VirtualMachineSshCredentials { + /** Username of admin account */ + username?: string; + /** Password of admin account */ + password?: string; + /** Public key data */ + publicKeyData?: string; + /** Private key data */ + privateKeyData?: string; } -export interface MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: - | "Custom" - | "DataDrift" - | "DataQuality" - | "FeatureAttributionDrift" - | "PredictionDrift"; - /** The current notification mode for this signal. */ - notificationTypes?: MonitoringNotificationType[]; - /** Property dictionary. Properties can be added, but not removed or altered. */ - properties?: { [propertyName: string]: string | null }; +/** 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; } -/** Monitor compute configuration base definition. */ -export interface MonitorComputeConfigurationBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ServerlessSpark"; +export interface HDInsightSchema { + /** HDInsight compute properties */ + properties?: HDInsightProperties; } -export interface MonitorNotificationSettings { - /** The AML notification email settings. */ - emailNotificationSettings?: MonitorEmailNotificationSettings; +/** Properties of Databricks */ +export interface DatabricksProperties { + /** Databricks access token */ + databricksAccessToken?: string; + /** Workspace Url */ + workspaceUrl?: string; } -export interface MonitorEmailNotificationSettings { - /** The email recipient list which has a limitation of 499 characters in total. */ - emails?: string[]; +export interface DatabricksSchema { + /** Properties of Databricks */ + properties?: DatabricksProperties; } -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 DataLakeAnalyticsSchema { + properties?: DataLakeAnalyticsSchemaProperties; } -/** Monitoring input data base definition. */ -export interface MonitoringInputDataBase { +export interface DataLakeAnalyticsSchemaProperties { + /** DataLake Store Account Name */ + dataLakeStoreAccountName?: string; +} + +export interface SynapseSparkProperties { + /** Auto scale properties. */ + autoScaleProperties?: AutoScaleProperties; + /** Auto pause properties. */ + autoPauseProperties?: AutoPauseProperties; + /** Spark version. */ + sparkVersion?: string; + /** The number of compute nodes currently assigned to the compute. */ + nodeCount?: number; + /** Node size. */ + nodeSize?: string; + /** Node size family. */ + nodeSizeFamily?: string; + /** Azure subscription identifier. */ + subscriptionId?: string; + /** Name of the resource group in which workspace is located. */ + resourceGroup?: string; + /** Name of Azure Machine Learning workspace. */ + workspaceName?: string; + /** Pool name. */ + poolName?: string; +} + +/** Auto scale properties */ +export interface AutoScaleProperties { + minNodeCount?: number; + enabled?: boolean; + maxNodeCount?: number; +} + +/** Auto pause properties */ +export interface AutoPauseProperties { + delayInMinutes?: number; + enabled?: boolean; +} + +/** Properties of AksComputeSecrets */ +export interface AksComputeSecretsProperties { + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + userKubeConfig?: string; + /** Content of kubeconfig file that can be used to connect to the Kubernetes cluster. */ + adminKubeConfig?: string; + /** Image registry pull secret. */ + imagePullSecretName?: string; +} + +export interface VirtualMachineSecretsSchema { + /** Admin credentials for virtual machine. */ + administratorAccount?: VirtualMachineSshCredentials; +} + +/** Properties of Databricks Compute Secrets */ +export interface DatabricksComputeSecretsProperties { + /** access token for databricks account. */ + databricksAccessToken?: string; +} + +export interface MonitoringFeatureFilterBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed" | "Rolling" | "Static"; - /** The context metadata of the data source. */ - dataContext?: string; - /** [Required] Specifies the type of job. */ - jobInputType: JobInputType; + filterType: "AllFeatures" | "FeatureSubset" | "TopNByAttribution"; +} + +/** Monitor compute identity base definition. */ +export interface MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken" | "ManagedIdentity"; +} + +/** Asset input type. */ +export interface AssetJobInput { + /** Input Asset Delivery Mode. */ + mode?: InputDeliveryMode; /** [Required] Input Asset URI. */ uri: string; - /** Mapping of column names to special uses. */ - columns?: { [propertyName: string]: string | null }; } -export interface FeatureImportanceSettings { - /** The mode of operation for computing feature importance. */ - mode?: FeatureImportanceMode; - /** The name of the target column within the input data asset. */ - targetColumn?: string; +/** Asset output type. */ +export interface AssetJobOutput { + /** Output Asset Name. */ + assetName?: string; + /** Output Asset Delivery Mode. */ + mode?: OutputDeliveryMode; + /** Output Asset URI. */ + uri?: string; } -export interface FeatureAttributionMetricThreshold { - /** The threshold value. If null, a default value will be set depending on the selected metric. */ - threshold?: MonitoringThreshold; - /** [Required] The feature attribution metric to calculate. */ - metric: FeatureAttributionMetric; +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; } -/** Forecasting specific parameters. */ -export interface ForecastingSettings { +/** 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" + | "ImageObjectDetection" + | "Regression" + | "TextClassification" + | "TextClassificationMultilabel" + | "TextNER"; + /** Log verbosity for the job. */ + logVerbosity?: LogVerbosity; /** - * Country or region for holidays for forecasting tasks. - * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. + * Target column name: This is prediction values column. + * Also known as label column name in context of classification tasks. */ - countryOrRegionForHolidays?: string; - /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ - timeColumnName?: string; - /** The number of past periods to lag from the target column. */ - targetLags?: TargetLagsUnion; - /** The number of past periods used to create a rolling window average of the target column. */ - targetRollingWindowSize?: TargetRollingWindowSizeUnion; - /** The desired maximum forecast horizon in units of time-series frequency. */ - forecastHorizon?: ForecastHorizonUnion; - /** - * The names of columns used to group a timeseries. It can be used to create multiple series. - * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. - */ - timeSeriesIdColumnNames?: string[]; - /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ - frequency?: string; - /** Flag for generating lags for the numeric features with 'auto' or null. */ - featureLags?: FeatureLags; - /** - * Set time series seasonality as an integer multiple of the series frequency. - * If seasonality is set to 'auto', it will be inferred. - */ - seasonality?: SeasonalityUnion; - /** The parameter defining how if AutoML should handle short time series. */ - shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; - /** Configure STL Decomposition of the time-series target column. */ - useStl?: UseStl; - /** - * The function to be used to aggregate the time series target column to conform to a user specified frequency. - * If the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: "sum", "max", "min" and "mean". - */ - targetAggregateFunction?: TargetAggregationFunction; - /** - * Number of periods between the origin time of one CV fold and the next fold. For - * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be - * three days apart. - */ - cvStepSize?: number; + targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; +} + +/** Command job definition. */ +export interface JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: + | "mltable" + | "custom_model" + | "mlflow_model" + | "literal" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the input. */ + description?: string; +} + +/** N-Cross validations value. */ +export interface NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Forecasting seasonality. */ +export interface Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** The number of past periods to lag from the target column. */ +export interface TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Forecasting target rolling window size. */ +export interface TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Base definition for Azure datastore contents configuration. */ +export interface AzureDatastore { + /** Azure 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"; + /** Number of intervals by which to delay the first evaluation. */ + delayEvaluation?: number; + /** Interval (number of runs) between policy evaluations. */ + evaluationInterval?: number; } /** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * The Sampling Algorithm used to generate hyperparameter values, along with properties to + * configure the algorithm */ -export interface ImageModelSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: boolean; - /** Settings for advanced scenarios. */ - advancedSettings?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: number; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: number; - /** Frequency to store model checkpoints. Must be a positive integer. */ - checkpointFrequency?: number; - /** The id of a previous run that has a pretrained checkpoint for incremental training. */ - checkpointRunId?: string; - /** The pretrained checkpoint model for incremental training. */ - checkpointModel?: MLFlowModelJobInput; - /** Whether to use distributed training. */ - distributed?: boolean; - /** Enable early stopping logic during training. */ - earlyStopping?: boolean; +export interface SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; +} + +export interface DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +export interface MonitoringThreshold { + /** The threshold value. If null, the set default is dependent on the metric type. */ + value?: number; +} + +export interface DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +export interface PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical" | "Numerical"; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; +} + +/** Training related configuration. */ +export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ + enableModelExplainability?: boolean; + /** Flag for enabling onnx compatible models. */ + enableOnnxCompatibleModels?: boolean; + /** Enable stack ensemble run. */ + enableStackEnsemble?: boolean; + /** Enable voting ensemble run. */ + enableVoteEnsemble?: boolean; /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. + * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. + * Configure this parameter with a higher value than 300 secs, if more time is needed. */ - earlyStoppingDelay?: number; + ensembleModelDownloadTimeout?: string; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; +} + +/** Advances setting to customize StackEnsemble run. */ +export interface StackEnsembleSettings { + /** Optional parameters to pass to the initializer of the meta-learner. */ + stackMetaLearnerKWargs?: Record; + /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ + stackMetaLearnerTrainPercentage?: number; + /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ + stackMetaLearnerType?: StackMetaLearnerType; +} + +/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ +export interface TableVertical { + /** Columns to use for CVSplit data. */ + cvSplitColumnNames?: string[]; + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: TableVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: TableVerticalLimitSettings; /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. + * Number of cross validation folds to be applied on training dataset + * when validation dataset is not provided. */ - 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; + nCrossValidations?: NCrossValidationsUnion; + /** Test data input. */ + testData?: MLTableJobInput; /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. + * 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. */ - gradientAccumulationStep?: number; + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * The 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. */ - layersToFreeze?: number; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: number; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: LearningRateScheduler; + validationDataSize?: number; + /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ + weightColumnName?: string; +} + +/** Column transformer parameters. */ +export interface ColumnTransformer { + /** Fields to apply transformer logic on. */ + fields?: string[]; /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + * Different properties to be passed to transformer. + * Input expected is dictionary of key,value pairs in JSON format. */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: number; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: boolean; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: number; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: number; - /** Type of optimizer. */ - optimizer?: StochasticOptimizer; - /** Random seed to be used when using deterministic training. */ - randomSeed?: number; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: number; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: number; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: number; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: number; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: number; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: number; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: number; -} - -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) - * where distribution name can be: uniform, quniform, loguniform, etc - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettings { - /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ - amsGradient?: string; - /** Settings for using Augmentations. */ - augmentations?: string; - /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta1?: string; - /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ - beta2?: string; - /** Whether to use distributer training. */ - distributed?: string; - /** Enable early stopping logic during training. */ - earlyStopping?: string; - /** - * Minimum number of epochs or validation evaluations to wait before primary metric improvement - * is tracked for early stopping. Must be a positive integer. - */ - earlyStoppingDelay?: string; - /** - * Minimum number of epochs or validation evaluations with no primary metric improvement before - * the run is stopped. Must be a positive integer. - */ - earlyStoppingPatience?: string; - /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ - evaluationFrequency?: string; - /** Enable normalization when exporting ONNX model. */ - enableOnnxNormalization?: string; - /** - * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without - * updating the model weights while accumulating the gradients of those steps, and then using - * the accumulated gradients to compute the weight updates. Must be a positive integer. - */ - gradientAccumulationStep?: string; - /** - * Number of layers to freeze for the model. Must be a positive integer. - * For instance, passing 2 as value for 'seresnext' means - * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please - * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - layersToFreeze?: string; - /** Initial learning rate. Must be a float in the range [0, 1]. */ - learningRate?: string; - /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ - learningRateScheduler?: string; - /** - * Name of the model to use for training. - * For more information on the available models please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ - modelName?: string; - /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ - momentum?: string; - /** Enable nesterov when optimizer is 'sgd'. */ - nesterov?: string; - /** Number of training epochs. Must be a positive integer. */ - numberOfEpochs?: string; - /** Number of data loader workers. Must be a non-negative integer. */ - numberOfWorkers?: string; - /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ - optimizer?: string; - /** Random seed to be used when using deterministic training. */ - randomSeed?: string; - /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ - stepLRGamma?: string; - /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ - stepLRStepSize?: string; - /** Training batch size. Must be a positive integer. */ - trainingBatchSize?: string; - /** Validation batch size. Must be a positive integer. */ - validationBatchSize?: string; - /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ - warmupCosineLRCycles?: string; - /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ - warmupCosineLRWarmupEpochs?: string; - /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ - weightDecay?: string; + parameters?: Record; } -/** - * Abstract class for AutoML tasks that train image (computer vision) models - - * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. - */ -export interface ImageVertical { - /** [Required] Limit settings for the AutoML job. */ - limitSettings: ImageLimitSettings; - /** Model sweeping and hyperparameter sweeping related settings. */ - sweepSettings?: ImageSweepSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; - /** - * The fraction of training dataset that needs to be set aside for validation purpose. - * Values between (0.0 , 1.0) - * Applied when validation dataset is not provided. - */ - validationDataSize?: number; +/** Featurization Configuration. */ +export interface FeaturizationSettings { + /** Dataset language, useful for the text data. */ + datasetLanguage?: string; } -/** Limit settings for the AutoML job. */ -export interface ImageLimitSettings { - /** Maximum number of AutoML iterations. */ +/** 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; - /** Maximum number of concurrent AutoML iterations. */ - maxConcurrentTrials?: number; + /** Iteration timeout. */ + trialTimeout?: string; } -/** 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; +/** Base definition for job distribution configuration. */ +export interface DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "Mpi" | "PyTorch" | "TensorFlow"; } -/** OneLake artifact (data source) configuration. */ -export interface OneLakeArtifact { +export interface JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; - /** [Required] OneLake artifact name */ - artifactName: string; + jobLimitsType: "Command" | "Sweep"; + /** The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds. */ + timeout?: string; } -/** - * Abstract class for NLP related AutoML tasks. - * NLP - Natural Language Processing. - */ -export interface NlpVertical { - /** Execution constraints for AutoMLJob. */ - limitSettings?: NlpVerticalLimitSettings; - /** Featurization inputs needed for AutoML job. */ - featurizationSettings?: NlpVerticalFeaturizationSettings; - /** Validation data inputs. */ - validationData?: MLTableJobInput; +/** Resource requirements for each container instance within an online deployment. */ +export interface ContainerResourceRequirements { + /** Container resource limit info: */ + containerResourceLimits?: ContainerResourceSettings; + /** Container resource request info: */ + containerResourceRequests?: ContainerResourceSettings; } -/** Job execution constraints. */ -export interface NlpVerticalLimitSettings { - /** AutoML job timeout. */ - timeout?: string; - /** Number of AutoML iterations. */ - maxTrials?: number; - /** Maximum Concurrent AutoML iterations. */ - maxConcurrentTrials?: number; +export interface ContainerResourceSettings { + /** + * Number of vCPUs request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + cpu?: string; + /** + * Number of Nvidia GPU cards request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + gpu?: string; + /** + * Memory size request/limit for container. More info: + * https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ + */ + memory?: string; } -/** Optimization objective. */ -export interface Objective { - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; - /** [Required] Defines supported metric goals for hyperparameter tuning */ - goal: Goal; +export interface 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 }; } -export interface SparkResourceConfiguration { - /** Optional type of VM used as supported by the compute target. */ - instanceType?: string; - /** Version of spark runtime used for the job. */ - runtimeVersion?: string; +export interface MonitorNotificationSettings { + /** The AML notification email settings. */ + emailNotificationSettings?: MonitorEmailNotificationSettings; } -/** Spark job entry point definition. */ -export interface SparkJobEntry { - /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +export interface MonitorEmailNotificationSettings { + /** The email recipient list which has a limitation of 499 characters in total. */ + emails?: string[]; } -/** Trial component definition. */ -export interface TrialComponent { - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [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; +/** Monitor compute configuration base definition. */ +export interface MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; } -/** 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; -} - -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface RegistryPartialManagedServiceIdentity - extends ManagedServiceIdentity {} - -/** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** The resource of private end point. */ - privateEndpoint?: PrivateEndpoint; - /** A collection of information about the state of the connection between service consumer and provider. */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - /** - * The provisioning state of the private endpoint connection resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -} - -/** An object that represents a machine learning workspace. */ -export interface Workspace extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - kind?: string; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The immutable id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly workspaceId?: string; - /** The description of this workspace. */ - description?: string; - /** The friendly name for this workspace. This name in mutable */ - friendlyName?: string; - /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ - keyVault?: string; - /** ARM id of the application insights associated with this workspace. */ - applicationInsights?: string; - /** ARM id of the container registry associated with this workspace. */ - containerRegistry?: string; - /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ - storageAccount?: string; - /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ - discoveryUrl?: string; - /** - * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ProvisioningState; - /** The encryption settings of Azure ML workspace. */ - encryption?: EncryptionProperty; - /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ - hbiWorkspace?: boolean; - /** - * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly serviceProvisionedResourceGroup?: string; - /** - * Count of private connections in the workspace - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateLinkCount?: number; - /** The compute name for image build */ - imageBuildCompute?: string; - /** The flag to indicate whether to allow public access when behind VNet. */ - allowPublicAccessWhenBehindVnet?: boolean; - /** Whether requests from Public Network are allowed. */ - publicNetworkAccess?: PublicNetworkAccess; - /** - * The list of private endpoint connections in the workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateEndpointConnections?: PrivateEndpointConnection[]; - /** Settings for serverless compute created in the workspace */ - serverlessComputeSettings?: ServerlessComputeSettings; - /** The list of shared private link resources in this workspace. */ - sharedPrivateLinkResources?: SharedPrivateLinkResource[]; - /** - * The notebook info of Azure ML workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly notebookInfo?: NotebookResourceInfo; - /** The service managed resource settings. */ - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - /** The user assigned identity resource id that represents the workspace identity. */ - primaryUserAssignedIdentity?: string; - /** - * The tenant id associated with this workspace. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly tenantId?: string; - /** - * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly storageHnsEnabled?: boolean; - /** - * The URI associated with this workspace that machine learning flow must point at to set up tracking. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly mlFlowTrackingUri?: string; - /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ - v1LegacyMode?: boolean; - /** Managed Network settings for a machine learning workspace. */ - managedNetwork?: ManagedNetworkSettings; - /** Settings for feature store type workspace. */ - featureStoreSettings?: FeatureStoreSettings; - associatedWorkspaces?: string[]; - enableDataIsolation?: boolean; - hubResourceId?: string; - /** WorkspaceHub's configuration object. */ - workspaceHubConfig?: WorkspaceHubConfig; -} - -/** Machine Learning compute object wrapped into ARM resource envelope. */ -export interface ComputeResource extends Resource, ComputeResourceSchema { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; -} - -/** A private link resource */ -export interface PrivateLinkResource extends Resource { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; - /** - * The private link resource group id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly groupId?: string; - /** - * The private link resource required member names. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly requiredMembers?: string[]; - /** The private link resource Private link DNS zone name. */ - requiredZoneNames?: string[]; -} - -export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { - properties: WorkspaceConnectionPropertiesV2Union; +/** Monitoring target definition. */ +export interface MonitoringTarget { + /** Reference to the deployment asset targeted by this monitor. */ + deploymentId?: string; + /** Reference to the model asset targeted by this monitor. */ + modelId?: string; + /** [Required] The machine learning task type of the monitored model. */ + taskType: ModelTaskType; } -/** 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 MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: + | "Custom" + | "DataDrift" + | "DataQuality" + | "FeatureAttributionDrift" + | "PredictionDrift"; + /** The current notification mode for this signal. */ + notificationTypes?: MonitoringNotificationType[]; + /** Property dictionary. Properties can be added, but not removed or altered. */ + properties?: { [propertyName: string]: string | null }; } -/** 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; +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; } -/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ -export interface PrivateEndpointOutboundRule extends OutboundRule { +/** Monitoring input data base definition. */ +export interface MonitoringInputDataBase { /** 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; + 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; } -/** 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 FeatureImportanceSettings { + /** The mode of operation for computing feature importance. */ + mode?: FeatureImportanceMode; + /** The name of the target column within the input data asset. */ + targetColumn?: string; } -/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ -export interface FqdnOutboundRule extends OutboundRule { +export interface DataGenerationVertical { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FQDN"; - destination?: string; + dataGenerationType: "LabelGeneration"; + /** [Required] DataGeneration Task type. */ + dataGenerationTaskType: DataGenerationTaskType; + /** Prompt Settings. */ + promptSettings?: PromptSettings; + /** [Required] Teacher Model Endpoint Details. */ + teacherModelEndpoint: TeacherModelEndpoint; + teacherModelSettings?: TeacherModelSettings; } -/** A Machine Learning compute based on AKS. */ -export interface Aks extends Compute, AKSSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; +export interface PromptSettings { + enableChainOfDensity?: boolean; + enableChainOfThought?: boolean; + maxLenSummary?: number; } -/** A Machine Learning compute based on Kubernetes Compute. */ -export interface Kubernetes extends Compute, KubernetesSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Kubernetes"; +export interface TeacherModelEndpoint { + endpointName?: string; } -/** An Azure Machine Learning compute. */ -export interface AmlCompute extends Compute, AmlComputeSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AmlCompute"; +export interface TeacherModelSettings { + /** Teacher Model Request Settings. */ + teacherModelEndpointRequestSettings?: TeacherModelEndpointRequestSettings; + /** Teacher Model Inference Settings. */ + teacherModelInferenceParameters?: { [propertyName: string]: string | null }; } -/** An Azure Machine Learning compute instance. */ -export interface ComputeInstance extends Compute, ComputeInstanceSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ComputeInstance"; +export interface TeacherModelEndpointRequestSettings { + minEndpointSuccessRatio?: number; + requestBatchSize?: number; } -/** A Machine Learning compute based on Azure Virtual Machines. */ -export interface VirtualMachine extends Compute, VirtualMachineSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; +export interface FinetuningDetails { + /** Finetuning Hyperparameters */ + hyperParameters?: { [propertyName: string]: string | null }; + /** [Required] Student model for fine tuning. */ + studentModel: JobInputUnion; } -/** A HDInsight compute. */ -export interface HDInsight extends Compute, HDInsightSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "HDInsight"; +export interface JobResources { + /** List of instance types to choose from. */ + instanceTypes?: string[]; } -/** A DataFactory compute. */ -export interface DataFactory extends Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataFactory"; +export interface FeatureAttributionMetricThreshold { + /** [Required] The feature attribution metric to calculate. */ + metric: FeatureAttributionMetric; + /** The threshold value. If null, a default value will be set depending on the selected metric. */ + threshold?: MonitoringThreshold; } -/** A DataFactory compute. */ -export interface Databricks extends Compute, DatabricksSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; -} - -/** A DataLakeAnalytics compute. */ -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataLakeAnalytics"; -} - -/** A SynapseSpark compute. */ -export interface SynapseSpark extends Compute { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "SynapseSpark"; - properties?: SynapseSparkProperties; -} - -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface AksComputeSecrets - extends ComputeSecrets, - AksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; -} - -/** Secrets related to a Machine Learning compute based on AKS. */ -export interface VirtualMachineSecrets - extends ComputeSecrets, - VirtualMachineSecretsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; -} - -/** Secrets related to a Machine Learning compute based on Databricks. */ -export interface DatabricksComputeSecrets - extends ComputeSecrets, - DatabricksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; -} - -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT"; - credentials?: WorkspaceConnectionPersonalAccessToken; -} - -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "SAS"; - credentials?: WorkspaceConnectionSharedAccessSignature; -} - -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "UsernamePassword"; - credentials?: WorkspaceConnectionUsernamePassword; -} - -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "None"; -} - -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ManagedIdentity"; - credentials?: WorkspaceConnectionManagedIdentity; -} - -/** This connection type covers the AAD auth for any applicable Azure service */ -export interface AADAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AAD"; -} - -export interface AccessKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccessKey"; - credentials?: WorkspaceConnectionAccessKey; -} - -/** This connection type covers the account key connection for Azure storage */ -export interface AccountKeyAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "AccountKey"; - credentials?: WorkspaceConnectionAccountKey; -} - -/** - * This connection type covers the generic ApiKey auth connection categories, for examples: - * AzureOpenAI: - * Category:= AzureOpenAI - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {ApiBase} - * - * CognitiveService: - * Category:= CognitiveService - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= ServiceRegion={serviceRegion} - * - * CognitiveSearch: - * Category:= CognitiveSearch - * AuthType:= ApiKey (as type discriminator) - * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey - * Target:= {Endpoint} - * - * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields - */ -export interface ApiKeyAuthWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ApiKey"; - /** Api key object for workspace connection credential. */ - credentials?: WorkspaceConnectionApiKey; -} - -/** - * Category:= CustomKeys - * AuthType:= CustomKeys (as type discriminator) - * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys - * Target:= {any value} - * Use Metadata property bag for ApiVersion and other metadata fields - */ -export interface CustomKeysWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "CustomKeys"; - /** Custom Keys credential object */ - credentials?: CustomKeys; -} - -export interface OAuth2AuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "OAuth2"; - /** - * ClientId and ClientSecret are required. Other properties are optional - * depending on each OAuth2 provider's implementation. - */ - credentials?: WorkspaceConnectionOAuth2; -} - -export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "ServicePrincipal"; - credentials?: WorkspaceConnectionServicePrincipal; -} - -export interface 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; +/** Forecasting specific parameters. */ +export interface ForecastingSettings { /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. + * Country or region for holidays for forecasting tasks. + * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. */ - 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; + countryOrRegionForHolidays?: string; /** - * Readonly property to indicate if datastore is the workspace default datastore - * NOTE: This property will not be serialized. It can only be populated by the server. + * Number of periods between the origin time of one CV fold and the next fold. For + * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be + * three days apart. */ - readonly isDefault?: boolean; - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; -} - -/** DTO object representing feature */ -export interface FeatureProperties extends ResourceBase { - /** Specifies name */ - featureName?: string; - /** Specifies type */ - dataType?: FeatureDataType; -} - -/** Base definition for a job. */ -export interface JobBaseProperties extends ResourceBase { - /** [Required] Specifies the type of job. */ - jobType: JobType; - /** Display name of job. */ - displayName?: string; + 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; /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Set time series seasonality as an integer multiple of the series frequency. + * If seasonality is set to 'auto', it will be inferred. */ - readonly status?: JobStatus; - /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ - experimentName?: string; + seasonality?: SeasonalityUnion; + /** The parameter defining how if AutoML should handle short time series. */ + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + * 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". */ - services?: { [propertyName: string]: JobService | null }; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Is the asset archived? */ - isArchived?: boolean; + 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; /** - * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - * Defaults to AmlToken if null. + * 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. */ - identity?: IdentityConfigurationUnion; - /** ARM resource ID of the component resource. */ - componentId?: string; - /** Notification setting for the job */ - notificationSetting?: NotificationSetting; + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; } -/** Base definition of a schedule */ -export interface ScheduleProperties extends ResourceBase { - /** Display name of schedule. */ - displayName?: string; - /** Is the schedule enabled? */ - isEnabled?: boolean; - /** [Required] Specifies the trigger details */ - trigger: TriggerBaseUnion; - /** [Required] Specifies the action of the schedule */ - action: ScheduleActionBaseUnion; +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelSettings { + /** Settings for advanced scenarios. */ + advancedSettings?: string; + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: boolean; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: number; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: number; + /** Frequency to store model checkpoints. Must be a positive integer. */ + checkpointFrequency?: number; + /** The pretrained checkpoint model for incremental training. */ + checkpointModel?: MLFlowModelJobInput; + /** The id of a previous run that has a pretrained checkpoint for incremental training. */ + checkpointRunId?: string; + /** Whether to use distributed training. */ + distributed?: boolean; + /** Enable early stopping logic during training. */ + earlyStopping?: boolean; /** - * Provisioning state for the schedule. - * NOTE: This property will not be serialized. It can only be populated by the server. + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. */ - readonly provisioningState?: ScheduleProvisioningStatus; + earlyStoppingDelay?: number; + /** + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. + */ + earlyStoppingPatience?: number; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: boolean; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: number; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: number; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: number; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: LearningRateScheduler; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: number; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: boolean; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: number; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: number; + /** Type of optimizer. */ + optimizer?: StochasticOptimizer; + /** Random seed to be used when using deterministic training. */ + randomSeed?: number; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: number; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: number; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: number; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: number; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: number; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: number; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: number; } -export interface SASCredentialDto extends PendingUploadCredentialDto { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) + * where distribution name can be: uniform, quniform, loguniform, etc + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelDistributionSettings { + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: string; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: string; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: string; + /** Whether to use distributer training. */ + distributed?: string; + /** Enable early stopping logic during training. */ + earlyStopping?: string; + /** + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. + */ + earlyStoppingDelay?: string; + /** + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. + */ + earlyStoppingPatience?: string; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: string; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: string; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: string; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: string; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: string; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: string; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: string; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: string; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: string; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: string; + /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ + optimizer?: string; + /** Random seed to be used when using deterministic training. */ + randomSeed?: string; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: string; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: string; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: string; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: string; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: string; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: string; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: string; } -/** Access credential with no credentials */ -export interface AnonymousAccessCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "NoCredentials"; +/** + * Abstract class for AutoML tasks that train image (computer vision) models - + * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. + */ +export interface ImageVertical { + /** [Required] Limit settings for the AutoML job. */ + limitSettings: ImageLimitSettings; + /** Model sweeping and hyperparameter sweeping related settings. */ + sweepSettings?: ImageSweepSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; } -/** Credential for docker with username and password */ -export interface DockerCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "DockerCredentials"; - /** DockerCredential user name */ - userName?: string; - /** DockerCredential user password */ - password?: string; +/** 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; } -/** Credential for user managed identity */ -export interface ManagedIdentityCredential extends DataReferenceCredential { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "ManagedIdentity"; - /** ManagedIdentityCredential identity type */ - managedIdentityType?: string; - /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityResourceId?: string; - /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityClientId?: string; - /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityPrincipalId?: string; - /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ - userManagedIdentityTenantId?: string; +/** Model sweeping and hyperparameter sweeping related settings. */ +export interface ImageSweepSettings { + /** Type of early termination policy. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; } -/** Access with full SAS uri */ -export interface SASCredential extends DataReferenceCredential { +/** OneLake artifact (data source) configuration. */ +export interface OneLakeArtifact { /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialType: "SAS"; - /** Full SAS Uri, including the storage, container/blob path and SAS token */ - sasUri?: string; -} - -/** Batch endpoint configuration. */ -export interface BatchEndpointProperties extends EndpointPropertiesBase { - /** Default values for Batch Endpoint */ - defaults?: BatchEndpointDefaults; - /** - * Provisioning state for the endpoint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: EndpointProvisioningState; -} - -/** 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; - /** 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 }; + artifactType: "LakeHouse"; + /** [Required] OneLake artifact name */ + artifactName: string; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithIdentity - extends PartialMinimalTrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; +/** + * Abstract class for NLP related AutoML tasks. + * NLP - Natural Language Processing. + */ +export interface NlpVertical { + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku - extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; +/** Job execution constraints. */ +export interface NlpVerticalLimitSettings { + /** Maximum Concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; } -/** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSkuAndIdentity - extends PartialMinimalTrackedResource { - /** Sku details required for ARM contract for Autoscaling. */ - sku?: PartialSku; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: PartialManagedServiceIdentity; +/** Optimization objective. */ +export interface Objective { + /** [Required] Defines supported metric goals for hyperparameter tuning */ + goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; } -/** Properties for a Batch Pipeline Component Deployment. */ -export interface BatchPipelineComponentDeploymentConfiguration - extends BatchDeploymentConfiguration { +/** Spark job entry point definition. */ +export interface SparkJobEntry { /** Polymorphic discriminator, which specifies the different types this object can be */ - deploymentConfigurationType: "PipelineComponent"; - /** The ARM id of the component to be run. */ - componentId?: IdAssetReference; - /** The description which will be applied to the job. */ - description?: string; - /** Run-time settings for the pipeline job. */ - settings?: { [propertyName: string]: string | null }; - /** The tags which will be applied to the job. */ - tags?: { [propertyName: string]: string | null }; + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; } -/** Reference to an asset via its ARM resource ID. */ -export interface IdAssetReference extends AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "Id"; - /** [Required] ARM resource ID of the asset. */ - assetId: string; +export interface SparkResourceConfiguration { + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Version of spark runtime used for the job. */ + runtimeVersion?: string; } -/** Reference to an asset via its path in a datastore. */ -export interface DataPathAssetReference extends AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "DataPath"; - /** The path of the file/directory in the datastore. */ - path?: string; - /** ARM resource ID of the datastore where the asset is located. */ - datastoreId?: string; +/** Trial component definition. */ +export interface TrialComponent { + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; } -/** Reference to an asset via its path in a job output. */ -export interface OutputPathAssetReference extends AssetReferenceBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "OutputPath"; - /** The path of the file/directory in the job output. */ - path?: string; - /** ARM resource ID of the job. */ - jobId?: string; +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; } -export interface DeploymentResourceConfiguration - extends ResourceConfiguration {} +/** Account key object for workspace connection credential. */ +export interface WorkspaceConnectionAccountKey { + key?: string; +} -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; +/** Api key object for workspace connection credential. */ +export interface WorkspaceConnectionApiKey { + key?: string; } -/** Batch inference settings per deployment. */ -export interface BatchDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** Compute target for batch inference operation. */ - compute?: string; - /** Properties relevant to different deployment types. */ - deploymentConfiguration?: BatchDeploymentConfigurationUnion; - /** - * Error threshold, if the error count for the entire input goes above this value, - * the batch inference will be aborted. Range is [-1, int.MaxValue]. - * For FileDataset, this value is the count of file failures. - * For TabularDataset, this value is the count of record failures. - * If set to -1 (the lower bound), all failures during batch inference will be ignored. - */ - errorThreshold?: number; - /** - * Retry Settings for the batch inference operation. - * If not provided, will default to the defaults defined in BatchRetrySettings. - */ - retrySettings?: BatchRetrySettings; - /** - * Size of the mini-batch passed to each batch invocation. - * For FileDataset, this is the number of files per mini-batch. - * For TabularDataset, this is the size of the records in bytes, per mini-batch. - */ - miniBatchSize?: number; - /** Logging level for batch inference operation. */ - loggingLevel?: BatchLoggingLevel; - /** Reference to the model asset for the endpoint deployment. */ - model?: AssetReferenceBaseUnion; - /** Indicates maximum number of parallelism per instance. */ - maxConcurrencyPerInstance?: number; - /** Indicates how the output will be organized. */ - outputAction?: BatchOutputAction; - /** Customized output file name for append_row output action. */ - outputFileName?: string; - /** - * Indicates compute configuration for the job. - * If not provided, will default to the defaults defined in ResourceConfiguration. - */ - resources?: DeploymentResourceConfiguration; - /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: DeploymentProvisioningState; +/** 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 OnlineDeploymentProperties - extends EndpointDeploymentPropertiesBase { - /** [Required] The compute type of the endpoint. */ - endpointComputeType: EndpointComputeType; - /** - * Scale settings for the deployment. - * If it is null or not provided, - * it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment - * and to DefaultScaleSettings for ManagedOnlineDeployment. - */ - scaleSettings?: OnlineScaleSettingsUnion; - /** Request settings for the deployment. */ - requestSettings?: OnlineRequestSettings; - /** The path to mount the model in custom container. */ - modelMountPath?: string; - /** If true, enables Application Insights logging. */ - appInsightsEnabled?: boolean; - /** Liveness probe monitors the health of the container regularly. */ - livenessProbe?: ProbeSettings; - /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ - readinessProbe?: ProbeSettings; - /** - * Provisioning state for the endpoint deployment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: DeploymentProvisioningState; - /** Compute instance type. */ - 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; +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; } -/** Account key datastore credentials configuration. */ -export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "AccountKey"; - /** [Required] Storage account secrets. */ - secrets: AccountKeyDatastoreSecrets; +export interface EndpointDeploymentModel { + /** Model format */ + format?: string; + /** Model name. */ + name?: string; + /** Optional. Deployment model source ARM resource ID. */ + source?: string; + /** Model version. */ + version?: string; } -/** Certificate datastore credentials configuration. */ -export interface CertificateDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Certificate"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Thumbprint of the certificate used for authentication. */ - thumbprint: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; +export interface CognitiveServicesSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: string; } -/** Empty/none datastore credentials. */ -export interface NoneDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "None"; +export interface ServerlessEndpointContentSafety { + /** Specifies the status of content safety. */ + contentSafetyStatus: ContentSafetyStatus; } -/** SAS datastore credentials configuration. */ -export interface SasDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Sas"; - /** [Required] Storage container secrets. */ - secrets: SasDatastoreSecrets; -} - -/** Service Principal datastore credentials configuration. */ -export interface ServicePrincipalDatastoreCredentials - extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "ServicePrincipal"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** [Required] Service principal secrets. */ - secrets: ServicePrincipalDatastoreSecrets; -} - -/** Datastore account key secrets. */ -export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey"; - /** Storage account key. */ - key?: string; +/** Custom Keys credential object */ +export interface CustomKeys { + /** Dictionary of */ + keys?: { [propertyName: string]: string }; } -/** Datastore certificate secrets. */ -export interface CertificateDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Certificate"; - /** Service principal certificate. */ - certificate?: string; +export interface WorkspaceConnectionManagedIdentity { + clientId?: string; + resourceId?: string; } -/** Datastore SAS secrets. */ -export interface SasDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "Sas"; - /** Storage container SAS token. */ - sasToken?: string; +export interface ServerlessEndpointModelSettings { + modelId: string; } -/** Datastore Service Principal secrets. */ -export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { - /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "ServicePrincipal"; - /** Service principal secret. */ +/** + * 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; -} - -export interface RecurrenceTrigger extends TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence"; - /** [Required] The frequency to trigger schedule. */ - frequency: RecurrenceFrequency; - /** [Required] Specifies schedule interval in conjunction with frequency */ - interval: number; - /** The recurrence schedule. */ - schedule?: RecurrenceSchedule; -} - -export interface CronTrigger extends TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Cron"; + /** Required by GoogleAdWords connection category */ + developerToken?: string; + password?: string; /** - * [Required] Specifies cron expression of schedule. - * The expression should follow NCronTab format. + * Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho + * where user needs to get RefreshToken offline */ - expression: string; -} - -/** Webhook details specific for Azure DevOps */ -export interface AzureDevOpsWebhook extends Webhook { - /** Polymorphic discriminator, which specifies the different types this object can be */ - webhookType: "AzureDevOps"; -} - -/** All nodes means the service will be running on all of the nodes of the job */ -export interface AllNodes extends Nodes { - /** Polymorphic discriminator, which specifies the different types this object can be */ - nodesValueType: "All"; -} - -/** AML Token identity configuration. */ -export interface AmlToken extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "AMLToken"; -} - -/** Managed identity configuration. */ -export interface ManagedIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "Managed"; - /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ - clientId?: string; - /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ - objectId?: string; - /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ - resourceId?: string; + 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; } -/** User identity configuration. */ -export interface UserIdentity extends IdentityConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - identityType: "UserIdentity"; +export interface WorkspaceConnectionPersonalAccessToken { + pat?: string; } -export interface DefaultScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "Default"; +/** 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 TargetUtilizationScaleSettings extends OnlineScaleSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - scaleType: "TargetUtilization"; - /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ - pollingInterval?: string; - /** Target CPU usage for the autoscaler. */ - targetUtilizationPercentage?: number; - /** The minimum number of instances to always be present. */ - minInstances?: number; - /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ - maxInstances?: number; +export interface WorkspaceConnectionSharedAccessSignature { + sas?: string; } -export interface CreateMonitorAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateMonitor"; - /** [Required] Defines the monitor. */ - monitorDefinition: MonitorDefinition; +export interface ServerlessEndpointCapacityReservation { + capacityReservationGroupId: string; + endpointReservedCapacity?: number; } -export interface EndpointScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "InvokeBatchEndpoint"; +export interface ServerlessEndpointInferenceEndpoint { /** - * [Required] Defines Schedule action definition details. - * + * Dictionary of + * NOTE: This property will not be serialized. It can only be populated by the server. */ - endpointInvocationDefinition: Record; + readonly headers?: { [propertyName: string]: string }; + uri: string; } -export interface JobScheduleAction extends ScheduleActionBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - actionType: "CreateJob"; - /** [Required] Defines Schedule action definition details. */ - jobDefinition: JobBasePropertiesUnion; +export interface ServerlessOffer { + offerName: string; + publisher: string; } -export interface AllFeatures extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "AllFeatures"; +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; } -export interface FeatureSubset extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "FeatureSubset"; - /** [Required] The list of features to include. */ - features: string[]; +/** 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 TopNFeaturesByAttribution extends MonitoringFeatureFilterBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - filterType: "TopNByAttribution"; - /** The number of top features to include. */ - top?: number; +export interface WorkspaceConnectionUsernamePassword { + password?: string; + /** Optional, required by connections like SalesForce for extra security in addition to UsernamePassword */ + securityToken?: string; + username?: string; } -/** AML token compute identity definition. */ -export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeIdentityType: "AmlToken"; -} +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface RegistryPartialManagedServiceIdentity extends ManagedServiceIdentity {} -/** 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. */ +/** Machine Learning compute object wrapped into ARM resource envelope. */ +export interface ComputeResource extends Resource, ComputeResourceSchema { + /** The identity of the resource. */ identity?: ManagedServiceIdentity; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; } -export interface 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"; -} +/** 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 MLFlowModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "mlflow_model"; +/** 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 TritonModelJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "triton_model"; +/** The Private Endpoint Connection resource. */ +export interface PrivateEndpointConnection extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Same as workspace location. */ + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** The Private Endpoint resource. */ + privateEndpoint?: WorkspacePrivateEndpointResource; + /** The connection state. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** The current provisioning state. */ + provisioningState?: PrivateEndpointConnectionProvisioningState; } -export interface UriFileJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_file"; +/** An object that represents a machine learning workspace. */ +export interface Workspace extends Resource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + kind?: string; + location?: string; + /** Optional. This field is required to be implemented by the RP because AML is supporting more than one tier */ + sku?: Sku; + /** Dictionary of */ + tags?: { [propertyName: string]: string }; + /** + * The URI of agents endpoint associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly agentsEndpointUri?: string; + /** The flag to indicate whether to allow public access when behind VNet. */ + allowPublicAccessWhenBehindVnet?: boolean; + /** The flag to indicate whether we will do role assignment for the workspace MSI on resource group level. */ + allowRoleAssignmentOnRG?: boolean; + /** ARM id of the application insights associated with this workspace. */ + applicationInsights?: string; + associatedWorkspaces?: string[]; + containerRegistries?: string[]; + /** ARM id of the container registry associated with this workspace. */ + containerRegistry?: string; + /** The description of this workspace. */ + description?: string; + /** Url for the discovery service to identify regional endpoints for machine learning experimentation services */ + discoveryUrl?: string; + enableDataIsolation?: boolean; + enableServiceSideCMKEncryption?: boolean; + /** Flag to tell if simplified CMK should be enabled for this workspace. */ + enableSimplifiedCmk?: boolean; + /** Flag to tell if SoftwareBillOfMaterials should be enabled for this workspace. */ + enableSoftwareBillOfMaterials?: boolean; + encryption?: EncryptionProperty; + existingWorkspaces?: string[]; + /** Settings for feature store type workspace. */ + featureStoreSettings?: FeatureStoreSettings; + /** The friendly name for this workspace. This name in mutable */ + friendlyName?: string; + /** The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service */ + hbiWorkspace?: boolean; + hubResourceId?: string; + /** The compute name for image build */ + imageBuildCompute?: string; + /** The list of IPv4 addresses that are allowed to access the workspace. */ + ipAllowlist?: string[]; + /** ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created */ + keyVault?: string; + keyVaults?: string[]; + /** Managed Network settings for a machine learning workspace. */ + managedNetwork?: ManagedNetworkSettings; + /** + * The URI associated with this workspace that machine learning flow must point at to set up tracking. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly mlFlowTrackingUri?: string; + /** A set of rules governing the network accessibility of the workspace. */ + networkAcls?: NetworkAcls; + /** + * The notebook info of Azure ML workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly notebookInfo?: NotebookResourceInfo; + /** The user assigned identity resource id that represents the workspace identity. */ + primaryUserAssignedIdentity?: string; + /** + * The list of private endpoint connections in the workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * Count of private connections in the workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateLinkCount?: number; + /** 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 name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serviceProvisionedResourceGroup?: string; + /** The list of shared private link resources in this workspace. */ + sharedPrivateLinkResources?: SharedPrivateLinkResource[]; + /** Retention time in days after workspace get soft deleted. */ + softDeleteRetentionInDays?: number; + /** ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created */ + storageAccount?: string; + storageAccounts?: string[]; + /** + * If the storage associated with the workspace has hierarchical namespace(HNS) enabled. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly storageHnsEnabled?: boolean; + /** The auth mode used for accessing the system datastores of the workspace. */ + systemDatastoresAuthMode?: SystemDatastoresAuthMode; + /** + * The tenant id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ + v1LegacyMode?: boolean; + /** WorkspaceHub's configuration object. */ + workspaceHubConfig?: WorkspaceHubConfig; + /** + * The immutable id associated with this workspace. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly workspaceId?: string; } -export interface UriFolderJobInput extends AssetJobInput, JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "uri_folder"; +export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { + properties: WorkspaceConnectionPropertiesV2Union; } -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "custom_model"; +export interface EndpointDeploymentResourcePropertiesBasicResource extends Resource { + properties: EndpointDeploymentResourcePropertiesUnion; } -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mlflow_model"; +export interface RaiBlocklistPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist properties. */ + properties: RaiBlocklistProperties; } -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "mltable"; +export interface RaiBlocklistItemPropertiesBasicResource extends Resource { + /** RAI Custom Blocklist Item properties. */ + properties: RaiBlocklistItemProperties; } -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "triton_model"; +/** Azure OpenAI Content Filters resource. */ +export interface RaiPolicyPropertiesBasicResource extends Resource { + /** Azure OpenAI Content Filters properties. */ + properties: RaiPolicyProperties; } -export interface UriFileJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_file"; +export interface EndpointResourcePropertiesBasicResource extends Resource { + properties: EndpointResourcePropertiesUnion; } -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: "uri_folder"; +export interface OutboundRuleBasicResource extends Resource { + /** Outbound Rule for the managed network of a machine learning workspace. */ + properties: OutboundRuleUnion; } -/** Forecast horizon determined automatically by system. */ -export interface AutoForecastHorizon extends ForecastHorizon { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; +/** 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[]; } -/** The desired maximum forecast horizon in units of time-series frequency. */ -export interface CustomForecastHorizon extends ForecastHorizon { +export interface ManagedNetworkSettingsBasicResource extends Resource { + /** Managed Network settings for a machine learning workspace. */ + properties?: ManagedNetworkSettings; +} + +export interface ManagedNetworkSettingsPropertiesBasicResource extends Resource { + /** The properties of the managed network settings of a machine learning workspace. */ + properties?: ManagedNetworkSettingsProperties; +} + +/** A Machine Learning compute based on AKS. */ +export interface Aks extends Compute, AKSSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Forecast horizon value. */ - value: number; + computeType: "AKS"; } -/** Classification task in AutoML Table vertical. */ -export interface Classification extends TableVertical, AutoMLVertical { +/** A Machine Learning compute based on Kubernetes Compute. */ +export interface Kubernetes extends Compute, KubernetesSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - 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; + computeType: "Kubernetes"; } -/** Forecasting task in AutoML Table vertical. */ -export interface Forecasting extends TableVertical, AutoMLVertical { +/** An Azure Machine Learning compute. */ +export interface AmlCompute extends Compute, AmlComputeSchema { /** 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; + computeType: "AmlCompute"; } -/** - * Image Classification. Multi-class image classification is used when an image is classified with only a single label - * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. - */ -export interface ImageClassification - extends ImageClassificationBase, - AutoMLVertical { +/** An Azure Machine Learning compute instance. */ +export interface ComputeInstance extends Compute, ComputeInstanceSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassification"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationPrimaryMetrics; + computeType: "ComputeInstance"; } -/** - * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels - * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. - */ -export interface ImageClassificationMultilabel - extends ImageClassificationBase, - AutoMLVertical { +/** A Machine Learning compute based on Azure Virtual Machines. */ +export interface VirtualMachine extends Compute, VirtualMachineSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageClassificationMultilabel"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ClassificationMultilabelPrimaryMetrics; + computeType: "VirtualMachine"; } -/** - * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, - * drawing a polygon around each object in the image. - */ -export interface ImageInstanceSegmentation - extends ImageObjectDetectionBase, - AutoMLVertical { +/** A HDInsight compute. */ +export interface HDInsight extends Compute, HDInsightSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageInstanceSegmentation"; - /** Primary metric to optimize for this task. */ - primaryMetric?: InstanceSegmentationPrimaryMetrics; + computeType: "HDInsight"; } -/** - * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a - * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. - */ -export interface ImageObjectDetection - extends ImageObjectDetectionBase, - AutoMLVertical { +/** A DataFactory compute. */ +export interface DataFactory extends Compute { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "ImageObjectDetection"; - /** Primary metric to optimize for this task. */ - primaryMetric?: ObjectDetectionPrimaryMetrics; + computeType: "DataFactory"; } -/** Regression task in AutoML Table vertical. */ -export interface Regression extends TableVertical, AutoMLVertical { +/** A DataFactory compute. */ +export interface Databricks extends Compute, DatabricksSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "Regression"; - /** Primary metric for regression task. */ - primaryMetric?: RegressionPrimaryMetrics; - /** Inputs for training phase for an AutoML Job. */ - trainingSettings?: RegressionTrainingSettings; + computeType: "Databricks"; } -/** - * Text Classification task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassification extends NlpVertical, AutoMLVertical { +/** A DataLakeAnalytics compute. */ +export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassification"; - /** Primary metric for Text-Classification task. */ - primaryMetric?: ClassificationPrimaryMetrics; + computeType: "DataLakeAnalytics"; } -/** - * Text Classification Multilabel task in AutoML NLP vertical. - * NLP - Natural Language Processing. - */ -export interface TextClassificationMultilabel - extends NlpVertical, - AutoMLVertical { +/** A SynapseSpark compute. */ +export interface SynapseSpark extends Compute { /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextClassificationMultilabel"; - /** - * Primary metric for Text-Classification-Multilabel task. - * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; + computeType: "SynapseSpark"; + properties?: SynapseSparkProperties; } -/** - * Text-NER task in AutoML NLP vertical. - * NER - Named Entity Recognition. - * NLP - Natural Language Processing. - */ -export interface TextNer extends NlpVertical, AutoMLVertical { - /** Polymorphic discriminator, which specifies the different types this object can be */ - taskType: "TextNER"; - /** - * Primary metric for Text-NER task. - * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly primaryMetric?: ClassificationPrimaryMetrics; -} - -/** Literal input type. */ -export interface LiteralJobInput extends JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "literal"; - /** [Required] Literal value for the input. */ - value: string; -} - -/** N-Cross validations determined automatically. */ -export interface AutoNCrossValidations extends NCrossValidations { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface AksComputeSecrets extends ComputeSecrets, AksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "AKS"; } -/** N-Cross validations are specified by user. */ -export interface CustomNCrossValidations extends NCrossValidations { +/** Secrets related to a Machine Learning compute based on AKS. */ +export interface VirtualMachineSecrets extends ComputeSecrets, VirtualMachineSecretsSchema { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] N-Cross validations value. */ - value: number; + computeType: "VirtualMachine"; } -export interface AutoSeasonality extends Seasonality { +/** Secrets related to a Machine Learning compute based on Databricks. */ +export interface DatabricksComputeSecrets + extends ComputeSecrets, + DatabricksComputeSecretsProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; + computeType: "Databricks"; } -export interface CustomSeasonality extends Seasonality { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Seasonality value. */ - value: number; +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; } -export interface AutoTargetLags extends TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; +export interface AssetBase extends ResourceBase { + /** If the name version are system generated (anonymous registration). */ + isAnonymous?: boolean; + /** Is the asset archived? */ + isArchived?: boolean; } -export interface CustomTargetLags extends TargetLags { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] Set target lags values. */ - values: number[]; +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 Thread storage connections. */ + threadStorageConnections?: string[]; + /** List of VectorStore connections. */ + vectorStoreConnections?: string[]; } -/** Target lags rolling window determined automatically. */ -export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Auto"; +/** Base definition for datastore contents configuration. */ +export interface DatastoreProperties extends ResourceBase { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; + /** [Required] Storage type backing the datastore. */ + datastoreType: DatastoreType; + /** + * Readonly property to indicate if datastore is the workspace default datastore + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDefault?: boolean; } -export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { - /** Polymorphic discriminator, which specifies the different types this object can be */ - mode: "Custom"; - /** [Required] TargetRollingWindowSize value. */ - value: number; +/** DTO object representing feature */ +export interface FeatureProperties extends ResourceBase { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies name */ + featureName?: string; } -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore - extends AzureDatastore, - DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureBlob"; - /** Storage account name. */ - accountName?: string; - /** Storage account container name. */ - containerName?: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +/** Base definition for a job. */ +export interface JobBaseProperties extends ResourceBase { + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; + /** Display name of job. */ + displayName?: string; + /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ + experimentName?: string; + /** + * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + * Defaults to AmlToken if null. + */ + identity?: IdentityConfigurationUnion; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; + /** Notification setting for the job */ + notificationSetting?: NotificationSetting; + /** Parent job name. */ + parentJobName?: string; + /** + * 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; } -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore - extends AzureDatastore, - DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen1"; - /** [Required] Azure Data Lake store name. */ - storeName: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +/** Base definition of a schedule */ +export interface ScheduleProperties extends ResourceBase { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; + /** Display name of schedule. */ + displayName?: string; + /** Is the schedule enabled? */ + isEnabled?: boolean; + /** + * Provisioning state for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ScheduleProvisioningStatus; + /** [Required] Specifies the trigger details */ + trigger: TriggerBaseUnion; } -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore - extends AzureDatastore, - DatastoreProperties { +export interface SASCredentialDto extends PendingUploadCredentialDto { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen2"; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -/** Azure File datastore configuration. */ -export interface AzureFileDatastore - extends AzureDatastore, - DatastoreProperties { +/** Access credential with no credentials */ +export interface AnonymousAccessCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureFile"; - /** [Required] Storage account name. */ - accountName: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + credentialType: "NoCredentials"; } -/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ -export interface BanditPolicy extends EarlyTerminationPolicy { +/** Credential for docker with username and password */ +export interface DockerCredential extends DataReferenceCredential { /** 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; + credentialType: "DockerCredentials"; + /** DockerCredential user password */ + password?: string; + /** DockerCredential user name */ + userName?: string; } -/** Defines an early termination policy based on running averages of the primary metric of all runs */ -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { +/** Credential for user managed identity */ +export interface ManagedIdentityCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "MedianStopping"; + credentialType: "ManagedIdentity"; + /** ManagedIdentityCredential identity type */ + managedIdentityType?: string; + /** ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityClientId?: string; + /** PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityPrincipalId?: string; + /** Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityResourceId?: string; + /** TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null. */ + userManagedIdentityTenantId?: string; } -/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ -export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { +/** Access with full SAS uri */ +export interface SASCredential extends DataReferenceCredential { /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "TruncationSelection"; - /** The percentage of runs to cancel at each evaluation interval. */ - truncationPercentage?: number; + credentialType: "SAS"; + /** Full SAS Uri, including the storage, container/blob path and SAS token */ + sasUri?: string; } -/** Defines a Sampling Algorithm that generates values based on previous values */ -export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian"; +/** Batch endpoint configuration. */ +export interface BatchEndpointProperties extends EndpointPropertiesBase { + /** Default values for Batch Endpoint */ + defaults?: BatchEndpointDefaults; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; } -/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Grid"; +/** Online endpoint configuration */ +export interface OnlineEndpointProperties extends EndpointPropertiesBase { + /** + * ARM resource ID of the compute if it exists. + * optional + */ + compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; + /** + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: EndpointProvisioningState; + /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ + publicNetworkAccess?: PublicNetworkAccessType; + /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ + traffic?: { [propertyName: string]: number }; } -/** Defines a Sampling Algorithm that generates values randomly */ -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { - /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Random"; - /** An optional integer to use as the seed for random number generation */ - seed?: number; - /** The specific type of random algorithm */ - rule?: RandomSamplingAlgorithmRule; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; } -export interface CategoricalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data drift metric to calculate. */ - metric: CategoricalDataDriftMetric; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSkuAndIdentity + extends PartialMinimalTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -export interface NumericalDataDriftMetricThreshold - extends DataDriftMetricThresholdBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data drift metric to calculate. */ - metric: NumericalDataDriftMetric; +/** Strictly used in update requests. */ +export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; } -export interface CategoricalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Properties for a Batch Pipeline Component Deployment. */ +export interface BatchPipelineComponentDeploymentConfiguration + extends BatchDeploymentConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical data quality metric to calculate. */ - metric: CategoricalDataQualityMetric; + deploymentConfigurationType: "PipelineComponent"; + /** The ARM id of the component to be run. */ + componentId?: IdAssetReference; + /** The description which will be applied to the job. */ + description?: string; + /** Run-time settings for the pipeline job. */ + settings?: { [propertyName: string]: string | null }; + /** The tags which will be applied to the job. */ + tags?: { [propertyName: string]: string | null }; } -export interface NumericalDataQualityMetricThreshold - extends DataQualityMetricThresholdBase { +/** Reference to an asset via its ARM resource ID. */ +export interface IdAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Numerical"; - /** [Required] The numerical data quality metric to calculate. */ - metric: NumericalDataQualityMetric; + referenceType: "Id"; + /** [Required] ARM resource ID of the asset. */ + assetId: string; } -export interface CategoricalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { +/** Reference to an asset via its path in a datastore. */ +export interface DataPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "Categorical"; - /** [Required] The categorical prediction drift metric to calculate. */ - metric: CategoricalPredictionDriftMetric; + referenceType: "DataPath"; + /** ARM resource ID of the datastore where the asset is located. */ + datastoreId?: string; + /** The path of the file/directory in the datastore. */ + path?: string; } -export interface NumericalPredictionDriftMetricThreshold - extends PredictionDriftMetricThresholdBase { +/** 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 */ - dataType: "Numerical"; - /** [Required] The numerical prediction drift metric to calculate. */ - metric: NumericalPredictionDriftMetric; + referenceType: "OutputPath"; + /** ARM resource ID of the job. */ + jobId?: string; + /** The path of the file/directory in the job output. */ + path?: string; } -/** Classification Training related configuration. */ -export interface ClassificationTrainingSettings extends TrainingSettings { - /** Allowed models for classification task. */ - allowedTrainingAlgorithms?: ClassificationModels[]; - /** Blocked models for classification task. */ - blockedTrainingAlgorithms?: ClassificationModels[]; -} +export interface DeploymentResourceConfiguration extends ResourceConfiguration {} -/** Forecasting Training related configuration. */ -export interface ForecastingTrainingSettings extends TrainingSettings { - /** Allowed models for forecasting task. */ - allowedTrainingAlgorithms?: ForecastingModels[]; - /** Blocked models for forecasting task. */ - blockedTrainingAlgorithms?: ForecastingModels[]; +export interface JobResourceConfiguration extends ResourceConfiguration { + /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ + dockerArgs?: string; + /** Extra arguments to pass to the Docker run command, as a collection. 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. */ + dockerArgsList?: 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; } -/** Regression Training related configuration. */ -export interface RegressionTrainingSettings extends TrainingSettings { - /** Allowed models for regression task. */ - allowedTrainingAlgorithms?: RegressionModels[]; - /** Blocked models for regression task. */ - blockedTrainingAlgorithms?: RegressionModels[]; +/** Batch inference settings per deployment. */ +export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { + /** Compute target for batch inference operation. */ + compute?: string; + /** Properties relevant to different deployment types. */ + deploymentConfiguration?: BatchDeploymentConfigurationUnion; + /** + * Error threshold, if the error count for the entire input goes above this value, + * the batch inference will be aborted. Range is [-1, int.MaxValue]. + * For FileDataset, this value is the count of file failures. + * For TabularDataset, this value is the count of record failures. + * If set to -1 (the lower bound), all failures during batch inference will be ignored. + */ + errorThreshold?: number; + /** Logging level for batch inference operation. */ + loggingLevel?: BatchLoggingLevel; + /** Indicates maximum number of parallelism per instance. */ + maxConcurrencyPerInstance?: number; + /** + * Size of the mini-batch passed to each batch invocation. + * For FileDataset, this is the number of files per mini-batch. + * For TabularDataset, this is the size of the records in bytes, per mini-batch. + */ + miniBatchSize?: number; + /** Reference to the model asset for the endpoint deployment. */ + model?: AssetReferenceBaseUnion; + /** Indicates how the output will be organized. */ + outputAction?: BatchOutputAction; + /** Customized output file name for append_row output action. */ + outputFileName?: string; + /** + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: DeploymentProvisioningState; + /** + * Indicates compute configuration for the job. + * If not provided, will default to the defaults defined in ResourceConfiguration. + */ + resources?: DeploymentResourceConfiguration; + /** + * Retry Settings for the batch inference operation. + * If not provided, will default to the defaults defined in BatchRetrySettings. + */ + retrySettings?: BatchRetrySettings; } -/** Featurization Configuration. */ -export interface TableVerticalFeaturizationSettings - extends FeaturizationSettings { +export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { + /** If true, enables Application Insights logging. */ + appInsightsEnabled?: boolean; + /** The mdc configuration, we disable mdc when it's null. */ + dataCollector?: DataCollector; + /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; + /** [Required] The compute type of the endpoint. */ + endpointComputeType: EndpointComputeType; + /** Compute instance type. Default: Standard_F4s_v2. */ + instanceType?: string; + /** Liveness probe monitors the health of the container regularly. */ + livenessProbe?: ProbeSettings; + /** The URI path to the model. */ + model?: string; + /** The path to mount the model in custom container. */ + modelMountPath?: string; /** - * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. - * If 'Off' is selected then no featurization is done. - * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + * Provisioning state for the endpoint deployment. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - mode?: FeaturizationMode; - /** These transformers shall not be used in featurization. */ - blockedTransformers?: BlockedTransformers[]; - /** Dictionary of column name and its type (int, float, string, datetime etc). */ - columnNameAndTypes?: { [propertyName: string]: string | null }; - /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ - transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; - /** Determines whether to use Dnn based featurizers for data featurization. */ - enableDnnFeaturization?: boolean; + readonly provisioningState?: DeploymentProvisioningState; + /** Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe. */ + readinessProbe?: ProbeSettings; + /** Request settings for the deployment. */ + requestSettings?: OnlineRequestSettings; + /** + * Scale settings for the deployment. + * If it is null or not provided, + * it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment + * and to DefaultScaleSettings for ManagedOnlineDeployment. + */ + scaleSettings?: OnlineScaleSettingsUnion; + /** Startup probe verify whether an application within a container has started successfully. */ + startupProbe?: ProbeSettings; } -export interface NlpVerticalFeaturizationSettings - extends FeaturizationSettings {} - -/** MPI distribution configuration. */ -export interface Mpi extends DistributionConfiguration { +/** Account key datastore credentials configuration. */ +export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "Mpi"; - /** Number of processes per MPI node. */ - processCountPerInstance?: number; + credentialsType: "AccountKey"; + /** [Required] Storage account secrets. */ + secrets: AccountKeyDatastoreSecrets; } -/** PyTorch distribution configuration. */ -export interface PyTorch extends DistributionConfiguration { +/** Certificate datastore credentials configuration. */ +export interface CertificateDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - distributionType: "PyTorch"; - /** Number of processes per node. */ - processCountPerInstance?: number; + credentialsType: "Certificate"; + /** Authority URL used for authentication. */ + authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: CertificateDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; + /** [Required] Thumbprint of the certificate used for authentication. */ + thumbprint: string; } -/** TensorFlow distribution configuration. */ -export interface TensorFlow extends DistributionConfiguration { +/** Empty/none datastore credentials. */ +export interface NoneDatastoreCredentials extends DatastoreCredentials { /** 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; + credentialsType: "None"; } -/** Command Job limit class. */ -export interface CommandJobLimits extends JobLimits { +/** SAS datastore credentials configuration. */ +export interface SasDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Command"; + credentialsType: "Sas"; + /** [Required] Storage container secrets. */ + secrets: SasDatastoreSecrets; } -/** Sweep Job limit class. */ -export interface SweepJobLimits extends JobLimits { +/** Service Principal datastore credentials configuration. */ +export interface ServicePrincipalDatastoreCredentials extends DatastoreCredentials { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobLimitsType: "Sweep"; - /** Sweep Job max total trials. */ - maxTotalTrials?: number; - /** Sweep Job max concurrent trials. */ - maxConcurrentTrials?: number; - /** Sweep Job Trial timeout value. */ - trialTimeout?: string; -} - -export interface CustomMonitoringSignal extends MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "Custom"; - /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ - inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; - /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** [Required] Reference to the component asset used to calculate the custom metrics. */ - componentId: string; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: CustomMetricThreshold[]; -} - -export interface DataDriftMonitoringSignal extends MonitoringSignalBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "DataDrift"; - /** The feature filter which identifies which feature to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + credentialsType: "ServicePrincipal"; + /** Authority URL used for authentication. */ + authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: ServicePrincipalDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; } -export interface DataQualityMonitoringSignal extends MonitoringSignalBase { +/** Datastore account key secrets. */ +export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "DataQuality"; - /** The features to calculate drift over. */ - features?: MonitoringFeatureFilterBaseUnion; - /** The settings for computing feature importance. */ - featureImportanceSettings?: FeatureImportanceSettings; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: DataQualityMetricThresholdBaseUnion[]; - /** [Required] The data produced by the production service which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + secretsType: "AccountKey"; + /** Storage account key. */ + key?: string; } -export interface FeatureAttributionDriftMonitoringSignal - extends MonitoringSignalBase { +/** Datastore certificate secrets. */ +export interface CertificateDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "FeatureAttributionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThreshold: FeatureAttributionMetricThreshold; - /** [Required] The settings for computing feature importance. */ - featureImportanceSettings: FeatureImportanceSettings; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion[]; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + secretsType: "Certificate"; + /** Service principal certificate. */ + certificate?: string; } -export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { +/** Datastore SAS secrets. */ +export interface SasDatastoreSecrets extends DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - signalType: "PredictionDrift"; - /** [Required] A list of metrics to calculate and their associated thresholds. */ - metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; - /** [Required] The data which drift will be calculated for. */ - productionData: MonitoringInputDataBaseUnion; - /** [Required] The data to calculate drift against. */ - referenceData: MonitoringInputDataBaseUnion; - /** A dictionary that maps feature names to their respective data types. */ - featureDataTypeOverride?: { - [propertyName: string]: MonitoringFeatureDataType; - }; + secretsType: "Sas"; + /** Storage container SAS token. */ + sasToken?: string; } -/** Monitor serverless spark compute definition. */ -export interface MonitorServerlessSparkCompute - extends MonitorComputeConfigurationBase { +/** Datastore Service Principal secrets. */ +export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { /** 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; + secretsType: "ServicePrincipal"; + /** Service principal secret. */ + clientSecret?: string; } -/** Fixed input data definition. */ -export interface FixedInputData extends MonitoringInputDataBase { +/** Webhook details specific for Azure DevOps */ +export interface AzureDevOpsWebhook extends Webhook { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Fixed"; + webhookType: "AzureDevOps"; } -/** Rolling input data definition. */ -export interface RollingInputData extends MonitoringInputDataBase { +export interface RecurrenceTrigger extends TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Rolling"; - /** [Required] The time offset between the end of the data window and the monitor's current run time. */ - windowOffset: string; - /** [Required] The size of the rolling data window. */ - windowSize: string; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; + triggerType: "Recurrence"; + /** [Required] The frequency to trigger schedule. */ + frequency: RecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval: number; + /** The recurrence schedule. */ + schedule?: RecurrenceSchedule; } -/** Static input data definition. */ -export interface StaticInputData extends MonitoringInputDataBase { +export interface CronTrigger extends TriggerBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - inputDataType: "Static"; - /** [Required] The start date of the data window. */ - windowStart: Date; - /** [Required] The end date of the data window. */ - windowEnd: Date; - /** Reference to the component asset used to preprocess the data. */ - preprocessingComponentId?: string; -} - -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsClassification extends ImageModelSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: number; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: number; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: number; + triggerType: "Cron"; /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. */ - weightedLoss?: number; + expression: string; } -/** - * Settings used for training the model. - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelSettingsObjectDetection extends ImageModelSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: number; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: number; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: number; - /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - maxSize?: number; - /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - minSize?: number; - /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - modelSize?: ModelSize; +/** Inference pool configuration */ +export interface InferencePoolProperties extends PropertiesBase { /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. + * Provisioning state for the pool. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - multiScale?: boolean; - /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ - nmsIouThreshold?: number; + readonly provisioningState?: PoolProvisioningState; + /** Gets or sets ScaleUnitConfiguration for the inference pool. Used if PoolType=ScaleUnit. */ + scaleUnitConfiguration?: ScaleUnitConfiguration; +} + +/** InferenceEndpoint configuration */ +export interface InferenceEndpointProperties extends PropertiesBase { + /** [Required] Authentication mode for the endpoint. */ + authMode: AuthMode; /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. + * Endpoint URI for the inference endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - tileGridSize?: string; + readonly endpointUri?: string; + /** [Required] Group within the same pool with which this endpoint needs to be associated with. */ + groupName: string; /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. + * Provisioning state for the endpoint. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - tileOverlapRatio?: number; + 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; /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. + * Provisioning state for the inference group. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - tilePredictionsNmsThreshold?: number; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: number; - /** Metric computation method to use for validation metrics. */ - validationMetricType?: ValidationMetricType; + readonly provisioningState?: PoolProvisioningState; + /** Gets or sets Scale Unit size. */ + scaleUnitSize?: number; } -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsClassification - extends ImageModelDistributionSettings { - /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ - trainingCropSize?: string; - /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ - validationCropSize?: string; - /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ - validationResizeSize?: string; - /** - * Weighted loss. The accepted values are 0 for no weighted loss. - * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. - */ - weightedLoss?: string; -} - -/** - * Distribution expressions to sweep over values of model settings. - * - * Some examples are: - * ``` - * ModelName = "choice('seresnext', 'resnest50')"; - * LearningRate = "uniform(0.001, 0.01)"; - * LayersToFreeze = "choice(0, 2)"; - * ``` - * For more details on how to compose distribution expressions please check the documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters - * For more information on the available settings please visit the official documentation: - * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. - */ -export interface ImageModelDistributionSettingsObjectDetection - extends ImageModelDistributionSettings { - /** - * Maximum number of detections per image, for all classes. Must be a positive integer. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - boxDetectionsPerImage?: string; - /** - * During inference, only return proposals with a classification score greater than - * BoxScoreThreshold. Must be a float in the range[0, 1]. - */ - boxScoreThreshold?: string; - /** - * Image size for train and validation. Must be a positive integer. - * Note: The training run may get into CUDA OOM if the size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - imageSize?: string; - /** - * Maximum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - maxSize?: string; - /** - * Minimum size of the image to be rescaled before feeding it to the backbone. - * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - minSize?: string; - /** - * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. - * Note: training run may get into CUDA OOM if the model size is too big. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - modelSize?: string; - /** - * Enable multi-scale image by varying image size by +/- 50%. - * Note: training run may get into CUDA OOM if no sufficient GPU memory. - * Note: This settings is only supported for the 'yolov5' algorithm. - */ - multiScale?: string; - /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ - nmsIouThreshold?: string; - /** - * The grid size to use for tiling each image. Note: TileGridSize must not be - * None to enable small object detection logic. A string containing two integers in mxn format. - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileGridSize?: string; - /** - * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). - * Note: This settings is not supported for the 'yolov5' algorithm. - */ - tileOverlapRatio?: string; - /** - * The IOU threshold to use to perform NMS while merging predictions from tiles and image. - * Used in validation/ inference. Must be float in the range [0, 1]. - * Note: This settings is not supported for the 'yolov5' algorithm. - * NMS: Non-maximum suppression - */ - tilePredictionsNmsThreshold?: string; - /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ - validationIouThreshold?: string; - /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ - validationMetricType?: string; -} - -export interface ImageClassificationBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsClassification; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsClassification[]; +/** AML Token identity configuration. */ +export interface AmlToken extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "AMLToken"; } -export interface ImageObjectDetectionBase extends ImageVertical { - /** Settings used for training the model. */ - modelSettings?: ImageModelSettingsObjectDetection; - /** Search space for sampling different combinations of models and their hyperparameters. */ - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +/** Managed identity configuration. */ +export interface ManagedIdentity extends IdentityConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + identityType: "Managed"; + /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ + clientId?: string; + /** Specifies a user-assigned identity by object ID. For system-assigned, do not set this field. */ + objectId?: string; + /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ + resourceId?: string; } -export interface LakeHouseArtifact extends OneLakeArtifact { +/** User identity configuration. */ +export interface UserIdentity extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ - artifactType: "LakeHouse"; + identityType: "UserIdentity"; } -export interface SparkJobPythonEntry extends SparkJobEntry { +/** 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 */ - sparkJobEntryType: "SparkJobPythonEntry"; - /** [Required] Relative python file path for job entry point. */ - file: string; + nodesValueType: "All"; } -export interface SparkJobScalaEntry extends SparkJobEntry { +export interface DefaultScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ - sparkJobEntryType: "SparkJobScalaEntry"; - /** [Required] Scala class name used as entry point. */ - className: string; + scaleType: "Default"; } -/** Azure Resource Manager resource envelope. */ -export interface CodeContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeContainerProperties; +export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + scaleType: "TargetUtilization"; + /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ + maxInstances?: number; + /** The minimum number of instances to always be present. */ + minInstances?: number; + /** The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds. */ + pollingInterval?: string; + /** Target CPU usage for the autoscaler. */ + targetUtilizationPercentage?: number; } -/** Azure Resource Manager resource envelope. */ -export interface CodeVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: CodeVersionProperties; +export interface CreateMonitorAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateMonitor"; + /** [Required] Defines the monitor. */ + monitorDefinition: MonitorDefinition; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentContainerProperties; +export interface EndpointScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "InvokeBatchEndpoint"; + /** + * [Required] Defines Schedule action definition details. + * + */ + endpointInvocationDefinition: Record; } -/** Azure Resource Manager resource envelope. */ -export interface ComponentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ComponentVersionProperties; +export interface JobScheduleAction extends ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateJob"; + /** [Required] Defines Schedule action definition details. */ + jobDefinition: JobBasePropertiesUnion; } -/** Azure Resource Manager resource envelope. */ -export interface DataContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataContainerProperties; +/** The PE network resource that is linked to this PE connection. */ +export interface PrivateEndpointResource extends PrivateEndpoint { + /** The subnetId that the private endpoint is connected to. */ + subnetArmId?: string; } -/** Azure Resource Manager resource envelope. */ -export interface DataVersionBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DataVersionBasePropertiesUnion; +export interface ManagedNetworkSettingsEx extends ManagedNetworkSettings { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly changeableIsolationModes?: IsolationMode[]; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentContainerProperties; +/** FQDN Outbound Rule for the managed network of a machine learning workspace. */ +export interface FqdnOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FQDN"; + destination?: string; } -/** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: EnvironmentVersionProperties; +/** Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ +export interface PrivateEndpointOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrivateEndpoint"; + /** Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning workspace. */ + destination?: PrivateEndpointDestination; + fqdns?: string[]; } -/** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelContainerProperties; +/** Service Tag Outbound Rule for the managed network of a machine learning workspace. */ +export interface ServiceTagOutboundRule extends OutboundRule { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceTag"; + /** Service Tag destination for a Service Tag Outbound Rule for the managed network of a machine learning workspace. */ + destination?: ServiceTagDestination; } -/** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ModelVersionProperties; +/** This connection type covers the AAD auth for any applicable Azure service */ +export interface AADAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AAD"; } -/** Azure Resource Manager resource envelope. */ -export interface Datastore extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: DatastorePropertiesUnion; +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetContainerProperties; +/** This connection type covers the account key connection for Azure storage */ +export interface AccountKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccountKey"; + /** Account key object for workspace connection credential. */ + credentials?: WorkspaceConnectionAccountKey; } -/** Azure Resource Manager resource envelope. */ -export interface Feature extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeatureProperties; +/** + * This connection type covers the generic ApiKey auth connection categories, for examples: + * AzureOpenAI: + * Category:= AzureOpenAI + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {ApiBase} + * + * CognitiveService: + * Category:= CognitiveService + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= ServiceRegion={serviceRegion} + * + * CognitiveSearch: + * Category:= CognitiveSearch + * AuthType:= ApiKey (as type discriminator) + * Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey + * Target:= {Endpoint} + * + * Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields + */ +export interface ApiKeyAuthWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ApiKey"; + /** Api key object for workspace connection credential. */ + credentials?: WorkspaceConnectionApiKey; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturesetVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturesetVersionProperties; +/** + * Category:= CustomKeys + * AuthType:= CustomKeys (as type discriminator) + * Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys + * Target:= {any value} + * Use Metadata property bag for ApiVersion and other metadata fields + */ +export interface CustomKeysWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "CustomKeys"; + /** Custom Keys credential object */ + credentials?: CustomKeys; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityContainer extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityContainerProperties; +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ManagedIdentity"; + credentials?: WorkspaceConnectionManagedIdentity; } -/** Azure Resource Manager resource envelope. */ -export interface FeaturestoreEntityVersion extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: FeaturestoreEntityVersionProperties; +export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "None"; } -/** Azure Resource Manager resource envelope. */ -export interface JobBase extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: JobBasePropertiesUnion; +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; } -/** Azure Resource Manager resource envelope. */ -export interface MarketplaceSubscription extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: MarketplaceSubscriptionProperties; +export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "PAT"; + credentials?: WorkspaceConnectionPersonalAccessToken; } -/** Azure Resource Manager resource envelope. */ -export interface Schedule extends ProxyResource { - /** [Required] Additional attributes of the entity. */ - properties: ScheduleProperties; +export interface SASAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "SAS"; + credentials?: WorkspaceConnectionSharedAccessSignature; } -export interface BatchEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; } -export interface BatchDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: BatchDeploymentProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "UsernamePassword"; + credentials?: WorkspaceConnectionUsernamePassword; } -export interface OnlineEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface ContentSafetyEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.ContentSafety"; } -export interface OnlineDeployment extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: OnlineDeploymentPropertiesUnion; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface ManagedOnlineEndpointDeploymentResourceProperties + extends EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "managedOnlineEndpoint"; + /** Enum to determine endpoint compute type. */ + endpointComputeType?: EndpointComputeType; + model?: string; } -export interface ServerlessEndpoint extends TrackedResource { - /** [Required] Additional attributes of the entity. */ - properties: ServerlessEndpointProperties; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; +export interface OpenAIEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.OpenAI"; } -export interface Registry extends TrackedResource { - /** Managed service identity (system assigned and/or user assigned identities) */ - identity?: ManagedServiceIdentity; - /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ - kind?: string; - /** Sku details required for ARM contract for Autoscaling. */ - sku?: Sku; - /** Discovery URL for the Registry */ - discoveryUrl?: string; - /** IntellectualPropertyPublisher for the registry */ - intellectualPropertyPublisher?: string; - /** ResourceId of the managed RG if the registry has system created resources */ - managedResourceGroup?: ArmResourceId; - /** MLFlow Registry URI for the Registry */ - mlFlowRegistryUri?: string; - /** Private endpoint connections info used for pending connections in private link portal */ - registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; - /** - * Is the Registry accessible from the internet? - * Possible values: "Enabled" or "Disabled" - */ - publicNetworkAccess?: string; - /** Details of each region the registry is in */ - regionDetails?: RegistryRegionArmDetails[]; +export interface SpeechEndpointDeploymentResourceProperties + extends CognitiveServiceEndpointDeploymentResourceProperties, + EndpointDeploymentResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Azure.Speech"; } -/** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer { - /** - * Provisioning state for the code container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ContentSafetyEndpointResourceProperties extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.ContentSafety"; } -/** - * Component container definition. - * - */ -export interface ComponentContainerProperties extends AssetContainer { - /** - * Provisioning state for the component container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface ManagedOnlineEndpointResourceProperties extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "managedOnlineEndpoint"; + /** Enum to determine endpoint authentication mode. */ + authMode?: EndpointAuthMode; + compute?: string; + description?: string; + /** Dictionary of */ + mirrorTraffic?: { [propertyName: string]: number }; + scoringUri?: string; + /** Dictionary of */ + traffic?: { [propertyName: string]: number }; } -/** Container for data asset versions. */ -export interface DataContainerProperties extends AssetContainer { - /** [Required] Specifies the type of data. */ - dataType: DataType; +export interface OpenAIEndpointResourceProperties extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.OpenAI"; } -/** Container for environment specification versions. */ -export interface EnvironmentContainerProperties extends AssetContainer { - /** - * Provisioning state for the environment container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface 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 ModelContainerProperties extends AssetContainer { - /** - * Provisioning state for the model container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface SpeechEndpointResourceProperties extends EndpointResourceProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointType: "Azure.Speech"; } -/** DTO object representing feature set */ -export interface FeaturesetContainerProperties extends AssetContainer { - /** - * Provisioning state for the featureset container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface AllFeatures extends MonitoringFeatureFilterBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + filterType: "AllFeatures"; } -/** DTO object representing feature entity */ -export interface FeaturestoreEntityContainerProperties extends AssetContainer { - /** - * Provisioning state for the featurestore entity container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface 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[]; } -/** Code asset version details. */ -export interface CodeVersionProperties extends AssetBase { - /** Uri where code is located */ - codeUri?: string; - /** - * Provisioning state for the code version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface 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; } -/** Definition of a component version: defines resources that span component types. */ -export interface ComponentVersionProperties extends AssetBase { - /** - * Defines Component definition details. - * - */ - componentSpec?: Record; - /** - * Provisioning state for the component version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; -} - -/** Data version base definition */ -export interface DataVersionBaseProperties extends AssetBase { - /** [Required] Specifies the type of data. */ - dataType: DataType; - /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ - dataUri: string; +/** AML token compute identity definition. */ +export interface AmlTokenComputeIdentity extends MonitorComputeIdentityBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeIdentityType: "AmlToken"; } -/** Environment version details. */ -export interface EnvironmentVersionProperties extends AssetBase { - /** - * Environment type is either user managed or curated by the Azure ML service - * - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly environmentType?: EnvironmentType; - /** - * Name of the image that will be used for the environment. - * - */ - image?: string; - /** - * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. - * - */ - condaFile?: string; - /** Configuration settings for Docker build context. */ - build?: BuildContext; - /** The OS type of the environment. */ - osType?: OperatingSystemType; - /** Defines configuration specific to inference. */ - inferenceConfig?: InferenceContainerProperties; - /** Defines if image needs to be rebuilt based on base image changes. */ - autoRebuild?: AutoRebuildSetting; - /** - * Provisioning state for the environment version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; - /** Stage in the environment lifecycle assigned to this environment */ - stage?: string; +/** 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; } -/** Model asset version details. */ -export interface ModelVersionProperties extends AssetBase { - /** Mapping of model flavors to their properties. */ - flavors?: { [propertyName: string]: FlavorData | null }; - /** The storage format for this entity. Used for NCD. */ - modelType?: string; - /** The URI path to the model contents. */ - modelUri?: string; - /** Name of the training job which produced this model */ - jobName?: string; - /** - * Provisioning state for the model version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; - /** Stage in the model lifecycle assigned to this model */ - stage?: string; +export interface MLTableJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "mltable"; } -/** DTO object representing feature set version */ -export interface FeaturesetVersionProperties extends AssetBase { - /** Specifies the feature spec details */ - specification?: FeaturesetSpecification; - /** Specifies the materialization settings */ - materializationSettings?: MaterializationSettings; - /** Specifies the asset stage */ - stage?: string; - /** Specifies list of entities */ - entities?: string[]; - /** - * Provisioning state for the featureset version container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface CustomModelJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "custom_model"; } -/** DTO object representing feature entity version */ -export interface FeaturestoreEntityVersionProperties extends AssetBase { - /** Specifies index columns */ - indexColumns?: IndexColumn[]; - /** Specifies the asset stage */ - stage?: string; - /** - * Provisioning state for the featurestore entity version. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: AssetProvisioningState; +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "mlflow_model"; } -/** OneLake (Trident) datastore configuration. */ -export interface OneLakeDatastore extends DatastoreProperties { +export interface TritonModelJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "OneLake"; - /** [Required] OneLake artifact backing the datastore. */ - artifact: OneLakeArtifactUnion; - /** [Required] OneLake workspace name. */ - oneLakeWorkspaceName: string; - /** OneLake endpoint to use for the datastore. */ - endpoint?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + jobInputType: "triton_model"; } -/** - * AutoMLJob class. - * Use this class for executing AutoML tasks like Classification/Regression etc. - * See TaskType enum for all the tasks supported. - */ -export interface AutoMLJob extends JobBaseProperties { +export interface UriFileJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "AutoML"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** - * The ARM resource ID of the Environment specification for the job. - * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. - */ - environmentId?: string; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** [Required] This represents scenario which can be one of Tables/NLP/Image */ - taskDetails: AutoMLVerticalUnion; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobInputType: "uri_file"; } -/** Command job definition. */ -export interface CommandJob extends JobBaseProperties { +export interface UriFolderJobInput extends AssetJobInput, JobInput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Command"; - /** Compute Resource configuration for the job. */ - resources?: JobResourceConfiguration; - /** ARM resource ID of the code asset. */ - codeId?: string; - /** [Required] The command to execute on startup of the job. eg. "python train.py" */ - command: string; - /** [Required] The ARM resource ID of the Environment specification for the job. */ - environmentId: string; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ - distribution?: DistributionConfigurationUnion; - /** Command Job limit. */ - limits?: CommandJobLimits; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; - /** - * Input parameters. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly parameters?: Record; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobInputType: "uri_folder"; } -/** Pipeline Job definition: defines generic to MFE attributes. */ -export interface PipelineJob extends JobBaseProperties { +export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Pipeline"; - /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ - settings?: Record; - /** Jobs construct the Pipeline Job. */ - jobs?: { [propertyName: string]: Record }; - /** Inputs for the pipeline job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Outputs for the pipeline job */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** ARM resource ID of source job. */ - sourceJobId?: string; + jobOutputType: "custom_model"; } -/** Spark job definition. */ -export interface SparkJob extends JobBaseProperties { +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Spark"; - /** Compute Resource configuration for the job. */ - resources?: SparkResourceConfiguration; - /** Arguments for the job. */ - args?: string; - /** [Required] arm-id of the code asset. */ - codeId: string; - /** [Required] The entry to execute on startup of the job. */ - entry: SparkJobEntryUnion; - /** The ARM resource ID of the Environment specification for the job. */ - environmentId?: string; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Python files used in the job. */ - pyFiles?: string[]; - /** Jar files used in the job. */ - jars?: string[]; - /** Files used in the job. */ - files?: string[]; - /** Archive files used in the job. */ - archives?: string[]; - /** Spark configured properties. */ - conf?: { [propertyName: string]: string | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; - /** Environment variables included in the job. */ - environmentVariables?: { [propertyName: string]: string | null }; + jobOutputType: "mlflow_model"; } -/** Sweep job definition. */ -export interface SweepJob extends JobBaseProperties { +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - jobType: "Sweep"; - /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ - searchSpace: Record; - /** [Required] The hyperparameter sampling algorithm */ - samplingAlgorithm: SamplingAlgorithmUnion; - /** Sweep Job limit. */ - limits?: SweepJobLimits; - /** Early termination policies enable canceling poor-performing runs before they complete */ - earlyTermination?: EarlyTerminationPolicyUnion; - /** [Required] Optimization objective. */ - objective: Objective; - /** [Required] Trial component definition. */ - trial: TrialComponent; - /** Mapping of input data bindings used in the job. */ - inputs?: { [propertyName: string]: JobInputUnion | null }; - /** Mapping of output data bindings used in the job. */ - outputs?: { [propertyName: string]: JobOutputUnion | null }; - /** Queue settings for the job */ - queueSettings?: QueueSettings; + jobOutputType: "mltable"; } -/** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { +export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Kubernetes"; - /** The resource requirements for the container (cpu and memory). */ - containerResourceRequirements?: ContainerResourceRequirements; + jobOutputType: "triton_model"; } -/** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { +export interface UriFileJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Managed"; + jobOutputType: "uri_file"; } -/** MLTable data definition */ -export interface MLTableData extends DataVersionBaseProperties { +export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "mltable"; - /** Uris referenced in the MLTable definition (required for lineage) */ - referencedUris?: string[]; + jobOutputType: "uri_folder"; } -/** uri-file data version entity */ -export interface UriFileDataVersion extends DataVersionBaseProperties { +/** Forecast horizon determined automatically by system. */ +export interface AutoForecastHorizon extends ForecastHorizon { /** Polymorphic discriminator, which specifies the different types this object can be */ - dataType: "uri_file"; + mode: "Auto"; } -/** uri-folder data version entity */ -export interface UriFolderDataVersion extends DataVersionBaseProperties { +/** 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 */ - dataType: "uri_folder"; + mode: "Custom"; + /** [Required] Forecast horizon value. */ + value: number; } -/** Defines headers for Workspaces_createOrUpdate operation. */ -export interface WorkspacesCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Classification task in AutoML Table vertical. */ +export interface Classification extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Classification"; + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; + /** Primary metric for the task. */ + primaryMetric?: ClassificationPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ClassificationTrainingSettings; } -/** Defines headers for Workspaces_update operation. */ -export interface WorkspacesUpdateHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Forecasting task in AutoML Table vertical. */ +export interface Forecasting extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Forecasting"; + /** Forecasting task specific inputs. */ + forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ForecastingTrainingSettings; } -/** Defines headers for Workspaces_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; +/** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ +export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassification"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for 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; +/** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ +export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassificationMultilabel"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** Defines headers for Workspaces_prepareNotebook operation. */ -export interface WorkspacesPrepareNotebookHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ +export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageInstanceSegmentation"; + /** Primary metric to optimize for this task. */ + primaryMetric?: InstanceSegmentationPrimaryMetrics; } -/** Defines headers for Compute_createOrUpdate operation. */ -export interface ComputeCreateOrUpdateHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ +export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageObjectDetection"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ObjectDetectionPrimaryMetrics; } -/** Defines headers for Compute_delete operation. */ -export interface ComputeDeleteHeaders { - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; +/** Regression task in AutoML Table vertical. */ +export interface Regression extends TableVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "Regression"; + /** Primary metric for regression task. */ + primaryMetric?: RegressionPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: RegressionTrainingSettings; } -/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ -export interface ManagedNetworkSettingsRuleDeleteHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; +/** + * Text Classification task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassification extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassification"; + /** Primary metric for Text-Classification task. */ + primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for 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; +/** + * Text Classification Multilabel task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export interface TextClassificationMultilabel extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextClassificationMultilabel"; + /** + * Primary metric for Text-Classification-Multilabel task. + * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; } -/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** + * Text-NER task in AutoML NLP vertical. + * NER - Named Entity Recognition. + * NLP - Natural Language Processing. + */ +export interface TextNer extends NlpVertical, AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "TextNER"; + /** + * Primary metric for Text-NER task. + * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationPrimaryMetrics; } -/** Defines headers for 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; +/** Literal input type. */ +export interface LiteralJobInput extends JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: "literal"; + /** [Required] Literal value for the input. */ + value: string; } -/** Defines headers for 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; +/** N-Cross validations determined automatically. */ +export interface AutoNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for 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; +/** N-Cross validations are specified by user. */ +export interface CustomNCrossValidations extends NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] N-Cross validations value. */ + value: number; } -/** Defines headers for 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; +export interface AutoSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryComponentContainers_delete operation. */ -export interface RegistryComponentContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomSeasonality extends Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Seasonality value. */ + value: number; } -/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ -export interface RegistryComponentContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface AutoTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryComponentVersions_delete operation. */ -export interface RegistryComponentVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomTargetLags extends TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Set target lags values. */ + values: number[]; } -/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ -export interface RegistryComponentVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Target lags rolling window determined automatically. */ +export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; } -/** Defines headers for RegistryDataContainers_delete operation. */ -export interface RegistryDataContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] TargetRollingWindowSize value. */ + value: number; } -/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ -export interface RegistryDataContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Azure Blob datastore configuration. */ +export interface AzureBlobDatastore extends AzureDatastore, DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureBlob"; + /** Storage account name. */ + accountName?: string; + /** Storage account container name. */ + containerName?: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryDataVersions_delete operation. */ -export interface RegistryDataVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure Data Lake Gen1 datastore configuration. */ +export interface AzureDataLakeGen1Datastore extends AzureDatastore, DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureDataLakeGen1"; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; } -/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ -export interface RegistryDataVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Azure Data Lake Gen2 datastore configuration. */ +export interface AzureDataLakeGen2Datastore extends AzureDatastore, DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureDataLakeGen2"; + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryEnvironmentContainers_delete operation. */ -export interface RegistryEnvironmentContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Azure File datastore configuration. */ +export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "AzureFile"; + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } -/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ -export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface AzureOpenAiFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "AzureOpenAI"; + /** HyperParameters for fine tuning Azure Open AI model. */ + hyperParameters?: AzureOpenAiHyperParameters; } -/** Defines headers for RegistryEnvironmentVersions_delete operation. */ -export interface RegistryEnvironmentVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CustomModelFineTuning extends FineTuningVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + modelProvider: "Custom"; + /** HyperParameters for fine tuning custom model. */ + hyperParameters?: { [propertyName: string]: string | null }; } -/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ +export interface BanditPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "Bandit"; + /** Absolute distance allowed from the best performing run. */ + slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; } -/** Defines headers for RegistryModelContainers_delete operation. */ -export interface RegistryModelContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines an early termination policy based on running averages of the primary metric of all runs */ +export interface MedianStoppingPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "MedianStopping"; } -/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ -export interface RegistryModelContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ +export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "TruncationSelection"; + /** The percentage of runs to cancel at each evaluation interval. */ + truncationPercentage?: number; } -/** Defines headers for RegistryModelVersions_delete operation. */ -export interface RegistryModelVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values based on previous values */ +export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Bayesian"; } -/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ -export interface RegistryModelVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ +export interface GridSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Grid"; } -/** Defines headers for BatchEndpoints_delete operation. */ -export interface BatchEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Defines a Sampling Algorithm that generates values randomly */ +export interface RandomSamplingAlgorithm extends SamplingAlgorithm { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Random"; + /** The specific type of random algorithm */ + rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; } -/** Defines headers for BatchEndpoints_update operation. */ -export interface BatchEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CategoricalDataDriftMetricThreshold extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data drift metric to calculate. */ + metric: CategoricalDataDriftMetric; } -/** Defines headers for BatchEndpoints_createOrUpdate operation. */ -export interface BatchEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface NumericalDataDriftMetricThreshold extends DataDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data drift metric to calculate. */ + metric: NumericalDataDriftMetric; } -/** Defines headers for BatchDeployments_delete operation. */ -export interface BatchDeploymentsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface CategoricalDataQualityMetricThreshold extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical data quality metric to calculate. */ + metric: CategoricalDataQualityMetric; } -/** Defines headers for BatchDeployments_update operation. */ -export interface BatchDeploymentsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface NumericalDataQualityMetricThreshold extends DataQualityMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical data quality metric to calculate. */ + metric: NumericalDataQualityMetric; } -/** Defines headers for BatchDeployments_createOrUpdate operation. */ -export interface BatchDeploymentsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CategoricalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Categorical"; + /** [Required] The categorical prediction drift metric to calculate. */ + metric: CategoricalPredictionDriftMetric; } -/** Defines headers for CodeVersions_publish operation. */ -export interface CodeVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface NumericalPredictionDriftMetricThreshold + extends PredictionDriftMetricThresholdBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "Numerical"; + /** [Required] The numerical prediction drift metric to calculate. */ + metric: NumericalPredictionDriftMetric; } -/** Defines headers for ComponentVersions_publish operation. */ -export interface ComponentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Classification Training related configuration. */ +export interface ClassificationTrainingSettings extends TrainingSettings { + /** Allowed models for classification task. */ + allowedTrainingAlgorithms?: ClassificationModels[]; + /** Blocked models for classification task. */ + blockedTrainingAlgorithms?: ClassificationModels[]; } -/** Defines headers for DataVersions_publish operation. */ -export interface DataVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Forecasting Training related configuration. */ +export interface ForecastingTrainingSettings extends TrainingSettings { + /** Allowed models for forecasting task. */ + allowedTrainingAlgorithms?: ForecastingModels[]; + /** Blocked models for forecasting task. */ + blockedTrainingAlgorithms?: ForecastingModels[]; } -/** Defines headers for EnvironmentVersions_publish operation. */ -export interface EnvironmentVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Regression Training related configuration. */ +export interface RegressionTrainingSettings extends TrainingSettings { + /** Allowed models for regression task. */ + allowedTrainingAlgorithms?: RegressionModels[]; + /** Blocked models for regression task. */ + blockedTrainingAlgorithms?: RegressionModels[]; } -/** Defines headers for FeaturesetContainers_delete operation. */ -export interface FeaturesetContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Featurization Configuration. */ +export interface TableVerticalFeaturizationSettings extends FeaturizationSettings { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; + /** + * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. + * If 'Off' is selected then no featurization is done. + * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + */ + mode?: FeaturizationMode; + /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ + transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; } -/** Defines headers for FeaturesetContainers_createOrUpdate operation. */ -export interface FeaturesetContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} +export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings {} -/** Defines headers for FeaturesetVersions_delete operation. */ -export interface FeaturesetVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** MPI distribution configuration. */ +export interface Mpi extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "Mpi"; + /** Number of processes per MPI node. */ + processCountPerInstance?: number; } -/** Defines headers for FeaturesetVersions_createOrUpdate operation. */ -export interface FeaturesetVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** PyTorch distribution configuration. */ +export interface PyTorch extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "PyTorch"; + /** Number of processes per node. */ + processCountPerInstance?: number; } -/** Defines headers for FeaturesetVersions_backfill operation. */ -export interface FeaturesetVersionsBackfillHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** TensorFlow distribution configuration. */ +export interface TensorFlow extends DistributionConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + distributionType: "TensorFlow"; + /** Number of parameter server tasks. */ + parameterServerCount?: number; + /** Number of workers. If not specified, will default to the instance count. */ + workerCount?: number; } -/** Defines headers for FeaturestoreEntityContainers_delete operation. */ -export interface FeaturestoreEntityContainersDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Command Job limit class. */ +export interface CommandJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Command"; } -/** Defines headers for FeaturestoreEntityContainers_createOrUpdate operation. */ -export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +/** Sweep Job limit class. */ +export interface SweepJobLimits extends JobLimits { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobLimitsType: "Sweep"; + /** Sweep Job max concurrent trials. */ + maxConcurrentTrials?: number; + /** Sweep Job max total trials. */ + maxTotalTrials?: number; + /** Sweep Job Trial timeout value. */ + trialTimeout?: string; } -/** Defines headers for FeaturestoreEntityVersions_delete operation. */ -export interface FeaturestoreEntityVersionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Monitor serverless spark compute definition. */ +export interface MonitorServerlessSparkCompute extends MonitorComputeConfigurationBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ServerlessSpark"; + /** [Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. */ + computeIdentity: MonitorComputeIdentityBaseUnion; + /** [Required] The instance type running the Spark job. */ + instanceType: string; + /** [Required] The Spark runtime version. */ + runtimeVersion: string; } -/** Defines headers for FeaturestoreEntityVersions_createOrUpdate operation. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface CustomMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "Custom"; + /** [Required] Reference to the component asset used to calculate the custom metrics. */ + componentId: string; + /** Monitoring assets to take as input. Key is the component input port name, value is the data asset. */ + inputAssets?: { [propertyName: string]: MonitoringInputDataBaseUnion | null }; + /** Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: CustomMetricThreshold[]; } -/** Defines headers for Jobs_delete operation. */ -export interface JobsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface DataDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The feature filter which identifies which feature to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for Jobs_cancel operation. */ -export interface JobsCancelHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface DataQualityMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "DataQuality"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** The settings for computing feature importance. */ + featureImportanceSettings?: FeatureImportanceSettings; + /** The features to calculate drift over. */ + features?: MonitoringFeatureFilterBaseUnion; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: DataQualityMetricThresholdBaseUnion[]; + /** [Required] The data produced by the production service which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for MarketplaceSubscriptions_delete operation. */ -export interface MarketplaceSubscriptionsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +export interface FeatureAttributionDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "FeatureAttributionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] The settings for computing feature importance. */ + featureImportanceSettings: FeatureImportanceSettings; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThreshold: FeatureAttributionMetricThreshold; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion[]; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for MarketplaceSubscriptions_createOrUpdate operation. */ -export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; +export interface PredictionDriftMonitoringSignal extends MonitoringSignalBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + signalType: "PredictionDrift"; + /** A dictionary that maps feature names to their respective data types. */ + featureDataTypeOverride?: { + [propertyName: string]: MonitoringFeatureDataType; + }; + /** [Required] A list of metrics to calculate and their associated thresholds. */ + metricThresholds: PredictionDriftMetricThresholdBaseUnion[]; + /** [Required] The data which drift will be calculated for. */ + productionData: MonitoringInputDataBaseUnion; + /** [Required] The data to calculate drift against. */ + referenceData: MonitoringInputDataBaseUnion; } -/** Defines headers for ModelVersions_publish operation. */ -export interface ModelVersionsPublishHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_delete operation. */ -export interface OnlineEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_update operation. */ -export interface OnlineEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ -export interface OnlineEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ -export interface OnlineEndpointsRegenerateKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_delete operation. */ -export interface OnlineDeploymentsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_update operation. */ -export interface OnlineDeploymentsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for OnlineDeployments_createOrUpdate operation. */ -export interface OnlineDeploymentsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for Schedules_delete operation. */ -export interface SchedulesDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Schedules_createOrUpdate operation. */ -export interface SchedulesCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for ServerlessEndpoints_delete operation. */ -export interface ServerlessEndpointsDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for ServerlessEndpoints_update operation. */ -export interface ServerlessEndpointsUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for ServerlessEndpoints_createOrUpdate operation. */ -export interface ServerlessEndpointsCreateOrUpdateHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation status. */ - azureAsyncOperation?: string; -} - -/** Defines headers for ServerlessEndpoints_regenerateKeys operation. */ -export interface ServerlessEndpointsRegenerateKeysHeaders { - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; -} - -/** Defines headers for Registries_delete operation. */ -export interface RegistriesDeleteHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Fixed input data definition. */ +export interface FixedInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Fixed"; } -/** Defines headers for Registries_removeRegions operation. */ -export interface RegistriesRemoveRegionsHeaders { - /** Timeout for the client to use when polling the asynchronous operation. */ - xMsAsyncOperationTimeout?: string; - /** URI to poll for asynchronous operation result. */ - location?: string; - /** Duration the client should wait between requests, in seconds. */ - retryAfter?: number; +/** Rolling input data definition. */ +export interface RollingInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Rolling"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The time offset between the end of the data window and the monitor's current run time. */ + windowOffset: string; + /** [Required] The size of the rolling data window. */ + windowSize: string; } -/** Known values of {@link Origin} that the service accepts. */ -export enum KnownOrigin { - /** User */ - User = "user", - /** System */ - System = "system", - /** UserSystem */ - UserSystem = "user,system", +/** Static input data definition. */ +export interface StaticInputData extends MonitoringInputDataBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputDataType: "Static"; + /** Reference to the component asset used to preprocess the data. */ + preprocessingComponentId?: string; + /** [Required] The end date of the data window. */ + windowEnd: Date; + /** [Required] The start date of the data window. */ + windowStart: Date; } -/** - * Defines values for Origin. \ - * {@link KnownOrigin} can be used interchangeably with Origin, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **user** \ - * **system** \ - * **user,system** - */ -export type Origin = string; - -/** Known values of {@link ActionType} that the service accepts. */ -export enum KnownActionType { - /** Internal */ - Internal = "Internal", +export interface LabelGeneration extends DataGenerationVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataGenerationType: "LabelGeneration"; + /** Training data for fine tuning. */ + trainingData?: JobInputUnion; + /** Validation data for fine tuning. */ + validationData?: JobInputUnion; } /** - * Defines values for ActionType. \ - * {@link KnownActionType} can be used interchangeably with ActionType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Internal** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ActionType = string; - -/** Known values of {@link ProvisioningState} that the service accepts. */ -export enum KnownProvisioningState { - /** Unknown */ - Unknown = "Unknown", - /** Updating */ - Updating = "Updating", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +export interface ImageModelSettingsClassification extends ImageModelSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: number; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: number; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: number; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: number; } /** - * Defines values for 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** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type ProvisioningState = string; - -/** Known values of {@link EncryptionStatus} that the service accepts. */ -export enum KnownEncryptionStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", -} - -/** - * Defines values for EncryptionStatus. \ - * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** - */ -export type EncryptionStatus = string; - -/** Known values of {@link PublicNetworkAccess} that the service accepts. */ -export enum KnownPublicNetworkAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +export interface ImageModelSettingsObjectDetection extends ImageModelSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: number; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: number; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: number; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: number; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: number; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: ModelSize; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: boolean; + /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ + nmsIouThreshold?: number; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: number; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tilePredictionsNmsThreshold?: number; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: number; + /** Metric computation method to use for validation metrics. */ + validationMetricType?: ValidationMetricType; } /** - * Defines values for PublicNetworkAccess. \ - * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Enabled** \ - * **Disabled** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type PublicNetworkAccess = string; - -/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ - Pending = "Pending", - /** Approved */ - Approved = "Approved", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", - /** Timeout */ - Timeout = "Timeout", +export interface ImageModelDistributionSettingsClassification + extends ImageModelDistributionSettings { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: string; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: string; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: string; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: string; } /** - * Defines values for PrivateEndpointServiceConnectionStatus. \ - * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Pending** \ - * **Approved** \ - * **Rejected** \ - * **Disconnected** \ - * **Timeout** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * ``` + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * ``` + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. */ -export type PrivateEndpointServiceConnectionStatus = string; +export interface ImageModelDistributionSettingsObjectDetection + extends ImageModelDistributionSettings { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: string; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: string; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: string; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: string; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: string; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: string; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: string; + /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ + nmsIouThreshold?: string; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: string; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + * NMS: Non-maximum suppression + */ + tilePredictionsNmsThreshold?: string; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: string; + /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ + validationMetricType?: string; +} -/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ -export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Failed */ - Failed = "Failed", +export interface ImageClassificationBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsClassification; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsClassification[]; } -/** - * Defines values for PrivateEndpointConnectionProvisioningState. \ - * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Creating** \ - * **Deleting** \ - * **Failed** - */ -export type PrivateEndpointConnectionProvisioningState = string; +export interface ImageObjectDetectionBase extends ImageVertical { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsObjectDetection; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} -/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ -export enum KnownManagedServiceIdentityType { - /** None */ - None = "None", - /** SystemAssigned */ - SystemAssigned = "SystemAssigned", - /** UserAssigned */ - UserAssigned = "UserAssigned", - /** SystemAssignedUserAssigned */ - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +export interface LakeHouseArtifact extends OneLakeArtifact { + /** Polymorphic discriminator, which specifies the different types this object can be */ + artifactType: "LakeHouse"; } -/** - * Defines values for ManagedServiceIdentityType. \ - * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **SystemAssigned** \ - * **UserAssigned** \ - * **SystemAssigned,UserAssigned** - */ -export type ManagedServiceIdentityType = string; - -/** Known values of {@link CreatedByType} that the service accepts. */ -export enum KnownCreatedByType { - /** User */ - User = "User", - /** Application */ - Application = "Application", - /** ManagedIdentity */ - ManagedIdentity = "ManagedIdentity", - /** Key */ - Key = "Key", +export interface SparkJobPythonEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry"; + /** [Required] Relative python file path for job entry point. */ + file: string; } -/** - * Defines values for CreatedByType. \ - * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **User** \ - * **Application** \ - * **ManagedIdentity** \ - * **Key** - */ -export type CreatedByType = string; - -/** Known values of {@link IsolationMode} that the service accepts. */ -export enum KnownIsolationMode { - /** Disabled */ - Disabled = "Disabled", - /** AllowInternetOutbound */ - AllowInternetOutbound = "AllowInternetOutbound", - /** AllowOnlyApprovedOutbound */ - AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", +export interface SparkJobScalaEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobScalaEntry"; + /** [Required] Scala class name used as entry point. */ + className: string; } -/** - * Defines values for 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", +/** Azure Resource Manager resource envelope. */ +export interface CodeContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeContainerProperties; } -/** - * Defines values for RuleCategory. \ - * {@link KnownRuleCategory} can be used interchangeably with RuleCategory, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Required** \ - * **Recommended** \ - * **UserDefined** \ - * **Dependency** - */ -export type RuleCategory = string; +/** Azure Resource Manager resource envelope. */ +export interface CodeVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CodeVersionProperties; +} -/** Known values of {@link RuleStatus} that the service accepts. */ -export enum KnownRuleStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface ComponentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentContainerProperties; } -/** - * Defines values for RuleStatus. \ - * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type RuleStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface ComponentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ComponentVersionProperties; +} -/** Known values of {@link RuleType} that the service accepts. */ -export enum KnownRuleType { - /** Fqdn */ - Fqdn = "FQDN", - /** PrivateEndpoint */ - PrivateEndpoint = "PrivateEndpoint", - /** ServiceTag */ - ServiceTag = "ServiceTag", +/** Azure Resource Manager resource envelope. */ +export interface DataContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataContainerProperties; } -/** - * Defines values for RuleType. \ - * {@link KnownRuleType} can be used interchangeably with RuleType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **FQDN** \ - * **PrivateEndpoint** \ - * **ServiceTag** - */ -export type RuleType = string; +/** Azure Resource Manager resource envelope. */ +export interface DataVersionBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DataVersionBasePropertiesUnion; +} -/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ -export enum KnownManagedNetworkStatus { - /** Inactive */ - Inactive = "Inactive", - /** Active */ - Active = "Active", +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentContainerProperties; } -/** - * Defines values for ManagedNetworkStatus. \ - * {@link KnownManagedNetworkStatus} can be used interchangeably with ManagedNetworkStatus, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Inactive** \ - * **Active** - */ -export type ManagedNetworkStatus = string; +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentVersionProperties; +} -/** Known values of {@link DiagnoseResultLevel} that the service accepts. */ -export enum KnownDiagnoseResultLevel { - /** Warning */ - Warning = "Warning", - /** Error */ - Error = "Error", - /** Information */ - Information = "Information", +/** Azure Resource Manager resource envelope. */ +export interface ModelContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelContainerProperties; } -/** - * Defines values for DiagnoseResultLevel. \ - * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Warning** \ - * **Error** \ - * **Information** - */ -export type DiagnoseResultLevel = string; +/** Azure Resource Manager resource envelope. */ +export interface ModelVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ModelVersionProperties; +} -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - /** Count */ - Count = "Count", +/** Azure Resource Manager resource envelope. */ +export interface CapabilityHost extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: CapabilityHostProperties; } -/** - * Defines values for UsageUnit. \ - * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Count** - */ -export type UsageUnit = string; +/** Azure Resource Manager resource envelope. */ +export interface Datastore extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: DatastorePropertiesUnion; +} -/** Known values of {@link BillingCurrency} that the service accepts. */ -export enum KnownBillingCurrency { - /** USD */ - USD = "USD", +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetContainerProperties; } -/** - * Defines values for BillingCurrency. \ - * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **USD** - */ -export type BillingCurrency = string; +/** Azure Resource Manager resource envelope. */ +export interface Feature extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeatureProperties; +} -/** Known values of {@link UnitOfMeasure} that the service accepts. */ -export enum KnownUnitOfMeasure { - /** OneHour */ - OneHour = "OneHour", +/** Azure Resource Manager resource envelope. */ +export interface FeaturesetVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturesetVersionProperties; } -/** - * Defines values for UnitOfMeasure. \ - * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **OneHour** - */ -export type UnitOfMeasure = string; +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityContainer extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityContainerProperties; +} -/** Known values of {@link VMPriceOSType} that the service accepts. */ -export enum KnownVMPriceOSType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Azure Resource Manager resource envelope. */ +export interface FeaturestoreEntityVersion extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: FeaturestoreEntityVersionProperties; } -/** - * Defines values for VMPriceOSType. \ - * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Linux** \ - * **Windows** - */ -export type VMPriceOSType = string; +/** Azure Resource Manager resource envelope. */ +export interface JobBase extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: JobBasePropertiesUnion; +} -/** Known values of {@link VMTier} that the service accepts. */ -export enum KnownVMTier { - /** Standard */ - Standard = "Standard", - /** LowPriority */ - LowPriority = "LowPriority", - /** Spot */ - Spot = "Spot", +/** Azure Resource Manager resource envelope. */ +export interface MarketplaceSubscription extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: MarketplaceSubscriptionProperties; } -/** - * 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; +/** Azure Resource Manager resource envelope. */ +export interface Schedule extends ProxyResource { + /** [Required] Additional attributes of the entity. */ + properties: ScheduleProperties; +} -/** Known values of {@link QuotaUnit} that the service accepts. */ -export enum KnownQuotaUnit { - /** Count */ - Count = "Count", +export interface BatchEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for 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; +export interface BatchDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: BatchDeploymentProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** Known values of {@link Status} that the service accepts. */ -export enum KnownStatus { - /** Undefined */ - Undefined = "Undefined", - /** Success */ - Success = "Success", - /** Failure */ - Failure = "Failure", - /** InvalidQuotaBelowClusterMinimum */ - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - /** InvalidQuotaExceedsSubscriptionLimit */ - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - /** InvalidVMFamilyName */ - InvalidVMFamilyName = "InvalidVMFamilyName", - /** OperationNotSupportedForSku */ - OperationNotSupportedForSku = "OperationNotSupportedForSku", - /** OperationNotEnabledForRegion */ - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +export interface 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; } -/** - * 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; +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; +} -/** Known values of {@link ComputeType} that the service accepts. */ -export enum KnownComputeType { - /** AKS */ - AKS = "AKS", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AmlCompute */ - AmlCompute = "AmlCompute", - /** ComputeInstance */ - ComputeInstance = "ComputeInstance", - /** DataFactory */ - DataFactory = "DataFactory", - /** VirtualMachine */ - VirtualMachine = "VirtualMachine", - /** HDInsight */ - HDInsight = "HDInsight", - /** Databricks */ - Databricks = "Databricks", - /** DataLakeAnalytics */ - DataLakeAnalytics = "DataLakeAnalytics", - /** SynapseSpark */ - SynapseSpark = "SynapseSpark", +export interface 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; } -/** - * Defines values for ComputeType. \ - * {@link KnownComputeType} can be used interchangeably with ComputeType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **AKS** \ - * **Kubernetes** \ - * **AmlCompute** \ - * **ComputeInstance** \ - * **DataFactory** \ - * **VirtualMachine** \ - * **HDInsight** \ - * **Databricks** \ - * **DataLakeAnalytics** \ - * **SynapseSpark** - */ -export type ComputeType = string; +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; +} -/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ -export enum KnownUnderlyingResourceAction { - /** Delete */ - Delete = "Delete", - /** Detach */ - Detach = "Detach", +export interface OnlineDeployment extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: OnlineDeploymentPropertiesUnion; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } -/** - * Defines values for UnderlyingResourceAction. \ - * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Delete** \ - * **Detach** - */ -export type UnderlyingResourceAction = string; +export interface ServerlessEndpoint extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: ServerlessEndpointProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; +} -/** 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", +export interface Registry extends TrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: ManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; + /** Discovery URL for the Registry */ + discoveryUrl?: string; + /** IntellectualPropertyPublisher for the registry */ + intellectualPropertyPublisher?: string; + /** ResourceId of the managed RG if the registry has system created resources */ + managedResourceGroup?: ArmResourceId; + /** Managed resource group specific settings */ + managedResourceGroupSettings?: ManagedResourceGroupSettings; + /** MLFlow Registry URI for the Registry */ + mlFlowRegistryUri?: string; + /** Private endpoint connections info used for pending connections in private link portal */ + registryPrivateEndpointConnections?: RegistryPrivateEndpointConnection[]; + /** + * Is the Registry accessible from the internet? + * Possible values: "Enabled" or "Disabled" + */ + publicNetworkAccess?: string; + /** Details of each region the registry is in */ + regionDetails?: RegistryRegionArmDetails[]; +} + +/** Container for code asset versions. */ +export interface CodeContainerProperties extends AssetContainer { + /** + * Provisioning state for the code container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** + * Component container definition. + * + */ +export interface ComponentContainerProperties extends AssetContainer { + /** + * Provisioning state for the component container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** Container for data asset versions. */ +export interface DataContainerProperties extends AssetContainer { + /** [Required] Specifies the type of data. */ + dataType: DataType; +} + +/** Container for environment specification versions. */ +export interface EnvironmentContainerProperties extends AssetContainer { + /** + * Provisioning state for the environment container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +export interface ModelContainerProperties extends AssetContainer { + /** + * Provisioning state for the model container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** DTO object representing feature set */ +export interface FeaturesetContainerProperties extends AssetContainer { + /** + * Provisioning state for the featureset container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** DTO object representing feature entity */ +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + /** + * Provisioning state for the featurestore entity container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** Code asset version details. */ +export interface CodeVersionProperties extends AssetBase { + /** Uri where code is located */ + codeUri?: string; + /** + * Provisioning state for the code version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** Definition of a component version: defines resources that span component types. */ +export interface ComponentVersionProperties extends AssetBase { + /** + * Defines Component definition details. + * + */ + componentSpec?: Record; + /** + * Provisioning state for the component version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** Data version base definition */ +export interface DataVersionBaseProperties extends AssetBase { + /** [Required] Specifies the type of data. */ + dataType: DataType; + /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ + dataUri: string; +} + +/** Environment version details. */ +export interface EnvironmentVersionProperties extends AssetBase { + /** Defines if image needs to be rebuilt based on base image changes. */ + autoRebuild?: AutoRebuildSetting; + /** Configuration settings for Docker build context. */ + build?: BuildContext; + /** + * Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. + * + */ + condaFile?: string; + /** + * Environment type is either user managed or curated by the Azure ML service + * + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly environmentType?: EnvironmentType; + /** + * Name of the image that will be used for the environment. + * + */ + image?: string; + /** Environment image details */ + imageDetails?: ImageDetails; + /** Defines configuration specific to inference. */ + inferenceConfig?: InferenceContainerProperties; + /** The OS type of the environment. */ + osType?: OperatingSystemType; + /** + * Provisioning state for the environment version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the environment lifecycle assigned to this environment */ + stage?: string; +} + +/** Model asset version details. */ +export interface ModelVersionProperties extends AssetBase { + /** Mapping of model flavors to their properties. */ + flavors?: { [propertyName: string]: FlavorData | null }; + /** Name of the training job which produced this model */ + jobName?: string; + /** The storage format for this entity. Used for NCD. */ + modelType?: string; + /** The URI path to the model contents. */ + modelUri?: string; + /** + * Provisioning state for the model version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Stage in the model lifecycle assigned to this model */ + stage?: string; + /** Array of dataset references */ + datasets?: DatasetReference[]; +} + +/** DTO object representing feature set version */ +export interface FeaturesetVersionProperties extends AssetBase { + /** Specifies list of entities */ + entities?: string[]; + /** Specifies the materialization settings */ + materializationSettings?: MaterializationSettings; + /** + * Provisioning state for the featureset version container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the feature spec details */ + specification?: FeaturesetSpecification; + /** Specifies the asset stage */ + stage?: string; +} + +/** DTO object representing feature entity version */ +export interface FeaturestoreEntityVersionProperties extends AssetBase { + /** Specifies index columns */ + indexColumns?: IndexColumn[]; + /** + * Provisioning state for the featurestore entity version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the asset stage */ + stage?: string; +} + +/** OneLake (Trident) datastore configuration. */ +export interface OneLakeDatastore extends DatastoreProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + datastoreType: "OneLake"; + /** [Required] OneLake artifact backing the datastore. */ + artifact: OneLakeArtifactUnion; + /** OneLake endpoint to use for the datastore. */ + endpoint?: string; + /** [Required] OneLake workspace name. */ + oneLakeWorkspaceName: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +} + +/** + * AutoMLJob class. + * Use this class for executing AutoML tasks like Classification/Regression etc. + * See TaskType enum for all the tasks supported. + */ +export interface AutoMLJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "AutoML"; + /** + * The ARM resource ID of the Environment specification for the job. + * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. + */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; + /** [Required] This represents scenario which can be one of Tables/NLP/Image */ + taskDetails: AutoMLVerticalUnion; +} + +/** Command job definition. */ +export interface CommandJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Command"; + /** ARM resource ID of the code asset. */ + codeId?: string; + /** [Required] The command to execute on startup of the job. eg. "python train.py" */ + command: string; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + distribution?: DistributionConfigurationUnion; + /** [Required] The ARM resource ID of the Environment specification for the job. */ + environmentId: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Command Job limit. */ + limits?: CommandJobLimits; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** + * Input parameters. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly parameters?: Record; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; +} + +/** Distillation Job definition. */ +export interface DistillationJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Distillation"; + /** [Required] */ + dataGenerationDetails: DataGenerationVerticalUnion; + /** [Required] */ + finetuningDetails: FinetuningDetails; + /** [Required] */ + outputs: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Instance types and other resources for the job */ + resources?: JobResources; +} + +/** FineTuning Job definition. */ +export interface FineTuningJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "FineTuning"; + /** [Required] */ + fineTuningDetails: FineTuningVerticalUnion; + /** [Required] */ + outputs: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Instance types and other resources for the job */ + resources?: JobResources; +} + +/** Pipeline Job definition: defines generic to MFE attributes. */ +export interface PipelineJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Pipeline"; + /** Inputs for the pipeline job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jobs construct the Pipeline Job. */ + jobs?: { [propertyName: string]: Record }; + /** Outputs for the pipeline job */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ + settings?: Record; + /** ARM resource ID of source job. */ + sourceJobId?: string; +} + +/** Spark job definition. */ +export interface SparkJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Spark"; + /** Archive files used in the job. */ + archives?: string[]; + /** Arguments for the job. */ + args?: string; + /** [Required] arm-id of the code asset. */ + codeId: string; + /** Spark configured properties. */ + conf?: { [propertyName: string]: string | null }; + /** [Required] The entry to execute on startup of the job. */ + entry: SparkJobEntryUnion; + /** The ARM resource ID of the Environment specification for the job. */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Files used in the job. */ + files?: string[]; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jar files used in the job. */ + jars?: string[]; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Python files used in the job. */ + pyFiles?: string[]; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; +} + +/** Sweep job definition. */ +export interface SweepJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Sweep"; + /** Early termination policies enable canceling poor-performing runs before they complete */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Sweep Job limit. */ + limits?: SweepJobLimits; + /** [Required] Optimization objective. */ + objective: Objective; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** [Required] The hyperparameter sampling algorithm */ + samplingAlgorithm: SamplingAlgorithmUnion; + /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ + searchSpace: Record; + /** [Required] Trial component definition. */ + trial: TrialComponent; +} + +/** Properties specific to a KubernetesOnlineDeployment. */ +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Kubernetes"; + /** The resource requirements for the container (cpu and memory). */ + containerResourceRequirements?: ContainerResourceRequirements; +} + +/** Properties specific to a ManagedOnlineDeployment. */ +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Managed"; +} + +/** MLTable data definition */ +export interface MLTableData extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "mltable"; + /** Uris referenced in the MLTable definition (required for lineage) */ + referencedUris?: string[]; +} + +/** uri-file data version entity */ +export interface UriFileDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_file"; +} + +/** uri-folder data version entity */ +export interface UriFolderDataVersion extends DataVersionBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + dataType: "uri_folder"; +} + +/** Defines headers for Compute_createOrUpdate operation. */ +export interface ComputeCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Compute_delete operation. */ +export interface ComputeDeleteHeaders { + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; +} + +/** Defines headers for Compute_resize operation. */ +export interface ComputeResizeHeaders { + location?: string; +} + +/** Defines headers for RegistryCodeContainers_delete operation. */ +export interface RegistryCodeContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ +export interface RegistryCodeContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryCodeVersions_delete operation. */ +export interface RegistryCodeVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ +export interface RegistryCodeVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryComponentContainers_delete operation. */ +export interface RegistryComponentContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ +export interface RegistryComponentContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryComponentVersions_delete operation. */ +export interface RegistryComponentVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ +export interface RegistryComponentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataContainers_delete operation. */ +export interface RegistryDataContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ +export interface RegistryDataContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryDataVersions_delete operation. */ +export interface RegistryDataVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ +export interface RegistryDataVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryEnvironmentContainers_delete operation. */ +export interface RegistryEnvironmentContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryEnvironmentVersions_delete operation. */ +export interface RegistryEnvironmentVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelContainers_delete operation. */ +export interface RegistryModelContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ +export interface RegistryModelContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for RegistryModelVersions_delete operation. */ +export interface RegistryModelVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ +export interface RegistryModelVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for BatchEndpoints_delete operation. */ +export interface BatchEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchEndpoints_update operation. */ +export interface BatchEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchEndpoints_createOrUpdate operation. */ +export interface BatchEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for BatchDeployments_delete operation. */ +export interface BatchDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchDeployments_update operation. */ +export interface BatchDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for BatchDeployments_createOrUpdate operation. */ +export interface BatchDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for 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. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ComponentVersions_publish operation. */ +export interface ComponentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for DataVersions_publish operation. */ +export interface DataVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EnvironmentVersions_publish operation. */ +export interface EnvironmentVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetContainers_delete operation. */ +export interface FeaturesetContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetContainers_createOrUpdate operation. */ +export interface FeaturesetContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturesetVersions_delete operation. */ +export interface FeaturesetVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturesetVersions_createOrUpdate operation. */ +export interface FeaturesetVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturesetVersions_backfill operation. */ +export interface FeaturesetVersionsBackfillHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityContainers_delete operation. */ +export interface FeaturestoreEntityContainersDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityContainers_createOrUpdate operation. */ +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for FeaturestoreEntityVersions_delete operation. */ +export interface FeaturestoreEntityVersionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityVersions_createOrUpdate operation. */ +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for 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 InferenceGroups_modifyDeltaModelsAsync operation. */ +export interface InferenceGroupsModifyDeltaModelsAsyncHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Jobs_delete operation. */ +export interface JobsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Jobs_cancel operation. */ +export interface JobsCancelHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for MarketplaceSubscriptions_delete operation. */ +export interface MarketplaceSubscriptionsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for MarketplaceSubscriptions_createOrUpdate operation. */ +export interface MarketplaceSubscriptionsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for ModelVersions_publish operation. */ +export interface ModelVersionsPublishHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_delete operation. */ +export interface OnlineEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_update operation. */ +export interface OnlineEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ +export interface OnlineEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for OnlineEndpoints_regenerateKeys operation. */ +export interface OnlineEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_delete operation. */ +export interface OnlineDeploymentsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_update operation. */ +export interface OnlineDeploymentsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_createOrUpdate operation. */ +export interface OnlineDeploymentsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for Schedules_delete operation. */ +export interface SchedulesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Schedules_createOrUpdate operation. */ +export interface SchedulesCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for ServerlessEndpoints_delete operation. */ +export interface ServerlessEndpointsDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ServerlessEndpoints_update operation. */ +export interface ServerlessEndpointsUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ServerlessEndpoints_createOrUpdate operation. */ +export interface ServerlessEndpointsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for ServerlessEndpoints_regenerateKeys operation. */ +export interface ServerlessEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Registries_delete operation. */ +export interface RegistriesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Registries_removeRegions operation. */ +export interface RegistriesRemoveRegionsHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_delete operation. */ +export interface WorkspacesDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_createOrUpdate operation. */ +export interface WorkspacesCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_diagnose operation. */ +export interface WorkspacesDiagnoseHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_prepareNotebook operation. */ +export interface WorkspacesPrepareNotebookHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Workspaces_resyncKeys operation. */ +export interface WorkspacesResyncKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for WorkspaceConnections_testConnection operation. */ +export interface WorkspaceConnectionsTestConnectionHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Connection_deleteDeployment operation. */ +export interface ConnectionDeleteDeploymentHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklist_delete operation. */ +export interface ConnectionRaiBlocklistDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_addBulk operation. */ +export interface ConnectionRaiBlocklistItemAddBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_deleteBulk operation. */ +export interface ConnectionRaiBlocklistItemDeleteBulkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiBlocklistItem_delete operation. */ +export interface ConnectionRaiBlocklistItemDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ConnectionRaiPolicy_delete operation. */ +export interface ConnectionRaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_delete operation. */ +export interface EndpointDeploymentDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for EndpointDeployment_createOrUpdate operation. */ +export interface EndpointDeploymentCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Endpoint_createOrUpdate operation. */ +export interface EndpointCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for RaiPolicy_delete operation. */ +export interface RaiPolicyDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_delete operation. */ +export interface ManagedNetworkSettingsRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettingsRule_createOrUpdate operation. */ +export interface ManagedNetworkSettingsRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkProvisions_provisionManagedNetwork operation. */ +export interface ManagedNetworkProvisionsProvisionManagedNetworkHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OutboundRule_delete operation. */ +export interface OutboundRuleDeleteHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OutboundRule_createOrUpdate operation. */ +export interface OutboundRuleCreateOrUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OutboundRules_post operation. */ +export interface OutboundRulesPostHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OutboundRules_postNext operation. */ +export interface OutboundRulesPostNextHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettings_patch operation. */ +export interface ManagedNetworkSettingsPatchHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for ManagedNetworkSettings_put operation. */ +export interface ManagedNetworkSettingsPutHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for UsageUnit. \ + * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type UsageUnit = string; + +/** Known values of {@link BillingCurrency} that the service accepts. */ +export enum KnownBillingCurrency { + /** USD */ + USD = "USD", +} + +/** + * Defines values for BillingCurrency. \ + * {@link KnownBillingCurrency} can be used interchangeably with BillingCurrency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **USD** + */ +export type BillingCurrency = string; + +/** Known values of {@link UnitOfMeasure} that the service accepts. */ +export enum KnownUnitOfMeasure { + /** OneHour */ + OneHour = "OneHour", +} + +/** + * Defines values for UnitOfMeasure. \ + * {@link KnownUnitOfMeasure} can be used interchangeably with UnitOfMeasure, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OneHour** + */ +export type UnitOfMeasure = string; + +/** Known values of {@link VMPriceOSType} that the service accepts. */ +export enum KnownVMPriceOSType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", +} + +/** + * Defines values for VMPriceOSType. \ + * {@link KnownVMPriceOSType} can be used interchangeably with VMPriceOSType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type VMPriceOSType = string; + +/** Known values of {@link VMTier} that the service accepts. */ +export enum KnownVMTier { + /** Standard */ + Standard = "Standard", + /** LowPriority */ + LowPriority = "LowPriority", + /** Spot */ + Spot = "Spot", +} + +/** + * Defines values for VMTier. \ + * {@link KnownVMTier} can be used interchangeably with VMTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard** \ + * **LowPriority** \ + * **Spot** + */ +export type VMTier = string; + +/** Known values of {@link QuotaUnit} that the service accepts. */ +export enum KnownQuotaUnit { + /** Count */ + Count = "Count", +} + +/** + * Defines values for QuotaUnit. \ + * {@link KnownQuotaUnit} can be used interchangeably with QuotaUnit, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Count** + */ +export type QuotaUnit = string; + +/** Known values of {@link Status} that the service accepts. */ +export enum KnownStatus { + /** Undefined */ + Undefined = "Undefined", + /** Success */ + Success = "Success", + /** Failure */ + Failure = "Failure", + /** InvalidQuotaBelowClusterMinimum */ + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + /** InvalidQuotaExceedsSubscriptionLimit */ + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + /** InvalidVMFamilyName */ + InvalidVMFamilyName = "InvalidVMFamilyName", + /** OperationNotSupportedForSku */ + OperationNotSupportedForSku = "OperationNotSupportedForSku", + /** OperationNotEnabledForRegion */ + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", +} + +/** + * Defines values for Status. \ + * {@link KnownStatus} can be used interchangeably with Status, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Undefined** \ + * **Success** \ + * **Failure** \ + * **InvalidQuotaBelowClusterMinimum** \ + * **InvalidQuotaExceedsSubscriptionLimit** \ + * **InvalidVMFamilyName** \ + * **OperationNotSupportedForSku** \ + * **OperationNotEnabledForRegion** + */ +export type Status = string; + +/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ +export enum KnownManagedServiceIdentityType { + /** None */ + None = "None", + /** SystemAssigned */ + SystemAssigned = "SystemAssigned", + /** UserAssigned */ + UserAssigned = "UserAssigned", + /** SystemAssignedUserAssigned */ + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", +} + +/** + * Defines values for ManagedServiceIdentityType. \ + * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **SystemAssigned** \ + * **UserAssigned** \ + * **SystemAssigned,UserAssigned** + */ +export type ManagedServiceIdentityType = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + /** User */ + User = "User", + /** Application */ + Application = "Application", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** Key */ + Key = "Key", +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link ComputeType} that the service accepts. */ +export enum KnownComputeType { + /** AKS */ + AKS = "AKS", + /** Kubernetes */ + Kubernetes = "Kubernetes", + /** AmlCompute */ + AmlCompute = "AmlCompute", + /** ComputeInstance */ + ComputeInstance = "ComputeInstance", + /** DataFactory */ + DataFactory = "DataFactory", + /** VirtualMachine */ + VirtualMachine = "VirtualMachine", + /** HDInsight */ + HDInsight = "HDInsight", + /** Databricks */ + Databricks = "Databricks", + /** DataLakeAnalytics */ + DataLakeAnalytics = "DataLakeAnalytics", + /** SynapseSpark */ + SynapseSpark = "SynapseSpark", +} + +/** + * Defines values for ComputeType. \ + * {@link KnownComputeType} can be used interchangeably with ComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AKS** \ + * **Kubernetes** \ + * **AmlCompute** \ + * **ComputeInstance** \ + * **DataFactory** \ + * **VirtualMachine** \ + * **HDInsight** \ + * **Databricks** \ + * **DataLakeAnalytics** \ + * **SynapseSpark** + */ +export type ComputeType = string; + +/** Known values of {@link ProvisioningState} that the service accepts. */ +export enum KnownProvisioningState { + /** Unknown */ + Unknown = "Unknown", + /** Updating */ + Updating = "Updating", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", +} + +/** + * Defines values for ProvisioningState. \ + * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unknown** \ + * **Updating** \ + * **Creating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ProvisioningState = string; + +/** Known values of {@link UnderlyingResourceAction} that the service accepts. */ +export enum KnownUnderlyingResourceAction { + /** Delete */ + Delete = "Delete", + /** Detach */ + Detach = "Detach", +} + +/** + * Defines values for UnderlyingResourceAction. \ + * {@link KnownUnderlyingResourceAction} can be used interchangeably with UnderlyingResourceAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Delete** \ + * **Detach** + */ +export type UnderlyingResourceAction = string; + +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + /** Docker */ + Docker = "docker", + /** Azureml */ + Azureml = "azureml", +} + +/** + * Defines values for ImageType. \ + * {@link KnownImageType} can be used interchangeably with ImageType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **docker** \ + * **azureml** + */ +export type ImageType = string; + +/** Known values of {@link EnvironmentVariableType} that the service accepts. */ +export enum KnownEnvironmentVariableType { + /** Local */ + Local = "local", +} + +/** + * Defines values for EnvironmentVariableType. \ + * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **local** + */ +export type EnvironmentVariableType = string; + +/** Known values of {@link Protocol} that the service accepts. */ +export enum KnownProtocol { + /** Tcp */ + Tcp = "tcp", + /** Udp */ + Udp = "udp", + /** Http */ + Http = "http", +} + +/** + * Defines values for Protocol. \ + * {@link KnownProtocol} can be used interchangeably with Protocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **tcp** \ + * **udp** \ + * **http** + */ +export type Protocol = string; + +/** Known values of {@link VolumeDefinitionType} that the service accepts. */ +export enum KnownVolumeDefinitionType { + /** Bind */ + Bind = "bind", + /** Volume */ + Volume = "volume", + /** Tmpfs */ + Tmpfs = "tmpfs", + /** Npipe */ + Npipe = "npipe", +} + +/** + * Defines values for VolumeDefinitionType. \ + * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **bind** \ + * **volume** \ + * **tmpfs** \ + * **npipe** + */ +export type VolumeDefinitionType = string; + +/** Known values of {@link NodeState} that the service accepts. */ +export enum KnownNodeState { + /** Idle */ + Idle = "idle", + /** Running */ + Running = "running", + /** Preparing */ + Preparing = "preparing", + /** Unusable */ + Unusable = "unusable", + /** Leaving */ + Leaving = "leaving", + /** Preempted */ + Preempted = "preempted", } /** @@ -7416,2938 +8611,4190 @@ export enum KnownNodeState { * {@link KnownNodeState} can be used interchangeably with NodeState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **idle** \ - * **running** \ - * **preparing** \ - * **unusable** \ - * **leaving** \ - * **preempted** + * **idle** \ + * **running** \ + * **preparing** \ + * **unusable** \ + * **leaving** \ + * **preempted** + */ +export type NodeState = string; + +/** Known values of {@link SourceType} that the service accepts. */ +export enum KnownSourceType { + /** Dataset */ + Dataset = "Dataset", + /** Datastore */ + Datastore = "Datastore", + /** URI */ + URI = "URI", +} + +/** + * Defines values for SourceType. \ + * {@link KnownSourceType} can be used interchangeably with SourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Dataset** \ + * **Datastore** \ + * **URI** + */ +export type SourceType = string; + +/** Known values of {@link MountAction} that the service accepts. */ +export enum KnownMountAction { + /** Mount */ + Mount = "Mount", + /** Unmount */ + Unmount = "Unmount", +} + +/** + * Defines values for MountAction. \ + * {@link KnownMountAction} can be used interchangeably with MountAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Mount** \ + * **Unmount** + */ +export type MountAction = string; + +/** Known values of {@link MountMode} that the service accepts. */ +export enum KnownMountMode { + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", +} + +/** + * Defines values for MountMode. \ + * {@link KnownMountMode} can be used interchangeably with MountMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnly** \ + * **ReadWrite** + */ +export type MountMode = string; + +/** Known values of {@link MountState} that the service accepts. */ +export enum KnownMountState { + /** MountRequested */ + MountRequested = "MountRequested", + /** Mounted */ + Mounted = "Mounted", + /** MountFailed */ + MountFailed = "MountFailed", + /** UnmountRequested */ + UnmountRequested = "UnmountRequested", + /** UnmountFailed */ + UnmountFailed = "UnmountFailed", + /** Unmounted */ + Unmounted = "Unmounted", +} + +/** + * Defines values for MountState. \ + * {@link KnownMountState} can be used interchangeably with MountState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **MountRequested** \ + * **Mounted** \ + * **MountFailed** \ + * **UnmountRequested** \ + * **UnmountFailed** \ + * **Unmounted** + */ +export type MountState = string; + +/** Known values of {@link AssetProvisioningState} that the service accepts. */ +export enum KnownAssetProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Deleting */ + Deleting = "Deleting", +} + +/** + * Defines values for AssetProvisioningState. \ + * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** + */ +export type AssetProvisioningState = string; + +/** Known values of {@link PendingUploadType} that the service accepts. */ +export enum KnownPendingUploadType { + /** None */ + None = "None", + /** TemporaryBlobReference */ + TemporaryBlobReference = "TemporaryBlobReference", +} + +/** + * Defines values for PendingUploadType. \ + * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **TemporaryBlobReference** + */ +export type PendingUploadType = string; + +/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ +export enum KnownPendingUploadCredentialType { + /** SAS */ + SAS = "SAS", +} + +/** + * Defines values for PendingUploadCredentialType. \ + * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** + */ +export type PendingUploadCredentialType = string; + +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All", +} + +/** + * Defines values for ListViewType. \ + * {@link KnownListViewType} can be used interchangeably with ListViewType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** + */ +export type ListViewType = string; + +/** Known values of {@link DataType} that the service accepts. */ +export enum KnownDataType { + /** UriFile */ + UriFile = "uri_file", + /** UriFolder */ + UriFolder = "uri_folder", + /** Mltable */ + Mltable = "mltable", +} + +/** + * Defines values for DataType. \ + * {@link KnownDataType} can be used interchangeably with DataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** + */ +export type DataType = string; + +/** Known values of {@link DataReferenceCredentialType} that the service accepts. */ +export enum KnownDataReferenceCredentialType { + /** SAS */ + SAS = "SAS", + /** DockerCredentials */ + DockerCredentials = "DockerCredentials", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** NoCredentials */ + NoCredentials = "NoCredentials", +} + +/** + * Defines values for DataReferenceCredentialType. \ + * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SAS** \ + * **DockerCredentials** \ + * **ManagedIdentity** \ + * **NoCredentials** + */ +export type DataReferenceCredentialType = string; + +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate", +} + +/** + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled** \ + * **OnBaseImageUpdate** + */ +export type AutoRebuildSetting = string; + +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated", +} + +/** + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Curated** \ + * **UserCreated** + */ +export type EnvironmentType = string; + +/** Known values of {@link VulnerabilityRisk} that the service accepts. */ +export enum KnownVulnerabilityRisk { + /** Unknown */ + Unknown = "UNKNOWN", + /** Critical */ + Critical = "CRITICAL", + /** High */ + High = "HIGH", + /** Medium */ + Medium = "MEDIUM", + /** LOW */ + LOW = "LOW", +} + +/** + * Defines values for VulnerabilityRisk. \ + * {@link KnownVulnerabilityRisk} can be used interchangeably with VulnerabilityRisk, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **UNKNOWN** \ + * **CRITICAL** \ + * **HIGH** \ + * **MEDIUM** \ + * **LOW** + */ +export type VulnerabilityRisk = 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", + /** Distillation */ + Distillation = "Distillation", +} + +/** + * Defines values for JobType. \ + * {@link KnownJobType} can be used interchangeably with JobType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AutoML** \ + * **Command** \ + * **Sweep** \ + * **Pipeline** \ + * **Spark** \ + * **FineTuning** \ + * **Distillation** */ -export type NodeState = string; +export type JobType = 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 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 ConnectionAuthType. \ - * {@link KnownConnectionAuthType} can be used interchangeably with ConnectionAuthType, + * 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 - * **PAT** \ - * **ManagedIdentity** \ - * **UsernamePassword** \ - * **None** \ - * **SAS** \ - * **AccountKey** \ - * **ServicePrincipal** \ - * **AccessKey** \ - * **ApiKey** \ - * **CustomKeys** \ - * **OAuth2** \ - * **AAD** + * **Year** \ + * **Month** \ + * **Day** \ + * **Hour** \ + * **Minute** */ -export type ConnectionAuthType = string; +export type RollingRateType = 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 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 ConnectionCategory. \ - * {@link KnownConnectionCategory} can be used interchangeably with ConnectionCategory, + * 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 - * **PythonFeed** \ - * **ContainerRegistry** \ - * **Git** \ - * **S3** \ - * **Snowflake** \ - * **AzureSqlDb** \ - * **AzureSynapseAnalytics** \ - * **AzureMySqlDb** \ - * **AzurePostgresDb** \ - * **ADLSGen2** \ - * **Redis** \ - * **ApiKey** \ - * **AzureOpenAI** \ - * **CognitiveSearch** \ - * **CognitiveService** \ - * **CustomKeys** \ - * **AzureBlob** \ - * **AzureOneLake** \ - * **CosmosDb** \ - * **CosmosDbMongoDbApi** \ - * **AzureDataExplorer** \ - * **AzureMariaDb** \ - * **AzureDatabricksDeltaLake** \ - * **AzureSqlMi** \ - * **AzureTableStorage** \ - * **AmazonRdsForOracle** \ - * **AmazonRdsForSqlServer** \ - * **AmazonRedshift** \ - * **Db2** \ - * **Drill** \ - * **GoogleBigQuery** \ - * **Greenplum** \ - * **Hbase** \ - * **Hive** \ - * **Impala** \ - * **Informix** \ - * **MariaDb** \ - * **MicrosoftAccess** \ - * **MySql** \ - * **Netezza** \ - * **Oracle** \ - * **Phoenix** \ - * **PostgreSql** \ - * **Presto** \ - * **SapOpenHub** \ - * **SapBw** \ - * **SapHana** \ - * **SapTable** \ - * **Spark** \ - * **SqlServer** \ - * **Sybase** \ - * **Teradata** \ - * **Vertica** \ - * **Cassandra** \ - * **Couchbase** \ - * **MongoDbV2** \ - * **MongoDbAtlas** \ - * **AmazonS3Compatible** \ - * **FileServer** \ - * **FtpServer** \ - * **GoogleCloudStorage** \ - * **Hdfs** \ - * **OracleCloudStorage** \ - * **Sftp** \ - * **GenericHttp** \ - * **ODataRest** \ - * **Odbc** \ - * **GenericRest** \ - * **AmazonMws** \ - * **Concur** \ - * **Dynamics** \ - * **DynamicsAx** \ - * **DynamicsCrm** \ - * **GoogleAdWords** \ - * **Hubspot** \ - * **Jira** \ - * **Magento** \ - * **Marketo** \ - * **Office365** \ - * **Eloqua** \ - * **Responsys** \ - * **OracleServiceCloud** \ - * **PayPal** \ - * **QuickBooks** \ - * **Salesforce** \ - * **SalesforceServiceCloud** \ - * **SalesforceMarketingCloud** \ - * **SapCloudForCustomer** \ - * **SapEcc** \ - * **ServiceNow** \ - * **SharePointOnlineList** \ - * **Shopify** \ - * **Square** \ - * **WebTable** \ - * **Xero** \ - * **Zoho** \ - * **GenericContainerRegistry** \ - * **OpenAI** \ - * **Serp** \ - * **BingLLMSearch** \ - * **Serverless** \ - * **AIServices** + * **Default** \ + * **TargetUtilization** */ -export type ConnectionCategory = string; +export type ScaleType = 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 ContainerType} that the service accepts. */ +export enum KnownContainerType { + /** StorageInitializer */ + StorageInitializer = "StorageInitializer", + /** InferenceServer */ + InferenceServer = "InferenceServer", } /** - * Defines values for ConnectionGroup. \ - * {@link KnownConnectionGroup} can be used interchangeably with ConnectionGroup, + * 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 - * **Azure** \ - * **AzureAI** \ - * **Database** \ - * **NoSQL** \ - * **File** \ - * **GenericProtocol** \ - * **ServicesAndApps** + * **StorageInitializer** \ + * **InferenceServer** */ -export type ConnectionGroup = string; +export type ContainerType = string; -/** Known values of {@link ValueFormat} that the service accepts. */ -export enum KnownValueFormat { - /** Json */ - Json = "JSON", +/** Known values of {@link KeyType} that the service accepts. */ +export enum KnownKeyType { + /** Primary */ + Primary = "Primary", + /** Secondary */ + Secondary = "Secondary", } /** - * Defines values for ValueFormat. \ - * {@link KnownValueFormat} can be used interchangeably with ValueFormat, + * 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 - * **JSON** + * **Primary** \ + * **Secondary** */ -export type ValueFormat = string; +export type KeyType = 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 ScheduleListViewType} that the service accepts. */ +export enum KnownScheduleListViewType { + /** EnabledOnly */ + EnabledOnly = "EnabledOnly", + /** DisabledOnly */ + DisabledOnly = "DisabledOnly", + /** All */ + All = "All", } /** - * Defines values for AssetProvisioningState. \ - * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * 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 - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Creating** \ - * **Updating** \ - * **Deleting** + * **EnabledOnly** \ + * **DisabledOnly** \ + * **All** */ -export type AssetProvisioningState = string; +export type ScheduleListViewType = string; -/** Known values of {@link PendingUploadType} that the service accepts. */ -export enum KnownPendingUploadType { - /** None */ - None = "None", - /** TemporaryBlobReference */ - TemporaryBlobReference = "TemporaryBlobReference", +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + /** CreateJob */ + CreateJob = "CreateJob", + /** InvokeBatchEndpoint */ + InvokeBatchEndpoint = "InvokeBatchEndpoint", + /** CreateMonitor */ + CreateMonitor = "CreateMonitor", } /** - * Defines values for PendingUploadType. \ - * {@link KnownPendingUploadType} can be used interchangeably with PendingUploadType, + * Defines values for ScheduleActionType. \ + * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None** \ - * **TemporaryBlobReference** + * **CreateJob** \ + * **InvokeBatchEndpoint** \ + * **CreateMonitor** */ -export type PendingUploadType = string; +export type ScheduleActionType = string; -/** Known values of {@link PendingUploadCredentialType} that the service accepts. */ -export enum KnownPendingUploadCredentialType { - /** SAS */ - SAS = "SAS", +/** 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", + /** AAD */ + AAD = "AAD", + /** KeyAndAAD */ + KeyAndAAD = "KeyAndAAD", } /** - * Defines values for PendingUploadCredentialType. \ - * {@link KnownPendingUploadCredentialType} can be used interchangeably with PendingUploadCredentialType, + * 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 - * **SAS** + * **Key** \ + * **AAD** \ + * **KeyAndAAD** */ -export type PendingUploadCredentialType = string; +export type ServerlessInferenceEndpointAuthMode = 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 ContentSafetyLevel} that the service accepts. */ +export enum KnownContentSafetyLevel { + /** Blocking */ + Blocking = "Blocking", + /** Deferred */ + Deferred = "Deferred", } /** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, + * Defines values for ContentSafetyLevel. \ + * {@link KnownContentSafetyLevel} can be used interchangeably with ContentSafetyLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** + * **Blocking** \ + * **Deferred** */ -export type ListViewType = string; +export type ContentSafetyLevel = 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 ContentSafetyStatus} that the service accepts. */ +export enum KnownContentSafetyStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, + * 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 - * **uri_file** \ - * **uri_folder** \ - * **mltable** + * **Enabled** \ + * **Disabled** */ -export type DataType = string; +export type ContentSafetyStatus = 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 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 DataReferenceCredentialType. \ - * {@link KnownDataReferenceCredentialType} can be used interchangeably with DataReferenceCredentialType, + * 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 - * **SAS** \ - * **DockerCredentials** \ - * **ManagedIdentity** \ - * **NoCredentials** + * **Unknown** \ + * **Creating** \ + * **Deleting** \ + * **Suspending** \ + * **Reinstating** \ + * **Online** \ + * **Suspended** \ + * **CreationFailed** \ + * **DeletionFailed** */ -export type DataReferenceCredentialType = string; +export type ServerlessEndpointState = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated", +/** 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 EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * 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 - * **Curated** \ - * **UserCreated** + * **Approved** \ + * **Pending** \ + * **Rejected** \ + * **Disconnected** \ + * **Timeout** */ -export type EnvironmentType = string; +export type EndpointServiceConnectionStatus = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** 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 OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * 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 - * **Linux** \ - * **Windows** + * **user** \ + * **system** \ + * **user,system** */ -export type OperatingSystemType = string; +export type Origin = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate", +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + /** Internal */ + Internal = "Internal", } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * 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 - * **Disabled** \ - * **OnBaseImageUpdate** + * **Internal** */ -export type AutoRebuildSetting = string; +export type ActionType = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Updating */ - Updating = "Updating", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link EncryptionStatus} that the service accepts. */ +export enum KnownEncryptionStatus { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for EndpointProvisioningState. \ - * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, + * 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 - * **Creating** \ - * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Updating** \ - * **Canceled** + * **Enabled** \ + * **Disabled** */ -export type EndpointProvisioningState = string; +export type EncryptionStatus = 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 IsolationMode} that the service accepts. */ +export enum KnownIsolationMode { + /** Disabled */ + Disabled = "Disabled", + /** AllowInternetOutbound */ + AllowInternetOutbound = "AllowInternetOutbound", + /** AllowOnlyApprovedOutbound */ + AllowOnlyApprovedOutbound = "AllowOnlyApprovedOutbound", } /** - * Defines values for EndpointAuthMode. \ - * {@link KnownEndpointAuthMode} can be used interchangeably with EndpointAuthMode, + * 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 - * **AMLToken** \ - * **Key** \ - * **AADToken** + * **Disabled** \ + * **AllowInternetOutbound** \ + * **AllowOnlyApprovedOutbound** */ -export type EndpointAuthMode = string; +export type IsolationMode = string; -/** Known values of {@link BatchDeploymentConfigurationType} that the service accepts. */ -export enum KnownBatchDeploymentConfigurationType { - /** Model */ - Model = "Model", - /** PipelineComponent */ - PipelineComponent = "PipelineComponent", +/** 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 BatchDeploymentConfigurationType. \ - * {@link KnownBatchDeploymentConfigurationType} can be used interchangeably with BatchDeploymentConfigurationType, + * 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 - * **Model** \ - * **PipelineComponent** + * **Required** \ + * **Recommended** \ + * **UserDefined** \ + * **Dependency** */ -export type BatchDeploymentConfigurationType = string; +export type RuleCategory = 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 RuleStatus} that the service accepts. */ +export enum KnownRuleStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** Provisioning */ + Provisioning = "Provisioning", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for BatchLoggingLevel. \ - * {@link KnownBatchLoggingLevel} can be used interchangeably with BatchLoggingLevel, + * 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 - * **Info** \ - * **Warning** \ - * **Debug** + * **Inactive** \ + * **Active** \ + * **Provisioning** \ + * **Deleting** \ + * **Failed** */ -export type BatchLoggingLevel = string; +export type RuleStatus = string; -/** Known values of {@link ReferenceType} that the service accepts. */ -export enum KnownReferenceType { - /** Id */ - Id = "Id", - /** DataPath */ - DataPath = "DataPath", - /** OutputPath */ - OutputPath = "OutputPath", +/** Known values of {@link RuleType} that the service accepts. */ +export enum KnownRuleType { + /** Fqdn */ + Fqdn = "FQDN", + /** PrivateEndpoint */ + PrivateEndpoint = "PrivateEndpoint", + /** ServiceTag */ + ServiceTag = "ServiceTag", } /** - * Defines values for ReferenceType. \ - * {@link KnownReferenceType} can be used interchangeably with ReferenceType, + * 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 - * **Id** \ - * **DataPath** \ - * **OutputPath** + * **FQDN** \ + * **PrivateEndpoint** \ + * **ServiceTag** */ -export type ReferenceType = string; +export type RuleType = string; -/** Known values of {@link BatchOutputAction} that the service accepts. */ -export enum KnownBatchOutputAction { - /** SummaryOnly */ - SummaryOnly = "SummaryOnly", - /** AppendRow */ - AppendRow = "AppendRow", +/** Known values of {@link ManagedNetworkStatus} that the service accepts. */ +export enum KnownManagedNetworkStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", } /** - * Defines values for BatchOutputAction. \ - * {@link KnownBatchOutputAction} can be used interchangeably with BatchOutputAction, + * 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 - * **SummaryOnly** \ - * **AppendRow** + * **Inactive** \ + * **Active** */ -export type BatchOutputAction = string; +export type ManagedNetworkStatus = string; -/** Known values of {@link DeploymentProvisioningState} that the service accepts. */ -export enum KnownDeploymentProvisioningState { - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", - /** Scaling */ - Scaling = "Scaling", - /** Updating */ - Updating = "Updating", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", +/** Known values of {@link FirewallSku} that the service accepts. */ +export enum KnownFirewallSku { + /** Standard */ + Standard = "Standard", + /** Basic */ + Basic = "Basic", } /** - * Defines values for DeploymentProvisioningState. \ - * {@link KnownDeploymentProvisioningState} can be used interchangeably with DeploymentProvisioningState, + * 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 - * **Creating** \ - * **Deleting** \ - * **Scaling** \ - * **Updating** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Standard** \ + * **Basic** */ -export type DeploymentProvisioningState = string; +export type FirewallSku = string; -/** Known values of {@link DatastoreType} that the service accepts. */ -export enum KnownDatastoreType { - /** AzureBlob */ - AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ - AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ - AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile", - /** OneLake */ - OneLake = "OneLake", +/** Known values of {@link ManagedNetworkKind} that the service accepts. */ +export enum KnownManagedNetworkKind { + /** V1 */ + V1 = "V1", + /** V2 */ + V2 = "V2", } /** - * Defines values for DatastoreType. \ - * {@link KnownDatastoreType} can be used interchangeably with DatastoreType, + * Defines values for ManagedNetworkKind. \ + * {@link KnownManagedNetworkKind} can be used interchangeably with ManagedNetworkKind, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureBlob** \ - * **AzureDataLakeGen1** \ - * **AzureDataLakeGen2** \ - * **AzureFile** \ - * **OneLake** + * **V1** \ + * **V2** */ -export type DatastoreType = string; +export type ManagedNetworkKind = string; -/** Known values of {@link CredentialsType} that the service accepts. */ -export enum KnownCredentialsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** None */ - None = "None", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link DefaultActionType} that the service accepts. */ +export enum KnownDefaultActionType { + /** Deny */ + Deny = "Deny", + /** Allow */ + Allow = "Allow", } /** - * Defines values for CredentialsType. \ - * {@link KnownCredentialsType} can be used interchangeably with CredentialsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **None** \ - * **Sas** \ - * **ServicePrincipal** + * **Deny** \ + * **Allow** */ -export type CredentialsType = string; +export type DefaultActionType = string; -/** Known values of {@link SecretsType} that the service accepts. */ -export enum KnownSecretsType { - /** AccountKey */ - AccountKey = "AccountKey", - /** Certificate */ - Certificate = "Certificate", - /** Sas */ - Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal", +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Creating */ + Creating = "Creating", + /** Deleting */ + Deleting = "Deleting", + /** Failed */ + Failed = "Failed", } /** - * Defines values for SecretsType. \ - * {@link KnownSecretsType} can be used interchangeably with SecretsType, + * 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 - * **AccountKey** \ - * **Certificate** \ - * **Sas** \ - * **ServicePrincipal** + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** */ -export type SecretsType = string; +export type PrivateEndpointConnectionProvisioningState = string; -/** Known values of {@link FeatureDataType} that the service accepts. */ -export enum KnownFeatureDataType { - /** String */ - String = "String", - /** Integer */ - Integer = "Integer", - /** Long */ - Long = "Long", - /** Float */ - Float = "Float", - /** Double */ - Double = "Double", - /** Binary */ - Binary = "Binary", - /** Datetime */ - Datetime = "Datetime", - /** Boolean */ - Boolean = "Boolean", +/** Known values of {@link SystemDatastoresAuthMode} that the service accepts. */ +export enum KnownSystemDatastoresAuthMode { + /** AccessKey */ + AccessKey = "AccessKey", + /** Identity */ + Identity = "Identity", + /** UserDelegationSAS */ + UserDelegationSAS = "UserDelegationSAS", } /** - * Defines values for FeatureDataType. \ - * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * 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 - * **String** \ - * **Integer** \ - * **Long** \ - * **Float** \ - * **Double** \ - * **Binary** \ - * **Datetime** \ - * **Boolean** + * **AccessKey** \ + * **Identity** \ + * **UserDelegationSAS** */ -export type FeatureDataType = string; +export type SystemDatastoresAuthMode = string; -/** Known values of {@link MaterializationStoreType} that the service accepts. */ -export enum KnownMaterializationStoreType { +/** Known values of {@link ConnectionAuthType} that the service accepts. */ +export enum KnownConnectionAuthType { + /** PAT */ + PAT = "PAT", + /** ManagedIdentity */ + ManagedIdentity = "ManagedIdentity", + /** UsernamePassword */ + UsernamePassword = "UsernamePassword", /** None */ None = "None", - /** Online */ - Online = "Online", - /** Offline */ - Offline = "Offline", - /** OnlineAndOffline */ - OnlineAndOffline = "OnlineAndOffline", + /** 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 MaterializationStoreType. \ - * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, + * 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** \ - * **Online** \ - * **Offline** \ - * **OnlineAndOffline** + * **SAS** \ + * **AccountKey** \ + * **ServicePrincipal** \ + * **AccessKey** \ + * **ApiKey** \ + * **CustomKeys** \ + * **OAuth2** \ + * **AAD** */ -export type MaterializationStoreType = string; +export type ConnectionAuthType = string; -/** Known values of {@link RecurrenceFrequency} that the service accepts. */ -export enum KnownRecurrenceFrequency { - /** Minute frequency */ - Minute = "Minute", - /** Hour frequency */ - Hour = "Hour", - /** Day frequency */ - Day = "Day", - /** Week frequency */ - Week = "Week", - /** Month frequency */ - Month = "Month", +/** Known values of {@link 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 RecurrenceFrequency. \ - * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * 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 - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **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 RecurrenceFrequency = string; +export type ConnectionCategory = 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 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 WeekDay. \ - * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * 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 - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **Azure** \ + * **AzureAI** \ + * **Database** \ + * **NoSQL** \ + * **File** \ + * **GenericProtocol** \ + * **ServicesAndApps** */ -export type WeekDay = string; +export type ConnectionGroup = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** Known values of {@link ManagedPERequirement} that the service accepts. */ +export enum KnownManagedPERequirement { + /** Required */ + Required = "Required", + /** NotRequired */ + NotRequired = "NotRequired", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for TriggerType. \ - * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * 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 - * **Recurrence** \ - * **Cron** + * **Required** \ + * **NotRequired** \ + * **NotApplicable** */ -export type TriggerType = string; +export type ManagedPERequirement = 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 ManagedPEStatus} that the service accepts. */ +export enum KnownManagedPEStatus { + /** Inactive */ + Inactive = "Inactive", + /** Active */ + Active = "Active", + /** NotApplicable */ + NotApplicable = "NotApplicable", } /** - * Defines values for EmailNotificationEnableType. \ - * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, + * 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 - * **JobCompleted** \ - * **JobFailed** \ - * **JobCancelled** + * **Inactive** \ + * **Active** \ + * **NotApplicable** */ -export type EmailNotificationEnableType = string; +export type ManagedPEStatus = string; -/** Known values of {@link WebhookType} that the service accepts. */ -export enum KnownWebhookType { - /** AzureDevOps */ - AzureDevOps = "AzureDevOps", +/** Known values of {@link DefaultResourceProvisioningState} that the service accepts. */ +export enum KnownDefaultResourceProvisioningState { + /** NotStarted */ + NotStarted = "NotStarted", + /** Failed */ + Failed = "Failed", + /** Creating */ + Creating = "Creating", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Deleting */ + Deleting = "Deleting", + /** Accepted */ + Accepted = "Accepted", + /** Canceled */ + Canceled = "Canceled", + /** Scaling */ + Scaling = "Scaling", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for WebhookType. \ - * {@link KnownWebhookType} can be used interchangeably with WebhookType, + * 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 - * **AzureDevOps** + * **NotStarted** \ + * **Failed** \ + * **Creating** \ + * **Updating** \ + * **Succeeded** \ + * **Deleting** \ + * **Accepted** \ + * **Canceled** \ + * **Scaling** \ + * **Disabled** */ -export type WebhookType = string; +export type DefaultResourceProvisioningState = 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 ModelLifecycleStatus} that the service accepts. */ +export enum KnownModelLifecycleStatus { + /** GenerallyAvailable */ + GenerallyAvailable = "GenerallyAvailable", + /** Preview */ + Preview = "Preview", } /** - * Defines values for DataAvailabilityStatus. \ - * {@link KnownDataAvailabilityStatus} can be used interchangeably with DataAvailabilityStatus, + * 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 - * **None** \ - * **Pending** \ - * **Incomplete** \ - * **Complete** + * **GenerallyAvailable** \ + * **Preview** */ -export type DataAvailabilityStatus = 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", +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 JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * 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 - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** \ - * **Spark** + * **Low** \ + * **Medium** \ + * **High** */ -export type JobType = string; +export type AllowedContentLevel = 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 RaiPolicyContentSource} that the service accepts. */ +export enum KnownRaiPolicyContentSource { + /** Prompt */ + Prompt = "Prompt", + /** Completion */ + Completion = "Completion", } /** - * Defines values for JobStatus. \ - * {@link KnownJobStatus} can be used interchangeably with JobStatus, + * 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 - * **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 + * **Prompt** \ + * **Completion** */ -export type JobStatus = string; +export type RaiPolicyContentSource = string; -/** Known values of {@link NodesValueType} that the service accepts. */ -export enum KnownNodesValueType { - /** All */ - All = "All", +/** Known values of {@link RaiPolicyMode} that the service accepts. */ +export enum KnownRaiPolicyMode { + /** Default */ + Default = "Default", + /** Deferred */ + Deferred = "Deferred", + /** Blocking */ + Blocking = "Blocking", } /** - * Defines values for NodesValueType. \ - * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * 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 - * **All** + * **Default** \ + * **Deferred** \ + * **Blocking** */ -export type NodesValueType = string; +export type RaiPolicyMode = 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 RaiPolicyType} that the service accepts. */ +export enum KnownRaiPolicyType { + /** UserManaged */ + UserManaged = "UserManaged", + /** SystemManaged */ + SystemManaged = "SystemManaged", } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * 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 - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **UserManaged** \ + * **SystemManaged** */ -export type IdentityConfigurationType = string; +export type RaiPolicyType = 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 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 MarketplaceSubscriptionStatus. \ - * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus, + * 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 - * **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. + * **Azure.OpenAI** \ + * **Azure.Speech** \ + * **Azure.ContentSafety** \ + * **Azure.Llama** \ + * **managedOnlineEndpoint** \ + * **serverlessEndpoint** */ -export type MarketplaceSubscriptionStatus = string; +export type EndpointType = 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 DiagnoseResultLevel} that the service accepts. */ +export enum KnownDiagnoseResultLevel { + /** Warning */ + Warning = "Warning", + /** Error */ + Error = "Error", + /** Information */ + Information = "Information", } /** - * Defines values for MarketplaceSubscriptionProvisioningState. \ - * {@link KnownMarketplaceSubscriptionProvisioningState} can be used interchangeably with MarketplaceSubscriptionProvisioningState, + * Defines values for DiagnoseResultLevel. \ + * {@link KnownDiagnoseResultLevel} can be used interchangeably with DiagnoseResultLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Creating**: MarketplaceSubscription is being created. \ - * **Deleting**: MarketplaceSubscription is being deleted. \ - * **Succeeded**: MarketplaceSubscription is successfully provisioned. \ - * **Failed**: MarketplaceSubscription provisioning failed. \ - * **Updating**: MarketplaceSubscription is being updated. \ - * **Canceled** + * **Warning** \ + * **Error** \ + * **Information** */ -export type MarketplaceSubscriptionProvisioningState = string; +export type DiagnoseResultLevel = 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 ServiceAccountKeyName} that the service accepts. */ +export enum KnownServiceAccountKeyName { + /** Key1 */ + Key1 = "Key1", + /** Key2 */ + Key2 = "Key2", } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * 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 - * **Managed** \ - * **Kubernetes** \ - * **AzureMLCompute** + * **Key1** \ + * **Key2** */ -export type EndpointComputeType = string; +export type ServiceAccountKeyName = 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 ManagedNetworkProvisioningState} that the service accepts. */ +export enum KnownManagedNetworkProvisioningState { + /** Deferred */ + Deferred = "Deferred", + /** Updating */ + Updating = "Updating", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Deleting */ + Deleting = "Deleting", + /** Deleted */ + Deleted = "Deleted", } /** - * Defines values for OrderString. \ - * {@link KnownOrderString} can be used interchangeably with OrderString, + * Defines values for ManagedNetworkProvisioningState. \ + * {@link KnownManagedNetworkProvisioningState} can be used interchangeably with ManagedNetworkProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **CreatedAtDesc** \ - * **CreatedAtAsc** \ - * **UpdatedAtDesc** \ - * **UpdatedAtAsc** + * **Deferred** \ + * **Updating** \ + * **Succeeded** \ + * **Failed** \ + * **Deleting** \ + * **Deleted** */ -export type OrderString = string; +export type ManagedNetworkProvisioningState = string; -/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ -export enum KnownPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", +/** 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; + +/** Known values of {@link SslConfigStatus} that the service accepts. */ +export enum KnownSslConfigStatus { /** Disabled */ Disabled = "Disabled", + /** Enabled */ + Enabled = "Enabled", + /** Auto */ + Auto = "Auto", } /** - * Defines values for PublicNetworkAccessType. \ - * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * 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 + * **Disabled** \ * **Enabled** \ - * **Disabled** + * **Auto** */ -export type PublicNetworkAccessType = string; +export type SslConfigStatus = string; -/** Known values of {@link ScaleType} that the service accepts. */ -export enum KnownScaleType { - /** Default */ - Default = "Default", - /** TargetUtilization */ - TargetUtilization = "TargetUtilization", +/** Known values of {@link LoadBalancerType} that the service accepts. */ +export enum KnownLoadBalancerType { + /** PublicIp */ + PublicIp = "PublicIp", + /** InternalLoadBalancer */ + InternalLoadBalancer = "InternalLoadBalancer", +} + +/** + * 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 + * **PublicIp** \ + * **InternalLoadBalancer** + */ +export type LoadBalancerType = string; + +/** Known values of {@link OsType} that the service accepts. */ +export enum KnownOsType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows", } /** - * Defines values for ScaleType. \ - * {@link KnownScaleType} can be used interchangeably with ScaleType, + * 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 - * **Default** \ - * **TargetUtilization** + * **Linux** \ + * **Windows** */ -export type ScaleType = string; +export type OsType = string; -/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ -export enum KnownEgressPublicNetworkAccessType { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link VmPriority} that the service accepts. */ +export enum KnownVmPriority { + /** Dedicated */ + Dedicated = "Dedicated", + /** LowPriority */ + LowPriority = "LowPriority", } /** - * Defines values for EgressPublicNetworkAccessType. \ - * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * 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 - * **Enabled** \ - * **Disabled** + * **Dedicated** \ + * **LowPriority** */ -export type EgressPublicNetworkAccessType = string; +export type VmPriority = string; -/** Known values of {@link DataCollectionMode} that the service accepts. */ -export enum KnownDataCollectionMode { +/** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ +export enum KnownRemoteLoginPortPublicAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", + /** NotSpecified */ + NotSpecified = "NotSpecified", } /** - * Defines values for DataCollectionMode. \ - * {@link KnownDataCollectionMode} can be used interchangeably with DataCollectionMode, + * 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** - */ -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** + * **Disabled** \ + * **NotSpecified** */ -export type RollingRateType = string; +export type RemoteLoginPortPublicAccess = string; -/** Known values of {@link ContainerType} that the service accepts. */ -export enum KnownContainerType { - /** StorageInitializer */ - StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer", +/** Known values of {@link AllocationState} that the service accepts. */ +export enum KnownAllocationState { + /** Steady */ + Steady = "Steady", + /** Resizing */ + Resizing = "Resizing", } /** - * Defines values for ContainerType. \ - * {@link KnownContainerType} can be used interchangeably with ContainerType, + * 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 - * **StorageInitializer** \ - * **InferenceServer** + * **Steady** \ + * **Resizing** */ -export type ContainerType = string; +export type AllocationState = 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 ApplicationSharingPolicy} that the service accepts. */ +export enum KnownApplicationSharingPolicy { + /** Personal */ + Personal = "Personal", + /** Shared */ + Shared = "Shared", } /** - * Defines values for SkuScaleType. \ - * {@link KnownSkuScaleType} can be used interchangeably with SkuScaleType, + * 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 - * **Automatic**: Automatically scales node count. \ - * **Manual**: Node count scaled upon user request. \ - * **None**: Fixed set of nodes. + * **Personal** \ + * **Shared** */ -export type SkuScaleType = string; +export type ApplicationSharingPolicy = string; -/** Known values of {@link KeyType} that the service accepts. */ -export enum KnownKeyType { - /** Primary */ - Primary = "Primary", - /** Secondary */ - Secondary = "Secondary", +/** Known values of {@link MlflowAutologger} that the service accepts. */ +export enum KnownMlflowAutologger { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for KeyType. \ - * {@link KnownKeyType} can be used interchangeably with KeyType, + * 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 - * **Primary** \ - * **Secondary** + * **Enabled** \ + * **Disabled** */ -export type KeyType = string; +export type MlflowAutologger = 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 SshPublicAccess} that the service accepts. */ +export enum KnownSshPublicAccess { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for ScheduleListViewType. \ - * {@link KnownScheduleListViewType} can be used interchangeably with ScheduleListViewType, + * 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 - * **EnabledOnly** \ - * **DisabledOnly** \ - * **All** + * **Enabled** \ + * **Disabled** */ -export type ScheduleListViewType = string; +export type SshPublicAccess = 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 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 ScheduleActionType. \ - * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * 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 - * **CreateJob** \ - * **InvokeBatchEndpoint** \ - * **CreateMonitor** + * **CompletedWithWarnings** \ + * **Failed** \ + * **InProgress** \ + * **Succeeded** \ + * **Unknown** */ -export type ScheduleActionType = string; +export type PatchStatus = string; -/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ -export enum KnownScheduleProvisioningStatus { +/** Known values of {@link ComputeInstanceState} that the service accepts. */ +export enum KnownComputeInstanceState { /** Creating */ Creating = "Creating", - /** Updating */ - Updating = "Updating", + /** CreateFailed */ + CreateFailed = "CreateFailed", /** Deleting */ Deleting = "Deleting", - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", + /** 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 ScheduleProvisioningStatus. \ - * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * 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 * **Creating** \ - * **Updating** \ + * **CreateFailed** \ * **Deleting** \ - * **Succeeded** \ - * **Failed** \ - * **Canceled** + * **Running** \ + * **Restarting** \ + * **Resizing** \ + * **JobRunning** \ + * **SettingUp** \ + * **SetupFailed** \ + * **Starting** \ + * **Stopped** \ + * **Stopping** \ + * **UserSettingUp** \ + * **UserSetupFailed** \ + * **Unknown** \ + * **Unusable** */ -export type ScheduleProvisioningStatus = string; +export type ComputeInstanceState = string; -/** Known values of {@link ServerlessInferenceEndpointAuthMode} that the service accepts. */ -export enum KnownServerlessInferenceEndpointAuthMode { - /** Key */ - Key = "Key", +/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ +export enum KnownComputeInstanceAuthorizationType { + /** Personal */ + Personal = "personal", } /** - * Defines values for ServerlessInferenceEndpointAuthMode. \ - * {@link KnownServerlessInferenceEndpointAuthMode} can be used interchangeably with ServerlessInferenceEndpointAuthMode, + * 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 - * **Key** + * **personal** */ -export type ServerlessInferenceEndpointAuthMode = string; +export type ComputeInstanceAuthorizationType = 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 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 ServerlessEndpointState. \ - * {@link KnownServerlessEndpointState} can be used interchangeably with ServerlessEndpointState, + * 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 - * **Unknown** \ - * **Creating** \ - * **Deleting** \ - * **Suspending** \ - * **Reinstating** \ - * **Online** \ - * **Suspended** \ - * **CreationFailed** \ - * **DeletionFailed** + * **Create** \ + * **Start** \ + * **Stop** \ + * **Restart** \ + * **Resize** \ + * **Reimage** \ + * **Delete** */ -export type ServerlessEndpointState = string; +export type OperationName = string; -/** Known values of {@link ContentSafetyStatus} that the service accepts. */ -export enum KnownContentSafetyStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link OperationStatus} that the service accepts. */ +export enum KnownOperationStatus { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** CreateFailed */ + CreateFailed = "CreateFailed", + /** StartFailed */ + StartFailed = "StartFailed", + /** StopFailed */ + StopFailed = "StopFailed", + /** RestartFailed */ + RestartFailed = "RestartFailed", + /** ResizeFailed */ + ResizeFailed = "ResizeFailed", + /** ReimageFailed */ + ReimageFailed = "ReimageFailed", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", } /** - * Defines values for ContentSafetyStatus. \ - * {@link KnownContentSafetyStatus} can be used interchangeably with ContentSafetyStatus, + * 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 - * **Enabled** \ - * **Disabled** + * **InProgress** \ + * **Succeeded** \ + * **CreateFailed** \ + * **StartFailed** \ + * **StopFailed** \ + * **RestartFailed** \ + * **ResizeFailed** \ + * **ReimageFailed** \ + * **DeleteFailed** */ -export type ContentSafetyStatus = string; +export type OperationStatus = string; -/** Known values of {@link EndpointServiceConnectionStatus} that the service accepts. */ -export enum KnownEndpointServiceConnectionStatus { - /** Approved */ - Approved = "Approved", - /** Pending */ - Pending = "Pending", - /** Rejected */ - Rejected = "Rejected", - /** Disconnected */ - Disconnected = "Disconnected", +/** Known values of {@link OperationTrigger} that the service accepts. */ +export enum KnownOperationTrigger { + /** User */ + User = "User", + /** Schedule */ + Schedule = "Schedule", + /** IdleShutdown */ + IdleShutdown = "IdleShutdown", } /** - * Defines values for EndpointServiceConnectionStatus. \ - * {@link KnownEndpointServiceConnectionStatus} can be used interchangeably with EndpointServiceConnectionStatus, + * 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 - * **Approved** \ - * **Pending** \ - * **Rejected** \ - * **Disconnected** + * **User** \ + * **Schedule** \ + * **IdleShutdown** */ -export type EndpointServiceConnectionStatus = string; +export type OperationTrigger = string; -/** Known values of {@link ClusterPurpose} that the service accepts. */ -export enum KnownClusterPurpose { - /** FastProd */ - FastProd = "FastProd", - /** DenseProd */ - DenseProd = "DenseProd", - /** DevTest */ - DevTest = "DevTest", +/** Known values of {@link ProvisioningStatus} that the service accepts. */ +export enum KnownProvisioningStatus { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for ClusterPurpose. \ - * {@link KnownClusterPurpose} can be used interchangeably with ClusterPurpose, + * 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 - * **FastProd** \ - * **DenseProd** \ - * **DevTest** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type ClusterPurpose = string; +export type ProvisioningStatus = string; -/** Known values of {@link SslConfigStatus} that the service accepts. */ -export enum KnownSslConfigStatus { - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link ScheduleStatus} that the service accepts. */ +export enum KnownScheduleStatus { /** Enabled */ Enabled = "Enabled", - /** Auto */ - Auto = "Auto", + /** Disabled */ + Disabled = "Disabled", } /** - * Defines values for SslConfigStatus. \ - * {@link KnownSslConfigStatus} can be used interchangeably with SslConfigStatus, + * 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 - * **Disabled** \ * **Enabled** \ - * **Auto** + * **Disabled** */ -export type SslConfigStatus = string; +export type ScheduleStatus = string; -/** Known values of {@link LoadBalancerType} that the service accepts. */ -export enum KnownLoadBalancerType { - /** PublicIp */ - PublicIp = "PublicIp", - /** InternalLoadBalancer */ - InternalLoadBalancer = "InternalLoadBalancer", +/** Known values of {@link ComputePowerAction} that the service accepts. */ +export enum KnownComputePowerAction { + /** Start */ + Start = "Start", + /** Stop */ + Stop = "Stop", } /** - * Defines values for LoadBalancerType. \ - * {@link KnownLoadBalancerType} can be used interchangeably with LoadBalancerType, + * 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 - * **PublicIp** \ - * **InternalLoadBalancer** + * **Start** \ + * **Stop** */ -export type LoadBalancerType = string; +export type ComputePowerAction = string; -/** Known values of {@link OsType} that the service accepts. */ -export enum KnownOsType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows", +/** Known values of {@link ComputeTriggerType} that the service accepts. */ +export enum KnownComputeTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron", } /** - * Defines values for OsType. \ - * {@link KnownOsType} can be used interchangeably with OsType, + * 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 - * **Linux** \ - * **Windows** + * **Recurrence** \ + * **Cron** */ -export type OsType = string; +export type ComputeTriggerType = string; -/** Known values of {@link VmPriority} that the service accepts. */ -export enum KnownVmPriority { - /** Dedicated */ - Dedicated = "Dedicated", - /** LowPriority */ - LowPriority = "LowPriority", +/** 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 VmPriority. \ - * {@link KnownVmPriority} can be used interchangeably with VmPriority, + * 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 - * **Dedicated** \ - * **LowPriority** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type VmPriority = string; +export type ComputeRecurrenceFrequency = 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 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 RemoteLoginPortPublicAccess. \ - * {@link KnownRemoteLoginPortPublicAccess} can be used interchangeably with RemoteLoginPortPublicAccess, + * 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 - * **Enabled** \ - * **Disabled** \ - * **NotSpecified** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type RemoteLoginPortPublicAccess = string; +export type ComputeWeekDay = string; -/** Known values of {@link AllocationState} that the service accepts. */ -export enum KnownAllocationState { - /** Steady */ - Steady = "Steady", - /** Resizing */ - Resizing = "Resizing", +/** Known values of {@link ScheduleProvisioningState} that the service accepts. */ +export enum KnownScheduleProvisioningState { + /** Completed */ + Completed = "Completed", + /** Provisioning */ + Provisioning = "Provisioning", + /** Failed */ + Failed = "Failed", } /** - * Defines values for AllocationState. \ - * {@link KnownAllocationState} can be used interchangeably with AllocationState, + * 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 - * **Steady** \ - * **Resizing** + * **Completed** \ + * **Provisioning** \ + * **Failed** */ -export type AllocationState = string; +export type ScheduleProvisioningState = string; -/** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ -export enum KnownApplicationSharingPolicy { - /** Personal */ - Personal = "Personal", - /** Shared */ - Shared = "Shared", +/** Known values of {@link Autosave} that the service accepts. */ +export enum KnownAutosave { + /** None */ + None = "None", + /** Local */ + Local = "Local", + /** Remote */ + Remote = "Remote", } /** - * Defines values for ApplicationSharingPolicy. \ - * {@link KnownApplicationSharingPolicy} can be used interchangeably with ApplicationSharingPolicy, + * 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 - * **Personal** \ - * **Shared** + * **None** \ + * **Local** \ + * **Remote** */ -export type ApplicationSharingPolicy = string; +export type Autosave = string; -/** Known values of {@link SshPublicAccess} that the service accepts. */ -export enum KnownSshPublicAccess { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** Known values of {@link Network} that the service accepts. */ +export enum KnownNetwork { + /** Bridge */ + Bridge = "Bridge", + /** Host */ + Host = "Host", } /** - * Defines values for SshPublicAccess. \ - * {@link KnownSshPublicAccess} can be used interchangeably with SshPublicAccess, + * 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 - * **Enabled** \ - * **Disabled** + * **Bridge** \ + * **Host** */ -export type SshPublicAccess = string; +export type Network = string; -/** Known values of {@link ImageType} that the service accepts. */ -export enum KnownImageType { - /** Docker */ - Docker = "docker", - /** Azureml */ - Azureml = "azureml", +/** Known values of {@link Caching} that the service accepts. */ +export enum KnownCaching { + /** None */ + None = "None", + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite", } /** - * Defines values for ImageType. \ - * {@link KnownImageType} can be used interchangeably with ImageType, + * 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 - * **docker** \ - * **azureml** + * **None** \ + * **ReadOnly** \ + * **ReadWrite** */ -export type ImageType = string; +export type Caching = string; -/** Known values of {@link EnvironmentVariableType} that the service accepts. */ -export enum KnownEnvironmentVariableType { - /** Local */ - Local = "local", +/** Known values of {@link StorageAccountType} that the service accepts. */ +export enum KnownStorageAccountType { + /** StandardLRS */ + StandardLRS = "Standard_LRS", + /** PremiumLRS */ + PremiumLRS = "Premium_LRS", } /** - * Defines values for EnvironmentVariableType. \ - * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * 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 - * **local** + * **Standard_LRS** \ + * **Premium_LRS** */ -export type EnvironmentVariableType = string; +export type StorageAccountType = 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 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 Protocol. \ - * {@link KnownProtocol} can be used interchangeably with Protocol, + * 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 - * **tcp** \ - * **udp** \ - * **http** + * **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 Protocol = string; +export type MonitoringFeatureFilterType = string; -/** Known values of {@link VolumeDefinitionType} that the service accepts. */ -export enum KnownVolumeDefinitionType { - /** Bind */ - Bind = "bind", - /** Volume */ - Volume = "volume", - /** Tmpfs */ - Tmpfs = "tmpfs", - /** Npipe */ - Npipe = "npipe", +/** Known values of {@link 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 VolumeDefinitionType. \ - * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * 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 - * **bind** \ - * **volume** \ - * **tmpfs** \ - * **npipe** + * **AmlToken**: Authenticates through user's AML token. \ + * **ManagedIdentity**: Authenticates through a user-provided managed identity. */ -export type VolumeDefinitionType = string; +export type MonitorComputeIdentityType = 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 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 ComputeInstanceState. \ - * {@link KnownComputeInstanceState} can be used interchangeably with ComputeInstanceState, + * 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 - * **Creating** \ - * **CreateFailed** \ - * **Deleting** \ - * **Running** \ - * **Restarting** \ - * **JobRunning** \ - * **SettingUp** \ - * **SetupFailed** \ - * **Starting** \ - * **Stopped** \ - * **Stopping** \ - * **UserSettingUp** \ - * **UserSetupFailed** \ - * **Unknown** \ - * **Unusable** + * **ReadOnlyMount** \ + * **ReadWriteMount** \ + * **Download** \ + * **Direct** \ + * **EvalMount** \ + * **EvalDownload** */ -export type ComputeInstanceState = string; +export type InputDeliveryMode = string; -/** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ -export enum KnownComputeInstanceAuthorizationType { - /** Personal */ - Personal = "personal", +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + /** ReadWriteMount */ + ReadWriteMount = "ReadWriteMount", + /** Upload */ + Upload = "Upload", + /** Direct */ + Direct = "Direct", } /** - * Defines values for ComputeInstanceAuthorizationType. \ - * {@link KnownComputeInstanceAuthorizationType} can be used interchangeably with ComputeInstanceAuthorizationType, + * 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 - * **personal** + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** */ -export type ComputeInstanceAuthorizationType = string; +export type OutputDeliveryMode = 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 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 OperationName. \ - * {@link KnownOperationName} can be used interchangeably with OperationName, + * 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 - * **Create** \ - * **Start** \ - * **Stop** \ - * **Restart** \ - * **Reimage** \ - * **Delete** + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. */ -export type OperationName = string; +export type ForecastHorizonMode = 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 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 OperationStatus. \ - * {@link KnownOperationStatus} can be used interchangeably with OperationStatus, + * 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 - * **InProgress** \ - * **Succeeded** \ - * **CreateFailed** \ - * **StartFailed** \ - * **StopFailed** \ - * **RestartFailed** \ - * **ReimageFailed** \ - * **DeleteFailed** + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type OperationStatus = string; +export type JobOutputType = 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 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 OperationTrigger. \ - * {@link KnownOperationTrigger} can be used interchangeably with OperationTrigger, + * 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 - * **User** \ - * **Schedule** \ - * **IdleShutdown** + * **Null** \ + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** */ -export type OperationTrigger = string; +export type JobTier = 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 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 ProvisioningStatus. \ - * {@link KnownProvisioningStatus} can be used interchangeably with ProvisioningStatus, + * 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 - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **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 ProvisioningStatus = string; +export type LogVerbosity = string; -/** Known values of {@link ScheduleStatus} that the service accepts. */ -export enum KnownScheduleStatus { - /** Enabled */ - Enabled = "Enabled", - /** Disabled */ - Disabled = "Disabled", +/** 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 ScheduleStatus. \ - * {@link KnownScheduleStatus} can be used interchangeably with ScheduleStatus, + * 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 - * **Enabled** \ - * **Disabled** + * **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 ScheduleStatus = string; +export type TaskType = string; -/** Known values of {@link ComputePowerAction} that the service accepts. */ -export enum KnownComputePowerAction { - /** Start */ - Start = "Start", - /** Stop */ - Stop = "Stop", +/** 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 ComputePowerAction. \ - * {@link KnownComputePowerAction} can be used interchangeably with ComputePowerAction, + * 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 - * **Start** \ - * **Stop** + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** */ -export type ComputePowerAction = string; +export type JobInputType = string; -/** Known values of {@link ComputeTriggerType} that the service accepts. */ -export enum KnownComputeTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - Cron = "Cron", +/** 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 ComputeTriggerType. \ - * {@link KnownComputeTriggerType} can be used interchangeably with ComputeTriggerType, + * 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 - * **Recurrence** \ - * **Cron** + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. */ -export type ComputeTriggerType = string; +export type NCrossValidationsMode = 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 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 ComputeRecurrenceFrequency. \ - * {@link KnownComputeRecurrenceFrequency} can be used interchangeably with ComputeRecurrenceFrequency, + * 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 - * **Minute**: Minute frequency \ - * **Hour**: Hour frequency \ - * **Day**: Day frequency \ - * **Week**: Week frequency \ - * **Month**: Month frequency + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. */ -export type ComputeRecurrenceFrequency = string; +export type SeasonalityMode = 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 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 ComputeWeekDay. \ - * {@link KnownComputeWeekDay} can be used interchangeably with ComputeWeekDay, + * 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 - * **Monday**: Monday weekday \ - * **Tuesday**: Tuesday weekday \ - * **Wednesday**: Wednesday weekday \ - * **Thursday**: Thursday weekday \ - * **Friday**: Friday weekday \ - * **Saturday**: Saturday weekday \ - * **Sunday**: Sunday weekday + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. */ -export type ComputeWeekDay = string; +export type TargetLagsMode = 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 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 ScheduleProvisioningState. \ - * {@link KnownScheduleProvisioningState} can be used interchangeably with ScheduleProvisioningState, + * 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 - * **Completed** \ - * **Provisioning** \ - * **Failed** + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. */ -export type ScheduleProvisioningState = string; +export type TargetRollingWindowSizeMode = string; -/** Known values of {@link Autosave} that the service accepts. */ -export enum KnownAutosave { - /** None */ +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ None = "None", - /** Local */ - Local = "Local", - /** Remote */ - Remote = "Remote", + /** 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 Autosave. \ - * {@link KnownAutosave} can be used interchangeably with Autosave, + * 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 - * **None** \ - * **Local** \ - * **Remote** + * **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 Autosave = string; +export type ServiceDataAccessAuthIdentity = string; -/** Known values of {@link Network} that the service accepts. */ -export enum KnownNetwork { - /** Bridge */ - Bridge = "Bridge", - /** Host */ - Host = "Host", +/** 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 Network. \ - * {@link KnownNetwork} can be used interchangeably with Network, + * 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 - * **Bridge** \ - * **Host** + * **AzureOpenAI**: Fine tuning using Azure Open AI model. \ + * **Custom**: Fine tuning using custom model. */ -export type Network = string; +export type ModelProvider = 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 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 Caching. \ - * {@link KnownCaching} can be used interchangeably with Caching, + * 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 - * **None** \ - * **ReadOnly** \ - * **ReadWrite** + * **ChatCompletion** \ + * **TextCompletion** \ + * **TextClassification** \ + * **QuestionAnswering** \ + * **TextSummarization** \ + * **TokenClassification** \ + * **TextTranslation** \ + * **ImageClassification** \ + * **ImageInstanceSegmentation** \ + * **ImageObjectDetection** \ + * **VideoMultiObjectTracking** */ -export type Caching = string; +export type FineTuningTaskType = 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 EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + /** Bandit */ + Bandit = "Bandit", + /** MedianStopping */ + MedianStopping = "MedianStopping", + /** TruncationSelection */ + TruncationSelection = "TruncationSelection", } /** - * Defines values for StorageAccountType. \ - * {@link KnownStorageAccountType} can be used interchangeably with StorageAccountType, + * 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 - * **Standard_LRS** \ - * **Premium_LRS** + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** */ -export type StorageAccountType = string; +export type EarlyTerminationPolicyType = 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 SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + /** Grid */ + Grid = "Grid", + /** Random */ + Random = "Random", + /** Bayesian */ + Bayesian = "Bayesian", } /** - * Defines values for SourceType. \ - * {@link KnownSourceType} can be used interchangeably with SourceType, + * 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 - * **Dataset** \ - * **Datastore** \ - * **URI** + * **Grid** \ + * **Random** \ + * **Bayesian** */ -export type SourceType = string; +export type SamplingAlgorithmType = string; -/** Known values of {@link MountAction} that the service accepts. */ -export enum KnownMountAction { - /** Mount */ - Mount = "Mount", - /** Unmount */ - Unmount = "Unmount", +/** 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 MountAction. \ - * {@link KnownMountAction} can be used interchangeably with MountAction, + * 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 - * **Mount** \ - * **Unmount** + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type MountAction = string; +export type CategoricalDataDriftMetric = 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 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 MountState. \ - * {@link KnownMountState} can be used interchangeably with MountState, + * 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 - * **MountRequested** \ - * **Mounted** \ - * **MountFailed** \ - * **UnmountRequested** \ - * **UnmountFailed** \ - * **Unmounted** + * **Numerical**: Used for features of numerical data type. \ + * **Categorical**: Used for features of categorical data type. */ -export type MountState = string; +export type MonitoringFeatureDataType = string; -/** Known values of {@link RuleAction} that the service accepts. */ -export enum KnownRuleAction { - /** Allow */ - Allow = "Allow", - /** Deny */ - Deny = "Deny", +/** 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 RuleAction. \ - * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * 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 - * **Allow** \ - * **Deny** + * **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 RuleAction = string; +export type CategoricalDataQualityMetric = 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 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 MonitoringFeatureFilterType. \ - * {@link KnownMonitoringFeatureFilterType} can be used interchangeably with MonitoringFeatureFilterType, + * 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 - * **AllFeatures**: Includes all features. \ - * **TopNByAttribution**: Only includes the top contributing features, measured by feature attribution. \ - * **FeatureSubset**: Includes a user-defined subset of features. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. */ -export type MonitoringFeatureFilterType = string; +export type CategoricalPredictionDriftMetric = 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 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 MonitorComputeIdentityType. \ - * {@link KnownMonitorComputeIdentityType} can be used interchangeably with MonitorComputeIdentityType, + * 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 - * **AmlToken**: Authenticates through user's AML token. \ - * **ManagedIdentity**: Authenticates through a user-provided managed identity. + * **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 MonitorComputeIdentityType = string; +export type ClassificationPrimaryMetrics = 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 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 InputDeliveryMode. \ - * {@link KnownInputDeliveryMode} can be used interchangeably with InputDeliveryMode, + * 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 - * **ReadOnlyMount** \ - * **ReadWriteMount** \ - * **Download** \ - * **Direct** \ - * **EvalMount** \ - * **EvalDownload** + * **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 InputDeliveryMode = string; +export type ClassificationModels = 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 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 OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * 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 - * **ReadWriteMount** \ - * **Upload** \ - * **Direct** + * **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 OutputDeliveryMode = string; +export type StackMetaLearnerType = string; -/** Known values of {@link ForecastHorizonMode} that the service accepts. */ -export enum KnownForecastHorizonMode { - /** Forecast horizon to be determined automatically. */ - Auto = "Auto", - /** Use the custom forecast horizon. */ - Custom = "Custom", +/** Known values of {@link 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 ForecastHorizonMode. \ - * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * 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 - * **Auto**: Forecast horizon to be determined automatically. \ - * **Custom**: Use the custom forecast horizon. + * **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 ForecastHorizonMode = string; +export type BlockedTransformers = 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 FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off", } /** - * Defines values for TaskType. \ - * {@link KnownTaskType} can be used interchangeably with TaskType, + * 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 - * **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. + * **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 TaskType = string; +export type FeaturizationMode = 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 DistributionType} that the service accepts. */ +export enum KnownDistributionType { + /** PyTorch */ + PyTorch = "PyTorch", + /** TensorFlow */ + TensorFlow = "TensorFlow", + /** Mpi */ + Mpi = "Mpi", } /** - * Defines values for LogVerbosity. \ - * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * 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 - * **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. + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** */ -export type LogVerbosity = string; +export type DistributionType = 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 JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + /** Command */ + Command = "Command", + /** Sweep */ + Sweep = "Sweep", } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * 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 - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Command** \ + * **Sweep** */ -export type JobInputType = string; +export type JobLimitsType = 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 MonitorComputeType} that the service accepts. */ +export enum KnownMonitorComputeType { + /** Serverless Spark compute. */ + ServerlessSpark = "ServerlessSpark", } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * 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 - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **ServerlessSpark**: Serverless Spark compute. */ -export type JobOutputType = string; +export type MonitorComputeType = 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 ModelTaskType} that the service accepts. */ +export enum KnownModelTaskType { + /** Classification */ + Classification = "Classification", + /** Regression */ + Regression = "Regression", } /** - * Defines values for JobTier. \ - * {@link KnownJobTier} can be used interchangeably with JobTier, + * 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 - * **Null** \ - * **Spot** \ - * **Basic** \ - * **Standard** \ - * **Premium** + * **Classification** \ + * **Regression** */ -export type JobTier = string; +export type ModelTaskType = string; -/** Known values of {@link NCrossValidationsMode} that the service accepts. */ -export enum KnownNCrossValidationsMode { - /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ - Auto = "Auto", - /** Use custom N-Cross validations value. */ - Custom = "Custom", +/** Known values of {@link MonitoringNotificationType} that the service accepts. */ +export enum KnownMonitoringNotificationType { + /** Enables email notifications through AML notifications. */ + AmlNotification = "AmlNotification", } /** - * Defines values for NCrossValidationsMode. \ - * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * Defines values for MonitoringNotificationType. \ + * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ - * **Custom**: Use custom N-Cross validations value. + * **AmlNotification**: Enables email notifications through AML notifications. */ -export type NCrossValidationsMode = string; +export type MonitoringNotificationType = 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. */ +/** 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 SeasonalityMode. \ - * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * 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**: Seasonality to be determined automatically. \ - * **Custom**: Use the custom seasonality 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 SeasonalityMode = string; +export type MonitoringSignalType = 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 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 TargetLagsMode. \ - * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * 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**: Target lags to be determined automatically. \ - * **Custom**: Use the custom target lags. + * **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 TargetLagsMode = string; +export type MonitoringInputDataType = string; -/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ -export enum KnownTargetRollingWindowSizeMode { - /** Determine rolling windows size automatically. */ - Auto = "Auto", - /** Use the specified rolling window size. */ - 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 TargetRollingWindowSizeMode. \ - * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * 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**: Determine rolling windows size automatically. \ - * **Custom**: Use the specified rolling window size. + * **Disabled**: Disables computing feature importance within a signal. \ + * **Enabled**: Enables computing feature importance within a signal. */ -export type TargetRollingWindowSizeMode = string; +export type FeatureImportanceMode = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ - None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity", +/** Known values of {@link DataGenerationTaskType} that the service accepts. */ +export enum KnownDataGenerationTaskType { + /** Generate conversational data (multi\/single turn) */ + Conversation = "Conversation", + /** Generate Math data for numerical responses */ + Math = "Math", + /** Generate Natural Language Inference data */ + Nli = "Nli", + /** Generate Natural Language Understanding data for Question Answering data */ + NluQa = "NluQa", + /** Generate Key Summary for an Article */ + Summarization = "Summarization", } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for DataGenerationTaskType. \ + * {@link KnownDataGenerationTaskType} can be used interchangeably with DataGenerationTaskType, * 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. + * **Conversation**: Generate conversational data (multi\/single turn) \ + * **Math**: Generate Math data for numerical responses \ + * **Nli**: Generate Natural Language Inference data \ + * **NluQa**: Generate Natural Language Understanding data for Question Answering data \ + * **Summarization**: Generate Key Summary for an Article */ -export type ServiceDataAccessAuthIdentity = string; +export type DataGenerationTaskType = 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 DataGenerationType} that the service accepts. */ +export enum KnownDataGenerationType { + /** Label Generation by Teacher Model Inferencing */ + LabelGeneration = "LabelGeneration", + /** Synthetic Data Generation */ + DataGeneration = "DataGeneration", } /** - * Defines values for EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * Defines values for DataGenerationType. \ + * {@link KnownDataGenerationType} can be used interchangeably with DataGenerationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** + * **LabelGeneration**: Label Generation by Teacher Model Inferencing \ + * **DataGeneration**: Synthetic Data Generation */ -export type EarlyTerminationPolicyType = string; +export type DataGenerationType = string; -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian", +/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ +export enum KnownFeatureAttributionMetric { + /** The Normalized Discounted Cumulative Gain metric. */ + NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", } /** - * Defines values for SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for FeatureAttributionMetric. \ + * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. */ -export type SamplingAlgorithmType = string; +export type FeatureAttributionMetric = string; -/** Known values of {@link CategoricalDataDriftMetric} that the service accepts. */ -export enum KnownCategoricalDataDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ + Auto = "Auto", } /** - * Defines values for CategoricalDataDriftMetric. \ - * {@link KnownCategoricalDataDriftMetric} can be used interchangeably with CategoricalDataDriftMetric, + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. */ -export type CategoricalDataDriftMetric = string; +export type FeatureLags = string; -/** Known values of {@link MonitoringFeatureDataType} that the service accepts. */ -export enum KnownMonitoringFeatureDataType { - /** Used for features of numerical data type. */ - Numerical = "Numerical", - /** Used for features of categorical data type. */ - Categorical = "Categorical", +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no\/null value. */ + None = "None", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop", } /** - * Defines values for MonitoringFeatureDataType. \ - * {@link KnownMonitoringFeatureDataType} can be used interchangeably with MonitoringFeatureDataType, + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Numerical**: Used for features of numerical data type. \ - * **Categorical**: Used for features of categorical data type. + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. */ -export type MonitoringFeatureDataType = string; +export type ShortSeriesHandlingConfiguration = string; -/** Known values of {@link CategoricalDataQualityMetric} that the service accepts. */ -export enum KnownCategoricalDataQualityMetric { - /** Calculates the rate of null values. */ - NullValueRate = "NullValueRate", - /** Calculates the rate of data type errors. */ - DataTypeErrorRate = "DataTypeErrorRate", - /** Calculates the rate values are out of bounds. */ - OutOfBoundsRate = "OutOfBoundsRate", +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + /** Sum */ + Sum = "Sum", + /** Max */ + Max = "Max", + /** Min */ + Min = "Min", + /** Mean */ + Mean = "Mean", } /** - * Defines values for CategoricalDataQualityMetric. \ - * {@link KnownCategoricalDataQualityMetric} can be used interchangeably with CategoricalDataQualityMetric, + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NullValueRate**: Calculates the rate of null values. \ - * **DataTypeErrorRate**: Calculates the rate of data type errors. \ - * **OutOfBoundsRate**: Calculates the rate values are out of bounds. + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** */ -export type CategoricalDataQualityMetric = string; +export type TargetAggregationFunction = string; -/** Known values of {@link CategoricalPredictionDriftMetric} that the service accepts. */ -export enum KnownCategoricalPredictionDriftMetric { - /** The Jensen Shannon Distance (JSD) metric. */ - JensenShannonDistance = "JensenShannonDistance", - /** The Population Stability Index (PSI) metric. */ - PopulationStabilityIndex = "PopulationStabilityIndex", - /** The Pearsons Chi Squared Test metric. */ - PearsonsChiSquaredTest = "PearsonsChiSquaredTest", +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + /** Season */ + Season = "Season", + /** SeasonTrend */ + SeasonTrend = "SeasonTrend", } /** - * Defines values for CategoricalPredictionDriftMetric. \ - * {@link KnownCategoricalPredictionDriftMetric} can be used interchangeably with CategoricalPredictionDriftMetric, + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ - * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ - * **PearsonsChiSquaredTest**: The Pearsons Chi Squared Test metric. + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** */ -export type CategoricalPredictionDriftMetric = string; +export type UseStl = string; -/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for ClassificationPrimaryMetrics. \ - * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AUCWeighted**: AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. \ - * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ - * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. \ - * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. \ - * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ -export type ClassificationPrimaryMetrics = string; +export type ForecastingPrimaryMetrics = string; -/** Known values of {@link ClassificationModels} that the service accepts. */ -export enum KnownClassificationModels { - /** - * Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. - */ - LogisticRegression = "LogisticRegression", +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { /** - * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. */ - SGD = "SGD", + AutoArima = "AutoArima", /** - * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. */ - MultinomialNaiveBayes = "MultinomialNaiveBayes", - /** Naive Bayes classifier for multivariate Bernoulli models. */ - BernoulliNaiveBayes = "BernoulliNaiveBayes", + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. */ - SVM = "SVM", + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", /** - * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. */ - LinearSVM = "LinearSVM", + DecisionTree = "DecisionTree", /** * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. */ KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", /** - * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. - * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. */ - DecisionTree = "DecisionTree", + SGD = "SGD", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", @@ -10355,455 +12802,370 @@ export enum KnownClassificationModels { ExtremeRandomTrees = "ExtremeRandomTrees", /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ LightGBM = "LightGBM", - /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ - GradientBoosting = "GradientBoosting", - /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ - XGBoostClassifier = "XGBoostClassifier", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor", } /** - * Defines values for ClassificationModels. \ - * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **LogisticRegression**: Logistic regression is a fundamental classification technique. - * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. - * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. - * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ - * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications - * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ - * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). - * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ - * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ - * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ - * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. - * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. - * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ - * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints - * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ - * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ - * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ClassificationModels = string; +export type ForecastingModels = string; -/** Known values of {@link StackMetaLearnerType} that the service accepts. */ -export enum KnownStackMetaLearnerType { - /** None */ +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ None = "None", - /** Default meta-learners are LogisticRegression for classification tasks. */ - LogisticRegression = "LogisticRegression", - /** Default meta-learners are LogisticRegression for classification task when CV is on. */ - LogisticRegressionCV = "LogisticRegressionCV", - /** LightGBMClassifier */ - LightGBMClassifier = "LightGBMClassifier", - /** Default meta-learners are LogisticRegression for regression task. */ - ElasticNet = "ElasticNet", - /** Default meta-learners are LogisticRegression for regression task when CV is on. */ - ElasticNetCV = "ElasticNetCV", - /** LightGBMRegressor */ - LightGBMRegressor = "LightGBMRegressor", - /** LinearRegression */ - LinearRegression = "LinearRegression", -} - -/** - * Defines values for StackMetaLearnerType. \ - * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None** \ - * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ - * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ - * **LightGBMClassifier** \ - * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ - * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ - * **LightGBMRegressor** \ - * **LinearRegression** - */ -export type StackMetaLearnerType = string; - -/** Known values of {@link FeaturizationMode} that the service accepts. */ -export enum KnownFeaturizationMode { - /** Auto mode, system performs featurization without any custom featurization inputs. */ - Auto = "Auto", - /** Custom featurization. */ - Custom = "Custom", - /** Featurization off. 'Forecasting' task cannot use this value. */ - Off = "Off", -} - -/** - * Defines values for FeaturizationMode. \ - * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ - * **Custom**: Custom featurization. \ - * **Off**: Featurization off. 'Forecasting' task cannot use this value. - */ -export type FeaturizationMode = string; - -/** Known values of {@link BlockedTransformers} that the service accepts. */ -export enum KnownBlockedTransformers { - /** Target encoding for text data. */ - TextTargetEncoder = "TextTargetEncoder", - /** Ohe hot encoding creates a binary feature transformation. */ - OneHotEncoder = "OneHotEncoder", - /** Target encoding for categorical data. */ - CatTargetEncoder = "CatTargetEncoder", - /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ - TfIdf = "TfIdf", - /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. */ - WoETargetEncoder = "WoETargetEncoder", - /** Label encoder converts labels\/categorical variables in a numerical form. */ - LabelEncoder = "LabelEncoder", - /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ - WordEmbedding = "WordEmbedding", - /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ - NaiveBayes = "NaiveBayes", - /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ - CountVectorizer = "CountVectorizer", - /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ - HashOneHotEncoder = "HashOneHotEncoder", -} - -/** - * Defines values for BlockedTransformers. \ - * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **TextTargetEncoder**: Target encoding for text data. \ - * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ - * **CatTargetEncoder**: Target encoding for categorical data. \ - * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ - * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ - * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ - * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ - * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ - * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ - * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. - */ -export type BlockedTransformers = string; - -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step", } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. */ -export type DistributionType = string; +export type LearningRateScheduler = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw", } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ -export type JobLimitsType = string; +export type StochasticOptimizer = string; -/** Known values of {@link ModelTaskType} that the service accepts. */ -export enum KnownModelTaskType { - /** Classification */ - Classification = "Classification", - /** Regression */ - Regression = "Regression", +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU", } /** - * Defines values for ModelTaskType. \ - * {@link KnownModelTaskType} can be used interchangeably with ModelTaskType, + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Classification** \ - * **Regression** + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. */ -export type ModelTaskType = string; +export type ClassificationMultilabelPrimaryMetrics = string; -/** Known values of {@link MonitoringSignalType} that the service accepts. */ -export enum KnownMonitoringSignalType { - /** Tracks model input data distribution change, comparing against training data or past production data. */ - DataDrift = "DataDrift", - /** Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. */ - PredictionDrift = "PredictionDrift", - /** Tracks model input data integrity. */ - DataQuality = "DataQuality", - /** Tracks feature importance change in production, comparing against feature importance at training time. */ - FeatureAttributionDrift = "FeatureAttributionDrift", - /** Tracks a custom signal provided by users. */ - Custom = "Custom", +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringSignalType. \ - * {@link KnownMonitoringSignalType} can be used interchangeably with MonitoringSignalType, + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **DataDrift**: Tracks model input data distribution change, comparing against training data or past production data. \ - * **PredictionDrift**: Tracks prediction result data distribution change, comparing against validation\/test label data or past production data. \ - * **DataQuality**: Tracks model input data integrity. \ - * **FeatureAttributionDrift**: Tracks feature importance change in production, comparing against feature importance at training time. \ - * **Custom**: Tracks a custom signal provided by users. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringSignalType = string; +export type InstanceSegmentationPrimaryMetrics = string; -/** Known values of {@link MonitoringNotificationType} that the service accepts. */ -export enum KnownMonitoringNotificationType { - /** Enables email notifications through AML notifications. */ - AmlNotification = "AmlNotification", +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ + None = "None", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge", } /** - * Defines values for MonitoringNotificationType. \ - * {@link KnownMonitoringNotificationType} can be used interchangeably with MonitoringNotificationType, + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AmlNotification**: Enables email notifications through AML notifications. + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. */ -export type MonitoringNotificationType = string; +export type ModelSize = string; -/** Known values of {@link MonitorComputeType} that the service accepts. */ -export enum KnownMonitorComputeType { - /** Serverless Spark compute. */ - ServerlessSpark = "ServerlessSpark", +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc", } /** - * Defines values for MonitorComputeType. \ - * {@link KnownMonitorComputeType} can be used interchangeably with MonitorComputeType, + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ServerlessSpark**: Serverless Spark compute. + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. */ -export type MonitorComputeType = string; +export type ValidationMetricType = string; -/** Known values of {@link MonitoringInputDataType} that the service accepts. */ -export enum KnownMonitoringInputDataType { - /** An input data with a fixed window size. */ - Static = "Static", - /** An input data which rolls relatively to the monitor's current run time. */ - Rolling = "Rolling", - /** An input data with tabular format which doesn't require preprocessing. */ - Fixed = "Fixed", +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision", } /** - * Defines values for MonitoringInputDataType. \ - * {@link KnownMonitoringInputDataType} can be used interchangeably with MonitoringInputDataType, + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Static**: An input data with a fixed window size. \ - * **Rolling**: An input data which rolls relatively to the monitor's current run time. \ - * **Fixed**: An input data with tabular format which doesn't require preprocessing. + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type MonitoringInputDataType = string; +export type ObjectDetectionPrimaryMetrics = string; -/** Known values of {@link FeatureImportanceMode} that the service accepts. */ -export enum KnownFeatureImportanceMode { - /** Disables computing feature importance within a signal. */ - Disabled = "Disabled", - /** Enables computing feature importance within a signal. */ - Enabled = "Enabled", +/** Known values of {@link OneLakeArtifactType} that the service accepts. */ +export enum KnownOneLakeArtifactType { + /** LakeHouse */ + LakeHouse = "LakeHouse", } /** - * Defines values for FeatureImportanceMode. \ - * {@link KnownFeatureImportanceMode} can be used interchangeably with FeatureImportanceMode, + * Defines values for OneLakeArtifactType. \ + * {@link KnownOneLakeArtifactType} can be used interchangeably with OneLakeArtifactType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled**: Disables computing feature importance within a signal. \ - * **Enabled**: Enables computing feature importance within a signal. + * **LakeHouse** */ -export type FeatureImportanceMode = string; +export type OneLakeArtifactType = string; -/** Known values of {@link FeatureAttributionMetric} that the service accepts. */ -export enum KnownFeatureAttributionMetric { - /** The Normalized Discounted Cumulative Gain metric. */ - NormalizedDiscountedCumulativeGain = "NormalizedDiscountedCumulativeGain", +/** Known values of {@link NumericalDataDriftMetric} that the service accepts. */ +export enum KnownNumericalDataDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureAttributionMetric. \ - * {@link KnownFeatureAttributionMetric} can be used interchangeably with FeatureAttributionMetric, + * Defines values for NumericalDataDriftMetric. \ + * {@link KnownNumericalDataDriftMetric} can be used interchangeably with NumericalDataDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NormalizedDiscountedCumulativeGain**: The Normalized Discounted Cumulative Gain metric. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureAttributionMetric = string; +export type NumericalDataDriftMetric = string; -/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ -export enum KnownForecastingPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Known values of {@link NumericalDataQualityMetric} that the service accepts. */ +export enum KnownNumericalDataQualityMetric { + /** Calculates the rate of null values. */ + NullValueRate = "NullValueRate", + /** Calculates the rate of data type errors. */ + DataTypeErrorRate = "DataTypeErrorRate", + /** Calculates the rate values are out of bounds. */ + OutOfBoundsRate = "OutOfBoundsRate", } /** - * Defines values for ForecastingPrimaryMetrics. \ - * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * Defines values for NumericalDataQualityMetric. \ + * {@link KnownNumericalDataQualityMetric} can be used interchangeably with NumericalDataQualityMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ - * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ - * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ - * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + * **NullValueRate**: Calculates the rate of null values. \ + * **DataTypeErrorRate**: Calculates the rate of data type errors. \ + * **OutOfBoundsRate**: Calculates the rate values are out of bounds. */ -export type ForecastingPrimaryMetrics = string; +export type NumericalDataQualityMetric = string; -/** Known values of {@link FeatureLags} that the service accepts. */ -export enum KnownFeatureLags { - /** No feature lags generated. */ - None = "None", - /** System auto-generates feature lags. */ - Auto = "Auto", +/** Known values of {@link NumericalPredictionDriftMetric} that the service accepts. */ +export enum KnownNumericalPredictionDriftMetric { + /** The Jensen Shannon Distance (JSD) metric. */ + JensenShannonDistance = "JensenShannonDistance", + /** The Population Stability Index (PSI) metric. */ + PopulationStabilityIndex = "PopulationStabilityIndex", + /** The Normalized Wasserstein Distance metric. */ + NormalizedWassersteinDistance = "NormalizedWassersteinDistance", + /** The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ + TwoSampleKolmogorovSmirnovTest = "TwoSampleKolmogorovSmirnovTest", } /** - * Defines values for FeatureLags. \ - * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * Defines values for NumericalPredictionDriftMetric. \ + * {@link KnownNumericalPredictionDriftMetric} can be used interchangeably with NumericalPredictionDriftMetric, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No feature lags generated. \ - * **Auto**: System auto-generates feature lags. + * **JensenShannonDistance**: The Jensen Shannon Distance (JSD) metric. \ + * **PopulationStabilityIndex**: The Population Stability Index (PSI) metric. \ + * **NormalizedWassersteinDistance**: The Normalized Wasserstein Distance metric. \ + * **TwoSampleKolmogorovSmirnovTest**: The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric. */ -export type FeatureLags = string; +export type NumericalPredictionDriftMetric = string; -/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ -export enum KnownShortSeriesHandlingConfiguration { - /** Represents no\/null value. */ - None = "None", - /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ - Auto = "Auto", - /** All the short series will be padded. */ - Pad = "Pad", - /** All the short series will be dropped. */ - Drop = "Drop", +/** Known values of {@link Goal} that the service accepts. */ +export enum KnownGoal { + /** Minimize */ + Minimize = "Minimize", + /** Maximize */ + Maximize = "Maximize", } /** - * Defines values for ShortSeriesHandlingConfiguration. \ - * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * Defines values for Goal. \ + * {@link KnownGoal} can be used interchangeably with Goal, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Represents no\/null value. \ - * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ - * **Pad**: All the short series will be padded. \ - * **Drop**: All the short series will be dropped. + * **Minimize** \ + * **Maximize** */ -export type ShortSeriesHandlingConfiguration = string; +export type Goal = string; -/** Known values of {@link UseStl} that the service accepts. */ -export enum KnownUseStl { - /** No stl decomposition. */ - None = "None", - /** Season */ - Season = "Season", - /** SeasonTrend */ - SeasonTrend = "SeasonTrend", +/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ +export enum KnownRandomSamplingAlgorithmRule { + /** Random */ + Random = "Random", + /** Sobol */ + Sobol = "Sobol", } /** - * Defines values for UseStl. \ - * {@link KnownUseStl} can be used interchangeably with UseStl, + * Defines values for RandomSamplingAlgorithmRule. \ + * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: No stl decomposition. \ - * **Season** \ - * **SeasonTrend** + * **Random** \ + * **Sobol** */ -export type UseStl = string; +export type RandomSamplingAlgorithmRule = string; -/** Known values of {@link TargetAggregationFunction} that the service accepts. */ -export enum KnownTargetAggregationFunction { - /** Represent no value set. */ - None = "None", - /** Sum */ - Sum = "Sum", - /** Max */ - Max = "Max", - /** Min */ - Min = "Min", - /** Mean */ - Mean = "Mean", +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", } /** - * Defines values for TargetAggregationFunction. \ - * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, - * 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** + * 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 TargetAggregationFunction = string; +export type RegressionPrimaryMetrics = string; -/** Known values of {@link ForecastingModels} that the service accepts. */ -export enum KnownForecastingModels { - /** - * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. - */ - AutoArima = "AutoArima", - /** - * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. - */ - Prophet = "Prophet", - /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ - Naive = "Naive", - /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ - SeasonalNaive = "SeasonalNaive", - /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ - Average = "Average", - /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ - SeasonalAverage = "SeasonalAverage", - /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ - ExponentialSmoothing = "ExponentialSmoothing", - /** - * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. - */ - Arimax = "Arimax", - /** TCNForecaster: Temporal Convolutional Networks Forecaster. \//TODO: Ask forecasting team for brief intro. */ - TCNForecaster = "TCNForecaster", +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ ElasticNet = "ElasticNet", /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ @@ -10828,7 +13190,7 @@ export enum KnownForecastingModels { SGD = "SGD", /** * Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. */ RandomForest = "RandomForest", @@ -10841,22 +13203,10 @@ export enum KnownForecastingModels { } /** - * Defines values for ForecastingModels. \ - * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. - * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ - * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. - * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ - * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ - * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ - * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ - * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ - * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ - * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. - * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ - * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. @@ -10868,434 +13218,527 @@ export enum KnownForecastingModels { * to find the model parameters that correspond to the best fit between predicted and actual outputs. * It's an inexact but powerful technique. \ * **RandomForest**: Random forest is a supervised learning algorithm. - * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the "bagging" method. * The general idea of the bagging method is that a combination of learning models increases the overall result. \ * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ -export type ForecastingModels = string; +export type RegressionModels = string; + +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + /** SparkJobPythonEntry */ + SparkJobPythonEntry = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + SparkJobScalaEntry = "SparkJobScalaEntry", +} + +/** + * Defines values for SparkJobEntryType. \ + * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** + */ +export type SparkJobEntryType = string; + +/** Known values of {@link DeploymentModelVersionUpgradeOption} that the service accepts. */ +export enum KnownDeploymentModelVersionUpgradeOption { + /** OnceNewDefaultVersionAvailable */ + OnceNewDefaultVersionAvailable = "OnceNewDefaultVersionAvailable", + /** OnceCurrentVersionExpired */ + OnceCurrentVersionExpired = "OnceCurrentVersionExpired", + /** NoAutoUpgrade */ + NoAutoUpgrade = "NoAutoUpgrade", +} + +/** + * Defines values for DeploymentModelVersionUpgradeOption. \ + * {@link KnownDeploymentModelVersionUpgradeOption} can be used interchangeably with DeploymentModelVersionUpgradeOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **OnceNewDefaultVersionAvailable** \ + * **OnceCurrentVersionExpired** \ + * **NoAutoUpgrade** + */ +export type DeploymentModelVersionUpgradeOption = string; + +/** Known values of {@link RuleAction} that the service accepts. */ +export enum KnownRuleAction { + /** Allow */ + Allow = "Allow", + /** Deny */ + Deny = "Deny", +} + +/** + * Defines values for RuleAction. \ + * {@link KnownRuleAction} can be used interchangeably with RuleAction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Allow** \ + * **Deny** + */ +export type RuleAction = string; +/** Defines values for SkuTier. */ +export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; + +/** Optional parameters. */ +export interface UsagesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type UsagesListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type UsagesListNextResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface VirtualMachineSizesListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +/** Optional parameters. */ +export interface QuotasListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type QuotasListResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface QuotasListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type QuotasListNextResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface ComputeListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type ComputeListResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComputeGetResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type ComputeCreateOrUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type ComputeUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** 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; +} + +/** 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 {} + +/** Contains response data for the listNodesNext operation. */ +export type ComputeListNodesNextResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface PTUQuotaListAvailableOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the listAvailable operation. */ +export type PTUQuotaListAvailableResponse = AvailableQuotaArmPaginatedResult; + +/** Optional parameters. */ +export interface PTUQuotaGetAvailableOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getAvailable operation. */ +export type PTUQuotaGetAvailableResponse = AvailableQuota; + +/** Optional parameters. */ +export interface PTUQuotaListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type PTUQuotaListResponse = UsageAndQuotaDetailsArmPaginatedResult; + +/** Optional parameters. */ +export interface PTUQuotaListAvailableNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listAvailableNext operation. */ +export type PTUQuotaListAvailableNextResponse = AvailableQuotaArmPaginatedResult; + +/** Optional parameters. */ +export interface PTUQuotaListNextOptionalParams 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 listNext operation. */ +export type PTUQuotaListNextResponse = UsageAndQuotaDetailsArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeContainersListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: 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 list operation. */ +export type RegistryCodeContainersListResponse = CodeContainerResourceArmPaginatedResult; -/** 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 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 StochasticOptimizer. \ - * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **None**: No optimizer selected. \ - * **Sgd**: Stochastic Gradient Descent optimizer. \ - * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ - * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. - */ -export type StochasticOptimizer = string; +/** Optional parameters. */ +export interface RegistryCodeContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ -export enum KnownClassificationMultilabelPrimaryMetrics { - /** - * AUC is the Area under the curve. - * This metric represents arithmetic mean of the score for each class, - * weighted by the number of true instances in each class. - */ - AUCWeighted = "AUCWeighted", - /** Accuracy is the ratio of predictions that exactly match the true class labels. */ - Accuracy = "Accuracy", - /** - * Normalized macro recall is recall macro-averaged and normalized, so that random - * performance has a score of 0, and perfect performance has a score of 1. - */ - NormMacroRecall = "NormMacroRecall", - /** - * The arithmetic mean of the average precision score for each class, weighted by - * the number of true instances in each class. - */ - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ - PrecisionScoreWeighted = "PrecisionScoreWeighted", - /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ - IOU = "IOU", +/** 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 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; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ -export enum KnownInstanceSegmentationPrimaryMetrics { - /** - * Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ - MeanAveragePrecision = "MeanAveragePrecision", +/** Optional parameters. */ +export interface 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 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 list operation. */ +export type RegistryCodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; -/** 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 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 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; +/** Optional parameters. */ +export interface RegistryCodeVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** 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", +/** 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 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 createOrUpdate operation. */ +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; -/** 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 RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; + +/** 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 ObjectDetectionPrimaryMetrics. \ - * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). - * AP is calculated for each class and averaged to get the MAP. - */ -export type ObjectDetectionPrimaryMetrics = string; +/** Contains response data for the list operation. */ +export type RegistryComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; -/** Known values of {@link OneLakeArtifactType} that the service accepts. */ -export enum KnownOneLakeArtifactType { - /** LakeHouse */ - LakeHouse = "LakeHouse", +/** 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; +} + +/** Optional parameters. */ +export interface RegistryComponentContainersGetOptionalParams extends coreClient.OperationOptions {} + +/** 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; + +/** Optional parameters. */ +export interface RegistryComponentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = + ComponentContainerResourceArmPaginatedResult; -/** 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 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; -/** Known values of {@link Goal} that the service accepts. */ -export enum KnownGoal { - /** Minimize */ - Minimize = "Minimize", - /** Maximize */ - Maximize = "Maximize", -} +/** Optional parameters. */ +export interface RegistryComponentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * 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 listNext operation. */ +export type RegistryComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; -/** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ -export enum KnownRandomSamplingAlgorithmRule { - /** Random */ - Random = "Random", - /** Sobol */ - Sobol = "Sobol", +/** 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 RandomSamplingAlgorithmRule. \ - * {@link KnownRandomSamplingAlgorithmRule} can be used interchangeably with RandomSamplingAlgorithmRule, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Random** \ - * **Sobol** - */ -export type RandomSamplingAlgorithmRule = string; +/** Contains response data for the list operation. */ +export type RegistryDataContainersListResponse = DataContainerResourceArmPaginatedResult; -/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ -export enum KnownRegressionPrimaryMetrics { - /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ - SpearmanCorrelation = "SpearmanCorrelation", - /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ - R2Score = "R2Score", - /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", +/** Optional parameters. */ +export interface 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 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; +/** Optional parameters. */ +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} -/** 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", +/** 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 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 createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; -/** Known values of {@link SparkJobEntryType} that the service accepts. */ -export enum KnownSparkJobEntryType { - /** SparkJobPythonEntry */ - SparkJobPythonEntry = "SparkJobPythonEntry", - /** SparkJobScalaEntry */ - SparkJobScalaEntry = "SparkJobScalaEntry", -} +/** Optional parameters. */ +export interface RegistryDataContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** - * Defines values for SparkJobEntryType. \ - * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **SparkJobPythonEntry** \ - * **SparkJobScalaEntry** - */ -export type SparkJobEntryType = string; -/** Defines values for SkuTier. */ -export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; +/** Contains response data for the listNext operation. */ +export type RegistryDataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface OperationsListOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; + /** + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned + */ + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; +} /** Contains response data for the list operation. */ -export type OperationsListResponse = OperationListResult; +export type RegistryDataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesGetOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspacesGetResponse = Workspace; +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface WorkspacesCreateOrUpdateOptionalParams +export interface RegistryDataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11304,13 +13747,44 @@ export interface WorkspacesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace; +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 WorkspacesDeleteOptionalParams +export interface RegistryEnvironmentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type RegistryEnvironmentContainersListResponse = + EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { - /** 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 +13792,14 @@ export interface WorkspacesDeleteOptionalParams } /** Optional parameters. */ -export interface WorkspacesUpdateOptionalParams +export interface RegistryEnvironmentContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11326,42 +13807,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 RegistryEnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface WorkspacesListByResourceGroupOptionalParams - extends coreClient.OperationOptions { +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 listByResourceGroup operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryEnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesDiagnoseOptionalParams +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { - /** The parameter of diagnosing workspace health */ - parameters?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the diagnose operation. */ -export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; - /** Optional parameters. */ -export interface WorkspacesListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryEnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; +/** Contains response data for the get operation. */ +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface WorkspacesResyncKeysOptionalParams +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11369,26 +13857,44 @@ export interface WorkspacesResyncKeysOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + /** Optional parameters. */ -export interface WorkspacesListBySubscriptionOptionalParams - extends coreClient.OperationOptions { +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 listBySubscription operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; +/** Contains response data for the list operation. */ +export type RegistryModelContainersListResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListNotebookAccessTokenOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the listNotebookAccessToken operation. */ -export type WorkspacesListNotebookAccessTokenResponse = - NotebookAccessTokenResult; +/** Optional parameters. */ +export interface RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface WorkspacesPrepareNotebookOptionalParams +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -11396,116 +13902,166 @@ export interface WorkspacesPrepareNotebookOptionalParams resumeFrom?: string; } -/** Contains response data for the prepareNotebook operation. */ -export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface WorkspacesListStorageAccountKeysOptionalParams +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listStorageAccountKeys operation. */ -export type WorkspacesListStorageAccountKeysResponse = - ListStorageAccountKeysResult; +/** Contains response data for the listNext operation. */ +export type RegistryModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListNotebookKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Version identifier. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; +} -/** Contains response data for the listNotebookKeys operation. */ -export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; +/** Contains response data for the list operation. */ +export type RegistryModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ -export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = - ExternalFqdnResponse; +export interface RegistryModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface WorkspacesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; +/** Contains response data for the get operation. */ +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspacesListBySubscriptionNextOptionalParams - 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 listBySubscriptionNext operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface UsagesListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type UsagesListResponse = ListUsagesResult; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface UsagesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; +export type RegistryModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; +} /** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +export type BatchEndpointsListResponse = BatchEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface QuotasUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface BatchEndpointsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type BatchEndpointsGetResponse = BatchEndpoint; + +/** Optional parameters. */ +export interface BatchEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait 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; +export type BatchEndpointsUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface QuotasListOptionalParams 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 list operation. */ -export type QuotasListResponse = ListWorkspaceQuotas; +/** Contains response data for the createOrUpdate operation. */ +export type BatchEndpointsCreateOrUpdateResponse = BatchEndpoint; /** Optional parameters. */ -export interface QuotasListNextOptionalParams - extends coreClient.OperationOptions {} +export interface BatchEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type BatchEndpointsListKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** 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; +export type BatchDeploymentsListResponse = BatchDeploymentTrackedResourceArmPaginatedResult; /** 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 { +export interface BatchDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** 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 - extends coreClient.OperationOptions { +export interface BatchDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -11513,491 +14069,450 @@ export interface ComputeUpdateOptionalParams } /** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +export type BatchDeploymentsUpdateResponse = BatchDeployment; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams - extends coreClient.OperationOptions { +export interface BatchDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ 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 - extends coreClient.OperationOptions {} +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 - extends coreClient.OperationOptions { +export interface CapabilityHostsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the delete operation. */ +export type CapabilityHostsDeleteResponse = CapabilityHostsDeleteHeaders; + /** Optional parameters. */ -export interface ComputeStopOptionalParams extends coreClient.OperationOptions { +export interface CapabilityHostsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type CapabilityHostsGetResponse = CapabilityHost; + +/** Optional parameters. */ +export interface CapabilityHostsCreateOrUpdateOptionalParams 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 CapabilityHostsCreateOrUpdateResponse = CapabilityHost; + /** 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; +export interface CodeContainersListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; } +/** Contains response data for the list operation. */ +export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; + /** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions {} +export interface CodeContainersDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; +/** Optional parameters. */ +export interface CodeContainersGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type CodeContainersGetResponse = CodeContainer; /** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams - extends coreClient.OperationOptions {} +export interface CodeContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; +/** Contains response data for the createOrUpdate operation. */ +export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} +export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface CodeVersionsListOptionalParams 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; +} /** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = - PrivateEndpointConnectionListResult; +export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsDeleteOptionalParams extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface CodeVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export type CodeVersionsGetResponse = CodeVersion; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointConnectionsCreateOrUpdateResponse = - PrivateEndpointConnection; +export type CodeVersionsCreateOrUpdateResponse = CodeVersion; /** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsPublishOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams +export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +/** Contains response data for the createOrGetStartPendingUpload operation. */ +export type CodeVersionsCreateOrGetStartPendingUploadResponse = PendingUploadResponseDto; /** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} +export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the listNext operation. */ +export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsGetOptionalParams - extends coreClient.OperationOptions {} +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 get operation. */ -export type WorkspaceConnectionsGetResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the list operation. */ +export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} +export interface ComponentContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type WorkspaceConnectionsListResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ComponentContainersGetResponse = ComponentContainer; /** Optional parameters. */ -export interface WorkspaceConnectionsListSecretsOptionalParams +export interface ComponentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type WorkspaceConnectionsListSecretsResponse = - WorkspaceConnectionPropertiesV2BasicResource; +/** Contains response data for the createOrUpdate operation. */ +export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = - WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentVersionsListOptionalParams 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 ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; +export type ComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface ComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleGetOptionalParams - extends coreClient.OperationOptions {} +export interface ComponentVersionsGetOptionalParams 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; +export type ComponentVersionsGetResponse = ComponentVersion; /** Optional parameters. */ -export interface ManagedNetworkSettingsRuleListNextOptionalParams +export interface ComponentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; +/** Contains response data for the createOrUpdate operation. */ +export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams - extends coreClient.OperationOptions { - /** Managed Network Provisioning Options for a machine learning workspace. */ - body?: ManagedNetworkProvisionOptions; +export interface ComponentVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the provisionManagedNetwork operation. */ -export type ManagedNetworkProvisionsProvisionManagedNetworkResponse = - ManagedNetworkProvisionStatus; +/** Optional parameters. */ +export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeContainersListOptionalParams - extends coreClient.OperationOptions { +export interface DataContainersListOptionalParams 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 DataContainersListResponse = DataContainerResourceArmPaginatedResult; /** 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 DataContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeContainersGetResponse = CodeContainer; +export type DataContainersGetResponse = DataContainer; /** 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 DataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; +export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface RegistryCodeContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface DataVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ orderBy?: string; - /** Maximum number of records to return. */ + /** + * 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 RegistryCodeVersionsListResponse = - CodeVersionResourceArmPaginatedResult; +export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryCodeVersionsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface DataVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryCodeVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryCodeVersionsGetResponse = CodeVersion; +export type DataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface DataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type DataVersionsCreateOrUpdateResponse = DataVersionBase; + +/** Optional parameters. */ +export interface DataVersionsPublishOptionalParams extends coreClient.OperationOptions { /** Delay to wait 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 RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; - -/** Optional parameters. */ -export interface RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryCodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - /** Optional parameters. */ -export interface RegistryCodeVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryCodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type DataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface DatastoresListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Maximum number of results to return. */ + count?: number; + /** Filter down to the workspace default datastore. */ + isDefault?: boolean; + /** Names of datastores to return. */ + names?: string[]; + /** Text to search for in the datastore names. */ + searchText?: string; + /** Order by property (createdtime | modifiedtime | name). */ + orderBy?: string; + /** Order by property in ascending order. */ + orderByAsc?: boolean; } /** Contains response data for the list operation. */ -export type RegistryComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; /** 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 DatastoresDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentContainersGetResponse = ComponentContainer; +export type DatastoresGetResponse = Datastore; /** Optional parameters. */ -export interface RegistryComponentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; +export interface DatastoresCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Flag to skip validation. */ + skipValidation?: boolean; } /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentContainersCreateOrUpdateResponse = - ComponentContainer; +export type DatastoresCreateOrUpdateResponse = Datastore; + +/** Optional parameters. */ +export interface DatastoresListSecretsOptionalParams extends coreClient.OperationOptions { + /** Secret expiry information. */ + body?: SecretExpiry; +} + +/** Contains response data for the listSecrets operation. */ +export type DatastoresListSecretsResponse = DatastoreSecretsUnion; /** Optional parameters. */ -export interface RegistryComponentContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface EnvironmentContainersListOptionalParams 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 RegistryComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; /** 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 EnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryComponentVersionsGetResponse = ComponentVersion; +export type EnvironmentContainersGetResponse = EnvironmentContainer; /** 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; -} +export interface EnvironmentContainersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; /** Optional parameters. */ -export interface RegistryComponentVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataContainersListOptionalParams - extends coreClient.OperationOptions { +export interface EnvironmentVersionsListOptionalParams 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 RegistryDataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** 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 EnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RegistryDataContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryDataContainersGetResponse = DataContainer; +export type EnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface RegistryDataContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +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; /** 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 RegistryDataContainersCreateOrUpdateResponse = DataContainer; - /** Optional parameters. */ -export interface RegistryDataContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryDataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetContainersListOptionalParams 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; + /** 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 RegistryDataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12005,14 +14520,13 @@ export interface RegistryDataVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryDataVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryDataVersionsGetResponse = DataVersionBase; +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryDataVersionsCreateOrUpdateOptionalParams +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12021,48 +14535,72 @@ export interface RegistryDataVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; /** Optional parameters. */ -export interface RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type RegistryDataVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Contains response data for the listNext operation. */ +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + 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 listNext operation. */ -export type RegistryDataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type FeaturesListResponse = FeatureResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryDataReferencesGetBlobReferenceSASOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getBlobReferenceSAS operation. */ -export type RegistryDataReferencesGetBlobReferenceSASResponse = - GetBlobReferenceSASResponseDto; +/** Contains response data for the get operation. */ +export type FeaturesGetResponse = Feature; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { /** 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 RegistryEnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions { +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12070,14 +14608,13 @@ export interface RegistryEnvironmentContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryEnvironmentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; +export type FeaturesetVersionsGetResponse = FeaturesetVersion; /** Optional parameters. */ -export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12086,36 +14623,50 @@ export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentContainersCreateOrUpdateResponse = - EnvironmentContainer; +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; /** Optional parameters. */ -export interface RegistryEnvironmentContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + 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 RegistryEnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListOptionalParams +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; + /** description for the featurestore entity */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** name for the featurestore entity */ + name?: string; + /** createdBy user name */ + createdBy?: string; } /** Contains response data for the list operation. */ -export type RegistryEnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsDeleteOptionalParams +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12124,14 +14675,14 @@ export interface RegistryEnvironmentVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryEnvironmentVersionsGetOptionalParams +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12140,32 +14691,44 @@ export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryEnvironmentVersionsCreateOrUpdateResponse = - EnvironmentVersion; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; /** Optional parameters. */ -export interface RegistryEnvironmentVersionsListNextOptionalParams +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryEnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = + FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersListOptionalParams - extends coreClient.OperationOptions { +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** featurestore entity version */ + version?: string; + /** description for the feature entity version */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** page size */ + pageSize?: number; + /** createdBy user name */ + createdBy?: string; + /** name for the featurestore entity version */ + versionName?: string; + /** Specifies the featurestore stage */ + stage?: string; } /** Contains response data for the list operation. */ -export type RegistryModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelContainersDeleteOptionalParams +export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12174,14 +14737,13 @@ export interface RegistryModelContainersDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelContainersGetResponse = ModelContainer; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface RegistryModelContainersCreateOrUpdateOptionalParams +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12190,44 +14752,35 @@ export interface RegistryModelContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface RegistryModelContainersListNextOptionalParams +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = + FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface InferencePoolsListOptionalParams 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 */ + /** 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; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + /** 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 RegistryModelVersionsListResponse = - ModelVersionResourceArmPaginatedResult; +export type InferencePoolsListResponse = InferencePoolTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface RegistryModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface InferencePoolsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12235,56 +14788,58 @@ export interface RegistryModelVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface RegistryModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface InferencePoolsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RegistryModelVersionsGetResponse = ModelVersion; +export type InferencePoolsGetResponse = InferencePool; /** Optional parameters. */ -export interface RegistryModelVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface InferencePoolsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; +/** Contains response data for the update operation. */ +export type InferencePoolsUpdateResponse = InferencePool; /** Optional parameters. */ -export interface RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} +export interface InferencePoolsCreateOrUpdateOptionalParams 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 createOrGetStartPendingUpload operation. */ -export type RegistryModelVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; +/** Contains response data for the createOrUpdate operation. */ +export type InferencePoolsCreateOrUpdateResponse = InferencePool; /** Optional parameters. */ -export interface RegistryModelVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface InferencePoolsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type RegistryModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +export type InferencePoolsListNextResponse = InferencePoolTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsListOptionalParams - extends coreClient.OperationOptions { +export interface InferenceEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ + /** 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 BatchEndpointsListResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type InferenceEndpointsListResponse = InferenceEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchEndpointsDeleteOptionalParams - 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. */ @@ -12292,15 +14847,13 @@ export interface BatchEndpointsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchEndpointsGetResponse = BatchEndpoint; +export type InferenceEndpointsGetResponse = InferenceEndpoint; /** Optional parameters. */ -export interface BatchEndpointsUpdateOptionalParams - 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. */ @@ -12308,10 +14861,10 @@ export interface BatchEndpointsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type BatchEndpointsUpdateResponse = BatchEndpoint; +export type InferenceEndpointsUpdateResponse = InferenceEndpoint; /** Optional parameters. */ -export interface BatchEndpointsCreateOrUpdateOptionalParams +export interface InferenceEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12320,41 +14873,33 @@ 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 InferenceEndpointsCreateOrUpdateResponse = InferenceEndpoint; /** Optional parameters. */ -export interface BatchEndpointsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type BatchEndpointsListNextResponse = - BatchEndpointTrackedResourceArmPaginatedResult; +export type InferenceEndpointsListNextResponse = InferenceEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsListOptionalParams - extends coreClient.OperationOptions { +export interface InferenceGroupsListOptionalParams 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 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 BatchDeploymentsListResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +export type InferenceGroupsListResponse = InferenceGroupTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface BatchDeploymentsDeleteOptionalParams - 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. */ @@ -12362,15 +14907,13 @@ export interface BatchDeploymentsDeleteOptionalParams } /** Optional parameters. */ -export interface BatchDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type BatchDeploymentsGetResponse = BatchDeployment; +export type InferenceGroupsGetResponse = InferenceGroup; /** Optional parameters. */ -export interface BatchDeploymentsUpdateOptionalParams - 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. */ @@ -12378,11 +14921,10 @@ export interface BatchDeploymentsUpdateOptionalParams } /** Contains response data for the update operation. */ -export type BatchDeploymentsUpdateResponse = BatchDeployment; +export type InferenceGroupsUpdateResponse = InferenceGroup; /** Optional parameters. */ -export interface BatchDeploymentsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface InferenceGroupsCreateOrUpdateOptionalParams 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. */ @@ -12390,92 +14932,110 @@ export interface BatchDeploymentsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; +export type InferenceGroupsCreateOrUpdateResponse = InferenceGroup; /** Optional parameters. */ -export interface BatchDeploymentsListNextOptionalParams +export interface InferenceGroupsGetDeltaModelsStatusAsyncOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type BatchDeploymentsListNextResponse = - BatchDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the getDeltaModelsStatusAsync operation. */ +export type InferenceGroupsGetDeltaModelsStatusAsyncResponse = DeltaModelStatusResponse; + +/** Optional parameters. */ +export interface InferenceGroupsListDeltaModelsAsyncOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listDeltaModelsAsync operation. */ +export type InferenceGroupsListDeltaModelsAsyncResponse = StringArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersListOptionalParams +export interface InferenceGroupsModifyDeltaModelsAsyncOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type CodeContainersListResponse = - CodeContainerResourceArmPaginatedResult; +/** Contains response data for the modifyDeltaModelsAsync operation. */ +export type InferenceGroupsModifyDeltaModelsAsyncResponse = + InferenceGroupsModifyDeltaModelsAsyncHeaders; /** Optional parameters. */ -export interface CodeContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsGetStatusOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getStatus operation. */ +export type InferenceGroupsGetStatusResponse = GroupStatus; /** Optional parameters. */ -export interface CodeContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsListSkusOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; +} -/** Contains response data for the get operation. */ -export type CodeContainersGetResponse = CodeContainer; +/** Contains response data for the listSkus operation. */ +export type InferenceGroupsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface InferenceGroupsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type CodeContainersCreateOrUpdateResponse = CodeContainer; +/** Contains response data for the listNext operation. */ +export type InferenceGroupsListNextResponse = InferenceGroupTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeContainersListNextOptionalParams +export interface InferenceGroupsListDeltaModelsAsyncNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type CodeContainersListNextResponse = - CodeContainerResourceArmPaginatedResult; +/** Contains response data for the listDeltaModelsAsyncNext operation. */ +export type InferenceGroupsListDeltaModelsAsyncNextResponse = StringArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface InferenceGroupsListSkusNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listSkusNext operation. */ +export type InferenceGroupsListSkusNextResponse = SkuResourceArmPaginatedResult; + +/** Optional parameters. */ +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; - /** If specified, return CodeVersion assets with specified content hash value, regardless of name */ - hash?: string; - /** Hash algorithm version when listing by hash */ - hashVersion?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; + /** Type of job to be returned. */ + jobType?: string; + /** Jobs returned will have this tag key. */ + tag?: string; } /** Contains response data for the list operation. */ -export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; +export type JobsListResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface CodeVersionsDeleteOptionalParams - 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 CodeVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface JobsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type CodeVersionsGetResponse = CodeVersion; +export type JobsGetResponse = JobBase; /** Optional parameters. */ -export interface CodeVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type CodeVersionsCreateOrUpdateResponse = CodeVersion; +export type JobsCreateOrUpdateResponse = JobBase; /** Optional parameters. */ -export interface CodeVersionsPublishOptionalParams - 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. */ @@ -12483,194 +15043,213 @@ export interface CodeVersionsPublishOptionalParams } /** Optional parameters. */ -export interface CodeVersionsCreateOrGetStartPendingUploadOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrGetStartPendingUpload operation. */ -export type CodeVersionsCreateOrGetStartPendingUploadResponse = - PendingUploadResponseDto; - -/** Optional parameters. */ -export interface CodeVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface JobsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type CodeVersionsListNextResponse = - CodeVersionResourceArmPaginatedResult; +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersListOptionalParams - extends coreClient.OperationOptions { +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 ComponentContainersListResponse = - ComponentContainerResourceArmPaginatedResult; +export type MarketplaceSubscriptionsListResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface MarketplaceSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type MarketplaceSubscriptionsDeleteResponse = MarketplaceSubscriptionsDeleteHeaders; /** Optional parameters. */ -export interface ComponentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface MarketplaceSubscriptionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentContainersGetResponse = ComponentContainer; +export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; /** Optional parameters. */ -export interface ComponentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; +export type MarketplaceSubscriptionsCreateOrUpdateResponse = MarketplaceSubscription; /** Optional parameters. */ -export interface ComponentContainersListNextOptionalParams +export interface MarketplaceSubscriptionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentContainersListNextResponse = - ComponentContainerResourceArmPaginatedResult; +export type MarketplaceSubscriptionsListNextResponse = + MarketplaceSubscriptionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface ModelContainersListOptionalParams 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; + /** Maximum number of results to return. */ + count?: number; } /** Contains response data for the list operation. */ -export type ComponentVersionsListResponse = - ComponentVersionResourceArmPaginatedResult; +export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComponentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ComponentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComponentVersionsGetResponse = ComponentVersion; +export type ModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface ComponentVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersCreateOrUpdateOptionalParams 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; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface ComponentVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ComponentVersionsListNextResponse = - ComponentVersionResourceArmPaginatedResult; +export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersListOptionalParams - extends coreClient.OperationOptions { +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 DataContainersListResponse = - DataContainerResourceArmPaginatedResult; +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DataContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataContainersGetResponse = DataContainer; +export type ModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface DataContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type DataContainersCreateOrUpdateResponse = DataContainer; +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface DataContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ModelVersionsPublishOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataContainersListNextResponse = - DataContainerResourceArmPaginatedResult; +export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface OnlineEndpointsListOptionalParams 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 */ + /** 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 DataVersionsListResponse = - DataVersionBaseResourceArmPaginatedResult; +export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface DataVersionsDeleteOptionalParams - 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 DataVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DataVersionsGetResponse = DataVersionBase; +export type OnlineEndpointsGetResponse = OnlineEndpoint; + +/** Optional parameters. */ +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 OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; /** Optional parameters. */ -export interface DataVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type DataVersionsCreateOrUpdateResponse = DataVersionBase; +/** Contains response data for the listKeys operation. */ +export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface DataVersionsPublishOptionalParams - extends coreClient.OperationOptions { +export interface OnlineEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12678,146 +15257,176 @@ export interface DataVersionsPublishOptionalParams } /** Optional parameters. */ -export interface DataVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineEndpointsGetTokenOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getToken operation. */ +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; + +/** Optional parameters. */ +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DataVersionsListNextResponse = - DataVersionBaseResourceArmPaginatedResult; +export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresListOptionalParams - extends coreClient.OperationOptions { +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Maximum number of results to return. */ - count?: number; - /** Filter down to the workspace default datastore. */ - isDefault?: boolean; - /** Names of datastores to return. */ - names?: string[]; - /** Text to search for in the datastore names. */ - searchText?: string; - /** Order by property (createdtime | modifiedtime | name). */ + /** Ordering of list. */ orderBy?: string; - /** Order by property in ascending order. */ - orderByAsc?: boolean; + /** Top of list. */ + top?: number; } /** Contains response data for the list operation. */ -export type DatastoresListResponse = DatastoreResourceArmPaginatedResult; +export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface DatastoresDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface DatastoresGetOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type DatastoresGetResponse = Datastore; +export type OnlineDeploymentsGetResponse = OnlineDeployment; /** Optional parameters. */ -export interface DatastoresCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Flag to skip validation. */ - skipValidation?: boolean; +export interface OnlineDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type OnlineDeploymentsUpdateResponse = OnlineDeployment; + +/** Optional parameters. */ +export interface OnlineDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ -export type DatastoresCreateOrUpdateResponse = Datastore; +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; /** Optional parameters. */ -export interface DatastoresListSecretsOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type DatastoresListSecretsResponse = DatastoreSecretsUnion; +/** Contains response data for the getLogs operation. */ +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; /** Optional parameters. */ -export interface DatastoresListNextOptionalParams - extends coreClient.OperationOptions {} +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of Skus to be retrieved in a page of results. */ + count?: number; +} + +/** Contains response data for the listSkus operation. */ +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; +export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersListOptionalParams - extends coreClient.OperationOptions { +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listSkusNext operation. */ +export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface SchedulesListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; + /** Status filter for schedule. */ + listViewType?: ScheduleListViewType; } /** Contains response data for the list operation. */ -export type EnvironmentContainersListResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentContainersDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface EnvironmentContainersGetOptionalParams - extends coreClient.OperationOptions {} +export interface SchedulesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentContainersGetResponse = EnvironmentContainer; +export type SchedulesGetResponse = Schedule; /** Optional parameters. */ -export interface EnvironmentContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type SchedulesCreateOrUpdateResponse = Schedule; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = - EnvironmentContainerResourceArmPaginatedResult; +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface ServerlessEndpointsListOptionalParams 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 EnvironmentVersionsListResponse = - EnvironmentVersionResourceArmPaginatedResult; +export type ServerlessEndpointsListResponse = ServerlessEndpointTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ServerlessEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the delete operation. */ +export type ServerlessEndpointsDeleteResponse = ServerlessEndpointsDeleteHeaders; /** Optional parameters. */ -export interface EnvironmentVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ServerlessEndpointsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +export type ServerlessEndpointsGetResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface ServerlessEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the createOrUpdate operation. */ -export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +/** Contains response data for the update operation. */ +export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; /** Optional parameters. */ -export interface EnvironmentVersionsPublishOptionalParams +export interface ServerlessEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -12825,40 +15434,48 @@ export interface EnvironmentVersionsPublishOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; + /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ServerlessEndpointsListKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = - EnvironmentVersionResourceArmPaginatedResult; +/** Contains response data for the listKeys operation. */ +export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ -export interface FeaturesetContainersListOptionalParams +export interface ServerlessEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description 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; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } +/** Contains response data for the regenerateKeys operation. */ +export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; + +/** Optional parameters. */ +export interface ServerlessEndpointsListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ServerlessEndpointsListNextResponse = + ServerlessEndpointTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListOptionalParams extends coreClient.OperationOptions {} + /** Contains response data for the list operation. */ -export type FeaturesetContainersListResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesetContainersDeleteOptionalParams - extends coreClient.OperationOptions { +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12866,15 +15483,19 @@ export interface FeaturesetContainersDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetContainersGetEntityOptionalParams - extends coreClient.OperationOptions {} +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; +/** Contains response data for the get operation. */ +export type RegistriesGetResponse = Registry; /** Optional parameters. */ -export interface FeaturesetContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface RegistriesUpdateOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -12882,80 +15503,78 @@ export interface FeaturesetContainersCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; +export type RegistriesCreateOrUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesRemoveRegionsOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the removeRegions operation. */ +export type RegistriesRemoveRegionsResponse = Registry; /** Optional parameters. */ -export interface FeaturesetContainersListNextOptionalParams +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 FeaturesetContainersListNextResponse = - FeaturesetContainerResourceArmPaginatedResult; +export type RegistriesListNextResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ -export interface FeaturesListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - 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; -} +export interface WorkspaceFeaturesListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type FeaturesListResponse = FeatureResourceArmPaginatedResult; +export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface FeaturesGetOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceFeaturesListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type FeaturesGetResponse = Feature; +/** Contains response data for the listNext operation. */ +export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface FeaturesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface OperationsListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturesListNextResponse = FeatureResourceArmPaginatedResult; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; /** Optional parameters. */ -export interface FeaturesetVersionsListOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesListBySubscriptionOptionalParams 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; + /** Kind of workspace. */ + kind?: string; + aiCapabilities?: string; } -/** Contains response data for the list operation. */ -export type FeaturesetVersionsListResponse = - FeaturesetVersionResourceArmPaginatedResult; +/** Contains response data for the listBySubscription operation. */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturesetVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +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 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. */ @@ -12963,404 +15582,305 @@ export interface FeaturesetVersionsDeleteOptionalParams } /** Optional parameters. */ -export interface FeaturesetVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type FeaturesetVersionsGetResponse = FeaturesetVersion; +export type WorkspacesGetResponse = Workspace; /** Optional parameters. */ -export interface FeaturesetVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; +/** Contains response data for the update operation. */ +export type WorkspacesUpdateResponse = Workspace; /** Optional parameters. */ -export interface FeaturesetVersionsBackfillOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the backfill operation. */ -export type FeaturesetVersionsBackfillResponse = - FeaturesetVersionBackfillResponse; - -/** Optional parameters. */ -export interface FeaturesetVersionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FeaturesetVersionsListNextResponse = - FeaturesetVersionResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface FeaturestoreEntityContainersListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** description for the featurestore entity */ - description?: string; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** page size */ - pageSize?: number; - /** name for the featurestore entity */ - name?: string; - /** createdBy user name */ - createdBy?: string; -} - -/** Contains response data for the list operation. */ -export type FeaturestoreEntityContainersListResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type WorkspacesCreateOrUpdateResponse = Workspace; /** Optional parameters. */ -export interface FeaturestoreEntityContainersDeleteOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesDiagnoseOptionalParams extends coreClient.OperationOptions { + /** The parameter of diagnosing workspace health */ + body?: DiagnoseWorkspaceParameters; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } +/** Contains response data for the diagnose operation. */ +export type WorkspacesDiagnoseResponse = DiagnoseResponseResult; + /** Optional parameters. */ -export interface FeaturestoreEntityContainersGetEntityOptionalParams +export interface WorkspacesListKeysOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type WorkspacesListKeysResponse = ListWorkspaceKeysResult; + +/** Optional parameters. */ +export interface WorkspacesListNotebookAccessTokenOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getEntity operation. */ -export type FeaturestoreEntityContainersGetEntityResponse = - FeaturestoreEntityContainer; +/** Contains response data for the listNotebookAccessToken operation. */ +export type WorkspacesListNotebookAccessTokenResponse = NotebookAccessTokenResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export interface WorkspacesListNotebookKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityContainersCreateOrUpdateResponse = - FeaturestoreEntityContainer; +/** Contains response data for the listNotebookKeys operation. */ +export type WorkspacesListNotebookKeysResponse = ListNotebookKeysResult; /** Optional parameters. */ -export interface FeaturestoreEntityContainersListNextOptionalParams +export interface WorkspacesListStorageAccountKeysOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityContainersListNextResponse = - FeaturestoreEntityContainerResourceArmPaginatedResult; +/** Contains response data for the listStorageAccountKeys operation. */ +export type WorkspacesListStorageAccountKeysResponse = ListStorageAccountKeysResult; /** 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 WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type FeaturestoreEntityVersionsListResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = ExternalFqdnResponse; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsDeleteOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesPrepareNotebookOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Optional parameters. */ -export interface FeaturestoreEntityVersionsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; +/** Contains response data for the prepareNotebook operation. */ +export type WorkspacesPrepareNotebookResponse = NotebookResourceInfo; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface WorkspacesResyncKeysOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type FeaturestoreEntityVersionsCreateOrUpdateResponse = - FeaturestoreEntityVersion; +/** Optional parameters. */ +export interface WorkspacesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; /** Optional parameters. */ -export interface FeaturestoreEntityVersionsListNextOptionalParams +export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type FeaturestoreEntityVersionsListNextResponse = - FeaturestoreEntityVersionResourceArmPaginatedResult; +/** Contains response data for the listByResourceGroupNext operation. */ +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** 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 WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions { + /** Target of the workspace connection. */ + target?: string; + /** Category of the workspace connection. */ + category?: string; + /** query parameter that indicates if get connection call should return both connections and datastores */ + includeAll?: boolean; } /** Contains response data for the list operation. */ -export type JobsListResponse = JobBaseResourceArmPaginatedResult; +export type WorkspaceConnectionsListResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** 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 WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface JobsGetOptionalParams extends coreClient.OperationOptions {} +export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type JobsGetResponse = JobBase; +export type WorkspaceConnectionsGetResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +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 JobsCreateOrUpdateOptionalParams +export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type JobsCreateOrUpdateResponse = JobBase; +/** Contains response data for the listSecrets operation. */ +export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource; /** Optional parameters. */ -export interface JobsCancelOptionalParams extends coreClient.OperationOptions { +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 JobsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +export type WorkspaceConnectionsListNextResponse = + WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; +export interface ConnectionListDeploymentsOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the list operation. */ -export type MarketplaceSubscriptionsListResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the listDeployments operation. */ +export type ConnectionListDeploymentsResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface MarketplaceSubscriptionsDeleteOptionalParams - extends coreClient.OperationOptions { +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 delete operation. */ -export type MarketplaceSubscriptionsDeleteResponse = - MarketplaceSubscriptionsDeleteHeaders; +/** Contains response data for the deleteDeployment operation. */ +export type ConnectionDeleteDeploymentResponse = ConnectionDeleteDeploymentHeaders; /** Optional parameters. */ -export interface MarketplaceSubscriptionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionGetDeploymentOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type MarketplaceSubscriptionsGetResponse = MarketplaceSubscription; +/** Contains response data for the getDeployment operation. */ +export type ConnectionGetDeploymentResponse = EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface MarketplaceSubscriptionsCreateOrUpdateOptionalParams +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 createOrUpdate operation. */ -export type MarketplaceSubscriptionsCreateOrUpdateResponse = - MarketplaceSubscription; - -/** Optional parameters. */ -export interface MarketplaceSubscriptionsListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type MarketplaceSubscriptionsListNextResponse = - MarketplaceSubscriptionResourceArmPaginatedResult; +/** Contains response data for the createOrUpdateDeployment operation. */ +export type ConnectionCreateOrUpdateDeploymentResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** 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 ConnectionGetModelsOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; } -/** Contains response data for the list operation. */ -export type ModelContainersListResponse = - ModelContainerResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface ModelContainersDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ModelContainersGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ModelContainersGetResponse = ModelContainer; - -/** Optional parameters. */ -export interface ModelContainersCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ModelContainersCreateOrUpdateResponse = ModelContainer; +/** Contains response data for the getModels operation. */ +export type ConnectionGetModelsResponse = EndpointModels; /** Optional parameters. */ -export interface ModelContainersListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionGetAllModelsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ModelContainersListNextResponse = - ModelContainerResourceArmPaginatedResult; +/** Contains response data for the getAllModels operation. */ +export type ConnectionGetAllModelsResponse = EndpointModels; /** Optional parameters. */ -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 ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; +export interface ConnectionListDeploymentsNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listDeploymentsNext operation. */ +export type ConnectionListDeploymentsNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionGetModelsNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getModelsNext operation. */ +export type ConnectionGetModelsNextResponse = EndpointModels; /** Optional parameters. */ -export interface ModelVersionsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistsListOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the get operation. */ -export type ModelVersionsGetResponse = ModelVersion; +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistsListResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsCreateOrUpdateOptionalParams +export interface ConnectionRaiBlocklistsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +/** Contains response data for the listNext operation. */ +export type ConnectionRaiBlocklistsListNextResponse = + RaiBlocklistPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ModelVersionsPublishOptionalParams - extends coreClient.OperationOptions { +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 ModelVersionsListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ModelVersionsListNextResponse = - ModelVersionResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistGetResponse = RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ - tags?: string; - /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ - properties?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; - /** Name of the endpoint. */ - name?: string; - /** EndpointComputeType to be filtered by. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; +export interface ConnectionRaiBlocklistCreateOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the list operation. */ -export type OnlineEndpointsListResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +/** Contains response data for the create operation. */ +export type ConnectionRaiBlocklistCreateResponse = RaiBlocklistPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsDeleteOptionalParams +export interface ConnectionRaiBlocklistItemAddBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13368,15 +15888,11 @@ export interface OnlineEndpointsDeleteOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface OnlineEndpointsGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type OnlineEndpointsGetResponse = OnlineEndpoint; +/** Contains response data for the addBulk operation. */ +export type ConnectionRaiBlocklistItemAddBulkResponse = RaiBlocklistItemPropertiesBasicResource[]; /** Optional parameters. */ -export interface OnlineEndpointsUpdateOptionalParams +export interface ConnectionRaiBlocklistItemDeleteBulkOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13384,173 +15900,201 @@ export interface OnlineEndpointsUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; +/** Contains response data for the deleteBulk operation. */ +export type ConnectionRaiBlocklistItemDeleteBulkResponse = + ConnectionRaiBlocklistItemDeleteBulkHeaders; /** Optional parameters. */ -export interface OnlineEndpointsCreateOrUpdateOptionalParams +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 OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +/** Contains response data for the delete operation. */ +export type ConnectionRaiBlocklistItemDeleteResponse = ConnectionRaiBlocklistItemDeleteHeaders; /** Optional parameters. */ -export interface OnlineEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type ConnectionRaiBlocklistItemGetResponse = RaiBlocklistItemPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineEndpointsRegenerateKeysOptionalParams +export interface ConnectionRaiBlocklistItemCreateOptionalParams 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 ConnectionRaiBlocklistItemCreateResponse = RaiBlocklistItemPropertiesBasicResource; + /** Optional parameters. */ -export interface OnlineEndpointsGetTokenOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiBlocklistItemsListOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; +} -/** Contains response data for the getToken operation. */ -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +/** Contains response data for the list operation. */ +export type ConnectionRaiBlocklistItemsListResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineEndpointsListNextOptionalParams +export interface ConnectionRaiBlocklistItemsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type OnlineEndpointsListNextResponse = - OnlineEndpointTrackedResourceArmPaginatedResult; +export type ConnectionRaiBlocklistItemsListNextResponse = + RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; +export interface ConnectionRaiPoliciesListOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; } /** Contains response data for the list operation. */ -export type OnlineDeploymentsListResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +export type ConnectionRaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsDeleteOptionalParams - extends coreClient.OperationOptions { +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 OnlineDeploymentsGetOptionalParams - extends coreClient.OperationOptions {} +export interface ConnectionRaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type OnlineDeploymentsGetResponse = OnlineDeployment; +export type ConnectionRaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsUpdateOptionalParams - extends coreClient.OperationOptions { +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 update operation. */ -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; +/** Contains response data for the create operation. */ +export type ConnectionRaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsCreateOrUpdateOptionalParams +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 EndpointDeploymentListResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; + +/** Optional parameters. */ +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. */ resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +/** Contains response data for the delete operation. */ +export type EndpointDeploymentDeleteResponse = EndpointDeploymentDeleteHeaders; /** Optional parameters. */ -export interface OnlineDeploymentsGetLogsOptionalParams - extends coreClient.OperationOptions {} +export interface EndpointDeploymentGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getLogs operation. */ -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +/** Contains response data for the get operation. */ +export type EndpointDeploymentGetResponse = EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusOptionalParams +export interface EndpointDeploymentCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listSkus operation. */ -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type EndpointDeploymentCreateOrUpdateResponse = + EndpointDeploymentResourcePropertiesBasicResource; /** Optional parameters. */ -export interface OnlineDeploymentsListNextOptionalParams +export interface EndpointDeploymentGetInWorkspaceNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type OnlineDeploymentsListNextResponse = - OnlineDeploymentTrackedResourceArmPaginatedResult; +/** Contains response data for the getInWorkspaceNext operation. */ +export type EndpointDeploymentGetInWorkspaceNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface OnlineDeploymentsListSkusNextOptionalParams - extends coreClient.OperationOptions {} +export interface EndpointDeploymentListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSkusNext operation. */ -export type OnlineDeploymentsListSkusNextResponse = - SkuResourceArmPaginatedResult; +/** Contains response data for the listNext operation. */ +export type EndpointDeploymentListNextResponse = + EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesListOptionalParams - extends coreClient.OperationOptions { +export interface EndpointListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; + /** 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 list operation. */ -export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; - -/** Optional parameters. */ -export interface SchedulesDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} +export type EndpointListResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface SchedulesGetOptionalParams - extends coreClient.OperationOptions {} +export interface EndpointGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type SchedulesGetResponse = Schedule; +export type EndpointGetResponse = EndpointResourcePropertiesBasicResource; /** Optional parameters. */ -export interface SchedulesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface EndpointCreateOrUpdateOptionalParams 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. */ @@ -13558,29 +16102,57 @@ export interface SchedulesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type SchedulesCreateOrUpdateResponse = Schedule; +export type EndpointCreateOrUpdateResponse = EndpointResourcePropertiesBasicResource; /** Optional parameters. */ -export interface SchedulesListNextOptionalParams - extends coreClient.OperationOptions {} +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 EndpointRegenerateKeysResponse = AccountApiKeys; + +/** Optional parameters. */ +export interface EndpointListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +export type EndpointListNextResponse = EndpointResourcePropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsListOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; +export interface EndpointGetModelsNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the getModelsNext operation. */ +export type EndpointGetModelsNextResponse = EndpointModels; + +/** Optional parameters. */ +export interface RaiPoliciesListOptionalParams extends coreClient.OperationOptions { + /** Api version used by proxy call */ + proxyApiVersion?: string; } /** Contains response data for the list operation. */ -export type ServerlessEndpointsListResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type RaiPoliciesListResponse = RaiPolicyPropertiesBasicResourceArmPaginatedResult; /** Optional parameters. */ -export interface ServerlessEndpointsDeleteOptionalParams - extends coreClient.OperationOptions { +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. */ @@ -13588,30 +16160,35 @@ export interface ServerlessEndpointsDeleteOptionalParams } /** Contains response data for the delete operation. */ -export type ServerlessEndpointsDeleteResponse = - ServerlessEndpointsDeleteHeaders; +export type RaiPolicyDeleteResponse = RaiPolicyDeleteHeaders; /** Optional parameters. */ -export interface ServerlessEndpointsGetOptionalParams - extends coreClient.OperationOptions {} +export interface RaiPolicyGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ServerlessEndpointsGetResponse = ServerlessEndpoint; +export type RaiPolicyGetResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsUpdateOptionalParams - extends coreClient.OperationOptions { +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 update operation. */ -export type ServerlessEndpointsUpdateResponse = ServerlessEndpoint; +/** Contains response data for the create operation. */ +export type RaiPolicyCreateResponse = RaiPolicyPropertiesBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsCreateOrUpdateOptionalParams +export interface ManagedNetworkSettingsRuleListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ManagedNetworkSettingsRuleListResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsRuleDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13619,18 +16196,14 @@ export interface ServerlessEndpointsCreateOrUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the createOrUpdate operation. */ -export type ServerlessEndpointsCreateOrUpdateResponse = ServerlessEndpoint; - /** Optional parameters. */ -export interface ServerlessEndpointsListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface ManagedNetworkSettingsRuleGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listKeys operation. */ -export type ServerlessEndpointsListKeysResponse = EndpointAuthKeys; +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsRuleGetResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsRegenerateKeysOptionalParams +export interface ManagedNetworkSettingsRuleCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -13638,58 +16211,78 @@ export interface ServerlessEndpointsRegenerateKeysOptionalParams resumeFrom?: string; } -/** Contains response data for the regenerateKeys operation. */ -export type ServerlessEndpointsRegenerateKeysResponse = EndpointAuthKeys; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedNetworkSettingsRuleCreateOrUpdateResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface ServerlessEndpointsListNextOptionalParams +export interface ManagedNetworkSettingsRuleListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ServerlessEndpointsListNextResponse = - ServerlessEndpointTrackedResourceArmPaginatedResult; +export type ManagedNetworkSettingsRuleListNextResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionOptionalParams +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscription operation. */ -export type RegistriesListBySubscriptionResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ -export interface RegistriesListOptionalParams +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} +/** 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 RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; /** Optional parameters. */ -export interface RegistriesDeleteOptionalParams +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 RegistriesGetOptionalParams - extends coreClient.OperationOptions {} +export interface OutboundRuleDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the get operation. */ -export type RegistriesGetResponse = Registry; +/** Contains response data for the delete operation. */ +export type OutboundRuleDeleteResponse = OutboundRuleDeleteHeaders; /** Optional parameters. */ -export interface RegistriesUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface OutboundRuleGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type RegistriesUpdateResponse = Registry; +/** Contains response data for the get operation. */ +export type OutboundRuleGetResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { +export interface OutboundRuleCreateOrUpdateOptionalParams 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. */ @@ -13697,49 +16290,78 @@ export interface RegistriesCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type RegistriesCreateOrUpdateResponse = Registry; +export type OutboundRuleCreateOrUpdateResponse = OutboundRuleBasicResource; /** Optional parameters. */ -export interface RegistriesRemoveRegionsOptionalParams - extends coreClient.OperationOptions { +export interface OutboundRuleListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type OutboundRuleListResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface OutboundRuleListNextOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type OutboundRuleListNextResponse = OutboundRuleListResult; + +/** Optional parameters. */ +export interface OutboundRulesPostOptionalParams 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; +/** Contains response data for the post operation. */ +export type OutboundRulesPostResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions {} +export interface OutboundRulesPostNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type RegistriesListBySubscriptionNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the postNext operation. */ +export type OutboundRulesPostNextResponse = OutboundRuleListResult; /** Optional parameters. */ -export interface RegistriesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ManagedNetworkSettingsGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type RegistriesListNextResponse = - RegistryTrackedResourceArmPaginatedResult; +/** Contains response data for the get operation. */ +export type ManagedNetworkSettingsGetResponse = ManagedNetworkSettingsPropertiesBasicResource; /** Optional parameters. */ -export interface WorkspaceFeaturesListOptionalParams - extends coreClient.OperationOptions {} +export interface ManagedNetworkSettingsPatchOptionalParams extends coreClient.OperationOptions { + /** The Managed Network Settings object of the workspace. */ + body?: ManagedNetworkSettingsPropertiesBasicResource; + /** Delay to wait 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 patch operation. */ +export type ManagedNetworkSettingsPatchResponse = ManagedNetworkSettingsPropertiesBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsPutOptionalParams 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 put operation. */ +export type ManagedNetworkSettingsPutResponse = ManagedNetworkSettingsPropertiesBasicResource; + +/** Optional parameters. */ +export interface ManagedNetworkSettingsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type WorkspaceFeaturesListResponse = ListAmlUserFeatureResult; +export type ManagedNetworkSettingsListResponse = ManagedNetworkListResult; /** Optional parameters. */ -export interface WorkspaceFeaturesListNextOptionalParams - extends coreClient.OperationOptions {} +export interface ManagedNetworkSettingsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; +export type ManagedNetworkSettingsListNextResponse = ManagedNetworkListResult; /** Optional parameters. */ export interface AzureMachineLearningServicesManagementClientOptionalParams diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index f7208e80909a..5def118e5ed5 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,145 +1423,145 @@ 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, + mountName: { + serializedName: "mountName", type: { - name: "Number", + name: "String", }, }, - gpus: { - serializedName: "gpus", - readOnly: true, + mountAction: { + serializedName: "mountAction", type: { - name: "Number", + name: "String", }, }, - osVhdSizeMB: { - serializedName: "osVhdSizeMB", - readOnly: true, + mountMode: { + serializedName: "mountMode", type: { - name: "Number", + name: "String", }, }, - maxResourceVolumeMB: { - serializedName: "maxResourceVolumeMB", - readOnly: true, + createdBy: { + serializedName: "createdBy", type: { - name: "Number", + name: "String", }, }, - memoryGB: { - serializedName: "memoryGB", - readOnly: true, + mountPath: { + serializedName: "mountPath", type: { - name: "Number", + name: "String", }, }, - lowPriorityCapable: { - serializedName: "lowPriorityCapable", - readOnly: true, + mountState: { + serializedName: "mountState", type: { - name: "Boolean", + name: "String", }, }, - premiumIO: { - serializedName: "premiumIO", - readOnly: true, + mountedOn: { + serializedName: "mountedOn", type: { - name: "Boolean", + name: "DateTime", }, }, - estimatedVMPrices: { - serializedName: "estimatedVMPrices", + error: { + serializedName: "error", type: { - name: "Composite", - className: "EstimatedVMPrices", + name: "String", }, }, - supportedComputeTypes: { - serializedName: "supportedComputeTypes", + }, + }, +}; + +export const IdleShutdownSetting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdleShutdownSetting", + modelProperties: { + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const EstimatedVMPrices: coreClient.CompositeMapper = { +export const ResizeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrices", + className: "ResizeSchema", modelProperties: { - billingCurrency: { - serializedName: "billingCurrency", - required: true, + targetVMSize: { + serializedName: "targetVMSize", type: { name: "String", }, }, - unitOfMeasure: { - serializedName: "unitOfMeasure", - required: true, + }, + }, +}; + +export const AvailableQuotaArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableQuotaArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - values: { - serializedName: "values", - required: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "AvailableQuota", }, }, }, @@ -1649,41 +1570,48 @@ export const EstimatedVMPrices: coreClient.CompositeMapper = { }, }; -export const EstimatedVMPrice: coreClient.CompositeMapper = { +export const AvailableQuota: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EstimatedVMPrice", + className: "AvailableQuota", modelProperties: { - retailPrice: { - serializedName: "retailPrice", - required: true, - type: { - name: "Number", - }, - }, - osType: { - serializedName: "osType", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "AvailableQuotaProperties", }, }, - vmTier: { - serializedName: "vmTier", - required: true, + }, + }, +}; + +export const AvailableQuotaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableQuotaProperties", + modelProperties: { + total: { + serializedName: "total", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const QuotaUpdateParameters: coreClient.CompositeMapper = { +export const UsageAndQuotaDetailsArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaUpdateParameters", + className: "UsageAndQuotaDetailsArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -1691,46 +1619,84 @@ export const QuotaUpdateParameters: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "UsageAndQuotaDetails", }, }, }, }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, }, }, }; -export const QuotaBaseProperties: coreClient.CompositeMapper = { +export const UsageAndQuotaDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QuotaBaseProperties", + className: "UsageAndQuotaDetails", modelProperties: { - id: { - serializedName: "id", + modelCollection: { + serializedName: "modelCollection", + nullable: true, type: { name: "String", }, }, - type: { - serializedName: "type", + quota: { + serializedName: "quota", + type: { + name: "Number", + }, + }, + usageDetails: { + serializedName: "usageDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PTUDeploymentUsage", + }, + }, + }, + }, + }, + }, +}; + +export const PTUDeploymentUsage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PTUDeploymentUsage", + modelProperties: { + collectionQuotaUsage: { + serializedName: "collectionQuotaUsage", + type: { + name: "Number", + }, + }, + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", + resourceGroup: { + serializedName: "resourceGroup", + nullable: true, + type: { + name: "String", + }, + }, + usage: { + serializedName: "usage", type: { name: "Number", }, }, - unit: { - serializedName: "unit", + workspaceName: { + serializedName: "workspaceName", + nullable: true, type: { name: "String", }, @@ -1739,98 +1705,106 @@ export const QuotaBaseProperties: coreClient.CompositeMapper = { }, }; -export const UpdateWorkspaceQuotasResult: coreClient.CompositeMapper = { +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotasResult", + className: "CodeContainerResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "UpdateWorkspaceQuotas", + className: "CodeContainer", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const UpdateWorkspaceQuotas: coreClient.CompositeMapper = { +export const ResourceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateWorkspaceQuotas", + className: "ResourceBase", modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, }, - limit: { - serializedName: "limit", - type: { - name: "Number", - }, - }, - unit: { - serializedName: "unit", - readOnly: true, + properties: { + serializedName: "properties", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - status: { - serializedName: "status", + tags: { + serializedName: "tags", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ListWorkspaceQuotas: coreClient.CompositeMapper = { +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListWorkspaceQuotas", + className: "CodeVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ResourceQuota", + className: "CodeVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + }, + }, +}; + +export const PendingUploadRequestDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PendingUploadRequestDto", + modelProperties: { + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, + type: { + name: "String", + }, + }, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, @@ -1839,49 +1813,78 @@ export const ListWorkspaceQuotas: coreClient.CompositeMapper = { }, }; -export const ResourceQuota: coreClient.CompositeMapper = { +export const PendingUploadResponseDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceQuota", + className: "PendingUploadResponseDto", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", + type: { + name: "Composite", + className: "BlobReferenceForConsumptionDto", + }, + }, + pendingUploadId: { + serializedName: "pendingUploadId", + nullable: true, type: { name: "String", }, }, - amlWorkspaceLocation: { - serializedName: "amlWorkspaceLocation", - readOnly: true, + pendingUploadType: { + serializedName: "pendingUploadType", type: { name: "String", }, }, - type: { - serializedName: "type", - readOnly: true, + }, + }, +}; + +export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BlobReferenceForConsumptionDto", + modelProperties: { + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - name: { - serializedName: "name", + credential: { + serializedName: "credential", type: { name: "Composite", - className: "ResourceName", + className: "PendingUploadCredentialDto", }, }, - limit: { - serializedName: "limit", - readOnly: true, + storageAccountArmId: { + serializedName: "storageAccountArmId", + nullable: true, type: { - name: "Number", + name: "String", }, }, - unit: { - serializedName: "unit", - readOnly: true, + }, + }, +}; + +export const PendingUploadCredentialDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PendingUploadCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, + modelProperties: { + credentialType: { + serializedName: "credentialType", + required: true, type: { name: "String", }, @@ -1890,34 +1893,44 @@ export const ResourceQuota: coreClient.CompositeMapper = { }, }; -export const ResourceName: coreClient.CompositeMapper = { +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceName", + className: "ComponentContainerResourceArmPaginatedResult", modelProperties: { - value: { - serializedName: "value", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - localizedValue: { - serializedName: "localizedValue", - readOnly: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer", + }, + }, }, }, }, }, }; -export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PaginatedComputeResourcesList", + className: "ComponentVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -1925,208 +1938,232 @@ export const PaginatedComputeResourcesList: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ComputeResource", + className: "ComponentVersion", }, }, }, }, + }, + }, +}; + +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataContainerResourceArmPaginatedResult", + modelProperties: { nextLink: { serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataContainer", + }, + }, + }, + }, }, }, }; -export const ComputeResourceSchema: coreClient.CompositeMapper = { +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResourceSchema", + className: "DataVersionBaseResourceArmPaginatedResult", modelProperties: { - properties: { - serializedName: "properties", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "Compute", + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase", + }, + }, }, }, }, }, }; -export const Compute: coreClient.CompositeMapper = { +export const GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Compute", - uberParent: "Compute", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "GetBlobReferenceSASRequestDto", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + assetId: { + serializedName: "assetId", + nullable: true, type: { name: "String", }, }, - computeLocation: { - serializedName: "computeLocation", + blobUri: { + serializedName: "blobUri", + nullable: true, type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + }, + }, +}; + +export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GetBlobReferenceSASResponseDto", + modelProperties: { + blobReferenceForConsumption: { + serializedName: "blobReferenceForConsumption", type: { - name: "String", + name: "Composite", + className: "GetBlobReferenceForConsumptionDto", }, }, - description: { - serializedName: "description", + }, + }, +}; + +export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "GetBlobReferenceForConsumptionDto", + modelProperties: { + blobUri: { + serializedName: "blobUri", nullable: true, type: { name: "String", }, }, - createdOn: { - serializedName: "createdOn", - readOnly: true, - type: { - name: "DateTime", - }, - }, - modifiedOn: { - serializedName: "modifiedOn", - readOnly: true, + credential: { + serializedName: "credential", type: { - name: "DateTime", + name: "Composite", + className: "DataReferenceCredential", }, }, - resourceId: { - serializedName: "resourceId", + storageAccountArmId: { + serializedName: "storageAccountArmId", nullable: true, type: { name: "String", }, }, - provisioningErrors: { - serializedName: "provisioningErrors", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, - }, - }, - isAttachedCompute: { - serializedName: "isAttachedCompute", - readOnly: true, - type: { - name: "Boolean", - }, - }, - disableLocalAuth: { - serializedName: "disableLocalAuth", - type: { - name: "Boolean", - }, - }, }, }, }; -export const ClusterUpdateParameters: coreClient.CompositeMapper = { +export const DataReferenceCredential: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClusterUpdateParameters", + className: "DataReferenceCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: { + serializedName: "credentialType", + clientName: "credentialType", + }, modelProperties: { - properties: { - serializedName: "properties.properties", + credentialType: { + serializedName: "credentialType", + required: true, type: { - name: "Composite", - className: "ScaleSettingsInformation", + name: "String", }, }, }, }, }; -export const ScaleSettingsInformation: coreClient.CompositeMapper = { +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettingsInformation", + className: "EnvironmentContainerResourceArmPaginatedResult", modelProperties: { - scaleSettings: { - serializedName: "scaleSettings", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ScaleSettings", + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer", + }, + }, }, }, }, }, }; -export const ScaleSettings: coreClient.CompositeMapper = { +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScaleSettings", + className: "EnvironmentVersionResourceArmPaginatedResult", modelProperties: { - maxNodeCount: { - serializedName: "maxNodeCount", - required: true, - type: { - name: "Number", - }, - }, - minNodeCount: { - defaultValue: 0, - serializedName: "minNodeCount", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, - nodeIdleTimeBeforeScaleDown: { - serializedName: "nodeIdleTimeBeforeScaleDown", + value: { + serializedName: "value", type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion", + }, + }, }, }, }, }, }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const BuildContext: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "BuildContext", modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "contextUri", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AmlComputeNodeInformation", - }, - }, + name: "String", }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String", }, @@ -2135,51 +2172,63 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { }, }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { +export const ImageDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodeInformation", + className: "ImageDetails", modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, + exists: { + serializedName: "exists", type: { - name: "String", + name: "Boolean", }, }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, + image: { + serializedName: "image", type: { - name: "String", + name: "Composite", + className: "ImageInfo", }, }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + vulnerabilityFindings: { + serializedName: "vulnerabilityFindings", + type: { + name: "Composite", + className: "VulnerabilityFindings", + }, + }, + }, + }, +}; + +export const ImageInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageInfo", + modelProperties: { + digest: { + serializedName: "digest", nullable: true, type: { name: "String", }, }, - port: { - serializedName: "port", - readOnly: true, + hostname: { + serializedName: "hostname", + nullable: true, type: { - name: "Number", + name: "String", }, }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + repository: { + serializedName: "repository", + nullable: true, type: { name: "String", }, }, - runId: { - serializedName: "runId", - readOnly: true, + tag: { + serializedName: "tag", nullable: true, type: { name: "String", @@ -2189,231 +2238,180 @@ export const AmlComputeNodeInformation: coreClient.CompositeMapper = { }, }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const VulnerabilityFindings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "VulnerabilityFindings", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, + assetId: { + serializedName: "assetId", + nullable: true, type: { name: "String", }, }, - hostName: { - serializedName: "hostName", - readOnly: true, - type: { - name: "String", - }, - }, - publicDns: { - serializedName: "publicDns", + criticalFindingsCount: { + serializedName: "criticalFindingsCount", readOnly: true, type: { - name: "String", + name: "Number", }, }, - accessToken: { - serializedName: "accessToken", - readOnly: true, + data: { + serializedName: "data", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VulnerabilityDetails", + }, + }, }, }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + generatedTime: { + serializedName: "generatedTime", type: { - name: "String", + name: "DateTime", }, }, - expiresIn: { - serializedName: "expiresIn", + highFindingsCount: { + serializedName: "highFindingsCount", readOnly: true, type: { name: "Number", }, }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, + lastScanDate: { + serializedName: "lastScanDate", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, - scope: { - serializedName: "scope", - readOnly: true, + scanner: { + serializedName: "scanner", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeSecrets: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, - modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + source: { + serializedName: "source", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointConnectionListResult", - modelProperties: { - value: { - serializedName: "value", + totalFindingsCount: { + serializedName: "totalFindingsCount", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, + name: "Number", }, }, }, }, }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { +export const VulnerabilityDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "VulnerabilityDetails", modelProperties: { - value: { - serializedName: "value", + cve: { + serializedName: "cve", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListStorageAccountKeysResult", - modelProperties: { - userStorageKey: { - serializedName: "userStorageKey", - readOnly: true, + cveUrl: { + serializedName: "cveUrl", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: { - serializedName: "authType", - clientName: "authType", - }, - modelProperties: { - authType: { - serializedName: "authType", - required: true, + dueDate: { + serializedName: "dueDate", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, - category: { - serializedName: "category", + id: { + serializedName: "id", + readOnly: true, + nullable: true, type: { name: "String", }, }, - createdByWorkspaceArmId: { - serializedName: "createdByWorkspaceArmId", - readOnly: true, + packageDetails: { + serializedName: "packageDetails", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDetails", + }, + }, }, }, - expiryTime: { - serializedName: "expiryTime", + patchable: { + serializedName: "patchable", type: { - name: "DateTime", + name: "Boolean", }, }, - group: { - serializedName: "group", - readOnly: true, + providerId: { + serializedName: "providerId", + nullable: true, type: { name: "String", }, }, - isSharedToAll: { - serializedName: "isSharedToAll", + publishDate: { + serializedName: "publishDate", + nullable: true, type: { - name: "Boolean", + name: "DateTime", }, }, - target: { - serializedName: "target", + risk: { + serializedName: "risk", type: { name: "String", }, }, - metadata: { - serializedName: "metadata", + solution: { + serializedName: "solution", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - sharedUserList: { - serializedName: "sharedUserList", + title: { + serializedName: "title", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - value: { - serializedName: "value", + vendorId: { + serializedName: "vendorId", + nullable: true, type: { name: "String", }, }, - valueFormat: { - serializedName: "valueFormat", + vendorUrl: { + serializedName: "vendorUrl", + nullable: true, type: { name: "String", }, @@ -2422,134 +2420,99 @@ export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { }, }; -export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ExternalFqdnResponse: coreClient.CompositeMapper = { +export const PackageDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExternalFqdnResponse", + className: "PackageDetails", modelProperties: { - value: { - serializedName: "value", + installPath: { + serializedName: "installPath", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoints", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const FqdnEndpoints: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FqdnEndpoints", - modelProperties: { - properties: { - serializedName: "properties", + installedVersion: { + serializedName: "installedVersion", + nullable: true, type: { - name: "Composite", - className: "FqdnEndpointsProperties", + name: "String", }, }, - }, - }, -}; - -export const FqdnEndpointsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FqdnEndpointsProperties", - modelProperties: { - category: { - serializedName: "category", + name: { + serializedName: "name", + nullable: true, type: { name: "String", }, }, - endpoints: { - serializedName: "endpoints", + patchedVersion: { + serializedName: "patchedVersion", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpoint", - }, - }, + name: "String", }, }, }, }, }; -export const FqdnEndpoint: coreClient.CompositeMapper = { +export const InferenceContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpoint", + className: "InferenceContainerProperties", modelProperties: { - domainName: { - serializedName: "domainName", + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "String", + name: "Composite", + className: "Route", }, }, - endpointDetails: { - serializedName: "endpointDetails", + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FqdnEndpointDetail", - }, - }, + name: "Composite", + className: "Route", + }, + }, + scoringRoute: { + serializedName: "scoringRoute", + type: { + name: "Composite", + className: "Route", + }, + }, + startupRoute: { + serializedName: "startupRoute", + type: { + name: "Composite", + className: "Route", }, }, }, }, }; -export const FqdnEndpointDetail: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnEndpointDetail", + className: "Route", modelProperties: { + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "path", + required: true, + type: { + name: "String", + }, + }, port: { serializedName: "port", + required: true, type: { name: "Number", }, @@ -2558,10 +2521,10 @@ export const FqdnEndpointDetail: coreClient.CompositeMapper = { }, }; -export const OutboundRuleListResult: coreClient.CompositeMapper = { +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleListResult", + className: "ModelContainerResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2576,7 +2539,7 @@ export const OutboundRuleListResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "OutboundRuleBasicResource", + className: "ModelContainer", }, }, }, @@ -2585,152 +2548,162 @@ export const OutboundRuleListResult: coreClient.CompositeMapper = { }, }; -export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedNetworkProvisionOptions", + className: "ModelVersionResourceArmPaginatedResult", modelProperties: { - includeSpark: { - serializedName: "includeSpark", + nextLink: { + serializedName: "nextLink", type: { - name: "Boolean", + 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", - }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const ResourceBase: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "FlavorData", modelProperties: { - description: { - serializedName: "description", + data: { + serializedName: "data", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const DatasetReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatasetReference", + modelProperties: { + name: { + serializedName: "name", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - properties: { - serializedName: "properties", + id: { + serializedName: "id", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CodeVersion", - }, - }, - }, +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchEndpoint", + }, }, }, }, }, - }; + }, +}; -export const PendingUploadRequestDto: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadRequestDto", + className: "BatchEndpointDefaults", modelProperties: { - pendingUploadId: { - serializedName: "pendingUploadId", + deploymentName: { + serializedName: "deploymentName", nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", - type: { - name: "String", - }, - }, }, }, }; -export const PendingUploadResponseDto: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadResponseDto", + className: "EndpointPropertiesBase", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + authMode: { + serializedName: "authMode", + required: true, + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + keys: { + serializedName: "keys", type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "EndpointAuthKeys", }, }, - pendingUploadId: { - serializedName: "pendingUploadId", + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + readOnly: true, nullable: true, type: { name: "String", }, }, - pendingUploadType: { - serializedName: "pendingUploadType", + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, type: { name: "String", }, @@ -2739,334 +2712,299 @@ export const PendingUploadResponseDto: coreClient.CompositeMapper = { }, }; -export const BlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const EndpointAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BlobReferenceForConsumptionDto", + className: "EndpointAuthKeys", modelProperties: { - blobUri: { - serializedName: "blobUri", + primaryKey: { + serializedName: "primaryKey", nullable: true, type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + secondaryKey: { + serializedName: "secondaryKey", nullable: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", - type: { - name: "Composite", - className: "PendingUploadCredentialDto", - }, - }, }, }, }; -export const PendingUploadCredentialDto: coreClient.CompositeMapper = { +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PendingUploadCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "PartialManagedServiceIdentity", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + type: { + serializedName: "type", type: { name: "String", }, }, - }, - }, -}; - -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, }, }, }, }, - }; + }, +}; -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResource", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, - }; + }, +}; -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataContainer", - }, - }, - }, +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchDeployment", + }, }, }, }, }, - }; + }, +}; -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataVersionBase", - }, - }, - }, +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", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + }, + }, +}; + +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 GetBlobReferenceSASRequestDto: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASRequestDto", + className: "ResourceConfiguration", modelProperties: { - assetId: { - serializedName: "assetId", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", + type: { + name: "Number", + }, + }, + instanceType: { + serializedName: "instanceType", nullable: true, type: { name: "String", }, }, - blobUri: { - serializedName: "blobUri", + properties: { + serializedName: "properties", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, }, }, }, }, }; -export const GetBlobReferenceSASResponseDto: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceSASResponseDto", + className: "BatchRetrySettings", modelProperties: { - blobReferenceForConsumption: { - serializedName: "blobReferenceForConsumption", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + name: "Number", + }, + }, + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const GetBlobReferenceForConsumptionDto: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetBlobReferenceForConsumptionDto", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - blobUri: { - serializedName: "blobUri", + codeConfiguration: { + serializedName: "codeConfiguration", + type: { + name: "Composite", + className: "CodeConfiguration", + }, + }, + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - storageAccountArmId: { - serializedName: "storageAccountArmId", + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String", }, }, - credential: { - serializedName: "credential", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "Composite", - className: "DataReferenceCredential", + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const DataReferenceCredential: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataReferenceCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: { - serializedName: "credentialType", - clientName: "credentialType", - }, + className: "CodeConfiguration", modelProperties: { - credentialType: { - serializedName: "credentialType", - required: true, + codeId: { + serializedName: "codeId", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentContainer", - }, - }, - }, + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + serializedName: "scoringScript", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", + className: "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", modelProperties: { - value: { - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion", - }, - }, + name: "Composite", + className: "PartialBatchDeployment", }, }, - nextLink: { - serializedName: "nextLink", + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const BuildContext: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "PartialBatchDeployment", modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "contextUri", - required: true, - type: { - name: "String", - }, - }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + description: { + serializedName: "description", + nullable: true, type: { name: "String", }, @@ -3075,172 +3013,120 @@ export const BuildContext: coreClient.CompositeMapper = { }, }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const DestinationAsset: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "DestinationAsset", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + destinationName: { + serializedName: "destinationName", + nullable: true, type: { - name: "Composite", - className: "Route", + name: "String", }, }, - readinessRoute: { - serializedName: "readinessRoute", + destinationVersion: { + serializedName: "destinationVersion", + nullable: true, type: { - name: "Composite", - className: "Route", + name: "String", }, }, - scoringRoute: { - serializedName: "scoringRoute", + registryName: { + serializedName: "registryName", + nullable: true, type: { - name: "Composite", - className: "Route", + name: "String", }, }, }, }, }; -export const Route: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "path", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - port: { - serializedName: "port", - required: true, + value: { + serializedName: "value", type: { - name: "Number", - }, - }, - }, - }, -}; - -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelVersion", - }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Datastore", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const FlavorData: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: { + serializedName: "credentialsType", + clientName: "credentialsType", + }, modelProperties: { - data: { - serializedName: "data", - nullable: true, + credentialsType: { + serializedName: "credentialsType", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchEndpoint", - }, - }, - }, +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 BatchEndpointDefaults: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointDefaults", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType", + }, modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, + secretsType: { + serializedName: "secretsType", + required: true, type: { name: "String", }, @@ -3249,100 +3135,80 @@ export const BatchEndpointDefaults: coreClient.CompositeMapper = { }, }; -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "FeaturesetContainerResourceArmPaginatedResult", modelProperties: { - description: { - serializedName: "description", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, + value: { + serializedName: "value", 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: "FeaturesetContainer", + }, + }, }, }, }, }, }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "FeatureResourceArmPaginatedResult", modelProperties: { - primaryKey: { - serializedName: "primaryKey", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - secondaryKey: { - serializedName: "secondaryKey", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature", + }, + }, }, }, }, }, }; -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "FeaturesetVersionResourceArmPaginatedResult", modelProperties: { - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetVersion", + }, }, }, }, @@ -3350,63 +3216,42 @@ export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { }, }; -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialMinimalTrackedResource", + className: "MaterializationSettings", modelProperties: { - tags: { - serializedName: "tags", + notification: { + serializedName: "notification", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Composite", + className: "NotificationSetting", }, }, - }, - }, -}; - -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BatchDeployment", - }, - }, - }, + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceTrigger", }, }, - }, - }; - -export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: { - serializedName: "deploymentConfigurationType", - clientName: "deploymentConfigurationType", - }, - modelProperties: { - deploymentConfigurationType: { - serializedName: "deploymentConfigurationType", - required: true, + sparkConfiguration: { + serializedName: "sparkConfiguration", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + storeType: { + serializedName: "storeType", type: { name: "String", }, @@ -3415,41 +3260,66 @@ export const BatchDeploymentConfiguration: coreClient.CompositeMapper = { }, }; -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "NotificationSetting", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + emails: { + serializedName: "emails", + nullable: true, type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + webhooks: { + serializedName: "webhooks", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "Webhook" } }, }, }, }, }, }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const Webhook: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", + className: "Webhook", + uberParent: "Webhook", polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType", + serializedName: "webhookType", + clientName: "webhookType", }, modelProperties: { - referenceType: { - serializedName: "referenceType", + eventType: { + serializedName: "eventType", + nullable: true, + type: { + name: "String", + }, + }, + webhookType: { + serializedName: "webhookType", required: true, type: { name: "String", @@ -3459,18 +3329,11 @@ export const AssetReferenceBase: coreClient.CompositeMapper = { }, }; -export const ResourceConfiguration: coreClient.CompositeMapper = { +export const MaterializationComputeResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceConfiguration", + className: "MaterializationComputeResource", modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", - type: { - name: "Number", - }, - }, instanceType: { serializedName: "instanceType", nullable: true, @@ -3478,84 +3341,100 @@ export const ResourceConfiguration: coreClient.CompositeMapper = { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, - }, - }, }, }, }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const RecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "RecurrenceSchedule", modelProperties: { - description: { - serializedName: "description", - nullable: true, + hours: { + serializedName: "hours", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - properties: { - serializedName: "properties", - nullable: true, + minutes: { + serializedName: "minutes", + required: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - codeConfiguration: { - serializedName: "codeConfiguration", - type: { - name: "Composite", - className: "CodeConfiguration", - }, - }, - environmentId: { - serializedName: "environmentId", + monthDays: { + serializedName: "monthDays", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - environmentVariables: { - serializedName: "environmentVariables", + weekDays: { + serializedName: "weekDays", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType", + }, modelProperties: { - codeId: { - serializedName: "codeId", + endTime: { + serializedName: "endTime", nullable: true, type: { name: "String", }, }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + startTime: { + serializedName: "startTime", + nullable: true, + type: { + name: "String", }, - serializedName: "scoringScript", + }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String", + }, + }, + triggerType: { + serializedName: "triggerType", required: true, type: { name: "String", @@ -3565,38 +3444,13 @@ export const CodeConfiguration: coreClient.CompositeMapper = { }, }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "PartialBatchDeployment", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - }, - }, - }; - -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const FeaturesetSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", + className: "FeaturesetSpecification", modelProperties: { - description: { - serializedName: "description", + path: { + serializedName: "path", nullable: true, type: { name: "String", @@ -3606,138 +3460,161 @@ export const PartialBatchDeployment: coreClient.CompositeMapper = { }, }; -export const DestinationAsset: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DestinationAsset", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - registryName: { - serializedName: "registryName", - nullable: true, + dataAvailabilityStatus: { + serializedName: "dataAvailabilityStatus", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + description: { + serializedName: "description", type: { name: "String", }, }, - destinationName: { - serializedName: "destinationName", - nullable: true, + displayName: { + serializedName: "displayName", type: { name: "String", }, }, - destinationVersion: { - serializedName: "destinationVersion", - nullable: true, + featureWindow: { + serializedName: "featureWindow", + type: { + name: "Composite", + className: "FeatureWindow", + }, + }, + jobId: { + serializedName: "jobId", type: { name: "String", }, }, + properties: { + serializedName: "properties", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "MaterializationComputeResource", + }, + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, }, }, }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "FeatureWindow", modelProperties: { - value: { - serializedName: "value", + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Datastore", - }, - }, + name: "DateTime", }, }, - nextLink: { - serializedName: "nextLink", + featureWindowStart: { + serializedName: "featureWindowStart", + nullable: true, type: { - name: "String", + name: "DateTime", }, }, }, }, }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType", - }, + className: "FeaturesetVersionBackfillResponse", modelProperties: { - credentialsType: { - serializedName: "credentialsType", - required: true, + jobIds: { + serializedName: "jobIds", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType", - }, + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", 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: "Composite", + className: "FeaturestoreEntityContainer", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, - }; + }, +}; -export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureResourceArmPaginatedResult", + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -3745,158 +3622,113 @@ export const FeatureResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Feature", + className: "FeaturestoreEntityVersion", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturesetVersion", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetSpecification: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetSpecification", + className: "IndexColumn", modelProperties: { - path: { - serializedName: "path", + columnName: { + serializedName: "columnName", nullable: true, type: { name: "String", }, }, + dataType: { + serializedName: "dataType", + type: { + name: "String", + }, + }, }, }, }; -export const MaterializationSettings: coreClient.CompositeMapper = { +export const InferencePoolTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationSettings", + className: "InferencePoolTrackedResourceArmPaginatedResult", modelProperties: { - storeType: { - serializedName: "storeType", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "RecurrenceTrigger", - }, - }, - notification: { - serializedName: "notification", - type: { - name: "Composite", - className: "NotificationSetting", - }, - }, - resource: { - serializedName: "resource", - type: { - name: "Composite", - className: "MaterializationComputeResource", - }, - }, - sparkConfiguration: { - serializedName: "sparkConfiguration", - nullable: true, + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InferencePool", + }, + }, }, }, }, }, }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const ScaleUnitConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "ScaleUnitConfiguration", modelProperties: { - hours: { - serializedName: "hours", - required: true, + disablePublicEgress: { + defaultValue: false, + serializedName: "disablePublicEgress", type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Boolean", }, }, - minutes: { - serializedName: "minutes", - required: true, + registries: { + serializedName: "registries", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Number", + name: "String", }, }, }, }, - weekDays: { - serializedName: "weekDays", + }, + }, +}; + +export const PropertiesBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PropertiesBase", + modelProperties: { + description: { + serializedName: "description", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - monthDays: { - serializedName: "monthDays", + properties: { + serializedName: "properties", nullable: true, type: { name: "Sequence", element: { type: { - name: "Number", + name: "Composite", + className: "StringKeyValuePair", }, }, }, @@ -3905,236 +3737,261 @@ export const RecurrenceSchedule: coreClient.CompositeMapper = { }, }; -export const TriggerBase: coreClient.CompositeMapper = { +export const StringKeyValuePair: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType", - }, + className: "StringKeyValuePair", modelProperties: { - triggerType: { - serializedName: "triggerType", - required: true, + key: { + serializedName: "key", type: { name: "String", }, }, - endTime: { - serializedName: "endTime", - nullable: true, + value: { + serializedName: "value", type: { name: "String", }, }, - startTime: { - serializedName: "startTime", - nullable: true, + }, + }, +}; + +export const PartialSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialSku", + modelProperties: { + capacity: { + serializedName: "capacity", + type: { + name: "Number", + }, + }, + family: { + serializedName: "family", type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + name: { + serializedName: "name", + type: { + name: "String", + }, + }, + size: { + serializedName: "size", type: { name: "String", }, }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], + }, + }, }, }, }; -export const NotificationSetting: coreClient.CompositeMapper = { +export const InferenceEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotificationSetting", + className: "InferenceEndpointTrackedResourceArmPaginatedResult", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - emailOn: { - serializedName: "emailOn", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "InferenceEndpoint", }, }, }, }, - webhooks: { - serializedName: "webhooks", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Webhook" } }, - }, - }, }, }, }; -export const Webhook: coreClient.CompositeMapper = { +export const RequestConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Webhook", - uberParent: "Webhook", - polymorphicDiscriminator: { - serializedName: "webhookType", - clientName: "webhookType", - }, + className: "RequestConfiguration", modelProperties: { - webhookType: { - serializedName: "webhookType", - required: true, + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "String", + name: "Number", }, }, - eventType: { - serializedName: "eventType", - nullable: true, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const MaterializationComputeResource: coreClient.CompositeMapper = { +export const InferenceGroupTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MaterializationComputeResource", + className: "InferenceGroupTrackedResourceArmPaginatedResult", modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InferenceGroup", + }, + }, + }, + }, }, }, }; -export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { +export const GroupEnvironmentConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillRequest", + className: "GroupEnvironmentConfiguration", modelProperties: { - displayName: { - serializedName: "displayName", + environmentId: { + serializedName: "environmentId", + nullable: true, type: { name: "String", }, }, - description: { - serializedName: "description", + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StringKeyValuePair", + }, + }, }, }, - featureWindow: { - serializedName: "featureWindow", + livenessProbe: { + serializedName: "livenessProbe", type: { name: "Composite", - className: "FeatureWindow", + className: "ProbeSettings", }, }, - dataAvailabilityStatus: { - serializedName: "dataAvailabilityStatus", + readinessProbe: { + serializedName: "readinessProbe", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ProbeSettings", }, }, - jobId: { - serializedName: "jobId", + startupProbe: { + serializedName: "startupProbe", type: { - name: "String", + name: "Composite", + className: "ProbeSettings", }, }, - tags: { - serializedName: "tags", + }, + }, +}; + +export const ProbeSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProbeSettings", + modelProperties: { + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - resource: { - serializedName: "resource", + initialDelay: { + serializedName: "initialDelay", + nullable: true, type: { - name: "Composite", - className: "MaterializationComputeResource", + name: "TimeSpan", }, }, - sparkConfiguration: { - serializedName: "sparkConfiguration", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, - properties: { - serializedName: "properties", + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", + }, + }, + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const FeatureWindow: coreClient.CompositeMapper = { +export const GroupModelConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureWindow", + className: "GroupModelConfiguration", modelProperties: { - featureWindowStart: { - serializedName: "featureWindowStart", - nullable: true, - type: { - name: "DateTime", - }, - }, - featureWindowEnd: { - serializedName: "featureWindowEnd", + modelId: { + serializedName: "modelId", nullable: true, type: { - name: "DateTime", + name: "String", }, }, }, }, }; -export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { +export const DeltaModelStatusRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionBackfillResponse", + className: "DeltaModelStatusRequest", modelProperties: { - jobIds: { - serializedName: "jobIds", + deltaModels: { + serializedName: "deltaModels", nullable: true, type: { name: "Sequence", @@ -4145,79 +4002,63 @@ export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { }, }, }, + targetBaseModel: { + serializedName: "targetBaseModel", + nullable: true, + type: { + name: "String", + }, + }, }, }, }; -export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainerResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, +export const DeltaModelStatusResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeltaModelStatusResponse", + modelProperties: { + actualInstanceCount: { + defaultValue: 0, + serializedName: "actualInstanceCount", + type: { + name: "Number", }, }, - }, - }; - -export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "FeaturestoreEntityVersion", + deltaModels: { + serializedName: "deltaModels", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DeltaModelCurrentState", + }, }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + expectedInstanceCount: { + defaultValue: 0, + serializedName: "expectedInstanceCount", + type: { + name: "Number", }, }, - }, - }; - -export const IndexColumn: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IndexColumn", - modelProperties: { - dataType: { - serializedName: "dataType", + revisionId: { + serializedName: "revisionId", + nullable: true, type: { name: "String", }, }, - columnName: { - serializedName: "columnName", + targetBaseModel: { + serializedName: "targetBaseModel", nullable: true, type: { name: "String", @@ -4227,25 +4068,28 @@ export const IndexColumn: coreClient.CompositeMapper = { }, }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DeltaModelCurrentState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "DeltaModelCurrentState", modelProperties: { - value: { - serializedName: "value", + count: { + defaultValue: 0, + serializedName: "count", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JobBase", - }, - }, + name: "Number", }, }, - nextLink: { - serializedName: "nextLink", + sampleInstanceID: { + serializedName: "sampleInstanceID", + nullable: true, + type: { + name: "String", + }, + }, + status: { + serializedName: "status", + nullable: true, type: { name: "String", }, @@ -4254,519 +4098,425 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { }, }; -export const JobService: coreClient.CompositeMapper = { +export const DeltaModelListRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "DeltaModelListRequest", modelProperties: { - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, - type: { - name: "String", - }, - }, - port: { - serializedName: "port", - nullable: true, + count: { + defaultValue: -1, + serializedName: "count", type: { name: "Number", }, }, - endpoint: { - serializedName: "endpoint", + skipToken: { + serializedName: "skipToken", nullable: true, type: { name: "String", }, }, - status: { - serializedName: "status", - readOnly: true, + targetBaseModel: { + serializedName: "targetBaseModel", nullable: true, type: { name: "String", }, }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, - nullable: true, + }, + }, +}; + +export const StringArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StringArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - nodes: { - serializedName: "nodes", + value: { + serializedName: "value", type: { - name: "Composite", - className: "Nodes", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const Nodes: coreClient.CompositeMapper = { +export const DeltaModelModifyRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Nodes", - uberParent: "Nodes", - polymorphicDiscriminator: { - serializedName: "nodesValueType", - clientName: "nodesValueType", - }, + className: "DeltaModelModifyRequest", modelProperties: { - nodesValueType: { - serializedName: "nodesValueType", - required: true, - type: { - name: "String", + addDeltaModels: { + constraints: { + UniqueItems: true, }, - }, - }, - }, -}; - -export const IdentityConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType", - }, - modelProperties: { - identityType: { - serializedName: "identityType", - required: true, + serializedName: "addDeltaModels", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MarketplaceSubscription", - }, + removeDeltaModels: { + constraints: { + UniqueItems: true, + }, + serializedName: "removeDeltaModels", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + }, + targetBaseModel: { + serializedName: "targetBaseModel", + nullable: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { +export const GroupStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplaceSubscriptionProperties", + className: "GroupStatus", modelProperties: { - modelId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "modelId", - required: true, - type: { - name: "String", - }, - }, - marketplacePlan: { - serializedName: "marketplacePlan", + actualCapacityInfo: { + serializedName: "actualCapacityInfo", type: { name: "Composite", - className: "MarketplacePlan", + className: "ActualCapacityInfo", }, }, - marketplaceSubscriptionStatus: { - serializedName: "marketplaceSubscriptionStatus", - readOnly: true, + endpointCount: { + defaultValue: 0, + serializedName: "endpointCount", type: { - name: "String", + name: "Number", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + requestedCapacity: { + defaultValue: 0, + serializedName: "requestedCapacity", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const MarketplacePlan: coreClient.CompositeMapper = { +export const ActualCapacityInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MarketplacePlan", + className: "ActualCapacityInfo", modelProperties: { - publisherId: { - serializedName: "publisherId", - readOnly: true, - nullable: true, + total: { + defaultValue: 0, + serializedName: "total", type: { - name: "String", + name: "Number", }, }, - offerId: { - serializedName: "offerId", - readOnly: true, - nullable: true, + succeeded: { + defaultValue: 0, + serializedName: "succeeded", type: { - name: "String", + name: "Number", }, }, - planId: { - serializedName: "planId", - readOnly: true, - nullable: true, + failed: { + defaultValue: 0, + serializedName: "failed", type: { - name: "String", + 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", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + outdatedSucceeded: { + defaultValue: 0, + serializedName: "outdatedSucceeded", + type: { + name: "Number", }, }, - }, - }; - -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineDeployment", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + outdatedFailed: { + defaultValue: 0, + serializedName: "outdatedFailed", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType", - }, + className: "SkuResourceArmPaginatedResult", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuResource", + }, + }, + }, + }, }, }, }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "SkuResource", modelProperties: { - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", + capacity: { + serializedName: "capacity", type: { - name: "TimeSpan", + name: "Composite", + className: "SkuCapacity", }, }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + resourceType: { + serializedName: "resourceType", + readOnly: true, + nullable: true, type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + sku: { + serializedName: "sku", type: { - name: "Number", + name: "Composite", + className: "SkuSetting", }, }, }, }, }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const SkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "SkuCapacity", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", + default: { + defaultValue: 0, + serializedName: "default", type: { name: "Number", }, }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", + maximum: { + defaultValue: 0, + serializedName: "maximum", type: { name: "Number", }, }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", - type: { - name: "TimeSpan", - }, - }, - period: { - defaultValue: "PT10S", - serializedName: "period", + minimum: { + defaultValue: 0, + serializedName: "minimum", type: { - name: "TimeSpan", + name: "Number", }, }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + scaleType: { + serializedName: "scaleType", type: { - name: "TimeSpan", + name: "String", }, }, }, }, }; -export const DataCollector: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataCollector", + className: "SkuSetting", modelProperties: { - collections: { - serializedName: "collections", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "Collection" } }, + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - rollingRate: { - serializedName: "rollingRate", + serializedName: "name", + required: true, type: { name: "String", }, }, - requestLogging: { - serializedName: "requestLogging", + tier: { + serializedName: "tier", type: { - name: "Composite", - className: "RequestLogging", + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"], }, }, }, }, }; -export const Collection: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Collection", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { - samplingRate: { - defaultValue: 1, - serializedName: "samplingRate", - type: { - name: "Number", - }, - }, - dataCollectionMode: { - serializedName: "dataCollectionMode", - type: { - name: "String", - }, - }, - dataId: { - serializedName: "dataId", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", - nullable: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobBase", + }, + }, }, }, }, }, }; -export const RequestLogging: coreClient.CompositeMapper = { +export const IdentityConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RequestLogging", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType", + }, modelProperties: { - captureHeaders: { - serializedName: "captureHeaders", - nullable: true, + identityType: { + serializedName: "identityType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const PartialSku: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialSku", + className: "JobService", modelProperties: { - name: { - serializedName: "name", + endpoint: { + serializedName: "endpoint", + nullable: true, type: { name: "String", }, }, - tier: { - serializedName: "tier", + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + nullable: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, - size: { - serializedName: "size", + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, type: { name: "String", }, }, - family: { - serializedName: "family", + nodes: { + serializedName: "nodes", type: { - name: "String", + name: "Composite", + className: "Nodes", }, }, - capacity: { - serializedName: "capacity", + port: { + serializedName: "port", + nullable: true, type: { name: "Number", }, }, - }, - }, -}; - -export const DeploymentLogsRequest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentLogsRequest", - modelProperties: { - containerType: { - serializedName: "containerType", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - tail: { - serializedName: "tail", + status: { + serializedName: "status", + readOnly: true, nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType", + }, modelProperties: { - content: { - serializedName: "content", - nullable: true, + nodesValueType: { + serializedName: "nodesValueType", + required: true, type: { name: "String", }, @@ -4775,11 +4525,17 @@ export const DeploymentLogs: coreClient.CompositeMapper = { }, }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "MarketplaceSubscriptionResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, value: { serializedName: "value", type: { @@ -4787,130 +4543,165 @@ export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SkuResource", + className: "MarketplaceSubscription", }, }, }, }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, }, }, }; -export const SkuResource: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "MarketplaceSubscriptionProperties", modelProperties: { - resourceType: { - serializedName: "resourceType", + marketplacePlan: { + serializedName: "marketplacePlan", + type: { + name: "Composite", + className: "MarketplacePlan", + }, + }, + marketplaceSubscriptionStatus: { + serializedName: "marketplaceSubscriptionStatus", readOnly: true, - nullable: true, type: { name: "String", }, }, - sku: { - serializedName: "sku", + modelId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "modelId", + required: true, type: { - name: "Composite", - className: "SkuSetting", + name: "String", }, }, - capacity: { - serializedName: "capacity", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "SkuCapacity", + name: "String", }, }, }, }, }; -export const SkuSetting: coreClient.CompositeMapper = { +export const MarketplacePlan: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuSetting", + className: "MarketplacePlan", modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + offerId: { + serializedName: "offerId", + readOnly: true, + nullable: true, + type: { + name: "String", }, - serializedName: "name", - required: true, + }, + planId: { + serializedName: "planId", + readOnly: true, + nullable: true, type: { name: "String", }, }, - tier: { - serializedName: "tier", + publisherId: { + serializedName: "publisherId", + readOnly: true, + nullable: true, type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"], + name: "String", }, }, }, }, }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", modelProperties: { - minimum: { - defaultValue: 0, - serializedName: "minimum", + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, - maximum: { - defaultValue: 0, - serializedName: "maximum", + value: { + serializedName: "value", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineEndpoint", + }, + }, }, }, - default: { - defaultValue: 0, - serializedName: "default", + }, + }, +}; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Number", + name: "String", }, }, - scaleType: { - serializedName: "scaleType", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineDeployment", + }, + }, }, }, }, }, }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const DataCollector: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "DataCollector", modelProperties: { - keyType: { - serializedName: "keyType", + collections: { + serializedName: "collections", required: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "Collection" } }, }, }, - keyValue: { - serializedName: "keyValue", - nullable: true, + requestLogging: { + serializedName: "requestLogging", + type: { + name: "Composite", + className: "RequestLogging", + }, + }, + rollingRate: { + serializedName: "rollingRate", type: { name: "String", }, @@ -4919,35 +4710,34 @@ export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { }, }; -export const EndpointAuthToken: coreClient.CompositeMapper = { +export const Collection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthToken", + className: "Collection", modelProperties: { - accessToken: { - serializedName: "accessToken", + clientId: { + serializedName: "clientId", nullable: true, type: { name: "String", }, }, - tokenType: { - serializedName: "tokenType", - nullable: true, + dataCollectionMode: { + serializedName: "dataCollectionMode", type: { name: "String", }, }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + dataId: { + serializedName: "dataId", + nullable: true, type: { - name: "Number", + name: "String", }, }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + samplingRate: { + defaultValue: 1, + serializedName: "samplingRate", type: { name: "Number", }, @@ -4956,45 +4746,69 @@ export const EndpointAuthToken: coreClient.CompositeMapper = { }, }; -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const RequestLogging: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleResourceArmPaginatedResult", + className: "RequestLogging", modelProperties: { - value: { - serializedName: "value", + captureHeaders: { + serializedName: "captureHeaders", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Schedule", + name: "String", }, }, }, }, - nextLink: { - serializedName: "nextLink", + }, + }, +}; + +export const OnlineRequestSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineRequestSettings", + modelProperties: { + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "String", + name: "Number", + }, + }, + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", + type: { + name: "TimeSpan", + }, + }, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", + type: { + name: "TimeSpan", }, }, }, }, }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const OnlineScaleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType", + serializedName: "scaleType", + clientName: "scaleType", }, modelProperties: { - actionType: { - serializedName: "actionType", + scaleType: { + serializedName: "scaleType", required: true, type: { name: "String", @@ -5004,100 +4818,35 @@ export const ScheduleActionBase: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointTrackedResourceArmPaginatedResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerlessEndpoint", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ServerlessEndpointProperties: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointProperties", + className: "DeploymentLogsRequest", modelProperties: { - modelSettings: { - serializedName: "modelSettings", - type: { - name: "Composite", - className: "ModelSettings", - }, - }, - authMode: { - serializedName: "authMode", - required: 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, + containerType: { + serializedName: "containerType", type: { name: "String", }, }, - marketplaceSubscriptionId: { - serializedName: "marketplaceSubscriptionId", - readOnly: true, + tail: { + serializedName: "tail", nullable: true, type: { - name: "String", - }, - }, - contentSafety: { - serializedName: "contentSafety", - type: { - name: "Composite", - className: "ContentSafety", + name: "Number", }, }, }, }, }; -export const ModelSettings: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelSettings", + className: "DeploymentLogs", modelProperties: { - modelId: { - serializedName: "modelId", + content: { + serializedName: "content", nullable: true, type: { name: "String", @@ -5107,82 +4856,57 @@ export const ModelSettings: coreClient.CompositeMapper = { }, }; -export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessInferenceEndpoint", + className: "RegenerateEndpointKeysRequest", modelProperties: { - uri: { - serializedName: "uri", + keyType: { + serializedName: "keyType", required: true, type: { name: "String", }, }, - headers: { - serializedName: "headers", - readOnly: true, + keyValue: { + serializedName: "keyValue", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const ContentSafety: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContentSafety", + className: "EndpointAuthToken", modelProperties: { - contentSafetyStatus: { - serializedName: "contentSafetyStatus", - required: true, + accessToken: { + serializedName: "accessToken", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryTrackedResourceArmPaginatedResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", + type: { + name: "Number", }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Registry", - }, - }, - }, + }, + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", + type: { + name: "Number", }, }, - }, - }; - -export const ArmResourceId: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ArmResourceId", - modelProperties: { - resourceId: { - serializedName: "resourceId", + tokenType: { + serializedName: "tokenType", nullable: true, type: { name: "String", @@ -5192,126 +4916,73 @@ export const ArmResourceId: coreClient.CompositeMapper = { }, }; -export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryPrivateEndpointConnection", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - id: { - serializedName: "id", - nullable: true, - type: { - name: "String", - }, - }, - location: { - serializedName: "location", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - groupIds: { - serializedName: "properties.groupIds", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "Schedule", }, }, }, }, - 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 ScheduleActionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType", + }, + modelProperties: { + actionType: { + serializedName: "actionType", + required: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryRegionArmDetails: coreClient.CompositeMapper = { +export const ServerlessEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryRegionArmDetails", + className: "ServerlessEndpointTrackedResourceArmPaginatedResult", modelProperties: { - acrDetails: { - serializedName: "acrDetails", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AcrDetails", - }, - }, - }, - }, - location: { - serializedName: "location", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - storageAccountDetails: { - serializedName: "storageAccountDetails", - nullable: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "StorageAccountDetails", + className: "ServerlessEndpoint", }, }, }, @@ -5320,235 +4991,163 @@ export const RegistryRegionArmDetails: coreClient.CompositeMapper = { }, }; -export const AcrDetails: coreClient.CompositeMapper = { +export const ServerlessEndpointProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AcrDetails", + className: "ServerlessEndpointProperties", modelProperties: { - systemCreatedAcrAccount: { - serializedName: "systemCreatedAcrAccount", + authMode: { + serializedName: "authMode", + required: true, type: { - name: "Composite", - className: "SystemCreatedAcrAccount", + name: "String", }, }, - userCreatedAcrAccount: { - serializedName: "userCreatedAcrAccount", + contentSafety: { + serializedName: "contentSafety", type: { name: "Composite", - className: "UserCreatedAcrAccount", + className: "ContentSafety", }, }, - }, - }, -}; - -export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SystemCreatedAcrAccount", - modelProperties: { - acrAccountName: { - serializedName: "acrAccountName", - nullable: true, + endpointState: { + serializedName: "endpointState", + readOnly: true, type: { name: "String", }, }, - acrAccountSku: { - serializedName: "acrAccountSku", + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + readOnly: true, nullable: true, type: { name: "String", }, }, - armResourceId: { - serializedName: "armResourceId", + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "ArmResourceId", + className: "ModelSettings", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const UserCreatedAcrAccount: coreClient.CompositeMapper = { +export const ContentSafety: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedAcrAccount", + className: "ContentSafety", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + contentSafetyLevel: { + serializedName: "contentSafetyLevel", type: { - name: "Composite", - className: "ArmResourceId", + name: "String", + }, + }, + contentSafetyStatus: { + serializedName: "contentSafetyStatus", + required: true, + type: { + name: "String", }, }, }, }, }; -export const StorageAccountDetails: coreClient.CompositeMapper = { +export const ServerlessInferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StorageAccountDetails", + className: "ServerlessInferenceEndpoint", modelProperties: { - systemCreatedStorageAccount: { - serializedName: "systemCreatedStorageAccount", + headers: { + serializedName: "headers", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "SystemCreatedStorageAccount", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - userCreatedStorageAccount: { - serializedName: "userCreatedStorageAccount", + uri: { + serializedName: "uri", + required: true, type: { - name: "Composite", - className: "UserCreatedStorageAccount", + name: "String", }, }, }, }, }; -export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { +export const ModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemCreatedStorageAccount", + className: "ModelSettings", modelProperties: { - allowBlobPublicAccess: { - serializedName: "allowBlobPublicAccess", + modelId: { + serializedName: "modelId", + nullable: true, type: { - name: "Boolean", - }, - }, - armResourceId: { - serializedName: "armResourceId", - type: { - name: "Composite", - className: "ArmResourceId", - }, - }, - storageAccountHnsEnabled: { - serializedName: "storageAccountHnsEnabled", - type: { - name: "Boolean", - }, - }, - storageAccountName: { - serializedName: "storageAccountName", - nullable: true, - type: { - name: "String", - }, - }, - storageAccountType: { - serializedName: "storageAccountType", - nullable: true, - type: { - name: "String", + name: "String", }, }, }, }, }; -export const UserCreatedStorageAccount: coreClient.CompositeMapper = { +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserCreatedStorageAccount", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { - armResourceId: { - serializedName: "armResourceId", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ArmResourceId", - }, - }, - }, - }, -}; - -export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialRegistryPartialTrackedResource", - modelProperties: { - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + name: "String", }, }, - }, - }; - -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ListAmlUserFeatureResult", - modelProperties: { value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlUserFeature", + className: "Registry", }, }, }, }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String", - }, - }, }, }, }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "ArmResourceId", modelProperties: { - id: { - serializedName: "id", - type: { - name: "String", - }, - }, - displayName: { - serializedName: "displayName", - type: { - name: "String", - }, - }, - description: { - serializedName: "description", + resourceId: { + serializedName: "resourceId", + nullable: true, type: { name: "String", }, @@ -5557,111 +5156,91 @@ export const AmlUserFeature: coreClient.CompositeMapper = { }, }; -export const ResourceId: coreClient.CompositeMapper = { +export const ManagedResourceGroupSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceId", + className: "ManagedResourceGroupSettings", modelProperties: { - id: { - serializedName: "id", - required: true, + assignedIdentities: { + serializedName: "assignedIdentities", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedResourceGroupAssignedIdentities", + }, + }, }, }, }, }, }; -export const AKSSchema: coreClient.CompositeMapper = { +export const ManagedResourceGroupAssignedIdentities: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchema", + className: "ManagedResourceGroupAssignedIdentities", modelProperties: { - properties: { - serializedName: "properties", + principalId: { + serializedName: "principalId", + readOnly: true, type: { - name: "Composite", - className: "AKSSchemaProperties", + name: "Uuid", }, }, }, }, }; -export const AKSSchemaProperties: coreClient.CompositeMapper = { +export const RegistryPrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchemaProperties", + className: "RegistryPrivateEndpointConnection", modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", + id: { + serializedName: "id", nullable: true, type: { name: "String", }, }, - systemServices: { - serializedName: "systemServices", - readOnly: true, + location: { + serializedName: "location", + nullable: true, + type: { + name: "String", + }, + }, + groupIds: { + serializedName: "properties.groupIds", nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SystemService", + name: "String", }, }, }, }, - agentCount: { - constraints: { - InclusiveMinimum: 0, - }, - serializedName: "agentCount", - nullable: true, - type: { - name: "Number", - }, - }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, - type: { - name: "String", - }, - }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", - type: { - name: "String", - }, - }, - sslConfiguration: { - serializedName: "sslConfiguration", + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { name: "Composite", - className: "SslConfiguration", + className: "PrivateEndpointResource", }, }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + registryPrivateLinkServiceConnectionState: { + serializedName: "properties.registryPrivateLinkServiceConnectionState", type: { name: "Composite", - className: "AksNetworkingConfiguration", - }, - }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", - type: { - name: "String", + className: "RegistryPrivateLinkServiceConnectionState", }, }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", + provisioningState: { + serializedName: "properties.provisioningState", nullable: true, type: { name: "String", @@ -5671,27 +5250,13 @@ export const AKSSchemaProperties: coreClient.CompositeMapper = { }, }; -export const SystemService: coreClient.CompositeMapper = { +export const PrivateEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "PrivateEndpoint", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, - type: { - name: "String", - }, - }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - type: { - name: "String", - }, - }, - version: { - serializedName: "version", + id: { + serializedName: "id", readOnly: true, type: { name: "String", @@ -5701,374 +5266,459 @@ export const SystemService: coreClient.CompositeMapper = { }, }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const RegistryPrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "RegistryPrivateLinkServiceConnectionState", modelProperties: { - status: { - serializedName: "status", + actionsRequired: { + serializedName: "actionsRequired", + nullable: true, type: { name: "String", }, }, - cert: { - serializedName: "cert", + description: { + serializedName: "description", nullable: true, type: { name: "String", }, }, - key: { - serializedName: "key", - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - cname: { - serializedName: "cname", + }, + }, +}; + +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + modelProperties: { + acrDetails: { + serializedName: "acrDetails", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails", + }, + }, }, }, - leafDomainLabel: { - serializedName: "leafDomainLabel", + location: { + serializedName: "location", nullable: true, type: { name: "String", }, }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageAccountDetails", + }, + }, }, }, }, }, }; -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { +export const AcrDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "AcrDetails", modelProperties: { - subnetId: { - serializedName: "subnetId", + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { - name: "String", + name: "Composite", + className: "SystemCreatedAcrAccount", }, }, - 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 SystemCreatedAcrAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemCreatedAcrAccount", + modelProperties: { + acrAccountName: { + serializedName: "acrAccountName", + nullable: true, type: { name: "String", }, }, - dnsServiceIP: { - constraints: { - Pattern: new RegExp( - "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", - ), - }, - serializedName: "dnsServiceIP", + acrAccountSku: { + serializedName: "acrAccountSku", + nullable: true, type: { name: "String", }, }, - dockerBridgeCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - ), - }, - serializedName: "dockerBridgeCidr", + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, }, }, }; -export const KubernetesSchema: coreClient.CompositeMapper = { +export const StorageAccountDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesSchema", + className: "StorageAccountDetails", modelProperties: { - properties: { - serializedName: "properties", + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { name: "Composite", - className: "KubernetesProperties", + className: "SystemCreatedStorageAccount", }, }, }, }, }; -export const KubernetesProperties: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesProperties", + className: "SystemCreatedStorageAccount", modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", - nullable: true, + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", type: { - name: "String", + name: "Boolean", }, }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", - nullable: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "String", + name: "Composite", + className: "ArmResourceId", }, }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", - nullable: true, + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", type: { - name: "String", + name: "Boolean", }, }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", + storageAccountName: { + serializedName: "storageAccountName", + nullable: true, type: { name: "String", }, }, - vcName: { - serializedName: "vcName", + storageAccountType: { + serializedName: "storageAccountType", + nullable: true, type: { name: "String", }, }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + }, + }, +}; + +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialRegistryPartialTrackedResource", + modelProperties: { + identity: { + serializedName: "identity", type: { - name: "String", + name: "Composite", + className: "RegistryPartialManagedServiceIdentity", }, }, - defaultInstanceType: { - serializedName: "defaultInstanceType", + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "PartialSku", }, }, - instanceTypes: { - serializedName: "instanceTypes", + tags: { + serializedName: "tags", type: { name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" }, - }, + value: { type: { name: "String" } }, }, }, }, }, }; -export const InstanceTypeSchema: coreClient.CompositeMapper = { +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchema", + className: "ListAmlUserFeatureResult", modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", - nullable: true, + value: { + serializedName: "value", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlUserFeature", + }, + }, }, }, - resources: { - serializedName: "resources", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "InstanceTypeSchemaResources", + name: "String", }, }, }, }, }; -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchemaResources", + className: "AmlUserFeature", modelProperties: { - requests: { - serializedName: "requests", + id: { + serializedName: "id", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - limits: { - serializedName: "limits", + displayName: { + serializedName: "displayName", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", }, }, }, }, }; -export const AmlComputeProperties: coreClient.CompositeMapper = { +export const OperationListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeProperties", + className: "OperationListResult", modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation", + }, + }, }, }, - vmSize: { - serializedName: "vmSize", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String", }, }, - vmPriority: { - serializedName: "vmPriority", + }, + }, +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - virtualMachineImage: { - serializedName: "virtualMachineImage", - type: { - name: "Composite", - className: "VirtualMachineImage", - }, - }, - isolatedNetwork: { - serializedName: "isolatedNetwork", + isDataAction: { + serializedName: "isDataAction", + readOnly: true, type: { name: "Boolean", }, }, - scaleSettings: { - serializedName: "scaleSettings", + display: { + serializedName: "display", type: { name: "Composite", - className: "ScaleSettings", + className: "OperationDisplay", }, }, - userAccountCredentials: { - serializedName: "userAccountCredentials", + origin: { + serializedName: "origin", + readOnly: true, type: { - name: "Composite", - className: "UserAccountCredentials", + name: "String", }, }, - subnet: { - serializedName: "subnet", + actionType: { + serializedName: "actionType", + readOnly: true, type: { - name: "Composite", - className: "ResourceId", + name: "String", }, }, - remoteLoginPortPublicAccess: { - defaultValue: "NotSpecified", - serializedName: "remoteLoginPortPublicAccess", + }, + }, +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + readOnly: true, type: { name: "String", }, }, - allocationState: { - serializedName: "allocationState", + resource: { + serializedName: "resource", readOnly: true, type: { name: "String", }, }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", + operation: { + serializedName: "operation", readOnly: true, type: { - name: "DateTime", + name: "String", }, }, - errors: { - serializedName: "errors", + description: { + serializedName: "description", readOnly: true, - nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const WorkspaceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceListResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse", + className: "Workspace", }, }, }, }, - currentNodeCount: { - serializedName: "currentNodeCount", - readOnly: true, - nullable: true, + }, + }, +}; + +export const EncryptionProperty: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionProperty", + modelProperties: { + cosmosDbResourceId: { + serializedName: "cosmosDbResourceId", type: { - name: "Number", + name: "String", }, }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, - nullable: true, + identity: { + serializedName: "identity", type: { - name: "Number", + name: "Composite", + className: "IdentityForCmk", }, }, - nodeStateCounts: { - serializedName: "nodeStateCounts", + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { name: "Composite", - className: "NodeStateCounts", + className: "KeyVaultProperties", }, }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, + searchAccountResourceId: { + serializedName: "searchAccountResourceId", type: { - name: "Boolean", + name: "String", }, }, - propertyBag: { - serializedName: "propertyBag", - nullable: true, + status: { + serializedName: "status", + required: true, type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", + }, + }, + storageAccountResourceId: { + serializedName: "storageAccountResourceId", + type: { + name: "String", }, }, }, }, }; -export const VirtualMachineImage: coreClient.CompositeMapper = { +export const IdentityForCmk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImage", + className: "IdentityForCmk", modelProperties: { - id: { - serializedName: "id", - required: true, + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String", }, @@ -6077,26 +5727,35 @@ export const VirtualMachineImage: coreClient.CompositeMapper = { }, }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const KeyVaultProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "KeyVaultProperties", modelProperties: { - adminUserName: { - serializedName: "adminUserName", - required: true, + identityClientId: { + serializedName: "identityClientId", type: { name: "String", }, }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyIdentifier", + required: true, type: { name: "String", }, }, - adminUserPassword: { - serializedName: "adminUserPassword", + keyVaultArmId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "keyVaultArmId", + required: true, type: { name: "String", }, @@ -6105,295 +5764,220 @@ export const UserAccountCredentials: coreClient.CompositeMapper = { }, }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const FeatureStoreSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "FeatureStoreSettings", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - runningNodeCount: { - serializedName: "runningNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, - type: { - name: "Number", - }, - }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, + computeRuntime: { + serializedName: "computeRuntime", type: { - name: "Number", + name: "Composite", + className: "ComputeRuntimeDto", }, }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + offlineStoreConnectionName: { + serializedName: "offlineStoreConnectionName", type: { - name: "Number", + name: "String", }, }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, + onlineStoreConnectionName: { + serializedName: "onlineStoreConnectionName", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const AmlComputeSchema: coreClient.CompositeMapper = { +export const ComputeRuntimeDto: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeSchema", + className: "ComputeRuntimeDto", modelProperties: { - properties: { - serializedName: "properties", + sparkRuntimeVersion: { + serializedName: "sparkRuntimeVersion", type: { - name: "Composite", - className: "AmlComputeProperties", + name: "String", }, }, }, }, }; -export const ComputeInstanceProperties: coreClient.CompositeMapper = { +export const ManagedNetworkSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceProperties", + className: "ManagedNetworkSettings", modelProperties: { - vmSize: { - serializedName: "vmSize", - type: { - name: "String", - }, - }, - subnet: { - serializedName: "subnet", + enableNetworkMonitor: { + defaultValue: false, + serializedName: "enableNetworkMonitor", type: { - name: "Composite", - className: "ResourceId", + name: "Boolean", }, }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", + isolationMode: { + serializedName: "isolationMode", type: { name: "String", }, }, - sshSettings: { - serializedName: "sshSettings", + networkId: { + serializedName: "networkId", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceSshSettings", + name: "String", }, }, - customServices: { - serializedName: "customServices", + outboundRules: { + serializedName: "outboundRules", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomService", - }, - }, + name: "Dictionary", + value: { type: { name: "Composite", className: "OutboundRule" } }, }, }, - osImageMetadata: { - serializedName: "osImageMetadata", + status: { + serializedName: "status", type: { name: "Composite", - className: "ImageMetadata", + className: "ManagedNetworkProvisionStatus", }, }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", + firewallSku: { + serializedName: "firewallSku", type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + name: "String", }, }, - applications: { - serializedName: "applications", - readOnly: true, + managedNetworkKind: { + serializedName: "managedNetworkKind", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceApplication", - }, - }, + name: "String", }, }, - createdBy: { - serializedName: "createdBy", - type: { - name: "Composite", - className: "ComputeInstanceCreatedBy", - }, - }, - errors: { - serializedName: "errors", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse", - }, - }, - }, - }, - state: { - serializedName: "state", + firewallPublicIpAddress: { + serializedName: "firewallPublicIpAddress", readOnly: true, - type: { - name: "String", - }, - }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", nullable: true, type: { name: "String", }, }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", - type: { - name: "Composite", - className: "PersonalComputeInstanceSettings", - }, - }, - setupScripts: { - serializedName: "setupScripts", - type: { - name: "Composite", - className: "SetupScripts", - }, - }, - lastOperation: { - serializedName: "lastOperation", + }, + }, +}; + +export const OutboundRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, + modelProperties: { + category: { + serializedName: "category", type: { - name: "Composite", - className: "ComputeInstanceLastOperation", + name: "String", }, }, - schedules: { - serializedName: "schedules", + status: { + serializedName: "status", type: { - name: "Composite", - className: "ComputeSchedules", + name: "String", }, }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + type: { + serializedName: "type", + required: true, type: { - name: "Boolean", + name: "String", }, }, - containers: { - serializedName: "containers", + errorInformation: { + serializedName: "errorInformation", readOnly: true, - nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceContainer", - }, - }, + name: "String", }, }, - dataDisks: { - serializedName: "dataDisks", + parentRuleNames: { + serializedName: "parentRuleNames", readOnly: true, - nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ComputeInstanceDataDisk", + name: "String", }, }, }, }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, - nullable: true, + }, + }, +}; + +export const ManagedNetworkProvisionStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionStatus", + modelProperties: { + sparkReady: { + serializedName: "sparkReady", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataMount", - }, - }, + name: "Boolean", }, }, - versions: { - serializedName: "versions", + status: { + serializedName: "status", type: { - name: "Composite", - className: "ComputeInstanceVersion", + name: "String", }, }, }, }, }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const NetworkAcls: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "NetworkAcls", modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", - type: { - name: "String", - }, - }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, + defaultAction: { + serializedName: "defaultAction", type: { name: "String", }, }, - sshPort: { - serializedName: "sshPort", - readOnly: true, + ipRules: { + serializedName: "ipRules", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule", + }, + }, }, }, - adminPublicKey: { - serializedName: "adminPublicKey", + }, + }, +}; + +export const IPRule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IPRule", + modelProperties: { + value: { + serializedName: "value", type: { name: "String", }, @@ -6402,107 +5986,76 @@ export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { }, }; -export const CustomService: coreClient.CompositeMapper = { +export const NotebookResourceInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomService", - additionalProperties: { type: { name: "Object" } }, + className: "NotebookResourceInfo", modelProperties: { - name: { - serializedName: "name", + fqdn: { + serializedName: "fqdn", type: { name: "String", }, }, - image: { - serializedName: "image", - type: { - name: "Composite", - className: "Image", - }, - }, - environmentVariables: { - serializedName: "environmentVariables", + isPrivateLinkEnabled: { + serializedName: "isPrivateLinkEnabled", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "EnvironmentVariable" }, - }, + name: "Boolean", }, }, - docker: { - serializedName: "docker", + notebookPreparationError: { + serializedName: "notebookPreparationError", type: { name: "Composite", - className: "Docker", - }, - }, - endpoints: { - serializedName: "endpoints", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Endpoint", - }, - }, + className: "NotebookPreparationError", }, }, - volumes: { - serializedName: "volumes", + resourceId: { + serializedName: "resourceId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VolumeDefinition", - }, - }, + name: "String", }, }, }, }, }; -export const Image: coreClient.CompositeMapper = { +export const NotebookPreparationError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Image", - additionalProperties: { type: { name: "Object" } }, + className: "NotebookPreparationError", modelProperties: { - type: { - defaultValue: "docker", - serializedName: "type", + errorMessage: { + serializedName: "errorMessage", type: { name: "String", }, }, - reference: { - serializedName: "reference", + statusCode: { + serializedName: "statusCode", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const EnvironmentVariable: coreClient.CompositeMapper = { +export const WorkspacePrivateEndpointResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVariable", - additionalProperties: { type: { name: "Object" } }, + className: "WorkspacePrivateEndpointResource", modelProperties: { - type: { - defaultValue: "local", - serializedName: "type", + id: { + serializedName: "id", + readOnly: true, type: { name: "String", }, }, - value: { - serializedName: "value", + subnetArmId: { + serializedName: "subnetArmId", + readOnly: true, type: { name: "String", }, @@ -6511,180 +6064,77 @@ export const EnvironmentVariable: coreClient.CompositeMapper = { }, }; -export const Docker: coreClient.CompositeMapper = { +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Docker", - additionalProperties: { type: { name: "Object" } }, + className: "PrivateLinkServiceConnectionState", modelProperties: { - privileged: { - serializedName: "privileged", - nullable: true, + actionsRequired: { + serializedName: "actionsRequired", type: { - name: "Boolean", + name: "String", }, }, - }, - }, -}; - -export const Endpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Endpoint", - modelProperties: { - protocol: { - defaultValue: "tcp", - serializedName: "protocol", - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - target: { - serializedName: "target", - type: { - name: "Number", - }, - }, - published: { - serializedName: "published", - nullable: true, - type: { - name: "Number", - }, - }, - hostIp: { - serializedName: "hostIp", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, -}; - -export const VolumeDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VolumeDefinition", - modelProperties: { - type: { - defaultValue: "bind", - serializedName: "type", - type: { - name: "String", - }, - }, - readOnly: { - serializedName: "readOnly", - nullable: true, - type: { - name: "Boolean", - }, - }, - source: { - serializedName: "source", - type: { - name: "String", - }, - }, - target: { - serializedName: "target", + description: { + serializedName: "description", type: { name: "String", }, }, - consistency: { - serializedName: "consistency", + status: { + serializedName: "status", type: { name: "String", }, }, - bind: { - serializedName: "bind", - type: { - name: "Composite", - className: "BindOptions", - }, - }, - volume: { - serializedName: "volume", - type: { - name: "Composite", - className: "VolumeOptions", - }, - }, - tmpfs: { - serializedName: "tmpfs", - type: { - name: "Composite", - className: "TmpfsOptions", - }, - }, }, }, }; -export const BindOptions: coreClient.CompositeMapper = { +export const ServerlessComputeSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BindOptions", + className: "ServerlessComputeSettings", modelProperties: { - propagation: { - serializedName: "propagation", - nullable: true, + serverlessComputeCustomSubnet: { + serializedName: "serverlessComputeCustomSubnet", type: { name: "String", }, }, - createHostPath: { - serializedName: "createHostPath", - nullable: true, + serverlessComputeNoPublicIP: { + serializedName: "serverlessComputeNoPublicIP", type: { name: "Boolean", }, }, - selinux: { - serializedName: "selinux", - nullable: true, - type: { - name: "String", - }, - }, }, }, }; -export const VolumeOptions: coreClient.CompositeMapper = { +export const ServiceManagedResourcesSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VolumeOptions", + className: "ServiceManagedResourcesSettings", modelProperties: { - nocopy: { - serializedName: "nocopy", - nullable: true, + cosmosDb: { + serializedName: "cosmosDb", type: { - name: "Boolean", + name: "Composite", + className: "CosmosDbSettings", }, }, }, }, }; -export const TmpfsOptions: coreClient.CompositeMapper = { +export const CosmosDbSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TmpfsOptions", + className: "CosmosDbSettings", modelProperties: { - size: { - serializedName: "size", + collectionsThroughput: { + serializedName: "collectionsThroughput", type: { name: "Number", }, @@ -6693,72 +6143,37 @@ export const TmpfsOptions: coreClient.CompositeMapper = { }, }; -export const ImageMetadata: coreClient.CompositeMapper = { +export const SharedPrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageMetadata", + className: "SharedPrivateLinkResource", modelProperties: { - currentImageVersion: { - serializedName: "currentImageVersion", + name: { + serializedName: "name", type: { name: "String", }, }, - latestImageVersion: { - serializedName: "latestImageVersion", + groupId: { + serializedName: "properties.groupId", type: { name: "String", }, }, - isLatestOsImageVersion: { - serializedName: "isLatestOsImageVersion", + privateLinkResourceId: { + serializedName: "properties.privateLinkResourceId", type: { - name: "Boolean", - }, - }, - }, - }, -}; - -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", - modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, - nullable: true, - type: { - name: "String", - }, + name: "String", }, }, - }, - }; - -export const ComputeInstanceApplication: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceApplication", - modelProperties: { - displayName: { - serializedName: "displayName", + requestMessage: { + serializedName: "properties.requestMessage", type: { name: "String", }, }, - endpointUri: { - serializedName: "endpointUri", + status: { + serializedName: "properties.status", type: { name: "String", }, @@ -6767,30 +6182,24 @@ export const ComputeInstanceApplication: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { +export const WorkspaceHubConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "WorkspaceHubConfig", modelProperties: { - userName: { - serializedName: "userName", - readOnly: true, - nullable: true, - type: { - name: "String", - }, - }, - userOrgId: { - serializedName: "userOrgId", - readOnly: true, + additionalWorkspaceStorageAccounts: { + serializedName: "additionalWorkspaceStorageAccounts", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - userId: { - serializedName: "userId", - readOnly: true, - nullable: true, + defaultWorkspaceResourceGroup: { + serializedName: "defaultWorkspaceResourceGroup", type: { name: "String", }, @@ -6799,490 +6208,406 @@ export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { }, }; -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { +export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "WorkspaceUpdateParameters", modelProperties: { - assignedUser: { - serializedName: "assignedUser", + identity: { + serializedName: "identity", type: { name: "Composite", - className: "AssignedUser", + className: "ManagedServiceIdentity", }, }, - }, - }, -}; - -export const AssignedUser: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssignedUser", - modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + sku: { + serializedName: "sku", type: { - name: "String", + name: "Composite", + className: "Sku", }, }, - tenantId: { - serializedName: "tenantId", - required: true, + tags: { + serializedName: "tags", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const SetupScripts: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SetupScripts", - modelProperties: { - scripts: { - serializedName: "scripts", - type: { - name: "Composite", - className: "ScriptsToExecute", - }, - }, - }, - }, -}; - -export const ScriptsToExecute: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScriptsToExecute", - modelProperties: { - startupScript: { - serializedName: "startupScript", + allowRoleAssignmentOnRG: { + serializedName: "properties.allowRoleAssignmentOnRG", type: { - name: "Composite", - className: "ScriptReference", + name: "Boolean", }, }, - creationScript: { - serializedName: "creationScript", + applicationInsights: { + serializedName: "properties.applicationInsights", type: { - name: "Composite", - className: "ScriptReference", + name: "String", }, }, - }, - }, -}; - -export const ScriptReference: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScriptReference", - modelProperties: { - scriptSource: { - serializedName: "scriptSource", + containerRegistry: { + serializedName: "properties.containerRegistry", type: { name: "String", }, }, - scriptData: { - serializedName: "scriptData", + description: { + serializedName: "properties.description", type: { name: "String", }, }, - scriptArguments: { - serializedName: "scriptArguments", + enableDataIsolation: { + serializedName: "properties.enableDataIsolation", type: { - name: "String", + name: "Boolean", }, }, - timeout: { - serializedName: "timeout", + enableSoftwareBillOfMaterials: { + serializedName: "properties.enableSoftwareBillOfMaterials", type: { - name: "String", + name: "Boolean", }, }, - }, - }, -}; - -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceLastOperation", - modelProperties: { - operationName: { - serializedName: "operationName", + encryption: { + serializedName: "properties.encryption", type: { - name: "String", + name: "Composite", + className: "EncryptionUpdateProperties", }, }, - operationTime: { - serializedName: "operationTime", + featureStoreSettings: { + serializedName: "properties.featureStoreSettings", type: { - name: "DateTime", + name: "Composite", + className: "FeatureStoreSettings", }, }, - operationStatus: { - serializedName: "operationStatus", + friendlyName: { + serializedName: "properties.friendlyName", type: { name: "String", }, }, - operationTrigger: { - serializedName: "operationTrigger", + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeSchedules: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeSchedules", - modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + ipAllowlist: { + serializedName: "properties.ipAllowlist", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ComputeStartStopSchedule", + name: "String", }, }, }, }, - }, - }, -}; - -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeStartStopSchedule", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - nullable: true, + managedNetwork: { + serializedName: "properties.managedNetwork", type: { - name: "String", + name: "Composite", + className: "ManagedNetworkSettings", }, }, - provisioningStatus: { - serializedName: "provisioningStatus", - readOnly: true, + networkAcls: { + serializedName: "properties.networkAcls", type: { - name: "String", + name: "Composite", + className: "NetworkAcls", }, }, - status: { - serializedName: "status", + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", type: { name: "String", }, }, - action: { - serializedName: "action", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { name: "String", }, }, - triggerType: { - serializedName: "triggerType", + serverlessComputeSettings: { + serializedName: "properties.serverlessComputeSettings", type: { - name: "String", + name: "Composite", + className: "ServerlessComputeSettings", }, }, - recurrence: { - serializedName: "recurrence", + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", type: { name: "Composite", - className: "Recurrence", + className: "ServiceManagedResourcesSettings", }, }, - cron: { - serializedName: "cron", + softDeleteRetentionInDays: { + serializedName: "properties.softDeleteRetentionInDays", type: { - name: "Composite", - className: "Cron", + name: "Number", }, }, - schedule: { - serializedName: "schedule", + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", type: { - name: "Composite", - className: "ScheduleBase", + name: "String", + }, + }, + v1LegacyMode: { + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean", }, }, }, }, }; -export const Recurrence: coreClient.CompositeMapper = { +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Recurrence", + className: "EncryptionUpdateProperties", modelProperties: { - frequency: { - serializedName: "frequency", - type: { - name: "String", - }, - }, - interval: { - serializedName: "interval", - type: { - name: "Number", - }, - }, - startTime: { - serializedName: "startTime", - nullable: true, - type: { - name: "String", - }, - }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", - type: { - name: "String", - }, - }, - schedule: { - serializedName: "schedule", + keyVaultProperties: { + serializedName: "keyVaultProperties", type: { name: "Composite", - className: "ComputeRecurrenceSchedule", + className: "EncryptionKeyVaultUpdateProperties", }, }, }, }, }; -export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeRecurrenceSchedule", + className: "EncryptionKeyVaultUpdateProperties", modelProperties: { - hours: { - serializedName: "hours", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + keyIdentifier: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - minutes: { - serializedName: "minutes", + serializedName: "keyIdentifier", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, - }, - }, - monthDays: { - serializedName: "monthDays", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, - }, - }, - weekDays: { - serializedName: "weekDays", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, }, }, }; -export const Cron: coreClient.CompositeMapper = { +export const WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const WorkspaceConnectionPropertiesV2: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Cron", + className: "WorkspaceConnectionPropertiesV2", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType", + }, modelProperties: { - startTime: { - serializedName: "startTime", - nullable: true, + authType: { + serializedName: "authType", + required: true, type: { name: "String", }, }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", + category: { + serializedName: "category", type: { name: "String", }, }, - expression: { - serializedName: "expression", + createdByWorkspaceArmId: { + serializedName: "createdByWorkspaceArmId", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ScheduleBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ScheduleBase", - modelProperties: { - id: { - serializedName: "id", - nullable: true, + error: { + serializedName: "error", type: { name: "String", }, }, - provisioningStatus: { - serializedName: "provisioningStatus", + expiryTime: { + serializedName: "expiryTime", type: { - name: "String", + name: "DateTime", }, }, - status: { - serializedName: "status", + group: { + serializedName: "group", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceContainer", - modelProperties: { - name: { - serializedName: "name", + isSharedToAll: { + serializedName: "isSharedToAll", type: { - name: "String", + name: "Boolean", }, }, - autosave: { - serializedName: "autosave", + metadata: { + serializedName: "metadata", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - gpu: { - serializedName: "gpu", + peRequirement: { + serializedName: "peRequirement", type: { name: "String", }, }, - network: { - serializedName: "network", + peStatus: { + serializedName: "peStatus", type: { name: "String", }, }, - environment: { - serializedName: "environment", - type: { - name: "Composite", - className: "ComputeInstanceEnvironmentInfo", - }, - }, - services: { - serializedName: "services", - readOnly: true, + sharedUserList: { + serializedName: "sharedUserList", type: { name: "Sequence", element: { type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, }, }, + target: { + serializedName: "target", + type: { + name: "String", + }, + }, + useWorkspaceManagedIdentity: { + serializedName: "useWorkspaceManagedIdentity", + type: { + name: "Boolean", + }, + }, }, }, }; -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { +export const WorkspaceConnectionUpdateParameter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "WorkspaceConnectionUpdateParameter", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String", - }, - }, - version: { - serializedName: "version", + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "WorkspaceConnectionPropertiesV2", }, }, }, }, }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, + }, + }, + }, + }, + }; + +export const EndpointDeploymentResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "EndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, modelProperties: { - caching: { - serializedName: "caching", + failureReason: { + serializedName: "failureReason", type: { name: "String", }, }, - diskSizeGB: { - serializedName: "diskSizeGB", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - lun: { - serializedName: "lun", - type: { - name: "Number", + type: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + serializedName: "type", + required: true, type: { name: "String", }, @@ -7291,300 +6616,399 @@ export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { }, }; -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { +export const EndpointModels: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "EndpointModels", modelProperties: { - source: { - serializedName: "source", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - sourceType: { - serializedName: "sourceType", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelProperties", + }, + }, }, }, - mountName: { - serializedName: "mountName", + }, + }, +}; + +export const EndpointModelProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModelProperties", + modelProperties: { + capabilities: { + serializedName: "capabilities", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - mountAction: { - serializedName: "mountAction", + deprecation: { + serializedName: "deprecation", type: { - name: "String", + name: "Composite", + className: "EndpointModelDeprecationProperties", }, }, - createdBy: { - serializedName: "createdBy", + finetuneCapabilities: { + serializedName: "finetuneCapabilities", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - mountPath: { - serializedName: "mountPath", + format: { + serializedName: "format", type: { name: "String", }, }, - mountState: { - serializedName: "mountState", + isDefaultVersion: { + serializedName: "isDefaultVersion", + type: { + name: "Boolean", + }, + }, + lifecycleStatus: { + serializedName: "lifecycleStatus", type: { name: "String", }, }, - mountedOn: { - serializedName: "mountedOn", + maxCapacity: { + serializedName: "maxCapacity", type: { - name: "DateTime", + name: "Number", }, }, - error: { - serializedName: "error", + name: { + serializedName: "name", type: { name: "String", }, }, - }, - }, -}; - -export const ComputeInstanceVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceVersion", - modelProperties: { - runtime: { - serializedName: "runtime", - nullable: true, + skus: { + serializedName: "skus", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuProperties", + }, + }, }, }, - }, - }, -}; - -export const ComputeInstanceSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceSchema", - modelProperties: { - properties: { - serializedName: "properties", + systemData: { + serializedName: "systemData", type: { name: "Composite", - className: "ComputeInstanceProperties", + className: "SystemData", + }, + }, + version: { + serializedName: "version", + type: { + name: "String", }, }, }, }, }; -export const VirtualMachineSchema: coreClient.CompositeMapper = { +export const EndpointModelDeprecationProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchema", + className: "EndpointModelDeprecationProperties", modelProperties: { - properties: { - serializedName: "properties", + fineTune: { + serializedName: "fineTune", type: { - name: "Composite", - className: "VirtualMachineSchemaProperties", + name: "DateTime", + }, + }, + inference: { + serializedName: "inference", + type: { + name: "DateTime", }, }, }, }, }; -export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { +export const EndpointModelSkuProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchemaProperties", + className: "EndpointModelSkuProperties", modelProperties: { - virtualMachineSize: { - serializedName: "virtualMachineSize", + capacity: { + serializedName: "capacity", type: { - name: "String", + name: "Composite", + className: "EndpointModelSkuCapacityProperties", }, }, - sshPort: { - serializedName: "sshPort", + connectionIds: { + serializedName: "connectionIds", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - notebookServerPort: { - serializedName: "notebookServerPort", + deprecationDate: { + serializedName: "deprecationDate", type: { - name: "Number", + name: "DateTime", }, }, - address: { - serializedName: "address", + name: { + serializedName: "name", type: { name: "String", }, }, - administratorAccount: { - serializedName: "administratorAccount", + rateLimits: { + serializedName: "rateLimits", type: { - name: "Composite", - className: "VirtualMachineSshCredentials", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + }, + }, }, }, - isNotebookInstanceCompute: { - serializedName: "isNotebookInstanceCompute", + usageName: { + serializedName: "usageName", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { +export const EndpointModelSkuCapacityProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSshCredentials", + className: "EndpointModelSkuCapacityProperties", modelProperties: { - username: { - serializedName: "username", + default: { + serializedName: "default", type: { - name: "String", + name: "Number", }, }, - password: { - serializedName: "password", + maximum: { + serializedName: "maximum", type: { - name: "String", + name: "Number", }, }, - publicKeyData: { - serializedName: "publicKeyData", + }, + }, +}; + +export const EndpointModelSkuRateLimitProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitProperties", + modelProperties: { + count: { + serializedName: "count", type: { - name: "String", + name: "Number", }, }, - privateKeyData: { - serializedName: "privateKeyData", + renewalPeriod: { + serializedName: "renewalPeriod", type: { - name: "String", + name: "Number", + }, + }, + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRuleProperties", + }, + }, }, }, }, }, }; -export const HDInsightProperties: coreClient.CompositeMapper = { +export const EndpointModelSkuRateLimitRuleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightProperties", + className: "EndpointModelSkuRateLimitRuleProperties", modelProperties: { - sshPort: { - serializedName: "sshPort", + count: { + serializedName: "count", type: { name: "Number", }, }, - address: { - serializedName: "address", + dynamicThrottlingEnabled: { + serializedName: "dynamicThrottlingEnabled", + type: { + name: "Boolean", + }, + }, + key: { + serializedName: "key", type: { name: "String", }, }, - administratorAccount: { - serializedName: "administratorAccount", + matchPatterns: { + serializedName: "matchPatterns", type: { - name: "Composite", - className: "VirtualMachineSshCredentials", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointModelSkuRateLimitRulePatternProperties", + }, + }, + }, + }, + minCount: { + serializedName: "minCount", + type: { + name: "Number", + }, + }, + renewalPeriod: { + serializedName: "renewalPeriod", + type: { + name: "Number", }, }, }, }, }; -export const HDInsightSchema: coreClient.CompositeMapper = { +export const EndpointModelSkuRateLimitRulePatternProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightSchema", + className: "EndpointModelSkuRateLimitRulePatternProperties", modelProperties: { - properties: { - serializedName: "properties", + method: { + serializedName: "method", type: { - name: "Composite", - className: "HDInsightProperties", + name: "String", + }, + }, + path: { + serializedName: "path", + type: { + name: "String", }, }, }, }, }; -export const DatabricksProperties: coreClient.CompositeMapper = { +export const RaiBlocklistPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksProperties", + className: "RaiBlocklistPropertiesBasicResourceArmPaginatedResult", modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - workspaceUrl: { - serializedName: "workspaceUrl", + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistPropertiesBasicResource", + }, + }, }, }, }, }, }; -export const DatabricksSchema: coreClient.CompositeMapper = { +export const RaiBlocklistProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksSchema", + className: "RaiBlocklistProperties", modelProperties: { - properties: { - serializedName: "properties", + description: { + serializedName: "description", type: { - name: "Composite", - className: "DatabricksProperties", + name: "String", }, }, }, }, }; -export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { +export const RaiBlocklistItemBulkRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchema", + className: "RaiBlocklistItemBulkRequest", modelProperties: { + name: { + serializedName: "name", + type: { + name: "String", + }, + }, properties: { serializedName: "properties", type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "RaiBlocklistItemProperties", }, }, }, }, }; -export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { +export const RaiBlocklistItemProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "RaiBlocklistItemProperties", modelProperties: { - dataLakeStoreAccountName: { - serializedName: "dataLakeStoreAccountName", + isRegex: { + serializedName: "isRegex", + type: { + name: "Boolean", + }, + }, + pattern: { + serializedName: "pattern", type: { name: "String", }, @@ -7593,69 +7017,116 @@ export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { }, }; -export const SynapseSparkProperties: coreClient.CompositeMapper = { +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 RaiPolicyPropertiesBasicResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSparkProperties", + className: "RaiPolicyPropertiesBasicResourceArmPaginatedResult", modelProperties: { - autoScaleProperties: { - serializedName: "autoScaleProperties", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "AutoScaleProperties", + name: "String", }, }, - autoPauseProperties: { - serializedName: "autoPauseProperties", + value: { + serializedName: "value", type: { - name: "Composite", - className: "AutoPauseProperties", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyPropertiesBasicResource", + }, + }, }, }, - sparkVersion: { - serializedName: "sparkVersion", - type: { - name: "String", - }, - }, - nodeCount: { - serializedName: "nodeCount", - type: { - name: "Number", - }, - }, - nodeSize: { - serializedName: "nodeSize", + }, + }, +}; + +export const RaiPolicyProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RaiPolicyProperties", + modelProperties: { + basePolicyName: { + serializedName: "basePolicyName", type: { name: "String", }, }, - nodeSizeFamily: { - serializedName: "nodeSizeFamily", + completionBlocklists: { + serializedName: "completionBlocklists", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + }, + }, }, }, - subscriptionId: { - serializedName: "subscriptionId", + contentFilters: { + serializedName: "contentFilters", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiPolicyContentFilter", + }, + }, }, }, - resourceGroup: { - serializedName: "resourceGroup", + mode: { + serializedName: "mode", type: { name: "String", }, }, - workspaceName: { - serializedName: "workspaceName", + promptBlocklists: { + serializedName: "promptBlocklists", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RaiBlocklistConfig", + }, + }, }, }, - poolName: { - serializedName: "poolName", + type: { + serializedName: "type", type: { name: "String", }, @@ -7664,74 +7135,58 @@ export const SynapseSparkProperties: coreClient.CompositeMapper = { }, }; -export const AutoScaleProperties: coreClient.CompositeMapper = { +export const RaiBlocklistConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoScaleProperties", + className: "RaiBlocklistConfig", modelProperties: { - minNodeCount: { - serializedName: "minNodeCount", - type: { - name: "Number", - }, - }, - enabled: { - serializedName: "enabled", + blocking: { + serializedName: "blocking", type: { name: "Boolean", }, }, - maxNodeCount: { - serializedName: "maxNodeCount", + blocklistName: { + serializedName: "blocklistName", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const AutoPauseProperties: coreClient.CompositeMapper = { +export const RaiPolicyContentFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoPauseProperties", + className: "RaiPolicyContentFilter", modelProperties: { - delayInMinutes: { - serializedName: "delayInMinutes", + allowedContentLevel: { + serializedName: "allowedContentLevel", type: { - name: "Number", + name: "String", }, }, - enabled: { - serializedName: "enabled", + blocking: { + serializedName: "blocking", type: { name: "Boolean", }, }, - }, - }, -}; - -export const AksComputeSecretsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AksComputeSecretsProperties", - modelProperties: { - userKubeConfig: { - serializedName: "userKubeConfig", + enabled: { + serializedName: "enabled", type: { - name: "String", + name: "Boolean", }, }, - adminKubeConfig: { - serializedName: "adminKubeConfig", + name: { + serializedName: "name", type: { name: "String", }, }, - imagePullSecretName: { - serializedName: "imagePullSecretName", - nullable: true, + source: { + serializedName: "source", type: { name: "String", }, @@ -7740,253 +7195,256 @@ export const AksComputeSecretsProperties: coreClient.CompositeMapper = { }, }; -export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { +export const DiagnoseWorkspaceParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecretsSchema", + className: "DiagnoseWorkspaceParameters", modelProperties: { - administratorAccount: { - serializedName: "administratorAccount", + value: { + serializedName: "value", type: { name: "Composite", - className: "VirtualMachineSshCredentials", - }, - }, - }, - }, -}; - -export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksComputeSecretsProperties", - modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", - type: { - name: "String", + className: "DiagnoseRequestProperties", }, }, }, }, }; -export const IdleShutdownSetting: coreClient.CompositeMapper = { +export const DiagnoseRequestProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdleShutdownSetting", + className: "DiagnoseRequestProperties", modelProperties: { - idleTimeBeforeShutdown: { - serializedName: "idleTimeBeforeShutdown", + applicationInsights: { + serializedName: "applicationInsights", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - }, - }, -}; - -export const PrivateEndpointDestination: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateEndpointDestination", - modelProperties: { - serviceResourceId: { - serializedName: "serviceResourceId", + containerRegistry: { + serializedName: "containerRegistry", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - sparkEnabled: { - serializedName: "sparkEnabled", + dnsResolution: { + serializedName: "dnsResolution", type: { - name: "Boolean", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - sparkStatus: { - serializedName: "sparkStatus", + keyVault: { + serializedName: "keyVault", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - subresourceTarget: { - serializedName: "subresourceTarget", + nsg: { + serializedName: "nsg", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - }, - }, -}; - -export const ServiceTagDestination: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ServiceTagDestination", - modelProperties: { - action: { - serializedName: "action", + others: { + serializedName: "others", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - addressPrefixes: { - serializedName: "addressPrefixes", - readOnly: true, + requiredResourceProviders: { + serializedName: "requiredResourceProviders", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - portRanges: { - serializedName: "portRanges", + resourceLock: { + serializedName: "resourceLock", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - protocol: { - serializedName: "protocol", + storageAccount: { + serializedName: "storageAccount", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - serviceTag: { - serializedName: "serviceTag", + udr: { + serializedName: "udr", type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { +export const DiagnoseResponseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword", + className: "DiagnoseResponseResult", modelProperties: { - username: { - serializedName: "username", - type: { - name: "String", - }, - }, - password: { - serializedName: "password", - type: { - name: "String", - }, - }, - securityToken: { - serializedName: "securityToken", + value: { + serializedName: "value", type: { - name: "String", + name: "Composite", + className: "DiagnoseResponseResultValue", }, }, }, }, }; -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", - modelProperties: { - sas: { - serializedName: "sas", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const WorkspaceConnectionAccountKey: coreClient.CompositeMapper = { +export const DiagnoseResponseResultValue: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccountKey", + className: "DiagnoseResponseResultValue", modelProperties: { - key: { - serializedName: "key", + userDefinedRouteResults: { + serializedName: "userDefinedRouteResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - }, - }, -}; - -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - modelProperties: { - resourceId: { - serializedName: "resourceId", + networkSecurityRuleResults: { + serializedName: "networkSecurityRuleResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, - clientId: { - serializedName: "clientId", + resourceLockResults: { + serializedName: "resourceLockResults", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + dnsResolutionResults: { + serializedName: "dnsResolutionResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + storageAccountResults: { + serializedName: "storageAccountResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + keyVaultResults: { + serializedName: "keyVaultResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + containerRegistryResults: { + serializedName: "containerRegistryResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + applicationInsightsResults: { + serializedName: "applicationInsightsResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, + }, + }, + otherResults: { + serializedName: "otherResults", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnoseResult", + }, + }, }, }, }, }, }; -export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { +export const DiagnoseResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionAccessKey", + className: "DiagnoseResult", modelProperties: { - accessKeyId: { - serializedName: "accessKeyId", + code: { + serializedName: "code", + readOnly: true, type: { name: "String", }, }, - secretAccessKey: { - serializedName: "secretAccessKey", + level: { + serializedName: "level", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionApiKey", - modelProperties: { - key: { - serializedName: "key", + message: { + serializedName: "message", + readOnly: true, type: { name: "String", }, @@ -7995,98 +7453,139 @@ export const WorkspaceConnectionApiKey: coreClient.CompositeMapper = { }, }; -export const CustomKeys: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomKeys", - modelProperties: { - keys: { - serializedName: "keys", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, +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 WorkspaceConnectionOAuth2: coreClient.CompositeMapper = { +export const EndpointResourceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionOAuth2", + className: "EndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: { + serializedName: "endpointType", + clientName: "endpointType", + }, modelProperties: { - authUrl: { - serializedName: "authUrl", + associatedResourceId: { + serializedName: "associatedResourceId", type: { name: "String", }, }, - clientId: { - serializedName: "clientId", + deployments: { + serializedName: "deployments", type: { - name: "Uuid", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDeploymentResourcePropertiesBasicResource", + }, + }, }, }, - clientSecret: { - serializedName: "clientSecret", + endpointType: { + serializedName: "endpointType", + required: true, type: { name: "String", }, }, - developerToken: { - serializedName: "developerToken", + endpointUri: { + serializedName: "endpointUri", type: { name: "String", }, }, - password: { - serializedName: "password", + failureReason: { + serializedName: "failureReason", type: { name: "String", }, }, - refreshToken: { - serializedName: "refreshToken", + location: { + serializedName: "location", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + name: { + serializedName: "name", type: { name: "String", }, }, - username: { - serializedName: "username", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, + shouldCreateAiServicesEndpoint: { + serializedName: "shouldCreateAiServicesEndpoint", + type: { + name: "Boolean", + }, + }, }, }, }; -export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { +export const EndpointKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionServicePrincipal", + className: "EndpointKeys", modelProperties: { - clientId: { - serializedName: "clientId", + keys: { + serializedName: "keys", type: { - name: "String", + name: "Composite", + className: "AccountApiKeys", }, }, - clientSecret: { - serializedName: "clientSecret", + }, + }, +}; + +export const AccountApiKeys: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AccountApiKeys", + modelProperties: { + key1: { + serializedName: "key1", type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + key2: { + serializedName: "key2", type: { name: "String", }, @@ -8095,19 +7594,13 @@ export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { }, }; -export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { +export const RegenerateServiceAccountKeyContent: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringFeatureFilterBase", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: { - serializedName: "filterType", - clientName: "filterType", - }, + className: "RegenerateServiceAccountKeyContent", modelProperties: { - filterType: { - serializedName: "filterType", - required: true, + keyName: { + serializedName: "keyName", type: { name: "String", }, @@ -8116,19 +7609,42 @@ export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { }, }; -export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { +export const ListWorkspaceKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeIdentityBase", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: { - serializedName: "computeIdentityType", - clientName: "computeIdentityType", - }, + className: "ListWorkspaceKeysResult", modelProperties: { - computeIdentityType: { - serializedName: "computeIdentityType", - required: true, + appInsightsInstrumentationKey: { + serializedName: "appInsightsInstrumentationKey", + readOnly: true, + type: { + name: "String", + }, + }, + containerRegistryCredentials: { + serializedName: "containerRegistryCredentials", + type: { + name: "Composite", + className: "RegistryListCredentialsResult", + }, + }, + notebookAccessKeys: { + serializedName: "notebookAccessKeys", + type: { + name: "Composite", + className: "ListNotebookKeysResult", + }, + }, + userStorageArmId: { + serializedName: "userStorageArmId", + readOnly: true, + type: { + name: "String", + }, + }, + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, @@ -8137,24 +7653,33 @@ export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { }, }; -export const AssetJobInput: coreClient.CompositeMapper = { +export const RegistryListCredentialsResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobInput", + className: "RegistryListCredentialsResult", modelProperties: { - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", - required: true, + location: { + serializedName: "location", + readOnly: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", + passwords: { + serializedName: "passwords", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Password", + }, + }, + }, + }, + username: { + serializedName: "username", + readOnly: true, type: { name: "String", }, @@ -8163,20 +7688,21 @@ export const AssetJobInput: coreClient.CompositeMapper = { }, }; -export const AssetJobOutput: coreClient.CompositeMapper = { +export const Password: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetJobOutput", + className: "Password", modelProperties: { - uri: { - serializedName: "uri", - nullable: true, + name: { + serializedName: "name", + readOnly: true, type: { name: "String", }, }, - mode: { - serializedName: "mode", + value: { + serializedName: "value", + readOnly: true, type: { name: "String", }, @@ -8185,19 +7711,21 @@ export const AssetJobOutput: coreClient.CompositeMapper = { }, }; -export const ForecastHorizon: coreClient.CompositeMapper = { +export const ListNotebookKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ListNotebookKeysResult", modelProperties: { - mode: { - serializedName: "mode", - required: true, + primaryAccessKey: { + serializedName: "primaryAccessKey", + readOnly: true, + type: { + name: "String", + }, + }, + secondaryAccessKey: { + serializedName: "secondaryAccessKey", + readOnly: true, type: { name: "String", }, @@ -8206,95 +7734,63 @@ export const ForecastHorizon: coreClient.CompositeMapper = { }, }; -export const AutoMLVertical: coreClient.CompositeMapper = { +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType", - }, + className: "NotebookAccessTokenResult", modelProperties: { - taskType: { - serializedName: "taskType", - required: true, + accessToken: { + serializedName: "accessToken", + readOnly: true, type: { name: "String", }, }, - logVerbosity: { - serializedName: "logVerbosity", + expiresIn: { + serializedName: "expiresIn", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - trainingData: { - serializedName: "trainingData", + hostName: { + serializedName: "hostName", + readOnly: true, type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const JobInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType", - }, - modelProperties: { - jobInputType: { - serializedName: "jobInputType", - required: true, + publicDns: { + serializedName: "publicDns", + readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", - nullable: true, + refreshToken: { + serializedName: "refreshToken", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType", - }, - modelProperties: { - jobOutputType: { - serializedName: "jobOutputType", - required: true, + scope: { + serializedName: "scope", + readOnly: true, type: { name: "String", }, }, - description: { - serializedName: "description", - nullable: true, + tokenType: { + serializedName: "tokenType", + readOnly: true, type: { name: "String", }, @@ -8303,13 +7799,14 @@ export const JobOutput: coreClient.CompositeMapper = { }, }; -export const QueueSettings: coreClient.CompositeMapper = { +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "QueueSettings", + className: "ListStorageAccountKeysResult", modelProperties: { - jobTier: { - serializedName: "jobTier", + userStorageKey: { + serializedName: "userStorageKey", + readOnly: true, type: { name: "String", }, @@ -8318,762 +7815,753 @@ export const QueueSettings: coreClient.CompositeMapper = { }, }; -export const NCrossValidations: coreClient.CompositeMapper = { +export const ExternalFqdnResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "ExternalFqdnResponse", modelProperties: { - mode: { - serializedName: "mode", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointsPropertyBag", + }, + }, }, }, }, }, }; -export const Seasonality: coreClient.CompositeMapper = { +export const FqdnEndpointsPropertyBag: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "FqdnEndpointsPropertyBag", modelProperties: { - mode: { - serializedName: "mode", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "FqdnEndpoints", }, }, }, }, }; -export const TargetLags: coreClient.CompositeMapper = { +export const FqdnEndpoints: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "FqdnEndpoints", modelProperties: { - mode: { - serializedName: "mode", - required: true, + category: { + serializedName: "category", type: { name: "String", }, }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpoint", + }, + }, + }, + }, }, }, }; -export const TargetRollingWindowSize: coreClient.CompositeMapper = { +export const FqdnEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode", - }, + className: "FqdnEndpoint", modelProperties: { - mode: { - serializedName: "mode", - required: true, + domainName: { + serializedName: "domainName", type: { name: "String", }, }, + endpointDetails: { + serializedName: "endpointDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FqdnEndpointDetail", + }, + }, + }, + }, }, }, }; -export const AzureDatastore: coreClient.CompositeMapper = { +export const FqdnEndpointDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDatastore", + className: "FqdnEndpointDetail", modelProperties: { - subscriptionId: { - serializedName: "subscriptionId", - nullable: true, - type: { - name: "String", - }, - }, - resourceGroup: { - serializedName: "resourceGroup", - nullable: true, + port: { + serializedName: "port", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { +export const OutboundRuleListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType", - }, + className: "OutboundRuleListResult", modelProperties: { - policyType: { - serializedName: "policyType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", - type: { - name: "Number", - }, - }, - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + value: { + serializedName: "value", type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OutboundRuleBasicResource", + }, + }, }, }, }, }, }; -export const SamplingAlgorithm: coreClient.CompositeMapper = { +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType", - }, + className: "PrivateEndpointConnectionListResult", modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + }, + }, }, }, }, }, }; -export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataDriftMetricThresholdBase", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "PrivateLinkResourceListResult", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + value: { + serializedName: "value", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource", + }, + }, }, }, - threshold: { - serializedName: "threshold", + }, + }, +}; + +export const ManagedNetworkProvisionOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkProvisionOptions", + modelProperties: { + includeSpark: { + serializedName: "includeSpark", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "Boolean", }, }, }, }, }; -export const MonitoringThreshold: coreClient.CompositeMapper = { +export const ManagedNetworkSettingsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringThreshold", + className: "ManagedNetworkSettingsProperties", modelProperties: { - value: { - serializedName: "value", - nullable: true, + managedNetwork: { + serializedName: "managedNetwork", type: { - name: "Number", + name: "Composite", + className: "ManagedNetworkSettingsEx", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", }, }, }, }, }; -export const DataQualityMetricThresholdBase: coreClient.CompositeMapper = { +export const ManagedNetworkListResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataQualityMetricThresholdBase", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "ManagedNetworkListResult", modelProperties: { - dataType: { - serializedName: "dataType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + value: { + serializedName: "value", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedNetworkSettingsPropertiesBasicResource", + }, + }, }, }, }, }, }; -export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PredictionDriftMetricThresholdBase", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "ResourceId", modelProperties: { - dataType: { - serializedName: "dataType", + id: { + serializedName: "id", required: true, type: { name: "String", }, }, - threshold: { - serializedName: "threshold", + }, + }, +}; + +export const AKSSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AKSSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "MonitoringThreshold", + className: "AKSSchemaProperties", }, }, }, }, }; -export const TrainingSettings: coreClient.CompositeMapper = { +export const AKSSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrainingSettings", + className: "AKSSchemaProperties", modelProperties: { - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + systemServices: { + serializedName: "systemServices", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "StackEnsembleSettings", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService", + }, + }, }, }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", - type: { - name: "Boolean", - }, + agentCount: { + constraints: { + InclusiveMinimum: 0, + }, + serializedName: "agentCount", + nullable: true, + type: { + name: "Number", + }, }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { - name: "Boolean", + name: "String", }, }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { - name: "TimeSpan", + name: "String", }, }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + sslConfiguration: { + serializedName: "sslConfiguration", type: { - name: "Boolean", + name: "Composite", + className: "SslConfiguration", }, }, - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", type: { - name: "Boolean", + name: "Composite", + className: "AksNetworkingConfiguration", + }, + }, + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", + type: { + name: "String", + }, + }, + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const StackEnsembleSettings: coreClient.CompositeMapper = { +export const SystemService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StackEnsembleSettings", + className: "SystemService", modelProperties: { - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + systemServiceType: { + serializedName: "systemServiceType", + readOnly: true, type: { name: "String", }, }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + version: { + serializedName: "version", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "String", }, }, }, }, }; -export const TableVertical: coreClient.CompositeMapper = { +export const SslConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVertical", + className: "SslConfiguration", modelProperties: { - limitSettings: { - serializedName: "limitSettings", - type: { - name: "Composite", - className: "TableVerticalLimitSettings", - }, - }, - nCrossValidations: { - serializedName: "nCrossValidations", + status: { + serializedName: "status", type: { - name: "Composite", - className: "NCrossValidations", + name: "String", }, }, - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", + cert: { + serializedName: "cert", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - weightColumnName: { - serializedName: "weightColumnName", + key: { + serializedName: "key", nullable: true, type: { name: "String", }, }, - validationData: { - serializedName: "validationData", - type: { - name: "Composite", - className: "MLTableJobInput", - }, - }, - testData: { - serializedName: "testData", - type: { - name: "Composite", - className: "MLTableJobInput", - }, - }, - validationDataSize: { - serializedName: "validationDataSize", + cname: { + serializedName: "cname", nullable: true, type: { - name: "Number", + name: "String", }, }, - testDataSize: { - serializedName: "testDataSize", + leafDomainLabel: { + serializedName: "leafDomainLabel", nullable: true, type: { - name: "Number", + name: "String", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + overwriteExistingDomain: { + serializedName: "overwriteExistingDomain", type: { - name: "Composite", - className: "TableVerticalFeaturizationSettings", + name: "Boolean", }, }, }, }, }; -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { +export const AksNetworkingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalLimitSettings", + className: "AksNetworkingConfiguration", modelProperties: { - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + subnetId: { + serializedName: "subnetId", type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", - type: { - name: "TimeSpan", + serviceCidr: { + constraints: { + Pattern: new RegExp("^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"), }, - }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + serializedName: "serviceCidr", type: { - name: "TimeSpan", + name: "String", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number", + 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]?)$", + ), }, - }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", + serializedName: "dnsServiceIP", type: { - name: "Number", + name: "String", }, }, - exitScore: { - serializedName: "exitScore", - nullable: true, - type: { - name: "Number", + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp("^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"), }, - }, - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + serializedName: "dockerBridgeCidr", type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const ColumnTransformer: coreClient.CompositeMapper = { +export const KubernetesSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ColumnTransformer", + className: "KubernetesSchema", modelProperties: { - fields: { - serializedName: "fields", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - parameters: { - serializedName: "parameters", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "Composite", + className: "KubernetesProperties", }, }, }, }, }; -export const FeaturizationSettings: coreClient.CompositeMapper = { +export const KubernetesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturizationSettings", + className: "KubernetesProperties", modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", + relayConnectionString: { + serializedName: "relayConnectionString", nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const DistributionConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType", - }, - modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, + serviceBusConnectionString: { + serializedName: "serviceBusConnectionString", + nullable: true, type: { name: "String", }, }, + extensionPrincipalId: { + serializedName: "extensionPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + extensionInstanceReleaseTrain: { + serializedName: "extensionInstanceReleaseTrain", + type: { + name: "String", + }, + }, + vcName: { + serializedName: "vcName", + type: { + name: "String", + }, + }, + namespace: { + defaultValue: "default", + serializedName: "namespace", + type: { + name: "String", + }, + }, + defaultInstanceType: { + serializedName: "defaultInstanceType", + type: { + name: "String", + }, + }, + instanceTypes: { + serializedName: "instanceTypes", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "InstanceTypeSchema" }, + }, + }, + }, }, }, }; -export const JobLimits: coreClient.CompositeMapper = { +export const InstanceTypeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType", - }, + className: "InstanceTypeSchema", modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, + nodeSelector: { + serializedName: "nodeSelector", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - timeout: { - serializedName: "timeout", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "TimeSpan", + name: "Composite", + className: "InstanceTypeSchemaResources", }, }, }, }, }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "InstanceTypeSchemaResources", modelProperties: { - containerResourceRequests: { - serializedName: "containerResourceRequests", + requests: { + serializedName: "requests", type: { - name: "Composite", - className: "ContainerResourceSettings", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - containerResourceLimits: { - serializedName: "containerResourceLimits", + limits: { + serializedName: "limits", type: { - name: "Composite", - className: "ContainerResourceSettings", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const ContainerResourceSettings: coreClient.CompositeMapper = { +export const AmlComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceSettings", + className: "AmlComputeProperties", modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + osType: { + defaultValue: "Linux", + serializedName: "osType", type: { name: "String", }, }, - memory: { - serializedName: "memory", - nullable: true, + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - gpu: { - serializedName: "gpu", - nullable: true, + vmPriority: { + serializedName: "vmPriority", type: { name: "String", }, }, - }, - }, -}; - -export const MonitorDefinition: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorDefinition", - modelProperties: { - monitoringTarget: { - serializedName: "monitoringTarget", + virtualMachineImage: { + serializedName: "virtualMachineImage", type: { name: "Composite", - className: "MonitoringTarget", + className: "VirtualMachineImage", }, }, - signals: { - serializedName: "signals", - required: true, + isolatedNetwork: { + serializedName: "isolatedNetwork", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "MonitoringSignalBase" }, - }, + name: "Boolean", }, }, - computeConfiguration: { - serializedName: "computeConfiguration", + scaleSettings: { + serializedName: "scaleSettings", type: { name: "Composite", - className: "MonitorComputeConfigurationBase", + className: "ScaleSettings", }, }, - alertNotificationSettings: { - serializedName: "alertNotificationSettings", + userAccountCredentials: { + serializedName: "userAccountCredentials", type: { name: "Composite", - className: "MonitorNotificationSettings", + className: "UserAccountCredentials", }, }, - }, - }, -}; - -export const MonitoringTarget: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitoringTarget", - modelProperties: { - modelId: { - serializedName: "modelId", - nullable: true, + subnet: { + serializedName: "subnet", type: { - name: "String", + name: "Composite", + className: "ResourceId", }, }, - deploymentId: { - serializedName: "deploymentId", - nullable: true, + remoteLoginPortPublicAccess: { + defaultValue: "NotSpecified", + serializedName: "remoteLoginPortPublicAccess", type: { name: "String", }, }, - taskType: { - serializedName: "taskType", - required: true, + allocationState: { + serializedName: "allocationState", + readOnly: true, type: { name: "String", }, }, - }, - }, -}; - -export const MonitoringSignalBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitoringSignalBase", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: { - serializedName: "signalType", - clientName: "signalType", - }, - modelProperties: { - signalType: { - serializedName: "signalType", - required: true, + allocationStateTransitionTime: { + serializedName: "allocationStateTransitionTime", + readOnly: true, type: { - name: "String", + name: "DateTime", }, }, - notificationTypes: { - serializedName: "notificationTypes", + errors: { + serializedName: "errors", + readOnly: true, nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "ErrorResponse", }, }, }, }, - properties: { - serializedName: "properties", + currentNodeCount: { + serializedName: "currentNodeCount", + readOnly: true, + nullable: true, + type: { + name: "Number", + }, + }, + targetNodeCount: { + serializedName: "targetNodeCount", + readOnly: true, + nullable: true, + type: { + name: "Number", + }, + }, + nodeStateCounts: { + serializedName: "nodeStateCounts", + type: { + name: "Composite", + className: "NodeStateCounts", + }, + }, + enableNodePublicIp: { + defaultValue: true, + serializedName: "enableNodePublicIp", + nullable: true, + type: { + name: "Boolean", + }, + }, + propertyBag: { + serializedName: "propertyBag", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "any" } }, }, }, }, }, }; -export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { +export const VirtualMachineImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorComputeConfigurationBase", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType", - }, + className: "VirtualMachineImage", modelProperties: { - computeType: { - serializedName: "computeType", + id: { + serializedName: "id", required: true, type: { name: "String", @@ -9083,62 +8571,26 @@ export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { }, }; -export const MonitorNotificationSettings: coreClient.CompositeMapper = { +export const UserAccountCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorNotificationSettings", - modelProperties: { - emailNotificationSettings: { - serializedName: "emailNotificationSettings", - type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", - }, - }, - }, - }, -}; - -export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MonitorEmailNotificationSettings", + className: "UserAccountCredentials", modelProperties: { - emails: { - serializedName: "emails", - nullable: true, + adminUserName: { + serializedName: "adminUserName", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - }, - }, -}; - -export const CustomMetricThreshold: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomMetricThreshold", - modelProperties: { - threshold: { - serializedName: "threshold", + adminUserSshPublicKey: { + serializedName: "adminUserSshPublicKey", type: { - name: "Composite", - className: "MonitoringThreshold", + name: "String", }, }, - metric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "metric", - required: true, + adminUserPassword: { + serializedName: "adminUserPassword", type: { name: "String", }, @@ -9147,756 +8599,898 @@ export const CustomMetricThreshold: coreClient.CompositeMapper = { }, }; -export const MonitoringInputDataBase: coreClient.CompositeMapper = { +export const NodeStateCounts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitoringInputDataBase", - uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: { - serializedName: "inputDataType", - clientName: "inputDataType", - }, + className: "NodeStateCounts", modelProperties: { - inputDataType: { - serializedName: "inputDataType", - required: true, - type: { - name: "String", - }, - }, - dataContext: { - serializedName: "dataContext", - nullable: true, + idleNodeCount: { + serializedName: "idleNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - jobInputType: { - serializedName: "jobInputType", - required: true, + runningNodeCount: { + serializedName: "runningNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "uri", - required: true, + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - columns: { - serializedName: "columns", - nullable: true, + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - }, - }, -}; - -export const FeatureImportanceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeatureImportanceSettings", - modelProperties: { - mode: { - serializedName: "mode", + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, - targetColumn: { - serializedName: "targetColumn", - nullable: true, + preemptedNodeCount: { + serializedName: "preemptedNodeCount", + readOnly: true, type: { - name: "String", + name: "Number", }, }, }, }, }; -export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureAttributionMetricThreshold", + className: "AmlComputeSchema", modelProperties: { - threshold: { - serializedName: "threshold", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "MonitoringThreshold", - }, - }, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", + className: "AmlComputeProperties", }, }, }, }, }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "ComputeInstanceProperties", modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", - nullable: true, + vmSize: { + serializedName: "vmSize", type: { name: "String", }, }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + subnet: { + serializedName: "subnet", type: { - name: "String", + name: "Composite", + className: "ResourceId", }, }, - targetLags: { - serializedName: "targetLags", + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { - name: "Composite", - className: "TargetLags", + name: "String", }, }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + autologgerSettings: { + serializedName: "autologgerSettings", type: { name: "Composite", - className: "TargetRollingWindowSize", + className: "ComputeInstanceAutologgerSettings", }, }, - forecastHorizon: { - serializedName: "forecastHorizon", + sshSettings: { + serializedName: "sshSettings", type: { name: "Composite", - className: "ForecastHorizon", + className: "ComputeInstanceSshSettings", }, }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", + customServices: { + serializedName: "customServices", nullable: true, type: { name: "Sequence", element: { type: { - name: "String", + name: "Composite", + className: "CustomService", }, }, }, }, - frequency: { - serializedName: "frequency", - nullable: true, + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "String", + name: "Composite", + className: "ImageMetadata", }, }, - featureLags: { - serializedName: "featureLags", + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "String", + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", }, }, - seasonality: { - serializedName: "seasonality", + applications: { + serializedName: "applications", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + }, + }, + }, + }, + createdBy: { + serializedName: "createdBy", type: { name: "Composite", - className: "Seasonality", + className: "ComputeInstanceCreatedBy", }, }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + errors: { + serializedName: "errors", + readOnly: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - useStl: { - serializedName: "useStl", + state: { + serializedName: "state", + readOnly: true, type: { name: "String", }, }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", + nullable: true, type: { name: "String", }, }, - cvStepSize: { - serializedName: "cvStepSize", + enableOSPatching: { + defaultValue: false, + serializedName: "enableOSPatching", nullable: true, type: { - name: "Number", + name: "Boolean", }, }, - }, - }, -}; - -export const ImageModelSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageModelSettings", - modelProperties: { - amsGradient: { - serializedName: "amsGradient", + enableRootAccess: { + defaultValue: true, + serializedName: "enableRootAccess", nullable: true, type: { name: "Boolean", }, }, - advancedSettings: { - serializedName: "advancedSettings", + enableSSO: { + defaultValue: true, + serializedName: "enableSSO", nullable: true, type: { - name: "String", + name: "Boolean", }, }, - augmentations: { - serializedName: "augmentations", + releaseQuotaOnStop: { + defaultValue: false, + serializedName: "releaseQuotaOnStop", nullable: true, type: { - name: "String", + name: "Boolean", }, }, - beta1: { - serializedName: "beta1", - nullable: true, + personalComputeInstanceSettings: { + serializedName: "personalComputeInstanceSettings", type: { - name: "Number", + name: "Composite", + className: "PersonalComputeInstanceSettings", }, }, - beta2: { - serializedName: "beta2", - nullable: true, + setupScripts: { + serializedName: "setupScripts", type: { - name: "Number", + name: "Composite", + className: "SetupScripts", }, }, - checkpointFrequency: { - serializedName: "checkpointFrequency", - nullable: true, + lastOperation: { + serializedName: "lastOperation", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceLastOperation", }, }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, + schedules: { + serializedName: "schedules", type: { - name: "String", + name: "Composite", + className: "ComputeSchedules", }, }, - checkpointModel: { - serializedName: "checkpointModel", + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", type: { - name: "Composite", - className: "MLFlowModelJobInput", + name: "String", }, }, - distributed: { - serializedName: "distributed", + enableNodePublicIp: { + serializedName: "enableNodePublicIp", nullable: true, type: { name: "Boolean", }, }, - earlyStopping: { - serializedName: "earlyStopping", + containers: { + serializedName: "containers", + readOnly: true, nullable: true, type: { - name: "Boolean", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer", + }, + }, }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", + dataDisks: { + serializedName: "dataDisks", + readOnly: true, nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk", + }, + }, }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", + dataMounts: { + serializedName: "dataMounts", + readOnly: true, nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + versions: { + serializedName: "versions", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceVersion", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + }, + }, +}; + +export const ComputeInstanceAutologgerSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceAutologgerSettings", + modelProperties: { + mlflowAutologger: { + serializedName: "mlflowAutologger", type: { - name: "Boolean", + name: "String", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + }, + }, +}; + +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceSshSettings", + modelProperties: { + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", type: { - name: "Number", + name: "String", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + adminUserName: { + serializedName: "adminUserName", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + sshPort: { + serializedName: "sshPort", + readOnly: true, type: { name: "Number", }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + adminPublicKey: { + serializedName: "adminPublicKey", type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, + }, + }, +}; + +export const ImageMetadata: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageMetadata", + modelProperties: { + currentImageVersion: { + serializedName: "currentImageVersion", type: { name: "String", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + latestImageVersion: { + serializedName: "latestImageVersion", type: { - name: "Number", + name: "String", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", type: { name: "Boolean", }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + osPatchingStatus: { + serializedName: "osPatchingStatus", type: { - name: "Number", + name: "Composite", + className: "OsPatchingStatus", }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + }, + }, +}; + +export const OsPatchingStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OsPatchingStatus", + modelProperties: { + patchStatus: { + serializedName: "patchStatus", type: { - name: "Number", + name: "String", }, }, - optimizer: { - serializedName: "optimizer", + latestPatchTime: { + serializedName: "latestPatchTime", type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + rebootPending: { + serializedName: "rebootPending", type: { - name: "Number", + name: "Boolean", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + scheduledRebootTime: { + serializedName: "scheduledRebootTime", type: { - name: "Number", + name: "String", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", + osPatchingErrors: { + serializedName: "osPatchingErrors", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse", + }, + }, }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", + }, + }, +}; + +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints", + modelProperties: { + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, nullable: true, type: { - name: "Number", + name: "String", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, nullable: true, type: { - name: "Number", + name: "String", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + }, + }, +}; + +export const ComputeInstanceApplication: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceApplication", + modelProperties: { + displayName: { + serializedName: "displayName", type: { - name: "Number", - }, - }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, - type: { - name: "Number", + name: "String", }, }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + endpointUri: { + serializedName: "endpointUri", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "ComputeInstanceCreatedBy", modelProperties: { - amsGradient: { - serializedName: "amsGradient", + userName: { + serializedName: "userName", + readOnly: true, nullable: true, type: { name: "String", }, }, - augmentations: { - serializedName: "augmentations", - nullable: true, + userOrgId: { + serializedName: "userOrgId", + readOnly: true, type: { name: "String", }, }, - beta1: { - serializedName: "beta1", + userId: { + serializedName: "userId", + readOnly: true, nullable: true, type: { name: "String", }, }, - beta2: { - serializedName: "beta2", - nullable: true, + }, + }, +}; + +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PersonalComputeInstanceSettings", + modelProperties: { + assignedUser: { + serializedName: "assignedUser", type: { - name: "String", + name: "Composite", + className: "AssignedUser", }, }, - distributed: { - serializedName: "distributed", - nullable: true, + }, + }, +}; + +export const AssignedUser: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssignedUser", + modelProperties: { + objectId: { + serializedName: "objectId", + required: true, type: { name: "String", }, }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + tenantId: { + serializedName: "tenantId", + required: true, type: { name: "String", }, }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + }, + }, +}; + +export const SetupScripts: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SetupScripts", + modelProperties: { + scripts: { + serializedName: "scripts", type: { - name: "String", + name: "Composite", + className: "ScriptsToExecute", }, }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + }, + }, +}; + +export const ScriptsToExecute: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScriptsToExecute", + modelProperties: { + startupScript: { + serializedName: "startupScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", }, }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + creationScript: { + serializedName: "creationScript", type: { - name: "String", + name: "Composite", + className: "ScriptReference", }, }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + }, + }, +}; + +export const ScriptReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScriptReference", + modelProperties: { + scriptSource: { + serializedName: "scriptSource", type: { name: "String", }, }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + scriptData: { + serializedName: "scriptData", type: { name: "String", }, }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + scriptArguments: { + serializedName: "scriptArguments", type: { name: "String", }, }, - learningRate: { - serializedName: "learningRate", - nullable: true, + timeout: { + serializedName: "timeout", type: { name: "String", }, }, - learningRateScheduler: { - serializedName: "learningRateScheduler", - nullable: true, + }, + }, +}; + +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceLastOperation", + modelProperties: { + operationName: { + serializedName: "operationName", type: { name: "String", }, }, - modelName: { - serializedName: "modelName", - nullable: true, + operationTime: { + serializedName: "operationTime", type: { - name: "String", + name: "DateTime", }, }, - momentum: { - serializedName: "momentum", - nullable: true, + operationStatus: { + serializedName: "operationStatus", type: { name: "String", }, }, - nesterov: { - serializedName: "nesterov", - nullable: true, + operationTrigger: { + serializedName: "operationTrigger", type: { name: "String", }, }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + }, + }, +}; + +export const ComputeSchedules: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeSchedules", + modelProperties: { + computeStartStop: { + serializedName: "computeStartStop", type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + }, + }, }, }, - numberOfWorkers: { - serializedName: "numberOfWorkers", + }, + }, +}; + +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, nullable: true, type: { name: "String", }, }, - optimizer: { - serializedName: "optimizer", - nullable: true, + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { name: "String", }, }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + status: { + serializedName: "status", type: { name: "String", }, }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + action: { + serializedName: "action", type: { name: "String", }, }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + triggerType: { + serializedName: "triggerType", type: { name: "String", }, }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + recurrence: { + serializedName: "recurrence", type: { - name: "String", + name: "Composite", + className: "Recurrence", }, }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + cron: { + serializedName: "cron", type: { - name: "String", + name: "Composite", + className: "Cron", }, }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + schedule: { + serializedName: "schedule", type: { - name: "String", - }, - }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, - type: { - name: "String", - }, - }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, - type: { - name: "String", + name: "Composite", + className: "ScheduleBase", }, }, }, }, }; -export const ImageVertical: coreClient.CompositeMapper = { +export const Recurrence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "Recurrence", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + frequency: { + serializedName: "frequency", type: { - name: "Composite", - className: "ImageLimitSettings", + name: "String", }, }, - sweepSettings: { - serializedName: "sweepSettings", + interval: { + serializedName: "interval", type: { - name: "Composite", - className: "ImageSweepSettings", + name: "Number", }, }, - validationData: { - serializedName: "validationData", + startTime: { + serializedName: "startTime", + nullable: true, type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Number", + name: "String", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "ComputeRecurrenceSchedule", }, }, }, }, }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const ComputeRecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "ComputeRecurrenceSchedule", modelProperties: { - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + hours: { + serializedName: "hours", + required: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "TimeSpan", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const Cron: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "Cron", modelProperties: { - samplingAlgorithm: { - serializedName: "samplingAlgorithm", - required: true, + startTime: { + serializedName: "startTime", + nullable: true, type: { name: "String", }, }, - earlyTermination: { - serializedName: "earlyTermination", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "String", + }, + }, + expression: { + serializedName: "expression", + type: { + name: "String", }, }, }, }, }; -export const OneLakeArtifact: coreClient.CompositeMapper = { +export const ScheduleBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OneLakeArtifact", - uberParent: "OneLakeArtifact", - polymorphicDiscriminator: { - serializedName: "artifactType", - clientName: "artifactType", - }, + className: "ScheduleBase", modelProperties: { - artifactType: { - serializedName: "artifactType", - required: true, + id: { + serializedName: "id", + nullable: true, type: { name: "String", }, }, - artifactName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + provisioningStatus: { + serializedName: "provisioningStatus", + type: { + name: "String", }, - serializedName: "artifactName", - required: true, + }, + status: { + serializedName: "status", type: { name: "String", }, @@ -9905,85 +9499,72 @@ export const OneLakeArtifact: coreClient.CompositeMapper = { }, }; -export const NlpVertical: coreClient.CompositeMapper = { +export const ComputeInstanceContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "ComputeInstanceContainer", modelProperties: { - limitSettings: { - serializedName: "limitSettings", + name: { + serializedName: "name", type: { - name: "Composite", - className: "NlpVerticalLimitSettings", + name: "String", }, }, - featurizationSettings: { - serializedName: "featurizationSettings", + autosave: { + serializedName: "autosave", type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", + name: "String", }, }, - validationData: { - serializedName: "validationData", + gpu: { + serializedName: "gpu", type: { - name: "Composite", - className: "MLTableJobInput", + name: "String", }, }, - }, - }, -}; - -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NlpVerticalLimitSettings", - modelProperties: { - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + network: { + serializedName: "network", type: { - name: "TimeSpan", + name: "String", }, }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + environment: { + serializedName: "environment", type: { - name: "Number", + name: "Composite", + className: "ComputeInstanceEnvironmentInfo", }, }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + services: { + serializedName: "services", + readOnly: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, }, }, }, }, }; -export const Objective: coreClient.CompositeMapper = { +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "ComputeInstanceEnvironmentInfo", modelProperties: { - primaryMetric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "primaryMetric", - required: true, + name: { + serializedName: "name", type: { name: "String", }, }, - goal: { - serializedName: "goal", - required: true, + version: { + serializedName: "version", type: { name: "String", }, @@ -9992,21 +9573,32 @@ export const Objective: coreClient.CompositeMapper = { }, }; -export const SparkResourceConfiguration: coreClient.CompositeMapper = { +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkResourceConfiguration", + className: "ComputeInstanceDataDisk", modelProperties: { - instanceType: { - serializedName: "instanceType", - nullable: true, + caching: { + serializedName: "caching", type: { name: "String", }, }, - runtimeVersion: { - defaultValue: "3.1", - serializedName: "runtimeVersion", + diskSizeGB: { + serializedName: "diskSizeGB", + type: { + name: "Number", + }, + }, + lun: { + serializedName: "lun", + type: { + name: "Number", + }, + }, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", type: { name: "String", }, @@ -10015,19 +9607,14 @@ export const SparkResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const SparkJobEntry: coreClient.CompositeMapper = { +export const ComputeInstanceVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkJobEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: { - serializedName: "sparkJobEntryType", - clientName: "sparkJobEntryType", - }, + className: "ComputeInstanceVersion", modelProperties: { - sparkJobEntryType: { - serializedName: "sparkJobEntryType", - required: true, + runtime: { + serializedName: "runtime", + nullable: true, type: { name: "String", }, @@ -10036,589 +9623,466 @@ export const SparkJobEntry: coreClient.CompositeMapper = { }, }; -export const TrialComponent: coreClient.CompositeMapper = { +export const ComputeInstanceSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrialComponent", + className: "ComputeInstanceSchema", 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", - }, - }, - 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" } }, - }, - }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration", - }, - }, - resources: { - serializedName: "resources", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "ComputeInstanceProperties", }, }, }, }, }; -export const PrivateEndpointResource: coreClient.CompositeMapper = { +export const VirtualMachineSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointResource", + className: "VirtualMachineSchema", modelProperties: { - ...PrivateEndpoint.type.modelProperties, - subnetArmId: { - serializedName: "subnetArmId", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "VirtualMachineSchemaProperties", }, }, }, }, }; -export const RegistryPartialManagedServiceIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryPartialManagedServiceIdentity", - modelProperties: { - ...ManagedServiceIdentity.type.modelProperties, - }, - }, - }; - -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "VirtualMachineSchemaProperties", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - location: { - serializedName: "location", + virtualMachineSize: { + serializedName: "virtualMachineSize", type: { name: "String", }, }, - tags: { - serializedName: "tags", + sshPort: { + serializedName: "sshPort", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - sku: { - serializedName: "sku", + notebookServerPort: { + serializedName: "notebookServerPort", type: { - name: "Composite", - className: "Sku", + name: "Number", }, }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + address: { + serializedName: "address", type: { - name: "Composite", - className: "PrivateEndpoint", + name: "String", }, }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + administratorAccount: { + serializedName: "administratorAccount", type: { name: "Composite", - className: "PrivateLinkServiceConnectionState", + className: "VirtualMachineSshCredentials", }, }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { - name: "String", + name: "Boolean", }, }, }, }, }; -export const Workspace: coreClient.CompositeMapper = { +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "VirtualMachineSshCredentials", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - kind: { - serializedName: "kind", + username: { + serializedName: "username", type: { name: "String", }, }, - location: { - serializedName: "location", + password: { + serializedName: "password", type: { name: "String", }, }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + publicKeyData: { + serializedName: "publicKeyData", type: { - name: "Composite", - className: "Sku", + name: "String", }, }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + privateKeyData: { + serializedName: "privateKeyData", type: { name: "String", }, }, - description: { - serializedName: "properties.description", + }, + }, +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { - name: "String", + name: "Number", }, }, - friendlyName: { - serializedName: "properties.friendlyName", + address: { + serializedName: "address", type: { name: "String", }, }, - keyVault: { - serializedName: "properties.keyVault", + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "String", + name: "Composite", + className: "VirtualMachineSshCredentials", }, }, - applicationInsights: { - serializedName: "properties.applicationInsights", + }, + }, +}; + +export const HDInsightSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "HDInsightProperties", }, }, - containerRegistry: { - serializedName: "properties.containerRegistry", - nullable: true, + }, + }, +}; + +export const DatabricksProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { name: "String", }, }, - storageAccount: { - serializedName: "properties.storageAccount", + workspaceUrl: { + serializedName: "workspaceUrl", type: { name: "String", }, }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", - type: { - name: "String", - }, - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - encryption: { - serializedName: "properties.encryption", + }, + }, +}; + +export const DatabricksSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "EncryptionProperty", + className: "DatabricksProperties", }, }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", + }, + }, +}; + +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Boolean", + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", }, }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + }, + }, +}; + +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + modelProperties: { + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { name: "String", }, }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, - type: { - name: "Number", - }, - }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + }, + }, +}; + +export const SynapseSparkProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SynapseSparkProperties", + modelProperties: { + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { - name: "String", + name: "Composite", + className: "AutoScaleProperties", }, }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { - name: "Boolean", + name: "Composite", + className: "AutoPauseProperties", }, }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + sparkVersion: { + serializedName: "sparkVersion", type: { name: "String", }, }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection", - }, - }, - }, - }, - serverlessComputeSettings: { - serializedName: "properties.serverlessComputeSettings", - type: { - name: "Composite", - className: "ServerlessComputeSettings", - }, - }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + nodeCount: { + serializedName: "nodeCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource", - }, - }, + name: "Number", }, }, - notebookInfo: { - serializedName: "properties.notebookInfo", + nodeSize: { + serializedName: "nodeSize", type: { - name: "Composite", - className: "NotebookResourceInfo", + name: "String", }, }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { - name: "Composite", - className: "ServiceManagedResourcesSettings", + name: "String", }, }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String", }, }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + resourceGroup: { + serializedName: "resourceGroup", type: { name: "String", }, }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + workspaceName: { + serializedName: "workspaceName", type: { - name: "Boolean", + name: "String", }, }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + poolName: { + serializedName: "poolName", type: { name: "String", }, }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", + }, + }, +}; + +export const AutoScaleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoScaleProperties", + modelProperties: { + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "Boolean", + name: "Number", }, }, - managedNetwork: { - serializedName: "properties.managedNetwork", + enabled: { + serializedName: "enabled", type: { - name: "Composite", - className: "ManagedNetworkSettings", + name: "Boolean", }, }, - featureStoreSettings: { - serializedName: "properties.featureStoreSettings", + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "Composite", - className: "FeatureStoreSettings", + name: "Number", }, }, - associatedWorkspaces: { - serializedName: "properties.associatedWorkspaces", + }, + }, +}; + +export const AutoPauseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoPauseProperties", + modelProperties: { + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - enableDataIsolation: { - serializedName: "properties.enableDataIsolation", + enabled: { + serializedName: "enabled", type: { name: "Boolean", }, }, - hubResourceId: { - serializedName: "properties.hubResourceId", - type: { - name: "String", - }, - }, - workspaceHubConfig: { - serializedName: "properties.workspaceHubConfig", - type: { - name: "Composite", - className: "WorkspaceHubConfig", - }, - }, }, }, }; -export const ComputeResource: coreClient.CompositeMapper = { +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "AksComputeSecretsProperties", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", + userKubeConfig: { + serializedName: "userKubeConfig", type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, - location: { - serializedName: "location", + adminKubeConfig: { + serializedName: "adminKubeConfig", type: { name: "String", }, }, - tags: { - serializedName: "tags", + imagePullSecretName: { + serializedName: "imagePullSecretName", 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 VirtualMachineSecretsSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "VirtualMachineSecretsSchema", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - sku: { - serializedName: "sku", + administratorAccount: { + serializedName: "administratorAccount", type: { name: "Composite", - className: "Sku", - }, - }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, - type: { - name: "String", - }, - }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + className: "VirtualMachineSshCredentials", }, }, }, }, }; -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2", - }, +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksComputeSecretsProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", + type: { + name: "String", }, }, }, - }; + }, +}; -export const OutboundRuleBasicResource: coreClient.CompositeMapper = { +export const MonitoringFeatureFilterBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutboundRuleBasicResource", + className: "MonitoringFeatureFilterBase", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: { + serializedName: "filterType", + clientName: "filterType", + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + filterType: { + serializedName: "filterType", + required: true, type: { - name: "Composite", - className: "OutboundRule", + name: "String", }, }, }, }, }; -export const ProxyResource: coreClient.CompositeMapper = { +export const MonitorComputeIdentityBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProxyResource", + className: "MonitorComputeIdentityBase", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: { + serializedName: "computeIdentityType", + clientName: "computeIdentityType", + }, modelProperties: { - ...Resource.type.modelProperties, + computeIdentityType: { + serializedName: "computeIdentityType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const TrackedResource: coreClient.CompositeMapper = { +export const AssetJobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrackedResource", + className: "AssetJobInput", modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + mode: { + serializedName: "mode", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - location: { - serializedName: "location", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "uri", required: true, type: { name: "String", @@ -10628,57 +10092,76 @@ export const TrackedResource: coreClient.CompositeMapper = { }, }; -export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { - serializedName: "PrivateEndpoint", +export const AssetJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "AssetJobOutput", modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + assetName: { + serializedName: "assetName", + nullable: true, type: { - name: "Composite", - className: "PrivateEndpointDestination", + name: "String", + }, + }, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, + uri: { + serializedName: "uri", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const ServiceTagOutboundRule: coreClient.CompositeMapper = { - serializedName: "ServiceTag", +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServiceTagOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "ServiceTagDestination", + name: "String", }, }, }, }, }; -export const FqdnOutboundRule: coreClient.CompositeMapper = { - serializedName: "FQDN", +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FqdnOutboundRule", - uberParent: "OutboundRule", - polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType", + }, modelProperties: { - ...OutboundRule.type.modelProperties, - destination: { - serializedName: "destination", + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + jobOutputType: { + serializedName: "jobOutputType", + required: true, type: { name: "String", }, @@ -10687,468 +10170,303 @@ export const FqdnOutboundRule: coreClient.CompositeMapper = { }, }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "QueueSettings", modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties, + jobTier: { + serializedName: "jobTier", + type: { + name: "String", + }, + }, }, }, }; -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties, + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType", }, - }, -}; - -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, + logVerbosity: { + serializedName: "logVerbosity", + type: { + name: "String", + }, + }, + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, + type: { + name: "String", + }, + }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", + }, + }, + trainingData: { + serializedName: "trainingData", + type: { + name: "Composite", + className: "MLTableJobInput", + }, + }, }, }, }; -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const JobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties, + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType", }, - }, -}; - -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, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + jobInputType: { + serializedName: "jobInputType", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "NCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Compute.type.modelProperties, + mode: { + serializedName: "mode", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const Seasonality: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "Seasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties, + mode: { + serializedName: "mode", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties, + mode: { + serializedName: "mode", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const TargetRollingWindowSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode", + }, modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "SynapseSparkProperties", + name: "String", }, }, }, }, }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const AzureDatastore: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "AzureDatastore", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties, + resourceGroup: { + serializedName: "resourceGroup", + nullable: true, + type: { + name: "String", + }, + }, + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, + type: { + name: "String", + }, + }, }, }, }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const AzureOpenAiHyperParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "AzureOpenAiHyperParameters", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties, + batchSize: { + serializedName: "batchSize", + nullable: true, + type: { + name: "Number", + }, + }, + learningRateMultiplier: { + serializedName: "learningRateMultiplier", + nullable: true, + type: { + name: "Number", + }, + }, + nEpochs: { + serializedName: "nEpochs", + nullable: true, + type: { + name: "Number", + }, + }, }, }, }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const FineTuningVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties, + className: "FineTuningVertical", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: { + serializedName: "modelProvider", + clientName: "modelProvider", }, - }, -}; - -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", - }, + modelProperties: { + model: { + serializedName: "model", + type: { + name: "Composite", + className: "JobInput", }, }, - }, - }; - -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", - }, + modelProvider: { + serializedName: "modelProvider", + required: true, + 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", - }, + taskType: { + serializedName: "taskType", + required: true, + type: { + name: "String", }, }, - }, - }; - -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "None", - type: { - name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - }, - }, - }; - -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ManagedIdentity", - type: { - name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity", - }, - }, - }, - }, - }; - -export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AAD", - type: { - name: "Composite", - className: "AADAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - }, - }, - }; - -export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AccessKey", - type: { - name: "Composite", - className: "AccessKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionAccessKey", - }, - }, - }, - }, - }; - -export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "AccountKey", - type: { - name: "Composite", - className: "AccountKeyAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionAccountKey", - }, - }, - }, - }, - }; - -export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "ApiKey", - type: { - name: "Composite", - className: "ApiKeyAuthWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "WorkspaceConnectionApiKey", - }, - }, - }, - }, - }; - -export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = - { - serializedName: "CustomKeys", - type: { - name: "Composite", - className: "CustomKeysWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, - modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "CustomKeys", - }, - }, - }, - }, - }; - -export const 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", - }, + trainingData: { + serializedName: "trainingData", + type: { + name: "Composite", + className: "JobInput", }, }, - }, - }; - -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", - }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "JobInput", }, }, }, - }; + }, +}; -export const AssetContainer: coreClient.CompositeMapper = { +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetContainer", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType", + }, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "Boolean", + name: "Number", }, }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, - nullable: true, + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { - name: "String", + name: "Number", }, }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, - nullable: true, + policyType: { + serializedName: "policyType", + required: true, type: { name: "String", }, @@ -11157,214 +10475,207 @@ export const AssetContainer: coreClient.CompositeMapper = { }, }; -export const AssetBase: coreClient.CompositeMapper = { +export const SamplingAlgorithm: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetBase", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType", + }, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", - type: { - name: "Boolean", - }, - }, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", + required: true, type: { - name: "Boolean", + name: "String", }, }, }, }, }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const DataDriftMetricThresholdBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", + className: "DataDriftMetricThresholdBase", + uberParent: "DataDriftMetricThresholdBase", polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType", + serializedName: "dataType", + clientName: "dataType", }, modelProperties: { - ...ResourceBase.type.modelProperties, - datastoreType: { - serializedName: "datastoreType", + dataType: { + serializedName: "dataType", required: true, type: { name: "String", }, }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean", - }, - }, - credentials: { - serializedName: "credentials", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "DatastoreCredentials", + className: "MonitoringThreshold", }, }, }, }, }; -export const FeatureProperties: coreClient.CompositeMapper = { +export const MonitoringThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeatureProperties", + className: "MonitoringThreshold", modelProperties: { - ...ResourceBase.type.modelProperties, - featureName: { - serializedName: "featureName", + value: { + serializedName: "value", nullable: true, type: { - name: "String", + name: "Number", }, }, + }, + }, +}; + +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", }, }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const PredictionDriftMetricThresholdBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", + className: "PredictionDriftMetricThresholdBase", + uberParent: "PredictionDriftMetricThresholdBase", polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType", + serializedName: "dataType", + clientName: "dataType", }, modelProperties: { - ...ResourceBase.type.modelProperties, - jobType: { - serializedName: "jobType", + dataType: { + serializedName: "dataType", required: true, type: { name: "String", }, }, - displayName: { - serializedName: "displayName", - nullable: true, + threshold: { + serializedName: "threshold", type: { - name: "String", + name: "Composite", + className: "MonitoringThreshold", }, }, - status: { - serializedName: "status", - readOnly: true, - type: { - name: "String", - }, - }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + }, + }, +}; + +export const TrainingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrainingSettings", + modelProperties: { + enableDnnTraining: { + defaultValue: false, + serializedName: "enableDnnTraining", type: { - name: "String", + name: "Boolean", }, }, - services: { - serializedName: "services", - nullable: true, + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } }, + name: "Boolean", }, }, - computeId: { - serializedName: "computeId", - nullable: true, + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", type: { - name: "String", + name: "Boolean", }, }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { name: "Boolean", }, }, - identity: { - serializedName: "identity", + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "Composite", - className: "IdentityConfiguration", + name: "Boolean", }, }, - componentId: { - serializedName: "componentId", - nullable: true, + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "String", + name: "TimeSpan", }, }, - notificationSetting: { - serializedName: "notificationSetting", + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { name: "Composite", - className: "NotificationSetting", + className: "StackEnsembleSettings", }, }, }, }, }; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const StackEnsembleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleProperties", + className: "StackEnsembleSettings", modelProperties: { - ...ResourceBase.type.modelProperties, - displayName: { - serializedName: "displayName", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", nullable: true, type: { - name: "String", - }, - }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", - type: { - name: "Boolean", - }, - }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, - action: { - serializedName: "action", + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "Composite", - className: "ScheduleActionBase", + name: "Number", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { name: "String", }, @@ -11373,130 +10684,74 @@ export const ScheduleProperties: coreClient.CompositeMapper = { }, }; -export const SASCredentialDto: coreClient.CompositeMapper = { - serializedName: "SAS", +export const TableVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SASCredentialDto", - uberParent: "PendingUploadCredentialDto", - polymorphicDiscriminator: - PendingUploadCredentialDto.type.polymorphicDiscriminator, + className: "TableVertical", modelProperties: { - ...PendingUploadCredentialDto.type.modelProperties, - sasUri: { - serializedName: "sasUri", + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + 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, + featurizationSettings: { + serializedName: "featurizationSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalFeaturizationSettings", }, }, - password: { - serializedName: "password", - nullable: true, + limitSettings: { + serializedName: "limitSettings", type: { - name: "String", + name: "Composite", + className: "TableVerticalLimitSettings", }, }, - }, - }, -}; - -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, + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "String", + name: "Composite", + className: "NCrossValidations", }, }, - userManagedIdentityResourceId: { - serializedName: "userManagedIdentityResourceId", - nullable: true, + testData: { + serializedName: "testData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - userManagedIdentityClientId: { - serializedName: "userManagedIdentityClientId", + testDataSize: { + serializedName: "testDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - userManagedIdentityPrincipalId: { - serializedName: "userManagedIdentityPrincipalId", - nullable: true, + validationData: { + serializedName: "validationData", type: { - name: "String", + name: "Composite", + className: "MLTableJobInput", }, }, - userManagedIdentityTenantId: { - serializedName: "userManagedIdentityTenantId", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { - name: "String", + name: "Number", }, }, - }, - }, -}; - -export const SASCredential: coreClient.CompositeMapper = { - serializedName: "SAS", - type: { - name: "Composite", - className: "SASCredential", - uberParent: "DataReferenceCredential", - polymorphicDiscriminator: - DataReferenceCredential.type.polymorphicDiscriminator, - modelProperties: { - ...DataReferenceCredential.type.modelProperties, - sasUri: { - serializedName: "sasUri", + weightColumnName: { + serializedName: "weightColumnName", nullable: true, type: { name: "String", @@ -11506,197 +10761,121 @@ export const SASCredential: coreClient.CompositeMapper = { }, }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const ColumnTransformer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointProperties", + className: "ColumnTransformer", modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + fields: { + serializedName: "fields", + nullable: true, type: { - name: "Composite", - className: "BatchEndpointDefaults", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + parameters: { + serializedName: "parameters", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "any" } }, }, }, }, }, }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const FeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "FeaturizationSettings", modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, - }, - compute: { - serializedName: "compute", + datasetLanguage: { + serializedName: "datasetLanguage", nullable: true, type: { name: "String", }, }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + }, + }, +}; + +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { - name: "String", + name: "Boolean", }, }, - traffic: { - serializedName: "traffic", + exitScore: { + serializedName: "exitScore", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "Number", }, }, - mirrorTraffic: { - serializedName: "mirrorTraffic", - nullable: true, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { - name: "Dictionary", - value: { type: { name: "Number" } }, + name: "Number", }, }, - }, - }, -}; - -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", + type: { + name: "Number", }, }, - }, - }; - -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", + type: { + name: "Number", }, }, - }, - }; - -export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "PartialMinimalTrackedResourceWithSkuAndIdentity", - modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku", - }, - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "PartialManagedServiceIdentity", - }, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = - { - serializedName: "PipelineComponent", - type: { - name: "Composite", - className: "BatchPipelineComponentDeploymentConfiguration", - uberParent: "BatchDeploymentConfiguration", - polymorphicDiscriminator: - BatchDeploymentConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...BatchDeploymentConfiguration.type.modelProperties, - componentId: { - serializedName: "componentId", - type: { - name: "Composite", - className: "IdAssetReference", - }, - }, - description: { - serializedName: "description", - nullable: true, - type: { - name: "String", - }, - }, - settings: { - serializedName: "settings", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, - }, - tags: { - serializedName: "tags", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", + type: { + name: "TimeSpan", }, }, }, - }; + }, +}; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const DistributionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "DistributionConfiguration", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: { + serializedName: "distributionType", + clientName: "distributionType", + }, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "assetId", + distributionType: { + serializedName: "distributionType", required: true, type: { name: "String", @@ -11706,88 +10885,78 @@ export const IdAssetReference: coreClient.CompositeMapper = { }, }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const JobLimits: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "JobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: { + serializedName: "jobLimitsType", + clientName: "jobLimitsType", + }, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, + jobLimitsType: { + serializedName: "jobLimitsType", + required: true, type: { name: "String", }, }, - datastoreId: { - serializedName: "datastoreId", + timeout: { + serializedName: "timeout", nullable: true, type: { - name: "String", + name: "TimeSpan", }, }, }, }, }; -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", +export const ContainerResourceRequirements: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "ContainerResourceRequirements", modelProperties: { - ...AssetReferenceBase.type.modelProperties, - path: { - serializedName: "path", - nullable: true, + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { - name: "String", + name: "Composite", + className: "ContainerResourceSettings", }, }, - jobId: { - serializedName: "jobId", - nullable: true, + containerResourceRequests: { + serializedName: "containerResourceRequests", type: { - name: "String", + name: "Composite", + className: "ContainerResourceSettings", }, }, }, }, }; -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DeploymentResourceConfiguration", - modelProperties: { - ...ResourceConfiguration.type.modelProperties, - }, - }, -}; - -export const JobResourceConfiguration: coreClient.CompositeMapper = { +export const ContainerResourceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobResourceConfiguration", + className: "ContainerResourceSettings", modelProperties: { - ...ResourceConfiguration.type.modelProperties, - shmSize: { - defaultValue: "2g", - constraints: { - Pattern: new RegExp("\\d+[bBkKmMgG]"), + cpu: { + serializedName: "cpu", + nullable: true, + type: { + name: "String", }, - serializedName: "shmSize", + }, + gpu: { + serializedName: "gpu", + nullable: true, type: { name: "String", }, }, - dockerArgs: { - serializedName: "dockerArgs", + memory: { + serializedName: "memory", nullable: true, type: { name: "String", @@ -11797,90 +10966,126 @@ export const JobResourceConfiguration: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const MonitorDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "MonitorDefinition", modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, + alertNotificationSettings: { + serializedName: "alertNotificationSettings", type: { - name: "String", + name: "Composite", + className: "MonitorNotificationSettings", }, }, - deploymentConfiguration: { - serializedName: "deploymentConfiguration", + computeConfiguration: { + serializedName: "computeConfiguration", type: { name: "Composite", - className: "BatchDeploymentConfiguration", + className: "MonitorComputeConfigurationBase", }, }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", - type: { - name: "Number", - }, - }, - retrySettings: { - serializedName: "retrySettings", + monitoringTarget: { + serializedName: "monitoringTarget", type: { name: "Composite", - className: "BatchRetrySettings", - }, - }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", - type: { - name: "Number", + className: "MonitoringTarget", }, }, - loggingLevel: { - serializedName: "loggingLevel", + signals: { + serializedName: "signals", + required: true, type: { - name: "String", + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringSignalBase" }, + }, }, }, - model: { - serializedName: "model", + }, + }, +}; + +export const MonitorNotificationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitorNotificationSettings", + modelProperties: { + emailNotificationSettings: { + serializedName: "emailNotificationSettings", type: { name: "Composite", - className: "AssetReferenceBase", + className: "MonitorEmailNotificationSettings", }, }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", + }, + }, +}; + +export const MonitorEmailNotificationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitorEmailNotificationSettings", + modelProperties: { + emails: { + serializedName: "emails", + nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - outputAction: { - serializedName: "outputAction", + }, + }, +}; + +export const MonitorComputeConfigurationBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitorComputeConfigurationBase", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType", + }, + modelProperties: { + computeType: { + serializedName: "computeType", + required: true, type: { name: "String", }, }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", + }, + }, +}; + +export const MonitoringTarget: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringTarget", + modelProperties: { + deploymentId: { + serializedName: "deploymentId", + nullable: true, type: { name: "String", }, }, - resources: { - serializedName: "resources", + modelId: { + serializedName: "modelId", + nullable: true, type: { - name: "Composite", - className: "DeploymentResourceConfiguration", + name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + taskType: { + serializedName: "taskType", + required: true, type: { name: "String", }, @@ -11889,302 +11094,233 @@ export const BatchDeploymentProperties: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const MonitoringSignalBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", + className: "MonitoringSignalBase", + uberParent: "MonitoringSignalBase", polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType", + serializedName: "signalType", + clientName: "signalType", }, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, - type: { - name: "String", - }, - }, - scaleSettings: { - serializedName: "scaleSettings", + notificationTypes: { + serializedName: "notificationTypes", + nullable: true, type: { - name: "Composite", - className: "OnlineScaleSettings", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - requestSettings: { - serializedName: "requestSettings", + properties: { + serializedName: "properties", + nullable: true, type: { - name: "Composite", - className: "OnlineRequestSettings", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - modelMountPath: { - serializedName: "modelMountPath", - nullable: true, + signalType: { + serializedName: "signalType", + required: true, type: { name: "String", }, }, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", - type: { - name: "Boolean", + }, + }, +}; + +export const CustomMetricThreshold: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomMetricThreshold", + modelProperties: { + metric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - livenessProbe: { - serializedName: "livenessProbe", + serializedName: "metric", + required: true, type: { - name: "Composite", - className: "ProbeSettings", + name: "String", }, }, - readinessProbe: { - serializedName: "readinessProbe", + threshold: { + serializedName: "threshold", type: { name: "Composite", - className: "ProbeSettings", + className: "MonitoringThreshold", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + }, + }, +}; + +export const MonitoringInputDataBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MonitoringInputDataBase", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: { + serializedName: "inputDataType", + clientName: "inputDataType", + }, + modelProperties: { + columns: { + serializedName: "columns", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - instanceType: { - serializedName: "instanceType", + dataContext: { + serializedName: "dataContext", nullable: true, type: { name: "String", }, }, - model: { - serializedName: "model", - nullable: true, + inputDataType: { + serializedName: "inputDataType", + required: true, type: { name: "String", }, }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", + jobInputType: { + serializedName: "jobInputType", + required: true, type: { name: "String", }, }, - dataCollector: { - serializedName: "dataCollector", + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "uri", + required: true, type: { - name: "Composite", - className: "DataCollector", + name: "String", }, }, }, }, }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const FeatureImportanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "FeatureImportanceSettings", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + mode: { + serializedName: "mode", type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets", + name: "String", }, }, - }, - }, -}; - -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", - type: { - name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", + targetColumn: { + serializedName: "targetColumn", nullable: true, type: { name: "String", }, }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + }, + }, +}; + +export const DataGenerationVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataGenerationVertical", + uberParent: "DataGenerationVertical", + polymorphicDiscriminator: { + serializedName: "dataGenerationType", + clientName: "dataGenerationType", + }, + modelProperties: { + dataGenerationTaskType: { + serializedName: "dataGenerationTaskType", + required: true, type: { name: "String", }, }, - tenantId: { - serializedName: "tenantId", + dataGenerationType: { + serializedName: "dataGenerationType", required: true, type: { - name: "Uuid", + name: "String", }, }, - clientId: { - serializedName: "clientId", - required: true, + promptSettings: { + serializedName: "promptSettings", type: { - name: "Uuid", + name: "Composite", + className: "PromptSettings", }, }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "thumbprint", - required: true, + teacherModelEndpoint: { + serializedName: "teacherModelEndpoint", type: { - name: "String", + name: "Composite", + className: "TeacherModelEndpoint", }, }, - secrets: { - serializedName: "secrets", + teacherModelSettings: { + serializedName: "teacherModelSettings", type: { name: "Composite", - className: "CertificateDatastoreSecrets", + className: "TeacherModelSettings", }, }, }, }, }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", - type: { - name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - }, - }, -}; - -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const PromptSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "PromptSettings", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + enableChainOfDensity: { + serializedName: "enableChainOfDensity", type: { - name: "Composite", - className: "SasDatastoreSecrets", + name: "Boolean", }, }, - }, - }, -}; - -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = - { - serializedName: "ServicePrincipal", - type: { - name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, - type: { - name: "String", - }, - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, - type: { - name: "String", - }, - }, - tenantId: { - serializedName: "tenantId", - required: true, - type: { - name: "Uuid", - }, - }, - clientId: { - serializedName: "clientId", - required: true, - type: { - name: "Uuid", - }, - }, - secrets: { - serializedName: "secrets", - type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - }, + enableChainOfThought: { + serializedName: "enableChainOfThought", + type: { + name: "Boolean", }, }, - }, - }; - -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, + maxLenSummary: { + serializedName: "maxLenSummary", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const TeacherModelEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "TeacherModelEndpoint", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", + endpointName: { + serializedName: "endpointName", nullable: true, type: { name: "String", @@ -12194,361 +11330,5691 @@ export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { }, }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const TeacherModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "TeacherModelSettings", modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, + teacherModelEndpointRequestSettings: { + serializedName: "teacherModelEndpointRequestSettings", type: { - name: "String", + name: "Composite", + className: "TeacherModelEndpointRequestSettings", }, }, - }, - }, -}; - -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", + teacherModelInferenceParameters: { + serializedName: "teacherModelInferenceParameters", nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, }, }, }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", +export const TeacherModelEndpointRequestSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "TeacherModelEndpointRequestSettings", modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, - type: { - name: "String", - }, - }, - interval: { - serializedName: "interval", - required: true, + minEndpointSuccessRatio: { + serializedName: "minEndpointSuccessRatio", type: { name: "Number", }, }, - schedule: { - serializedName: "schedule", + requestBatchSize: { + serializedName: "requestBatchSize", type: { - name: "Composite", - className: "RecurrenceSchedule", + name: "Number", }, }, }, }, }; -export const CronTrigger: coreClient.CompositeMapper = { - serializedName: "Cron", +export const FinetuningDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "FinetuningDetails", modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + hyperParameters: { + serializedName: "hyperParameters", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, - serializedName: "expression", - required: true, + }, + studentModel: { + serializedName: "studentModel", type: { - name: "String", + name: "Composite", + className: "JobInput", }, }, }, }, }; -export const AzureDevOpsWebhook: coreClient.CompositeMapper = { - serializedName: "AzureDevOps", - type: { - name: "Composite", - className: "AzureDevOpsWebhook", - uberParent: "Webhook", - polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, - modelProperties: { - ...Webhook.type.modelProperties, - }, - }, -}; - -export const AllNodes: coreClient.CompositeMapper = { - serializedName: "All", +export const JobResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AllNodes", - uberParent: "Nodes", - polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + className: "JobResources", modelProperties: { - ...Nodes.type.modelProperties, + instanceTypes: { + serializedName: "instanceTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const FeatureAttributionMetricThreshold: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "FeatureAttributionMetricThreshold", modelProperties: { - ...IdentityConfiguration.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, + threshold: { + serializedName: "threshold", + type: { + name: "Composite", + className: "MonitoringThreshold", + }, + }, }, }, }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "ForecastingSettings", modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", nullable: true, type: { - name: "Uuid", + name: "String", }, }, - objectId: { - serializedName: "objectId", + 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 ManagedNetworkSettingsBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettingsBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ManagedNetworkSettings", + }, + }, + }, + }, +}; + +export const ManagedNetworkSettingsPropertiesBasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettingsPropertiesBasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ManagedNetworkSettingsProperties", + }, + }, + }, + }, +}; + +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", + }, + }, + }, + }, + threadStorageConnections: { + serializedName: "threadStorageConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + vectorStoreConnections: { + serializedName: "vectorStoreConnections", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +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", + }, + }, + parentJobName: { + serializedName: "parentJobName", + nullable: true, + type: { + name: "String", + }, + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } }, + }, + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase", + }, + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String", + }, + }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "TriggerBase", + }, + }, + }, + }, +}; + +export const SASCredentialDto: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredentialDto", + uberParent: "PendingUploadCredentialDto", + polymorphicDiscriminator: PendingUploadCredentialDto.type.polymorphicDiscriminator, + modelProperties: { + ...PendingUploadCredentialDto.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AnonymousAccessCredential: coreClient.CompositeMapper = { + serializedName: "NoCredentials", + type: { + name: "Composite", + className: "AnonymousAccessCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + }, + }, +}; + +export const DockerCredential: coreClient.CompositeMapper = { + serializedName: "DockerCredentials", + type: { + name: "Composite", + className: "DockerCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + password: { + serializedName: "password", + nullable: true, + type: { + name: "String", + }, + }, + userName: { + serializedName: "userName", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + managedIdentityType: { + serializedName: "managedIdentityType", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityClientId: { + serializedName: "userManagedIdentityClientId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityPrincipalId: { + serializedName: "userManagedIdentityPrincipalId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityResourceId: { + serializedName: "userManagedIdentityResourceId", + nullable: true, + type: { + name: "String", + }, + }, + userManagedIdentityTenantId: { + serializedName: "userManagedIdentityTenantId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SASCredential: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASCredential", + uberParent: "DataReferenceCredential", + polymorphicDiscriminator: DataReferenceCredential.type.polymorphicDiscriminator, + modelProperties: { + ...DataReferenceCredential.type.modelProperties, + sasUri: { + serializedName: "sasUri", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", + type: { + name: "Composite", + className: "BatchEndpointDefaults", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OnlineEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithSkuAndIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSkuAndIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, +}; + +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSku", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku", + }, + }, + }, + }, +}; + +export const BatchPipelineComponentDeploymentConfiguration: coreClient.CompositeMapper = { + serializedName: "PipelineComponent", + type: { + name: "Composite", + className: "BatchPipelineComponentDeploymentConfiguration", + uberParent: "BatchDeploymentConfiguration", + polymorphicDiscriminator: BatchDeploymentConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...BatchDeploymentConfiguration.type.modelProperties, + componentId: { + serializedName: "componentId", + type: { + name: "Composite", + className: "IdAssetReference", + }, + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String", + }, + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + }, + }, +}; + +export const IdAssetReference: coreClient.CompositeMapper = { + serializedName: "Id", + type: { + name: "Composite", + className: "IdAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + assetId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "assetId", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DataPathAssetReference: coreClient.CompositeMapper = { + serializedName: "DataPath", + type: { + name: "Composite", + className: "DataPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + datastoreId: { + serializedName: "datastoreId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", + type: { + name: "Composite", + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, + type: { + name: "String", + }, + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + }, + }, +}; + +export const JobResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", + nullable: true, + type: { + name: "String", + }, + }, + dockerArgsList: { + serializedName: "dockerArgsList", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]"), + }, + serializedName: "shmSize", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const BatchDeploymentProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentProperties", + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String", + }, + }, + deploymentConfiguration: { + serializedName: "deploymentConfiguration", + type: { + name: "Composite", + className: "BatchDeploymentConfiguration", + }, + }, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", + type: { + name: "Number", + }, + }, + loggingLevel: { + serializedName: "loggingLevel", + type: { + name: "String", + }, + }, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", + type: { + name: "Number", + }, + }, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", + type: { + name: "Number", + }, + }, + model: { + serializedName: "model", + type: { + name: "Composite", + className: "AssetReferenceBase", + }, + }, + outputAction: { + serializedName: "outputAction", + type: { + name: "String", + }, + }, + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + }, + }, + retrySettings: { + serializedName: "retrySettings", + type: { + name: "Composite", + className: "BatchRetrySettings", + }, + }, + }, + }, +}; + +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType", + }, + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", + type: { + name: "Boolean", + }, + }, + dataCollector: { + serializedName: "dataCollector", + type: { + name: "Composite", + className: "DataCollector", + }, + }, + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", + type: { + name: "String", + }, + }, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, + type: { + name: "String", + }, + }, + instanceType: { + defaultValue: "Standard_F4s_v2", + serializedName: "instanceType", + nullable: true, + type: { + name: "String", + }, + }, + livenessProbe: { + serializedName: "livenessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + model: { + serializedName: "model", + nullable: true, + type: { + name: "String", + }, + }, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + readinessProbe: { + serializedName: "readinessProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + requestSettings: { + serializedName: "requestSettings", + type: { + name: "Composite", + className: "OnlineRequestSettings", + }, + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings", + }, + }, + startupProbe: { + serializedName: "startupProbe", + type: { + name: "Composite", + className: "ProbeSettings", + }, + }, + }, + }, +}; + +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + }, + }, + }, + }, +}; + +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "thumbprint", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + }, + }, +}; + +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid", + }, + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String", + }, + }, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + }, + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid", + }, + }, + }, + }, +}; + +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", + type: { + name: "Composite", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreSecrets.type.modelProperties, + clientSecret: { + serializedName: "clientSecret", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDevOpsWebhook: coreClient.CompositeMapper = { + serializedName: "AzureDevOps", + type: { + name: "Composite", + className: "AzureDevOpsWebhook", + uberParent: "Webhook", + polymorphicDiscriminator: Webhook.type.polymorphicDiscriminator, + modelProperties: { + ...Webhook.type.modelProperties, + }, + }, +}; + +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", + type: { + name: "Composite", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, + type: { + name: "String", + }, + }, + interval: { + serializedName: "interval", + required: true, + type: { + name: "Number", + }, + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + }, + }, + }, + }, +}; + +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", + type: { + name: "Composite", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "expression", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const InferencePoolProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferencePoolProperties", + modelProperties: { + ...PropertiesBase.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + scaleUnitConfiguration: { + serializedName: "scaleUnitConfiguration", + type: { + name: "Composite", + className: "ScaleUnitConfiguration", + }, + }, + }, + }, +}; + +export const InferenceEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceEndpointProperties", + modelProperties: { + ...PropertiesBase.type.modelProperties, + authMode: { + serializedName: "authMode", + required: true, + type: { + name: "String", + }, + }, + endpointUri: { + serializedName: "endpointUri", + readOnly: true, + nullable: true, + type: { + name: "String", + }, + }, + groupName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "groupName", + required: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + requestConfiguration: { + serializedName: "requestConfiguration", + type: { + name: "Composite", + className: "RequestConfiguration", + }, + }, + }, + }, +}; + +export const InferenceGroupProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceGroupProperties", + modelProperties: { + ...PropertiesBase.type.modelProperties, + environmentConfiguration: { + serializedName: "environmentConfiguration", + type: { + name: "Composite", + className: "GroupEnvironmentConfiguration", + }, + }, + modelConfiguration: { + serializedName: "modelConfiguration", + type: { + name: "Composite", + className: "GroupModelConfiguration", + }, + }, + nodeSkuType: { + serializedName: "nodeSkuType", + nullable: true, + type: { + name: "String", + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + scaleUnitSize: { + serializedName: "scaleUnitSize", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", + type: { + name: "Composite", + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const ManagedIdentity: coreClient.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + className: "ManagedIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + clientId: { + serializedName: "clientId", + nullable: true, + type: { + name: "Uuid", + }, + }, + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid", + }, + }, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties, + }, + }, +}; + +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", + type: { + name: "Composite", + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, + modelProperties: { + ...Nodes.type.modelProperties, + }, + }, +}; + +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + }, + }, +}; + +export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { + serializedName: "TargetUtilization", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", + type: { + name: "Number", + }, + }, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", + type: { + name: "Number", + }, + }, + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", + type: { + name: "TimeSpan", + }, + }, + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const CreateMonitorAction: coreClient.CompositeMapper = { + serializedName: "CreateMonitor", + type: { + name: "Composite", + className: "CreateMonitorAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + monitorDefinition: { + serializedName: "monitorDefinition", + type: { + name: "Composite", + className: "MonitorDefinition", + }, + }, + }, + }, +}; + +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", + type: { + name: "Composite", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", + type: { + name: "Composite", + className: "JobBaseProperties", + }, + }, + }, + }, +}; + +export const PrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointResource", + modelProperties: { + ...PrivateEndpoint.type.modelProperties, + subnetArmId: { + serializedName: "subnetArmId", + nullable: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ManagedNetworkSettingsEx: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettingsEx", + modelProperties: { + ...ManagedNetworkSettings.type.modelProperties, + changeableIsolationModes: { + serializedName: "changeableIsolationModes", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const FqdnOutboundRule: coreClient.CompositeMapper = { + serializedName: "FQDN", + type: { + name: "Composite", + className: "FqdnOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const PrivateEndpointOutboundRule: coreClient.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpointOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "PrivateEndpointDestination", + }, + }, + fqdns: { + serializedName: "fqdns", + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const ServiceTagOutboundRule: coreClient.CompositeMapper = { + serializedName: "ServiceTag", + type: { + name: "Composite", + className: "ServiceTagOutboundRule", + uberParent: "OutboundRule", + polymorphicDiscriminator: OutboundRule.type.polymorphicDiscriminator, + modelProperties: { + ...OutboundRule.type.modelProperties, + destination: { + serializedName: "destination", + type: { + name: "Composite", + className: "ServiceTagDestination", + }, + }, + }, + }, +}; + +export const AADAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AAD", + type: { + name: "Composite", + className: "AADAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, +}; + +export const AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AccessKey", + type: { + name: "Composite", + className: "AccessKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + }, + }, + }, + }, +}; + +export const AccountKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccountKey", + }, + }, + }, + }, +}; + +export const ApiKeyAuthWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ApiKey", + type: { + name: "Composite", + className: "ApiKeyAuthWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionApiKey", + }, + }, + }, + }, +}; + +export const CustomKeysWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "CustomKeys", + type: { + name: "Composite", + className: "CustomKeysWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "CustomKeys", + }, + }, + }, + }, +}; + +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + }, + }, + }, + }, +}; + +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + }, + }, +}; + +export const OAuth2AuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "OAuth2", + type: { + name: "Composite", + className: "OAuth2AuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionOAuth2", + }, + }, + }, + }, +}; + +export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "PAT", + type: { + name: "Composite", + className: "PATAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + }, + }, + }, + }, +}; + +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + }, + }, + }, + }, +}; + +export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + }, + }, + }, + }, +}; + +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "UsernamePassword", + type: { + name: "Composite", + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + }, + }, + }, + }, +}; + +export const ContentSafetyEndpointDeploymentResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type.modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, +}; + +export const ManagedOnlineEndpointDeploymentResourceProperties: coreClient.CompositeMapper = { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointDeploymentResourceProperties.type.modelProperties, + endpointComputeType: { + serializedName: "endpointComputeType", + type: { + name: "String", + }, + }, + model: { + serializedName: "model", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OpenAIEndpointDeploymentResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type.modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, +}; + +export const SpeechEndpointDeploymentResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.Speech", + type: { + name: "Composite", + className: "SpeechEndpointDeploymentResourceProperties", + uberParent: "EndpointDeploymentResourceProperties", + polymorphicDiscriminator: EndpointDeploymentResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...CognitiveServiceEndpointDeploymentResourceProperties.type.modelProperties, + ...EndpointDeploymentResourceProperties.type.modelProperties, + }, + }, +}; + +export const ContentSafetyEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.ContentSafety", + type: { + name: "Composite", + className: "ContentSafetyEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, + }, +}; + +export const ManagedOnlineEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "managedOnlineEndpoint", + type: { + name: "Composite", + className: "ManagedOnlineEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, + }, + compute: { + serializedName: "compute", + type: { + name: "String", + }, + }, + description: { + serializedName: "description", + type: { + name: "String", + }, + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + scoringUri: { + serializedName: "scoringUri", + type: { + name: "String", + }, + }, + traffic: { + serializedName: "traffic", + type: { + name: "Dictionary", + value: { type: { name: "Number" } }, + }, + }, + }, + }, +}; + +export const OpenAIEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.OpenAI", + type: { + name: "Composite", + className: "OpenAIEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, + }, +}; + +export const ServerlessEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "serverlessEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + authMode: { + serializedName: "authMode", + type: { + name: "String", + }, + }, + capacityReservation: { + serializedName: "capacityReservation", + type: { + name: "Composite", + className: "ServerlessEndpointCapacityReservation", + }, + }, + contentSafety: { + serializedName: "contentSafety", + type: { + name: "Composite", + className: "ServerlessEndpointContentSafety", + }, + }, + endpointState: { + serializedName: "endpointState", + type: { + name: "String", + }, + }, + inferenceEndpoint: { + serializedName: "inferenceEndpoint", + type: { + name: "Composite", + className: "ServerlessEndpointInferenceEndpoint", + }, + }, + marketplaceSubscriptionId: { + serializedName: "marketplaceSubscriptionId", + type: { + name: "String", + }, + }, + metadata: { + serializedName: "metadata", + type: { + name: "any", + }, + }, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ServerlessEndpointModelSettings", + }, + }, + offer: { + serializedName: "offer", + type: { + name: "Composite", + className: "ServerlessOffer", + }, + }, + }, + }, +}; + +export const SpeechEndpointResourceProperties: coreClient.CompositeMapper = { + serializedName: "Azure.Speech", + type: { + name: "Composite", + className: "SpeechEndpointResourceProperties", + uberParent: "EndpointResourceProperties", + polymorphicDiscriminator: EndpointResourceProperties.type.polymorphicDiscriminator, + modelProperties: { + ...EndpointResourceProperties.type.modelProperties, + }, + }, +}; + +export const AllFeatures: coreClient.CompositeMapper = { + serializedName: "AllFeatures", + type: { + name: "Composite", + className: "AllFeatures", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + }, + }, +}; + +export const FeatureSubset: coreClient.CompositeMapper = { + serializedName: "FeatureSubset", + type: { + name: "Composite", + className: "FeatureSubset", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + features: { + serializedName: "features", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + }, + }, +}; + +export const TopNFeaturesByAttribution: coreClient.CompositeMapper = { + serializedName: "TopNByAttribution", + type: { + name: "Composite", + className: "TopNFeaturesByAttribution", + uberParent: "MonitoringFeatureFilterBase", + polymorphicDiscriminator: MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitoringFeatureFilterBase.type.modelProperties, + top: { + defaultValue: 10, + serializedName: "top", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AmlTokenComputeIdentity: coreClient.CompositeMapper = { + serializedName: "AmlToken", + type: { + name: "Composite", + className: "AmlTokenComputeIdentity", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: MonitorComputeIdentityBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeIdentityBase.type.modelProperties, + }, + }, +}; + +export const ManagedComputeIdentity: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedComputeIdentity", + uberParent: "MonitorComputeIdentityBase", + polymorphicDiscriminator: MonitorComputeIdentityBase.type.polymorphicDiscriminator, + modelProperties: { + ...MonitorComputeIdentityBase.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + }, + }, +}; + +export const MLTableJobInput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const CustomModelJobInput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const MLFlowModelJobInput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const TritonModelJobInput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const UriFileJobInput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const UriFolderJobInput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties, + }, + }, +}; + +export const CustomModelJobOutput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const MLFlowModelJobOutput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const MLTableJobOutput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const TritonModelJobOutput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const UriFileJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const UriFolderJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties, + }, + }, +}; + +export const AutoForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties, + }, + }, +}; + +export const CustomForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const Classification: coreClient.CompositeMapper = { + serializedName: "Classification", + type: { + name: "Composite", + className: "Classification", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + positiveLabel: { + serializedName: "positiveLabel", + nullable: true, + type: { + name: "String", + }, + }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", + type: { + name: "Composite", + className: "ClassificationTrainingSettings", + }, + }, + }, + }, +}; + +export const Forecasting: coreClient.CompositeMapper = { + serializedName: "Forecasting", + type: { + name: "Composite", + className: "Forecasting", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + forecastingSettings: { + serializedName: "forecastingSettings", + type: { + name: "Composite", + className: "ForecastingSettings", + }, + }, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", + type: { + name: "Composite", + className: "ForecastingTrainingSettings", + }, + }, + }, + }, +}; + +export const ImageClassificationBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageClassificationBase", + modelProperties: { + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ImageModelSettingsClassification", + }, + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification", + }, + }, + }, + }, + }, + }, +}; + +export const ImageClassification: coreClient.CompositeMapper = { + serializedName: "ImageClassification", + type: { + name: "Composite", + className: "ImageClassification", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "ImageClassificationMultilabel", + type: { + name: "Composite", + className: "ImageClassificationMultilabel", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageObjectDetectionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageObjectDetectionBase", + modelProperties: { + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", + type: { + name: "Composite", + className: "ImageModelSettingsObjectDetection", + }, + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection", + }, + }, + }, + }, + }, + }, +}; + +export const ImageInstanceSegmentation: coreClient.CompositeMapper = { + serializedName: "ImageInstanceSegmentation", + type: { + name: "Composite", + className: "ImageInstanceSegmentation", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ImageObjectDetection: coreClient.CompositeMapper = { + serializedName: "ImageObjectDetection", + type: { + name: "Composite", + className: "ImageObjectDetection", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const Regression: coreClient.CompositeMapper = { + serializedName: "Regression", + type: { + name: "Composite", + className: "Regression", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + trainingSettings: { + serializedName: "trainingSettings", + type: { + name: "Composite", + className: "RegressionTrainingSettings", + }, + }, + }, + }, +}; + +export const TextClassification: coreClient.CompositeMapper = { + serializedName: "TextClassification", + type: { + name: "Composite", + className: "TextClassification", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TextClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "TextClassificationMultilabel", + type: { + name: "Composite", + className: "TextClassificationMultilabel", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const TextNer: coreClient.CompositeMapper = { + serializedName: "TextNER", + type: { + name: "Composite", + className: "TextNer", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const LiteralJobInput: coreClient.CompositeMapper = { + serializedName: "literal", + type: { + name: "Composite", + className: "LiteralJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...JobInput.type.modelProperties, + value: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "value", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AutoNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + modelProperties: { + ...NCrossValidations.type.modelProperties, + }, + }, +}; + +export const CustomNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + modelProperties: { + ...NCrossValidations.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AutoSeasonality: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + modelProperties: { + ...Seasonality.type.modelProperties, + }, + }, +}; + +export const CustomSeasonality: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + modelProperties: { + ...Seasonality.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AutoTargetLags: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + modelProperties: { + ...TargetLags.type.modelProperties, + }, + }, +}; + +export const CustomTargetLags: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + modelProperties: { + ...TargetLags.type.modelProperties, + values: { + serializedName: "values", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number", + }, + }, + }, + }, + }, + }, +}; + +export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: TargetRollingWindowSize.type.polymorphicDiscriminator, + modelProperties: { + ...TargetRollingWindowSize.type.modelProperties, + }, + }, +}; + +export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: TargetRollingWindowSize.type.polymorphicDiscriminator, + modelProperties: { + ...TargetRollingWindowSize.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const AzureBlobDatastore: coreClient.CompositeMapper = { + serializedName: "AzureBlob", + type: { + name: "Composite", + className: "AzureBlobDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + modelProperties: { + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + serializedName: "accountName", + nullable: true, + type: { + name: "String", + }, + }, + containerName: { + serializedName: "containerName", + nullable: true, + type: { + name: "String", + }, + }, + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String", + }, + }, + protocol: { + serializedName: "protocol", + nullable: true, + type: { + name: "String", + }, + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen1", + type: { + name: "Composite", + className: "AzureDataLakeGen1Datastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + modelProperties: { + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", + }, + }, + storeName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "storeName", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen2", + type: { + name: "Composite", + className: "AzureDataLakeGen2Datastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + modelProperties: { + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "accountName", + required: true, + type: { + name: "String", + }, + }, + endpoint: { + serializedName: "endpoint", nullable: true, type: { - name: "Uuid", + name: "String", }, }, - resourceId: { - serializedName: "resourceId", + filesystem: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "filesystem", + required: true, + type: { + name: "String", + }, + }, + protocol: { + serializedName: "protocol", nullable: true, type: { name: "String", }, }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", + }, + }, }, }, }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", - type: { - name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, - }, - }, -}; - -export const 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", +export const AzureFileDatastore: coreClient.CompositeMapper = { + serializedName: "AzureFile", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "AzureFileDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "accountName", + required: true, type: { - name: "TimeSpan", + name: "String", }, }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", + endpoint: { + serializedName: "endpoint", + nullable: true, type: { - name: "Number", + name: "String", }, }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", + fileShareName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "fileShareName", + required: true, type: { - name: "Number", + name: "String", }, }, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", + protocol: { + serializedName: "protocol", + nullable: true, type: { - name: "Number", + name: "String", + }, + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", }, }, }, }, }; -export const CreateMonitorAction: coreClient.CompositeMapper = { - serializedName: "CreateMonitor", +export const AzureOpenAiFineTuning: coreClient.CompositeMapper = { + serializedName: "AzureOpenAI", type: { name: "Composite", - className: "CreateMonitorAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "AzureOpenAiFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - monitorDefinition: { - serializedName: "monitorDefinition", + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", type: { name: "Composite", - className: "MonitorDefinition", + className: "AzureOpenAiHyperParameters", }, }, }, }, }; -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", +export const CustomModelFineTuning: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "CustomModelFineTuning", + uberParent: "FineTuningVertical", + polymorphicDiscriminator: FineTuningVertical.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, + ...FineTuningVertical.type.modelProperties, + hyperParameters: { + serializedName: "hyperParameters", + nullable: true, type: { name: "Dictionary", - value: { type: { name: "any" } }, + value: { type: { name: "String" } }, }, }, }, }, }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const BanditPolicy: coreClient.CompositeMapper = { + serializedName: "Bandit", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "BanditPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", + ...EarlyTerminationPolicy.type.modelProperties, + slackAmount: { + defaultValue: 0, + serializedName: "slackAmount", type: { - name: "Composite", - className: "JobBaseProperties", + name: "Number", + }, + }, + slackFactor: { + defaultValue: 0, + serializedName: "slackFactor", + type: { + name: "Number", }, }, }, }, }; -export const AllFeatures: coreClient.CompositeMapper = { - serializedName: "AllFeatures", +export const MedianStoppingPolicy: coreClient.CompositeMapper = { + serializedName: "MedianStopping", type: { name: "Composite", - className: "AllFeatures", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + className: "MedianStoppingPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...MonitoringFeatureFilterBase.type.modelProperties, + ...EarlyTerminationPolicy.type.modelProperties, }, }, }; -export const FeatureSubset: coreClient.CompositeMapper = { - serializedName: "FeatureSubset", +export const TruncationSelectionPolicy: coreClient.CompositeMapper = { + serializedName: "TruncationSelection", type: { name: "Composite", - className: "FeatureSubset", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + className: "TruncationSelectionPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...MonitoringFeatureFilterBase.type.modelProperties, - features: { - serializedName: "features", - required: true, + ...EarlyTerminationPolicy.type.modelProperties, + truncationPercentage: { + defaultValue: 0, + serializedName: "truncationPercentage", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, }, }, }; -export const TopNFeaturesByAttribution: coreClient.CompositeMapper = { - serializedName: "TopNByAttribution", +export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Bayesian", type: { name: "Composite", - className: "TopNFeaturesByAttribution", - uberParent: "MonitoringFeatureFilterBase", - polymorphicDiscriminator: - MonitoringFeatureFilterBase.type.polymorphicDiscriminator, + className: "BayesianSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...MonitoringFeatureFilterBase.type.modelProperties, - top: { - defaultValue: 10, - serializedName: "top", + ...SamplingAlgorithm.type.modelProperties, + }, + }, +}; + +export const GridSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Grid", + type: { + name: "Composite", + className: "GridSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + modelProperties: { + ...SamplingAlgorithm.type.modelProperties, + }, + }, +}; + +export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Random", + type: { + name: "Composite", + className: "RandomSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + modelProperties: { + ...SamplingAlgorithm.type.modelProperties, + rule: { + serializedName: "rule", + type: { + name: "String", + }, + }, + seed: { + serializedName: "seed", + nullable: true, type: { name: "Number", }, @@ -12557,268 +17023,444 @@ export const TopNFeaturesByAttribution: coreClient.CompositeMapper = { }, }; -export const AmlTokenComputeIdentity: coreClient.CompositeMapper = { - serializedName: "AmlToken", +export const CategoricalDataDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", type: { name: "Composite", - className: "AmlTokenComputeIdentity", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: - MonitorComputeIdentityBase.type.polymorphicDiscriminator, + className: "CategoricalDataDriftMetricThreshold", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...MonitorComputeIdentityBase.type.modelProperties, + ...DataDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const ManagedComputeIdentity: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const NumericalDataDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", type: { name: "Composite", - className: "ManagedComputeIdentity", - uberParent: "MonitorComputeIdentityBase", - polymorphicDiscriminator: - MonitorComputeIdentityBase.type.polymorphicDiscriminator, + className: "NumericalDataDriftMetricThreshold", + uberParent: "DataDriftMetricThresholdBase", + polymorphicDiscriminator: DataDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...MonitorComputeIdentityBase.type.modelProperties, - identity: { - serializedName: "identity", + ...DataDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, type: { - name: "Composite", - className: "ManagedServiceIdentity", + name: "String", }, }, }, }, }; -export const MLTableJobInput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const CategoricalDataQualityMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", type: { name: "Composite", - className: "MLTableJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "CategoricalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: DataQualityMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", type: { name: "Composite", - className: "CustomModelJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "NumericalDataQualityMetricThreshold", + uberParent: "DataQualityMetricThresholdBase", + polymorphicDiscriminator: DataQualityMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...DataQualityMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const CategoricalPredictionDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Categorical", type: { name: "Composite", - className: "MLFlowModelJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "CategoricalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...PredictionDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const TritonModelJobInput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const NumericalPredictionDriftMetricThreshold: coreClient.CompositeMapper = { + serializedName: "Numerical", type: { name: "Composite", - className: "TritonModelJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "NumericalPredictionDriftMetricThreshold", + uberParent: "PredictionDriftMetricThresholdBase", + polymorphicDiscriminator: PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...PredictionDriftMetricThresholdBase.type.modelProperties, + metric: { + serializedName: "metric", + required: true, + type: { + name: "String", + }, + }, }, }, }; -export const UriFileJobInput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const ClassificationTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "ClassificationTrainingSettings", modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const UriFolderJobInput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const ForecastingTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "ForecastingTrainingSettings", modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties, + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const CustomModelJobOutput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const RegressionTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomModelJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "RegressionTrainingSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, }, }, }; -export const MLFlowModelJobOutput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLFlowModelJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "TableVerticalFeaturizationSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...FeaturizationSettings.type.modelProperties, + blockedTransformers: { + serializedName: "blockedTransformers", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String", + }, + }, + }, + }, + columnNameAndTypes: { + serializedName: "columnNameAndTypes", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + enableDnnFeaturization: { + defaultValue: false, + serializedName: "enableDnnFeaturization", + type: { + name: "Boolean", + }, + }, + mode: { + serializedName: "mode", + type: { + name: "String", + }, + }, + transformerParams: { + serializedName: "transformerParams", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { name: "Composite", className: "ColumnTransformer" }, + }, + }, + }, + }, + }, }, }, }; -export const MLTableJobOutput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "NlpVerticalFeaturizationSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...FeaturizationSettings.type.modelProperties, }, }, }; -export const TritonModelJobOutput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const Mpi: coreClient.CompositeMapper = { + serializedName: "Mpi", type: { name: "Composite", - className: "TritonModelJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "Mpi", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", + nullable: true, + type: { + name: "Number", + }, + }, }, }, }; -export const UriFileJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const PyTorch: coreClient.CompositeMapper = { + serializedName: "PyTorch", type: { name: "Composite", - className: "UriFileJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "PyTorch", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", + nullable: true, + type: { + name: "Number", + }, + }, }, }, }; -export const UriFolderJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const TensorFlow: coreClient.CompositeMapper = { + serializedName: "TensorFlow", type: { name: "Composite", - className: "UriFolderJobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: JobOutput.type.polymorphicDiscriminator, + className: "TensorFlow", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties, + ...DistributionConfiguration.type.modelProperties, + parameterServerCount: { + defaultValue: 0, + serializedName: "parameterServerCount", + type: { + name: "Number", + }, + }, + workerCount: { + serializedName: "workerCount", + nullable: true, + type: { + name: "Number", + }, + }, }, }, }; -export const AutoForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Auto", +export const CommandJobLimits: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "AutoForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "CommandJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...ForecastHorizon.type.modelProperties, + ...JobLimits.type.modelProperties, }, }, }; -export const CustomForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Custom", +export const SweepJobLimits: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "CustomForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "SweepJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...ForecastHorizon.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...JobLimits.type.modelProperties, + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", + nullable: true, + type: { + name: "Number", + }, + }, + maxTotalTrials: { + serializedName: "maxTotalTrials", + nullable: true, type: { name: "Number", }, }, + trialTimeout: { + serializedName: "trialTimeout", + nullable: true, + type: { + name: "TimeSpan", + }, + }, }, }, }; -export const Classification: coreClient.CompositeMapper = { - serializedName: "Classification", +export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { + serializedName: "ServerlessSpark", type: { name: "Composite", - className: "Classification", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + className: "MonitorServerlessSparkCompute", + uberParent: "MonitorComputeConfigurationBase", + polymorphicDiscriminator: MonitorComputeConfigurationBase.type.polymorphicDiscriminator, modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...MonitorComputeConfigurationBase.type.modelProperties, + computeIdentity: { + serializedName: "computeIdentity", type: { - name: "String", + name: "Composite", + className: "MonitorComputeIdentityBase", }, }, - trainingSettings: { - serializedName: "trainingSettings", + instanceType: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "instanceType", + required: true, type: { - name: "Composite", - className: "ClassificationTrainingSettings", + name: "String", }, }, - positiveLabel: { - serializedName: "positiveLabel", - nullable: true, + runtimeVersion: { + constraints: { + Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), + MinLength: 1, + }, + serializedName: "runtimeVersion", + required: true, type: { name: "String", }, @@ -12827,559 +17469,664 @@ export const Classification: coreClient.CompositeMapper = { }, }; -export const Forecasting: coreClient.CompositeMapper = { - serializedName: "Forecasting", +export const CustomMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "Forecasting", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + className: "CustomMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...MonitoringSignalBase.type.modelProperties, + componentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "componentId", + required: true, type: { name: "String", }, }, - forecastingSettings: { - serializedName: "forecastingSettings", + inputAssets: { + serializedName: "inputAssets", + nullable: true, type: { - name: "Composite", - className: "ForecastingSettings", + name: "Dictionary", + value: { + type: { name: "Composite", className: "MonitoringInputDataBase" }, + }, }, }, - trainingSettings: { - serializedName: "trainingSettings", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "Composite", - className: "ForecastingTrainingSettings", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, + }, + metricThresholds: { + serializedName: "metricThresholds", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomMetricThreshold", + }, + }, }, }, }, }, }; -export const ImageClassificationBase: coreClient.CompositeMapper = { +export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "DataDrift", type: { name: "Composite", - className: "ImageClassificationBase", + className: "DataDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + featureImportanceSettings: { + serializedName: "featureImportanceSettings", type: { name: "Composite", - className: "ImageModelSettingsClassification", + className: "FeatureImportanceSettings", }, }, - searchSpace: { - serializedName: "searchSpace", - nullable: true, + features: { + serializedName: "features", + type: { + name: "Composite", + className: "MonitoringFeatureFilterBase", + }, + }, + metricThresholds: { + serializedName: "metricThresholds", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ImageModelDistributionSettingsClassification", + className: "DataDriftMetricThresholdBase", }, }, }, }, + productionData: { + serializedName: "productionData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, }, }, }; -export const ImageClassification: coreClient.CompositeMapper = { - serializedName: "ImageClassification", +export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "DataQuality", type: { name: "Composite", - className: "ImageClassification", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + className: "DataQualityMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - }, - }, -}; - -export const ImageClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "ImageClassificationMultilabel", - type: { - name: "Composite", - className: "ImageClassificationMultilabel", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + featureImportanceSettings: { + serializedName: "featureImportanceSettings", type: { - name: "String", + name: "Composite", + className: "FeatureImportanceSettings", }, }, - }, - }, -}; - -export const ImageObjectDetectionBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageObjectDetectionBase", - modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + features: { + serializedName: "features", type: { name: "Composite", - className: "ImageModelSettingsObjectDetection", + className: "MonitoringFeatureFilterBase", }, }, - searchSpace: { - serializedName: "searchSpace", - nullable: true, + metricThresholds: { + serializedName: "metricThresholds", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection", + className: "DataQualityMetricThresholdBase", }, }, }, }, - }, - }, -}; - -export const ImageInstanceSegmentation: coreClient.CompositeMapper = { - serializedName: "ImageInstanceSegmentation", - type: { - name: "Composite", - className: "ImageInstanceSegmentation", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + productionData: { + serializedName: "productionData", type: { - name: "String", + name: "Composite", + className: "MonitoringInputDataBase", }, }, - }, - }, -}; - -export const ImageObjectDetection: coreClient.CompositeMapper = { - serializedName: "ImageObjectDetection", - type: { - name: "Composite", - className: "ImageObjectDetection", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + referenceData: { + serializedName: "referenceData", type: { - name: "String", + name: "Composite", + className: "MonitoringInputDataBase", }, }, }, }, }; -export const Regression: coreClient.CompositeMapper = { - serializedName: "Regression", +export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "FeatureAttributionDrift", type: { name: "Composite", - className: "Regression", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + className: "FeatureAttributionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "String" } }, }, }, - trainingSettings: { - serializedName: "trainingSettings", + featureImportanceSettings: { + serializedName: "featureImportanceSettings", type: { name: "Composite", - className: "RegressionTrainingSettings", + className: "FeatureImportanceSettings", }, }, - }, - }, -}; - -export const TextClassification: coreClient.CompositeMapper = { - serializedName: "TextClassification", - type: { - name: "Composite", - className: "TextClassification", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + metricThreshold: { + serializedName: "metricThreshold", type: { - name: "String", + name: "Composite", + className: "FeatureAttributionMetricThreshold", }, }, - }, - }, -}; - -export const TextClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "TextClassificationMultilabel", - type: { - name: "Composite", - className: "TextClassificationMultilabel", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + productionData: { + serializedName: "productionData", + required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, }, }, - }, - }, -}; - -export const TextNer: coreClient.CompositeMapper = { - serializedName: "TextNER", - type: { - name: "Composite", - className: "TextNer", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, - modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + referenceData: { + serializedName: "referenceData", type: { - name: "String", + name: "Composite", + className: "MonitoringInputDataBase", }, }, }, }, }; -export const LiteralJobInput: coreClient.CompositeMapper = { - serializedName: "literal", +export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { + serializedName: "PredictionDrift", type: { name: "Composite", - className: "LiteralJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "PredictionDriftMonitoringSignal", + uberParent: "MonitoringSignalBase", + polymorphicDiscriminator: MonitoringSignalBase.type.polymorphicDiscriminator, modelProperties: { - ...JobInput.type.modelProperties, - value: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + ...MonitoringSignalBase.type.modelProperties, + featureDataTypeOverride: { + serializedName: "featureDataTypeOverride", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, }, - serializedName: "value", + }, + metricThresholds: { + serializedName: "metricThresholds", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PredictionDriftMetricThresholdBase", + }, + }, + }, + }, + productionData: { + serializedName: "productionData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", + }, + }, + referenceData: { + serializedName: "referenceData", + type: { + name: "Composite", + className: "MonitoringInputDataBase", }, }, }, }, }; -export const AutoNCrossValidations: coreClient.CompositeMapper = { - serializedName: "Auto", - type: { - name: "Composite", - className: "AutoNCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, - modelProperties: { - ...NCrossValidations.type.modelProperties, - }, - }, -}; - -export const CustomNCrossValidations: coreClient.CompositeMapper = { - serializedName: "Custom", +export const FixedInputData: coreClient.CompositeMapper = { + serializedName: "Fixed", type: { name: "Composite", - className: "CustomNCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + className: "FixedInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...NCrossValidations.type.modelProperties, - value: { - serializedName: "value", - required: true, - type: { - name: "Number", - }, - }, + ...MonitoringInputDataBase.type.modelProperties, }, }, }; -export const AutoSeasonality: coreClient.CompositeMapper = { - serializedName: "Auto", +export const RollingInputData: coreClient.CompositeMapper = { + serializedName: "Rolling", type: { name: "Composite", - className: "AutoSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + className: "RollingInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...Seasonality.type.modelProperties, + ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, + windowOffset: { + serializedName: "windowOffset", + required: true, + type: { + name: "TimeSpan", + }, + }, + windowSize: { + serializedName: "windowSize", + required: true, + type: { + name: "TimeSpan", + }, + }, }, }, }; -export const CustomSeasonality: coreClient.CompositeMapper = { - serializedName: "Custom", +export const StaticInputData: coreClient.CompositeMapper = { + serializedName: "Static", type: { name: "Composite", - className: "CustomSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + className: "StaticInputData", + uberParent: "MonitoringInputDataBase", + polymorphicDiscriminator: MonitoringInputDataBase.type.polymorphicDiscriminator, modelProperties: { - ...Seasonality.type.modelProperties, - value: { - serializedName: "value", + ...MonitoringInputDataBase.type.modelProperties, + preprocessingComponentId: { + serializedName: "preprocessingComponentId", + nullable: true, + type: { + name: "String", + }, + }, + windowEnd: { + serializedName: "windowEnd", required: true, type: { - name: "Number", + name: "DateTime", + }, + }, + windowStart: { + serializedName: "windowStart", + required: true, + type: { + name: "DateTime", }, }, }, }, }; -export const AutoTargetLags: coreClient.CompositeMapper = { - serializedName: "Auto", +export const LabelGeneration: coreClient.CompositeMapper = { + serializedName: "LabelGeneration", type: { name: "Composite", - className: "AutoTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + className: "LabelGeneration", + uberParent: "DataGenerationVertical", + polymorphicDiscriminator: DataGenerationVertical.type.polymorphicDiscriminator, modelProperties: { - ...TargetLags.type.modelProperties, + ...DataGenerationVertical.type.modelProperties, + trainingData: { + serializedName: "trainingData", + type: { + name: "Composite", + className: "JobInput", + }, + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "JobInput", + }, + }, }, }, }; -export const CustomTargetLags: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ImageModelSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + className: "ImageModelSettingsClassification", modelProperties: { - ...TargetLags.type.modelProperties, - values: { - serializedName: "values", - required: true, + ...ImageModelSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Number", - }, - }, + name: "Number", + }, + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "Number", + }, + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "Number", + }, + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "Number", }, }, }, }, }; -export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Auto", +export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "ImageModelSettingsObjectDetection", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties, + ...ImageModelSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "Number", + }, + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "Number", + }, + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "Number", + }, + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "Number", + }, + }, + modelSize: { + serializedName: "modelSize", + type: { + name: "String", + }, + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "Boolean", + }, + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String", + }, + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "Number", + }, + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, + type: { + name: "Number", + }, + }, + validationMetricType: { + serializedName: "validationMetricType", + type: { + name: "String", + }, + }, }, }, }; -export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "ImageModelDistributionSettingsClassification", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...ImageModelDistributionSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "String", + }, + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, type: { - name: "Number", + name: "String", + }, + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "String", + }, + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "String", }, }, }, }, }; -export const AzureBlobDatastore: coreClient.CompositeMapper = { - serializedName: "AzureBlob", +export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureBlobDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "ImageModelDistributionSettingsObjectDetection", modelProperties: { - ...AzureDatastore.type.modelProperties, - ...DatastoreProperties.type.modelProperties, - accountName: { - serializedName: "accountName", + ...ImageModelDistributionSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", nullable: true, type: { name: "String", }, }, - containerName: { - serializedName: "containerName", + boxScoreThreshold: { + serializedName: "boxScoreThreshold", nullable: true, type: { name: "String", }, }, - endpoint: { - serializedName: "endpoint", + imageSize: { + serializedName: "imageSize", nullable: true, type: { name: "String", }, }, - protocol: { - serializedName: "protocol", + maxSize: { + serializedName: "maxSize", nullable: true, type: { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + minSize: { + serializedName: "minSize", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen1", - type: { - name: "Composite", - className: "AzureDataLakeGen1Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, - modelProperties: { - ...AzureDatastore.type.modelProperties, - ...DatastoreProperties.type.modelProperties, - storeName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "storeName", - required: true, + modelSize: { + serializedName: "modelSize", + nullable: true, type: { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + multiScale: { + serializedName: "multiScale", + nullable: true, type: { name: "String", }, }, - }, - }, -}; - -export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen2", - type: { - name: "Composite", - className: "AzureDataLakeGen2Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, - modelProperties: { - ...AzureDatastore.type.modelProperties, - ...DatastoreProperties.type.modelProperties, - filesystem: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "filesystem", - required: true, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, type: { name: "String", }, }, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String", }, - serializedName: "accountName", - required: true, + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, type: { name: "String", }, }, - endpoint: { - serializedName: "endpoint", + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", nullable: true, type: { name: "String", }, }, - protocol: { - serializedName: "protocol", + validationIouThreshold: { + serializedName: "validationIouThreshold", nullable: true, type: { name: "String", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + validationMetricType: { + serializedName: "validationMetricType", + nullable: true, type: { name: "String", }, @@ -13388,916 +18135,936 @@ export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { }, }; -export const AzureFileDatastore: coreClient.CompositeMapper = { - serializedName: "AzureFile", +export const LakeHouseArtifact: coreClient.CompositeMapper = { + serializedName: "LakeHouse", type: { name: "Composite", - className: "AzureFileDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "LakeHouseArtifact", + uberParent: "OneLakeArtifact", + polymorphicDiscriminator: OneLakeArtifact.type.polymorphicDiscriminator, modelProperties: { - ...AzureDatastore.type.modelProperties, - ...DatastoreProperties.type.modelProperties, - accountName: { + ...OneLakeArtifact.type.modelProperties, + }, + }, +}; + +export const SparkJobPythonEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobPythonEntry", + type: { + name: "Composite", + className: "SparkJobPythonEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, + modelProperties: { + ...SparkJobEntry.type.modelProperties, + file: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "accountName", + serializedName: "file", required: true, type: { name: "String", }, }, - fileShareName: { + }, + }, +}; + +export const SparkJobScalaEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobScalaEntry", + type: { + name: "Composite", + className: "SparkJobScalaEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, + modelProperties: { + ...SparkJobEntry.type.modelProperties, + className: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "fileShareName", + serializedName: "className", required: true, type: { name: "String", }, }, - endpoint: { - serializedName: "endpoint", - nullable: true, + }, + }, +}; + +export const CodeContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "CodeContainerProperties", }, }, - protocol: { - serializedName: "protocol", - nullable: true, + }, + }, +}; + +export const CodeVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "CodeVersionProperties", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + }, + }, +}; + +export const ComponentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentContainerProperties", + }, + }, + }, + }, +}; + +export const ComponentVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentVersionProperties", + }, + }, + }, + }, +}; + +export const DataContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DataContainerProperties", }, }, }, }, }; -export const BanditPolicy: coreClient.CompositeMapper = { - serializedName: "Bandit", +export const DataVersionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BanditPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "DataVersionBase", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - slackFactor: { - defaultValue: 0, - serializedName: "slackFactor", - type: { - name: "Number", - }, - }, - slackAmount: { - defaultValue: 0, - serializedName: "slackAmount", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "DataVersionBaseProperties", }, }, }, }, }; -export const MedianStoppingPolicy: coreClient.CompositeMapper = { - serializedName: "MedianStopping", +export const EnvironmentContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MedianStoppingPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "EnvironmentContainer", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnvironmentContainerProperties", + }, + }, }, }, }; -export const TruncationSelectionPolicy: coreClient.CompositeMapper = { - serializedName: "TruncationSelection", +export const EnvironmentVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TruncationSelectionPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "EnvironmentVersion", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - truncationPercentage: { - defaultValue: 0, - serializedName: "truncationPercentage", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "EnvironmentVersionProperties", }, }, }, }, }; -export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Bayesian", +export const ModelContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BayesianSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ModelContainer", modelProperties: { - ...SamplingAlgorithm.type.modelProperties, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelContainerProperties", + }, + }, }, }, }; -export const GridSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Grid", +export const ModelVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GridSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ModelVersion", modelProperties: { - ...SamplingAlgorithm.type.modelProperties, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelVersionProperties", + }, + }, }, }, }; -export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Random", +export const CapabilityHost: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RandomSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "CapabilityHost", modelProperties: { - ...SamplingAlgorithm.type.modelProperties, - seed: { - serializedName: "seed", - nullable: true, - type: { - name: "Number", - }, - }, - rule: { - serializedName: "rule", + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "CapabilityHostProperties", }, }, }, }, }; -export const CategoricalDataDriftMetricThreshold: coreClient.CompositeMapper = { - serializedName: "Categorical", +export const Datastore: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CategoricalDataDriftMetricThreshold", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: - DataDriftMetricThresholdBase.type.polymorphicDiscriminator, + className: "Datastore", modelProperties: { - ...DataDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "DatastoreProperties", }, }, }, }, }; -export const NumericalDataDriftMetricThreshold: coreClient.CompositeMapper = { - serializedName: "Numerical", +export const FeaturesetContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NumericalDataDriftMetricThreshold", - uberParent: "DataDriftMetricThresholdBase", - polymorphicDiscriminator: - DataDriftMetricThresholdBase.type.polymorphicDiscriminator, + className: "FeaturesetContainer", modelProperties: { - ...DataDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "FeaturesetContainerProperties", }, }, }, }, }; -export const CategoricalDataQualityMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Categorical", - type: { - name: "Composite", - className: "CategoricalDataQualityMetricThreshold", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: - DataQualityMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...DataQualityMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, +export const Feature: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Feature", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeatureProperties", }, }, }, - }; + }, +}; -export const NumericalDataQualityMetricThreshold: coreClient.CompositeMapper = { - serializedName: "Numerical", +export const FeaturesetVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NumericalDataQualityMetricThreshold", - uberParent: "DataQualityMetricThresholdBase", - polymorphicDiscriminator: - DataQualityMetricThresholdBase.type.polymorphicDiscriminator, + className: "FeaturesetVersion", modelProperties: { - ...DataQualityMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "FeaturesetVersionProperties", }, }, }, }, }; -export const CategoricalPredictionDriftMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Categorical", - type: { - name: "Composite", - className: "CategoricalPredictionDriftMetricThreshold", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: - PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...PredictionDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, +export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityContainer", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturestoreEntityContainerProperties", }, }, }, - }; + }, +}; -export const NumericalPredictionDriftMetricThreshold: coreClient.CompositeMapper = - { - serializedName: "Numerical", - type: { - name: "Composite", - className: "NumericalPredictionDriftMetricThreshold", - uberParent: "PredictionDriftMetricThresholdBase", - polymorphicDiscriminator: - PredictionDriftMetricThresholdBase.type.polymorphicDiscriminator, - modelProperties: { - ...PredictionDriftMetricThresholdBase.type.modelProperties, - metric: { - serializedName: "metric", - required: true, - type: { - name: "String", - }, +export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityVersion", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturestoreEntityVersionProperties", }, }, }, - }; + }, +}; -export const ClassificationTrainingSettings: coreClient.CompositeMapper = { +export const JobBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClassificationTrainingSettings", + className: "JobBase", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", - nullable: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "JobBaseProperties", }, }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", - nullable: true, + }, + }, +}; + +export const MarketplaceSubscription: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MarketplaceSubscription", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "MarketplaceSubscriptionProperties", }, }, }, }, }; -export const ForecastingTrainingSettings: coreClient.CompositeMapper = { +export const Schedule: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingTrainingSettings", + className: "Schedule", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, - }, - }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", - nullable: true, + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ScheduleProperties", }, }, }, }, }; -export const RegressionTrainingSettings: coreClient.CompositeMapper = { +export const BatchEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegressionTrainingSettings", + className: "BatchEndpoint", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ManagedServiceIdentity", }, }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", - nullable: true, + kind: { + serializedName: "kind", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "BatchEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { +export const BatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", + className: "BatchDeployment", modelProperties: { - ...FeaturizationSettings.type.modelProperties, - mode: { - serializedName: "mode", - type: { - name: "String", - }, - }, - blockedTransformers: { - serializedName: "blockedTransformers", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Composite", + className: "ManagedServiceIdentity", }, }, - columnNameAndTypes: { - serializedName: "columnNameAndTypes", - nullable: true, + kind: { + serializedName: "kind", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - transformerParams: { - serializedName: "transformerParams", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "Dictionary", - value: { - type: { - name: "Sequence", - element: { - type: { name: "Composite", className: "ColumnTransformer" }, - }, - }, - }, + name: "Composite", + className: "BatchDeploymentProperties", }, }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", + sku: { + serializedName: "sku", type: { - name: "Boolean", + name: "Composite", + className: "Sku", }, }, }, }, }; -export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { +export const InferencePool: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalFeaturizationSettings", + className: "InferencePool", modelProperties: { - ...FeaturizationSettings.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: "InferencePoolProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", + }, + }, }, }, }; -export const Mpi: coreClient.CompositeMapper = { - serializedName: "Mpi", +export const InferenceEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Mpi", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "InferenceEndpoint", modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Number", + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "InferenceEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const PyTorch: coreClient.CompositeMapper = { - serializedName: "PyTorch", +export const InferenceGroup: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PyTorch", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "InferenceGroup", modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Number", + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", + type: { + name: "String", + }, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "InferenceGroupProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const TensorFlow: coreClient.CompositeMapper = { - serializedName: "TensorFlow", +export const OnlineEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TensorFlow", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "OnlineEndpoint", modelProperties: { - ...DistributionConfiguration.type.modelProperties, - workerCount: { - serializedName: "workerCount", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity", + }, + }, + kind: { + serializedName: "kind", type: { - name: "Number", + name: "String", }, }, - parameterServerCount: { - defaultValue: 0, - serializedName: "parameterServerCount", + properties: { + serializedName: "properties", type: { - name: "Number", + name: "Composite", + className: "OnlineEndpointProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const CommandJobLimits: coreClient.CompositeMapper = { - serializedName: "Command", - type: { - name: "Composite", - className: "CommandJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, - modelProperties: { - ...JobLimits.type.modelProperties, - }, - }, -}; - -export const SweepJobLimits: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const OnlineDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SweepJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, + className: "OnlineDeployment", modelProperties: { - ...JobLimits.type.modelProperties, - maxTotalTrials: { - serializedName: "maxTotalTrials", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Number", + name: "Composite", + className: "ManagedServiceIdentity", }, }, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", - nullable: true, + kind: { + serializedName: "kind", type: { - name: "Number", + name: "String", }, }, - trialTimeout: { - serializedName: "trialTimeout", - nullable: true, + properties: { + serializedName: "properties", type: { - name: "TimeSpan", + name: "Composite", + className: "OnlineDeploymentProperties", + }, + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku", }, }, }, }, }; -export const CustomMonitoringSignal: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ServerlessEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + className: "ServerlessEndpoint", modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - inputAssets: { - serializedName: "inputAssets", - nullable: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "MonitoringInputDataBase" }, - }, + name: "Composite", + className: "ManagedServiceIdentity", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + kind: { + serializedName: "kind", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "String", }, }, - componentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "componentId", - required: true, + properties: { + serializedName: "properties", type: { - name: "String", + name: "Composite", + className: "ServerlessEndpointProperties", }, }, - metricThresholds: { - serializedName: "metricThresholds", - required: true, + sku: { + serializedName: "sku", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomMetricThreshold", - }, - }, + name: "Composite", + className: "Sku", }, }, }, }, }; -export const DataDriftMonitoringSignal: coreClient.CompositeMapper = { - serializedName: "DataDrift", +export const Registry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataDriftMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + className: "Registry", modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", - type: { - name: "Composite", - className: "MonitoringFeatureFilterBase", - }, - }, - featureImportanceSettings: { - serializedName: "featureImportanceSettings", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "FeatureImportanceSettings", + className: "ManagedServiceIdentity", }, }, - metricThresholds: { - serializedName: "metricThresholds", - required: true, + kind: { + serializedName: "kind", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataDriftMetricThresholdBase", - }, - }, + name: "String", }, }, - productionData: { - serializedName: "productionData", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "MonitoringInputDataBase", + className: "Sku", }, }, - referenceData: { - serializedName: "referenceData", + discoveryUrl: { + serializedName: "properties.discoveryUrl", + nullable: true, type: { - name: "Composite", - className: "MonitoringInputDataBase", + name: "String", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", + intellectualPropertyPublisher: { + serializedName: "properties.intellectualPropertyPublisher", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, - }, - }, -}; - -export const DataQualityMonitoringSignal: coreClient.CompositeMapper = { - serializedName: "DataQuality", - type: { - name: "Composite", - className: "DataQualityMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - features: { - serializedName: "features", + managedResourceGroup: { + serializedName: "properties.managedResourceGroup", type: { name: "Composite", - className: "MonitoringFeatureFilterBase", + className: "ArmResourceId", }, }, - featureImportanceSettings: { - serializedName: "featureImportanceSettings", + managedResourceGroupSettings: { + serializedName: "properties.managedResourceGroupSettings", type: { name: "Composite", - className: "FeatureImportanceSettings", + className: "ManagedResourceGroupSettings", }, }, - metricThresholds: { - serializedName: "metricThresholds", - required: true, + mlFlowRegistryUri: { + serializedName: "properties.mlFlowRegistryUri", + nullable: true, + type: { + name: "String", + }, + }, + registryPrivateEndpointConnections: { + serializedName: "properties.registryPrivateEndpointConnections", + nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DataQualityMetricThresholdBase", + className: "RegistryPrivateEndpointConnection", }, }, }, }, - productionData: { - serializedName: "productionData", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + nullable: true, type: { - name: "Composite", - className: "MonitoringInputDataBase", + name: "String", }, }, - referenceData: { - serializedName: "referenceData", + regionDetails: { + serializedName: "properties.regionDetails", + nullable: true, type: { - name: "Composite", - className: "MonitoringInputDataBase", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + }, + }, }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, + }, + }, +}; + +export const CodeContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const FeatureAttributionDriftMonitoringSignal: coreClient.CompositeMapper = - { - serializedName: "FeatureAttributionDrift", - type: { - name: "Composite", - className: "FeatureAttributionDriftMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, - modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - metricThreshold: { - serializedName: "metricThreshold", - type: { - name: "Composite", - className: "FeatureAttributionMetricThreshold", - }, - }, - featureImportanceSettings: { - serializedName: "featureImportanceSettings", - type: { - name: "Composite", - className: "FeatureImportanceSettings", - }, - }, - productionData: { - serializedName: "productionData", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - }, - }, - referenceData: { - serializedName: "referenceData", - type: { - name: "Composite", - className: "MonitoringInputDataBase", - }, - }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } }, - }, +export const ComponentContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", }, }, }, - }; + }, +}; -export const PredictionDriftMonitoringSignal: coreClient.CompositeMapper = { - serializedName: "PredictionDrift", +export const DataContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PredictionDriftMonitoringSignal", - uberParent: "MonitoringSignalBase", - polymorphicDiscriminator: - MonitoringSignalBase.type.polymorphicDiscriminator, + className: "DataContainerProperties", modelProperties: { - ...MonitoringSignalBase.type.modelProperties, - metricThresholds: { - serializedName: "metricThresholds", + ...AssetContainer.type.modelProperties, + dataType: { + serializedName: "dataType", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PredictionDriftMetricThresholdBase", - }, - }, + name: "String", }, }, - productionData: { - serializedName: "productionData", + }, + }, +}; + +export const EnvironmentContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "MonitoringInputDataBase", + name: "String", }, }, - referenceData: { - serializedName: "referenceData", + }, + }, +}; + +export const ModelContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "MonitoringInputDataBase", + name: "String", }, }, - featureDataTypeOverride: { - serializedName: "featureDataTypeOverride", - nullable: true, + }, + }, +}; + +export const FeaturesetContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainerProperties", + modelProperties: { + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "String", }, }, }, }, }; -export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { - serializedName: "ServerlessSpark", +export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MonitorServerlessSparkCompute", - uberParent: "MonitorComputeConfigurationBase", - polymorphicDiscriminator: - MonitorComputeConfigurationBase.type.polymorphicDiscriminator, + className: "FeaturestoreEntityContainerProperties", modelProperties: { - ...MonitorComputeConfigurationBase.type.modelProperties, - computeIdentity: { - serializedName: "computeIdentity", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Composite", - className: "MonitorComputeIdentityBase", + name: "String", }, }, - instanceType: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "instanceType", - required: true, + }, + }, +}; + +export const CodeVersionProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeVersionProperties", + modelProperties: { + ...AssetBase.type.modelProperties, + codeUri: { + serializedName: "codeUri", + nullable: true, type: { name: "String", }, }, - runtimeVersion: { - constraints: { - Pattern: new RegExp("^[0-9]+\\.[0-9]+$"), - MinLength: 1, - }, - serializedName: "runtimeVersion", - required: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, @@ -14306,47 +19073,57 @@ export const MonitorServerlessSparkCompute: coreClient.CompositeMapper = { }, }; -export const FixedInputData: coreClient.CompositeMapper = { - serializedName: "Fixed", +export const ComponentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FixedInputData", - uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + className: "ComponentVersionProperties", modelProperties: { - ...MonitoringInputDataBase.type.modelProperties, + ...AssetBase.type.modelProperties, + componentSpec: { + serializedName: "componentSpec", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, }, }, }; -export const RollingInputData: coreClient.CompositeMapper = { - serializedName: "Rolling", +export const DataVersionBaseProperties: coreClient.CompositeMapper = { + serializedName: "DataVersionBaseProperties", type: { name: "Composite", - className: "RollingInputData", - uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + className: "DataVersionBaseProperties", + uberParent: "AssetBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType", + }, modelProperties: { - ...MonitoringInputDataBase.type.modelProperties, - windowOffset: { - serializedName: "windowOffset", + ...AssetBase.type.modelProperties, + dataType: { + serializedName: "dataType", required: true, type: { - name: "TimeSpan", + name: "String", }, }, - windowSize: { - serializedName: "windowSize", - required: true, - type: { - name: "TimeSpan", + dataUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, }, - }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + serializedName: "dataUri", + required: true, type: { name: "String", }, @@ -14355,170 +19132,190 @@ export const RollingInputData: coreClient.CompositeMapper = { }, }; -export const StaticInputData: coreClient.CompositeMapper = { - serializedName: "Static", +export const EnvironmentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StaticInputData", - uberParent: "MonitoringInputDataBase", - polymorphicDiscriminator: - MonitoringInputDataBase.type.polymorphicDiscriminator, + className: "EnvironmentVersionProperties", modelProperties: { - ...MonitoringInputDataBase.type.modelProperties, - windowStart: { - serializedName: "windowStart", - required: true, + ...AssetBase.type.modelProperties, + autoRebuild: { + serializedName: "autoRebuild", type: { - name: "DateTime", + name: "String", }, }, - windowEnd: { - serializedName: "windowEnd", - required: true, + build: { + serializedName: "build", type: { - name: "DateTime", + name: "Composite", + className: "BuildContext", + }, + }, + condaFile: { + serializedName: "condaFile", + type: { + name: "String", + }, + }, + environmentType: { + serializedName: "environmentType", + readOnly: true, + type: { + name: "String", }, }, - preprocessingComponentId: { - serializedName: "preprocessingComponentId", - nullable: true, + image: { + serializedName: "image", type: { name: "String", }, }, - }, - }, -}; - -export const ImageModelSettingsClassification: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageModelSettingsClassification", - modelProperties: { - ...ImageModelSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", - nullable: true, + imageDetails: { + serializedName: "imageDetails", type: { - name: "Number", + name: "Composite", + className: "ImageDetails", }, }, - validationCropSize: { - serializedName: "validationCropSize", - nullable: true, + inferenceConfig: { + serializedName: "inferenceConfig", type: { - name: "Number", + name: "Composite", + className: "InferenceContainerProperties", }, }, - validationResizeSize: { - serializedName: "validationResizeSize", - nullable: true, + osType: { + serializedName: "osType", type: { - name: "Number", + name: "String", }, }, - weightedLoss: { - serializedName: "weightedLoss", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + stage: { + serializedName: "stage", nullable: true, type: { - name: "Number", + name: "String", }, }, }, }, }; -export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { +export const ModelVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettingsObjectDetection", + className: "ModelVersionProperties", modelProperties: { - ...ImageModelSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", - nullable: true, - type: { - name: "Number", - }, - }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", + ...AssetBase.type.modelProperties, + flavors: { + serializedName: "flavors", nullable: true, type: { - name: "Number", + name: "Dictionary", + value: { type: { name: "Composite", className: "FlavorData" } }, }, }, - imageSize: { - serializedName: "imageSize", + jobName: { + serializedName: "jobName", nullable: true, type: { - name: "Number", + name: "String", }, }, - maxSize: { - serializedName: "maxSize", + modelType: { + serializedName: "modelType", nullable: true, type: { - name: "Number", + name: "String", }, }, - minSize: { - serializedName: "minSize", + modelUri: { + serializedName: "modelUri", nullable: true, type: { - name: "Number", + name: "String", }, }, - modelSize: { - serializedName: "modelSize", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String", }, }, - multiScale: { - serializedName: "multiScale", + stage: { + serializedName: "stage", nullable: true, type: { - name: "Boolean", + name: "String", }, }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", + datasets: { + serializedName: "datasets", nullable: true, type: { - name: "Number", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference", + }, + }, }, }, - tileGridSize: { - serializedName: "tileGridSize", + }, + }, +}; + +export const FeaturesetVersionProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionProperties", + modelProperties: { + ...AssetBase.type.modelProperties, + entities: { + serializedName: "entities", nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", - nullable: true, + materializationSettings: { + serializedName: "materializationSettings", type: { - name: "Number", + name: "Composite", + className: "MaterializationSettings", }, }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", - nullable: true, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number", + name: "String", }, }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, + specification: { + serializedName: "specification", type: { - name: "Number", + name: "Composite", + className: "FeaturesetSpecification", }, }, - validationMetricType: { - serializedName: "validationMetricType", + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -14526,177 +19323,36 @@ export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { }, }, }; - -export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsClassification", - modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", - nullable: true, - type: { - name: "String", - }, - }, - validationCropSize: { - serializedName: "validationCropSize", - nullable: true, - type: { - name: "String", - }, - }, - validationResizeSize: { - serializedName: "validationResizeSize", - nullable: true, - type: { - name: "String", - }, - }, - weightedLoss: { - serializedName: "weightedLoss", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection", - modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", - nullable: true, - type: { - name: "String", - }, - }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", - nullable: true, - type: { - name: "String", - }, - }, - imageSize: { - serializedName: "imageSize", - nullable: true, - type: { - name: "String", - }, - }, - maxSize: { - serializedName: "maxSize", - nullable: true, - type: { - name: "String", - }, - }, - minSize: { - serializedName: "minSize", - nullable: true, - type: { - name: "String", - }, - }, - modelSize: { - serializedName: "modelSize", - nullable: true, - type: { - name: "String", - }, - }, - multiScale: { - serializedName: "multiScale", - nullable: true, - type: { - name: "String", - }, - }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", - nullable: true, - type: { - name: "String", - }, - }, - tileGridSize: { - serializedName: "tileGridSize", - nullable: true, - type: { - name: "String", - }, - }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", - nullable: true, - type: { - name: "String", - }, - }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", - nullable: true, - type: { - name: "String", - }, - }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, - type: { - name: "String", - }, - }, - validationMetricType: { - serializedName: "validationMetricType", - nullable: true, - type: { - name: "String", - }, - }, - }, - }, - }; - -export const LakeHouseArtifact: coreClient.CompositeMapper = { - serializedName: "LakeHouse", - type: { - name: "Composite", - className: "LakeHouseArtifact", - uberParent: "OneLakeArtifact", - polymorphicDiscriminator: OneLakeArtifact.type.polymorphicDiscriminator, - modelProperties: { - ...OneLakeArtifact.type.modelProperties, - }, - }, -}; - -export const SparkJobPythonEntry: coreClient.CompositeMapper = { - serializedName: "SparkJobPythonEntry", + +export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkJobPythonEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersionProperties", modelProperties: { - ...SparkJobEntry.type.modelProperties, - file: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, + ...AssetBase.type.modelProperties, + indexColumns: { + serializedName: "indexColumns", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IndexColumn", + }, + }, }, - serializedName: "file", - required: true, + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String", + }, + }, + stage: { + serializedName: "stage", + nullable: true, type: { name: "String", }, @@ -14705,638 +19361,748 @@ export const SparkJobPythonEntry: coreClient.CompositeMapper = { }, }; -export const SparkJobScalaEntry: coreClient.CompositeMapper = { - serializedName: "SparkJobScalaEntry", +export const OneLakeDatastore: coreClient.CompositeMapper = { + serializedName: "OneLake", type: { name: "Composite", - className: "SparkJobScalaEntry", - uberParent: "SparkJobEntry", - polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, + className: "OneLakeDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, modelProperties: { - ...SparkJobEntry.type.modelProperties, - className: { + ...DatastoreProperties.type.modelProperties, + artifact: { + serializedName: "artifact", + type: { + name: "Composite", + className: "OneLakeArtifact", + }, + }, + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String", + }, + }, + oneLakeWorkspaceName: { constraints: { Pattern: new RegExp("[a-zA-Z0-9_]"), MinLength: 1, }, - serializedName: "className", + serializedName: "oneLakeWorkspaceName", required: true, type: { name: "String", }, }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String", + }, + }, }, }, }; -export const CodeContainer: coreClient.CompositeMapper = { +export const AutoMLJob: coreClient.CompositeMapper = { + serializedName: "AutoML", type: { name: "Composite", - className: "CodeContainer", + className: "AutoMLJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + environmentId: { + serializedName: "environmentId", + nullable: true, + type: { + name: "String", + }, + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } }, + }, + }, + outputs: { + serializedName: "outputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "CodeContainerProperties", + className: "QueueSettings", }, }, - }, - }, -}; - -export const CodeVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeVersion", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "CodeVersionProperties", + className: "JobResourceConfiguration", }, }, - }, - }, -}; - -export const ComponentContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentContainer", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + taskDetails: { + serializedName: "taskDetails", type: { name: "Composite", - className: "ComponentContainerProperties", + className: "AutoMLVertical", }, }, }, }, }; -export const ComponentVersion: coreClient.CompositeMapper = { +export const CommandJob: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "ComponentVersion", + className: "CommandJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + codeId: { + serializedName: "codeId", + nullable: true, + type: { + name: "String", + }, + }, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1, + }, + serializedName: "command", + required: true, + type: { + name: "String", + }, + }, + distribution: { + serializedName: "distribution", type: { name: "Composite", - className: "ComponentVersionProperties", + className: "DistributionConfiguration", }, }, - }, - }, -}; - -export const DataContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataContainer", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + 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" } }, + }, + }, + inputs: { + serializedName: "inputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, + }, + limits: { + serializedName: "limits", type: { name: "Composite", - className: "DataContainerProperties", + className: "CommandJobLimits", }, }, - }, - }, -}; - -export const DataVersionBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataVersionBase", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + outputs: { + serializedName: "outputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, + }, + }, + parameters: { + serializedName: "parameters", + readOnly: true, + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + queueSettings: { + serializedName: "queueSettings", + type: { + name: "Composite", + className: "QueueSettings", + }, + }, + resources: { + serializedName: "resources", type: { name: "Composite", - className: "DataVersionBaseProperties", + className: "JobResourceConfiguration", }, }, }, }, }; -export const EnvironmentContainer: coreClient.CompositeMapper = { +export const DistillationJob: coreClient.CompositeMapper = { + serializedName: "Distillation", type: { name: "Composite", - className: "EnvironmentContainer", + className: "DistillationJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + dataGenerationDetails: { + serializedName: "dataGenerationDetails", type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "DataGenerationVertical", }, }, - }, - }, -}; - -export const EnvironmentVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EnvironmentVersion", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + finetuningDetails: { + serializedName: "finetuningDetails", type: { name: "Composite", - className: "EnvironmentVersionProperties", + className: "FinetuningDetails", }, }, - }, - }, -}; - -export const ModelContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModelContainer", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + outputs: { + serializedName: "outputs", + required: true, type: { - name: "Composite", - className: "ModelContainerProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - }, - }, -}; - -export const ModelVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ModelVersion", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "ModelVersionProperties", + className: "QueueSettings", }, }, - }, - }, -}; - -export const Datastore: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Datastore", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "DatastoreProperties", + className: "JobResources", }, }, }, }, }; -export const FeaturesetContainer: coreClient.CompositeMapper = { +export const FineTuningJob: coreClient.CompositeMapper = { + serializedName: "FineTuning", type: { name: "Composite", - className: "FeaturesetContainer", + className: "FineTuningJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + fineTuningDetails: { + serializedName: "fineTuningDetails", type: { name: "Composite", - className: "FeaturesetContainerProperties", + className: "FineTuningVertical", }, }, - }, - }, -}; - -export const Feature: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Feature", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + outputs: { + serializedName: "outputs", + required: true, type: { - name: "Composite", - className: "FeatureProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - }, - }, -}; - -export const FeaturesetVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturesetVersion", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "FeaturesetVersionProperties", + className: "QueueSettings", }, }, - }, - }, -}; - -export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturestoreEntityContainer", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "FeaturestoreEntityContainerProperties", + className: "JobResources", }, }, }, }, }; -export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { +export const PipelineJob: coreClient.CompositeMapper = { + serializedName: "Pipeline", type: { name: "Composite", - className: "FeaturestoreEntityVersion", + className: "PipelineJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "Composite", - className: "FeaturestoreEntityVersionProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, + }, + }, + jobs: { + serializedName: "jobs", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } }, + }, + }, + }, + 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 JobBase: coreClient.CompositeMapper = { +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", - className: "JobBase", + className: "SparkJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + ...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: "JobBaseProperties", + 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", + }, + }, }, }, - }, - }, -}; - -export const MarketplaceSubscription: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "MarketplaceSubscription", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "Composite", - className: "MarketplaceSubscriptionProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - }, - }, -}; - -export const Schedule: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Schedule", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + jars: { + serializedName: "jars", + nullable: true, type: { - name: "Composite", - className: "ScheduleProperties", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - }, - }, -}; - -export const BatchEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpoint", - modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "Composite", - className: "BatchEndpointProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - kind: { - serializedName: "kind", + pyFiles: { + serializedName: "pyFiles", + nullable: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, - identity: { - serializedName: "identity", + queueSettings: { + serializedName: "queueSettings", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "QueueSettings", }, }, - sku: { - serializedName: "sku", + resources: { + serializedName: "resources", type: { name: "Composite", - className: "Sku", + className: "SparkResourceConfiguration", }, }, }, }, }; -export const BatchDeployment: coreClient.CompositeMapper = { +export const SweepJob: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "BatchDeployment", + className: "SweepJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + ...JobBaseProperties.type.modelProperties, + earlyTermination: { + serializedName: "earlyTermination", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "EarlyTerminationPolicy", }, }, - kind: { - serializedName: "kind", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "String", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } }, }, }, - identity: { - serializedName: "identity", + limits: { + serializedName: "limits", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "SweepJobLimits", }, }, - sku: { - serializedName: "sku", + objective: { + serializedName: "objective", type: { name: "Composite", - className: "Sku", + className: "Objective", }, }, - }, - }, -}; - -export const OnlineEndpoint: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnlineEndpoint", - modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "Composite", - className: "OnlineEndpointProperties", + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } }, }, }, - kind: { - serializedName: "kind", + queueSettings: { + serializedName: "queueSettings", type: { - name: "String", + name: "Composite", + className: "QueueSettings", }, }, - identity: { - serializedName: "identity", + samplingAlgorithm: { + serializedName: "samplingAlgorithm", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "SamplingAlgorithm", }, }, - sku: { - serializedName: "sku", + searchSpace: { + serializedName: "searchSpace", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + trial: { + serializedName: "trial", type: { name: "Composite", - className: "Sku", + className: "TrialComponent", }, }, }, }, }; -export const OnlineDeployment: coreClient.CompositeMapper = { +export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Kubernetes", type: { name: "Composite", - className: "OnlineDeployment", + className: "KubernetesOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "OnlineDeploymentProperties", - }, - }, - kind: { - serializedName: "kind", - type: { - name: "String", - }, - }, - identity: { - serializedName: "identity", + ...OnlineDeploymentProperties.type.modelProperties, + containerResourceRequirements: { + serializedName: "containerResourceRequirements", type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ContainerResourceRequirements", }, }, - sku: { - serializedName: "sku", + }, + }, +}; + +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: "Composite", - className: "Sku", + name: "Sequence", + element: { + type: { + name: "String", + }, + }, }, }, }, }, }; -export const ServerlessEndpoint: coreClient.CompositeMapper = { +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: "ServerlessEndpoint", + className: "ComputeCreateOrUpdateHeaders", modelProperties: { - ...TrackedResource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ServerlessEndpointProperties", - }, - }, - kind: { - serializedName: "kind", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", - }, - }, }, }, }; -export const Registry: coreClient.CompositeMapper = { +export const ComputeDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Registry", + className: "ComputeDeleteHeaders", modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity", - }, - }, - kind: { - serializedName: "kind", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku", - }, - }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - intellectualPropertyPublisher: { - serializedName: "properties.intellectualPropertyPublisher", - nullable: true, + }, + }, +}; + +export const ComputeResizeHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResizeHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String", }, }, - managedResourceGroup: { - serializedName: "properties.managedResourceGroup", + }, + }, +}; + +export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryCodeContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "ArmResourceId", + name: "TimeSpan", }, }, - mlFlowRegistryUri: { - serializedName: "properties.mlFlowRegistryUri", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - registryPrivateEndpointConnections: { - serializedName: "properties.registryPrivateEndpointConnections", - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RegistryPrivateEndpointConnection", - }, - }, - }, - }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", - nullable: true, - type: { - name: "String", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - regionDetails: { - serializedName: "properties.regionDetails", - nullable: true, + serializedName: "retry-after", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RegistryRegionArmDetails", - }, - }, + name: "Number", }, }, }, }, }; -export const CodeContainerProperties: coreClient.CompositeMapper = { +export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeContainerProperties", + className: "RegistryCodeContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15345,32 +20111,50 @@ export const CodeContainerProperties: coreClient.CompositeMapper = { }, }; -export const ComponentContainerProperties: coreClient.CompositeMapper = { +export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerProperties", + className: "RegistryCodeVersionsDeleteHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + 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 DataContainerProperties: coreClient.CompositeMapper = { +export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerProperties", + className: "RegistryCodeVersionsCreateOrUpdateHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15379,32 +20163,50 @@ export const DataContainerProperties: coreClient.CompositeMapper = { }, }; -export const EnvironmentContainerProperties: coreClient.CompositeMapper = { +export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "RegistryComponentContainersDeleteHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + 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 ModelContainerProperties: coreClient.CompositeMapper = { +export const RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerProperties", + className: "RegistryComponentContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15413,57 +20215,50 @@ export const ModelContainerProperties: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainerProperties: coreClient.CompositeMapper = { +export const RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainerProperties", + className: "RegistryComponentVersionsDeleteHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", type: { name: "String", }, }, - }, - }, -}; - -export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainerProperties", - modelProperties: { - ...AssetContainer.type.modelProperties, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const CodeVersionProperties: coreClient.CompositeMapper = { +export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionProperties", + className: "RegistryComponentVersionsCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - codeUri: { - serializedName: "codeUri", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15472,57 +20267,50 @@ export const CodeVersionProperties: coreClient.CompositeMapper = { }, }; -export const ComponentVersionProperties: coreClient.CompositeMapper = { +export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionProperties", + className: "RegistryDataContainersDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - componentSpec: { - serializedName: "componentSpec", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "TimeSpan", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + location: { + serializedName: "location", type: { name: "String", }, }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const DataVersionBaseProperties: coreClient.CompositeMapper = { - serializedName: "DataVersionBaseProperties", +export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseProperties", - uberParent: "AssetBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType", - }, + className: "RegistryDataContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - dataUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "dataUri", - required: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15531,120 +20319,154 @@ export const DataVersionBaseProperties: coreClient.CompositeMapper = { }, }; -export const EnvironmentVersionProperties: coreClient.CompositeMapper = { +export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionProperties", + className: "RegistryDataVersionsDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - environmentType: { - serializedName: "environmentType", - readOnly: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - image: { - serializedName: "image", + location: { + serializedName: "location", type: { name: "String", }, }, - condaFile: { - serializedName: "condaFile", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, - build: { - serializedName: "build", + }, + }, +}; + +export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryDataVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "BuildContext", + name: "TimeSpan", }, }, - osType: { - serializedName: "osType", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - inferenceConfig: { - serializedName: "inferenceConfig", + }, + }, +}; + +export const RegistryEnvironmentContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryEnvironmentContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "InferenceContainerProperties", + name: "TimeSpan", }, }, - autoRebuild: { - serializedName: "autoRebuild", + location: { + serializedName: "location", type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - stage: { - serializedName: "stage", - nullable: true, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const ModelVersionProperties: coreClient.CompositeMapper = { +export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionProperties", + className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - flavors: { - serializedName: "flavors", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "FlavorData" } }, + name: "TimeSpan", }, }, - modelType: { - serializedName: "modelType", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - modelUri: { - serializedName: "modelUri", - nullable: true, + }, + }, +}; + +export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryEnvironmentVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - jobName: { - serializedName: "jobName", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, - stage: { - serializedName: "stage", - nullable: true, + }, + }, +}; + +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", }, @@ -15653,48 +20475,50 @@ export const ModelVersionProperties: coreClient.CompositeMapper = { }, }; -export const FeaturesetVersionProperties: coreClient.CompositeMapper = { +export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionProperties", + className: "RegistryModelContainersDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - specification: { - serializedName: "specification", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "FeaturesetSpecification", + name: "TimeSpan", }, }, - materializationSettings: { - serializedName: "materializationSettings", + location: { + serializedName: "location", type: { - name: "Composite", - className: "MaterializationSettings", + name: "String", }, }, - stage: { - serializedName: "stage", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, - entities: { - serializedName: "entities", - nullable: true, + }, + }, +}; + +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryModelContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15703,79 +20527,50 @@ export const FeaturesetVersionProperties: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturestoreEntityVersionProperties", + className: "RegistryModelVersionsDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - indexColumns: { - serializedName: "indexColumns", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IndexColumn", - }, - }, + name: "TimeSpan", }, }, - stage: { - serializedName: "stage", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const OneLakeDatastore: coreClient.CompositeMapper = { - serializedName: "OneLake", +export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OneLakeDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryModelVersionsCreateOrUpdateHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - artifact: { - serializedName: "artifact", - type: { - name: "Composite", - className: "OneLakeArtifact", - }, - }, - oneLakeWorkspaceName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "oneLakeWorkspaceName", - required: true, - type: { - name: "String", - }, - }, - endpoint: { - serializedName: "endpoint", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15784,212 +20579,216 @@ export const OneLakeDatastore: coreClient.CompositeMapper = { }, }; -export const AutoMLJob: coreClient.CompositeMapper = { - serializedName: "AutoML", +export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchEndpointsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "JobResourceConfiguration", + name: "TimeSpan", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + location: { + serializedName: "location", type: { name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - taskDetails: { - serializedName: "taskDetails", + }, + }, +}; + +export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "AutoMLVertical", + name: "TimeSpan", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "String", }, }, - queueSettings: { - serializedName: "queueSettings", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "QueueSettings", + name: "Number", }, }, }, }, }; -export const CommandJob: coreClient.CompositeMapper = { - serializedName: "Command", +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CommandJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchEndpointsCreateOrUpdateHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "JobResourceConfiguration", + name: "TimeSpan", }, }, - codeId: { - serializedName: "codeId", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "command", - required: true, + }, + }, +}; + +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1, - }, - serializedName: "environmentId", - required: true, + location: { + serializedName: "location", type: { name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - }, - outputs: { - serializedName: "outputs", - nullable: true, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "Number", }, }, - distribution: { - serializedName: "distribution", + }, + }, +}; + +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "DistributionConfiguration", + name: "TimeSpan", }, }, - limits: { - serializedName: "limits", + location: { + serializedName: "location", type: { - name: "Composite", - className: "CommandJobLimits", + name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "Number", }, }, - parameters: { - serializedName: "parameters", - readOnly: true, - nullable: true, + }, + }, +}; + +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "TimeSpan", }, }, - queueSettings: { - serializedName: "queueSettings", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "QueueSettings", + name: "String", }, }, }, }, }; -export const PipelineJob: coreClient.CompositeMapper = { - serializedName: "Pipeline", +export const CapabilityHostsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "CapabilityHostsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - settings: { - serializedName: "settings", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } }, + name: "TimeSpan", }, }, - jobs: { - serializedName: "jobs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } }, - }, + name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "Number", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + }, + }, +}; + +export const CapabilityHostsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CapabilityHostsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "TimeSpan", }, }, - sourceJobId: { - serializedName: "sourceJobId", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String", }, @@ -15998,314 +20797,433 @@ export const PipelineJob: coreClient.CompositeMapper = { }, }; -export const SparkJob: coreClient.CompositeMapper = { - serializedName: "Spark", +export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SparkJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "CodeVersionsPublishHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - resources: { - serializedName: "resources", + location: { + serializedName: "location", type: { - name: "Composite", - className: "SparkResourceConfiguration", + name: "String", }, }, - args: { - serializedName: "args", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String", }, }, - codeId: { - serializedName: "codeId", - required: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, + }, + }, +}; + +export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String", }, }, - entry: { - serializedName: "entry", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "SparkJobEntry", + name: "Number", }, }, - environmentId: { - serializedName: "environmentId", - nullable: true, + }, + }, +}; + +export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "Number", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + }, + }, +}; + +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "TimeSpan", }, }, - pyFiles: { - serializedName: "pyFiles", - nullable: true, + location: { + serializedName: "location", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - jars: { - serializedName: "jars", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "Number", }, }, - files: { - serializedName: "files", - nullable: true, + }, + }, +}; + +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", }, }, - archives: { - serializedName: "archives", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "String", }, }, - conf: { - serializedName: "conf", - nullable: true, + }, + }, +}; + +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "String" } }, + name: "TimeSpan", }, }, - queueSettings: { - serializedName: "queueSettings", + location: { + serializedName: "location", type: { - name: "Composite", - className: "QueueSettings", + name: "String", }, }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + 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 FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SweepJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "FeaturesetVersionsCreateOrUpdateHeaders", 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", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "SamplingAlgorithm", + name: "String", }, }, - limits: { - serializedName: "limits", + }, + }, +}; + +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersionsBackfillHeaders", + modelProperties: { + location: { + serializedName: "location", type: { - name: "Composite", - className: "SweepJobLimits", + name: "String", }, }, - earlyTermination: { - serializedName: "earlyTermination", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "EarlyTerminationPolicy", + name: "Number", }, }, - objective: { - serializedName: "objective", + }, + }, +}; + +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "Objective", + name: "TimeSpan", }, }, - trial: { - serializedName: "trial", + location: { + serializedName: "location", type: { - name: "Composite", - className: "TrialComponent", + name: "String", }, }, - inputs: { - serializedName: "inputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } }, + name: "Number", }, }, - outputs: { - serializedName: "outputs", - nullable: true, + }, + }, +}; + +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } }, + name: "TimeSpan", }, }, - queueSettings: { - serializedName: "queueSettings", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "QueueSettings", + name: "String", }, }, }, }, }; -export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersionsDeleteHeaders", modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, - containerResourceRequirements: { - serializedName: "containerResourceRequirements", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "ContainerResourceRequirements", + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, }, }; -export const ManagedOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Managed", +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedOnlineDeployment", - uberParent: "OnlineDeploymentProperties", - polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, }, }; -export const MLTableData: coreClient.CompositeMapper = { - serializedName: "mltable", +export const InferencePoolsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableData", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "InferencePoolsDeleteHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - referencedUris: { - serializedName: "referencedUris", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String", - }, - }, + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, }, }; -export const UriFileDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const InferencePoolsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "InferencePoolsUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", + type: { + name: "Number", + }, + }, }, }, }; -export const UriFolderDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const InferencePoolsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "InferencePoolsCreateOrUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, }, }, }; -export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const InferenceEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesCreateOrUpdateHeaders", + className: "InferenceEndpointsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16326,11 +21244,17 @@ export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { +export const InferenceEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesUpdateHeaders", + className: "InferenceEndpointsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16351,36 +21275,38 @@ export const WorkspacesUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { +export const InferenceEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesDiagnoseHeaders", + className: "InferenceEndpointsCreateOrUpdateHeaders", modelProperties: { - location: { - serializedName: "location", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String", + name: "TimeSpan", }, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Number", + name: "String", }, }, }, }, }; -export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { +export const InferenceGroupsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesResyncKeysHeaders", + className: "InferenceGroupsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16401,11 +21327,17 @@ export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { }, }; -export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { +export const InferenceGroupsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesPrepareNotebookHeaders", + className: "InferenceGroupsUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, location: { serializedName: "location", type: { @@ -16426,11 +21358,17 @@ export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { }, }; -export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const InferenceGroupsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeCreateOrUpdateHeaders", + className: "InferenceGroupsCreateOrUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", + }, + }, azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { @@ -16441,99 +21379,35 @@ export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ComputeDeleteHeaders: coreClient.CompositeMapper = { +export const InferenceGroupsModifyDeltaModelsAsyncHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeDeleteHeaders", + className: "InferenceGroupsModifyDeltaModelsAsyncHeaders", modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, location: { serializedName: "location", type: { name: "String", }, }, - }, - }, -}; - -export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkSettingsRuleDeleteHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, }, - 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 JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeContainersDeleteHeaders", + className: "JobsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16561,32 +21435,35 @@ export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryCodeContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const JobsCancelHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobsCancelHeaders", + 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 RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryCodeVersionsDeleteHeaders", + className: "MarketplaceSubscriptionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16614,140 +21491,87 @@ export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryCodeVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +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", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelVersionsPublishHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentContainersCreateOrUpdateHeaders", - 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 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 OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryComponentVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, + 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 OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataContainersDeleteHeaders", + className: "OnlineEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16775,32 +21599,10 @@ export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryDataContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryDataVersionsDeleteHeaders", + className: "OnlineEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -16808,6 +21610,21 @@ export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { name: "TimeSpan", }, }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointsRegenerateKeysHeaders", + modelProperties: { location: { serializedName: "location", type: { @@ -16828,194 +21645,93 @@ export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryDataVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -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", - }, + 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 = - { - 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 OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentsUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, }, - }, - }; - -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", - }, + location: { + serializedName: "location", + 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, }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "RegistryModelContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", }, }, }, - }; + }, +}; -export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistryModelVersionsDeleteHeaders", + className: "SchedulesDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17043,32 +21759,31 @@ 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", - }, +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 BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "ServerlessEndpointsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17096,10 +21811,10 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "ServerlessEndpointsUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17127,31 +21842,56 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "ServerlessEndpointsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", type: { name: "TimeSpan", }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ServerlessEndpointsRegenerateKeysHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", + }, + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10, + }, + serializedName: "retry-after", type: { - name: "String", + name: "Number", }, }, }, }, }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "RegistriesDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17179,10 +21919,10 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "RegistriesRemoveRegionsHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -17210,32 +21950,10 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { +export const WorkspacesDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionsPublishHeaders", + className: "WorkspacesDeleteHeaders", modelProperties: { location: { serializedName: "location", @@ -17244,10 +21962,6 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17257,10 +21971,10 @@ export const CodeVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const WorkspacesCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionsPublishHeaders", + className: "WorkspacesCreateOrUpdateHeaders", modelProperties: { location: { serializedName: "location", @@ -17269,10 +21983,6 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17282,10 +21992,10 @@ export const ComponentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionsPublishHeaders", + className: "WorkspacesDiagnoseHeaders", modelProperties: { location: { serializedName: "location", @@ -17294,10 +22004,6 @@ export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17307,10 +22013,10 @@ export const DataVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { +export const WorkspacesPrepareNotebookHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionsPublishHeaders", + className: "WorkspacesPrepareNotebookHeaders", modelProperties: { location: { serializedName: "location", @@ -17319,10 +22025,6 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17332,17 +22034,11 @@ export const EnvironmentVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { +export const WorkspacesResyncKeysHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetContainersDeleteHeaders", + className: "WorkspacesResyncKeysHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17350,10 +22046,6 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17363,39 +22055,11 @@ export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturesetContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { +export const WorkspaceConnectionsTestConnectionHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsDeleteHeaders", + className: "WorkspaceConnectionsTestConnectionHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17403,10 +22067,6 @@ export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17416,32 +22076,10 @@ 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 ConnectionDeleteDeploymentHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FeaturesetVersionsBackfillHeaders", + className: "ConnectionDeleteDeploymentHeaders", modelProperties: { location: { serializedName: "location", @@ -17450,10 +22088,6 @@ export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17463,125 +22097,32 @@ export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { }, }; -export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, - }, - }, - }, - }; - -export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, - }, - }, - }, - }; - -export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const ConnectionRaiBlocklistDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiBlocklistItemAddBulkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "ConnectionRaiBlocklistItemAddBulkHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17589,10 +22130,6 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17602,10 +22139,10 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiBlocklistItemDeleteBulkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "ConnectionRaiBlocklistItemDeleteBulkHeaders", modelProperties: { location: { serializedName: "location", @@ -17614,10 +22151,6 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17627,64 +22160,31 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { }, }; -export const MarketplaceSubscriptionsDeleteHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "MarketplaceSubscriptionsDeleteHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, +export const ConnectionRaiBlocklistItemDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionRaiBlocklistItemDeleteHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -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", - }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { +export const ConnectionRaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionsPublishHeaders", + className: "ConnectionRaiPolicyDeleteHeaders", modelProperties: { location: { serializedName: "location", @@ -17693,10 +22193,6 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17706,17 +22202,11 @@ export const ModelVersionsPublishHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsDeleteHeaders", + className: "EndpointDeploymentDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17724,10 +22214,6 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17737,17 +22223,11 @@ export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const EndpointDeploymentCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointsUpdateHeaders", + className: "EndpointDeploymentCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17755,10 +22235,6 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17768,65 +22244,32 @@ export const OnlineEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const EndpointCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EndpointCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const OnlineEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineEndpointsRegenerateKeysHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const RaiPolicyDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsDeleteHeaders", + className: "RaiPolicyDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17834,10 +22277,6 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17847,17 +22286,11 @@ export const OnlineDeploymentsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkSettingsRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentsUpdateHeaders", + className: "ManagedNetworkSettingsRuleDeleteHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17865,10 +22298,6 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17878,39 +22307,32 @@ export const OnlineDeploymentsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "OnlineDeploymentsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, +export const ManagedNetworkSettingsRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedNetworkSettingsRuleCreateOrUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, + }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkProvisionsProvisionManagedNetworkHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesDeleteHeaders", + className: "ManagedNetworkProvisionsProvisionManagedNetworkHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17918,10 +22340,6 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -17931,38 +22349,32 @@ export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const OutboundRuleDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SchedulesCreateOrUpdateHeaders", + className: "OutboundRuleDeleteHeaders", 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 OutboundRuleCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsDeleteHeaders", + className: "OutboundRuleCreateOrUpdateHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -17983,17 +22395,11 @@ export const ServerlessEndpointsDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const OutboundRulesPostHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ServerlessEndpointsUpdateHeaders", + className: "OutboundRulesPostHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18001,10 +22407,6 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18014,65 +22416,32 @@ export const ServerlessEndpointsUpdateHeaders: coreClient.CompositeMapper = { }, }; -export const ServerlessEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointsCreateOrUpdateHeaders", - modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, - azureAsyncOperation: { - serializedName: "azure-asyncoperation", - type: { - name: "String", - }, +export const OutboundRulesPostNextHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OutboundRulesPostNextHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String", }, }, - }, - }; - -export const ServerlessEndpointsRegenerateKeysHeaders: coreClient.CompositeMapper = - { - type: { - name: "Composite", - className: "ServerlessEndpointsRegenerateKeysHeaders", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String", - }, - }, - retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, - serializedName: "retry-after", - type: { - name: "Number", - }, + retryAfter: { + serializedName: "retry-after", + type: { + name: "Number", }, }, }, - }; + }, +}; -export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkSettingsPatchHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistriesDeleteHeaders", + className: "ManagedNetworkSettingsPatchHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18093,17 +22462,11 @@ export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { }, }; -export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { +export const ManagedNetworkSettingsPutHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegistriesRemoveRegionsHeaders", + className: "ManagedNetworkSettingsPutHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan", - }, - }, location: { serializedName: "location", type: { @@ -18111,10 +22474,6 @@ export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { }, }, retryAfter: { - constraints: { - InclusiveMaximum: 600, - InclusiveMinimum: 10, - }, serializedName: "retry-after", type: { name: "Number", @@ -18125,32 +22484,35 @@ export const RegistriesRemoveRegionsHeaders: coreClient.CompositeMapper = { }; export let discriminators = { - OutboundRule: OutboundRule, Compute: Compute, ComputeSecrets: ComputeSecrets, - WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, PendingUploadCredentialDto: PendingUploadCredentialDto, DataReferenceCredential: DataReferenceCredential, BatchDeploymentConfiguration: BatchDeploymentConfiguration, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, - TriggerBase: TriggerBase, Webhook: Webhook, - Nodes: Nodes, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, + OutboundRule: OutboundRule, + WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + 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 +22520,12 @@ export let discriminators = { PredictionDriftMetricThresholdBase: PredictionDriftMetricThresholdBase, DistributionConfiguration: DistributionConfiguration, JobLimits: JobLimits, - MonitoringSignalBase: MonitoringSignalBase, MonitorComputeConfigurationBase: MonitorComputeConfigurationBase, + MonitoringSignalBase: MonitoringSignalBase, MonitoringInputDataBase: MonitoringInputDataBase, + DataGenerationVertical: DataGenerationVertical, OneLakeArtifact: OneLakeArtifact, SparkJobEntry: SparkJobEntry, - "OutboundRule.PrivateEndpoint": PrivateEndpointOutboundRule, - "OutboundRule.ServiceTag": ServiceTagOutboundRule, - "OutboundRule.FQDN": FqdnOutboundRule, "Compute.AKS": Aks, "Compute.Kubernetes": Kubernetes, "Compute.AmlCompute": AmlCompute, @@ -18179,30 +22539,6 @@ export let discriminators = { "ComputeSecrets.AKS": AksComputeSecrets, "ComputeSecrets.VirtualMachine": VirtualMachineSecrets, "ComputeSecrets.Databricks": DatabricksComputeSecrets, - "WorkspaceConnectionPropertiesV2.PAT": - PATAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.SAS": - SASAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.UsernamePassword": - UsernamePasswordAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.None": - NoneAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ManagedIdentity": - ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AAD": - AADAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccessKey": - AccessKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.AccountKey": - AccountKeyAuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ApiKey": - ApiKeyAuthWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.CustomKeys": - CustomKeysWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.OAuth2": - OAuth2AuthTypeWorkspaceConnectionProperties, - "WorkspaceConnectionPropertiesV2.ServicePrincipal": - ServicePrincipalAuthTypeWorkspaceConnectionProperties, "ResourceBase.DatastoreProperties": DatastoreProperties, "ResourceBase.JobBaseProperties": JobBaseProperties, "PendingUploadCredentialDto.SAS": SASCredentialDto, @@ -18210,13 +22546,11 @@ export let discriminators = { "DataReferenceCredential.DockerCredentials": DockerCredential, "DataReferenceCredential.ManagedIdentity": ManagedIdentityCredential, "DataReferenceCredential.SAS": SASCredential, - "BatchDeploymentConfiguration.PipelineComponent": - BatchPipelineComponentDeploymentConfiguration, + "BatchDeploymentConfiguration.PipelineComponent": BatchPipelineComponentDeploymentConfiguration, "AssetReferenceBase.Id": IdAssetReference, "AssetReferenceBase.DataPath": DataPathAssetReference, "AssetReferenceBase.OutputPath": OutputPathAssetReference, - "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": - OnlineDeploymentProperties, + "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": OnlineDeploymentProperties, "DatastoreCredentials.AccountKey": AccountKeyDatastoreCredentials, "DatastoreCredentials.Certificate": CertificateDatastoreCredentials, "DatastoreCredentials.None": NoneDatastoreCredentials, @@ -18226,18 +22560,47 @@ 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,39 +22643,35 @@ 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, "SamplingAlgorithm.Bayesian": BayesianSamplingAlgorithm, "SamplingAlgorithm.Grid": GridSamplingAlgorithm, "SamplingAlgorithm.Random": RandomSamplingAlgorithm, - "DataDriftMetricThresholdBase.Categorical": - CategoricalDataDriftMetricThreshold, + "DataDriftMetricThresholdBase.Categorical": CategoricalDataDriftMetricThreshold, "DataDriftMetricThresholdBase.Numerical": NumericalDataDriftMetricThreshold, - "DataQualityMetricThresholdBase.Categorical": - CategoricalDataQualityMetricThreshold, - "DataQualityMetricThresholdBase.Numerical": - NumericalDataQualityMetricThreshold, - "PredictionDriftMetricThresholdBase.Categorical": - CategoricalPredictionDriftMetricThreshold, - "PredictionDriftMetricThresholdBase.Numerical": - NumericalPredictionDriftMetricThreshold, + "DataQualityMetricThresholdBase.Categorical": CategoricalDataQualityMetricThreshold, + "DataQualityMetricThresholdBase.Numerical": NumericalDataQualityMetricThreshold, + "PredictionDriftMetricThresholdBase.Categorical": CategoricalPredictionDriftMetricThreshold, + "PredictionDriftMetricThresholdBase.Numerical": NumericalPredictionDriftMetricThreshold, "DistributionConfiguration.Mpi": Mpi, "DistributionConfiguration.PyTorch": PyTorch, "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, + "MonitorComputeConfigurationBase.ServerlessSpark": MonitorServerlessSparkCompute, "MonitoringSignalBase.Custom": CustomMonitoringSignal, "MonitoringSignalBase.DataDrift": DataDriftMonitoringSignal, "MonitoringSignalBase.DataQuality": DataQualityMonitoringSignal, - "MonitoringSignalBase.FeatureAttributionDrift": - FeatureAttributionDriftMonitoringSignal, + "MonitoringSignalBase.FeatureAttributionDrift": FeatureAttributionDriftMonitoringSignal, "MonitoringSignalBase.PredictionDrift": PredictionDriftMonitoringSignal, - "MonitorComputeConfigurationBase.ServerlessSpark": - MonitorServerlessSparkCompute, "MonitoringInputDataBase.Fixed": FixedInputData, "MonitoringInputDataBase.Rolling": RollingInputData, "MonitoringInputDataBase.Static": StaticInputData, + "DataGenerationVertical.LabelGeneration": LabelGeneration, "OneLakeArtifact.LakeHouse": LakeHouseArtifact, "SparkJobEntry.SparkJobPythonEntry": SparkJobPythonEntry, "SparkJobEntry.SparkJobScalaEntry": SparkJobScalaEntry, @@ -18320,6 +22679,8 @@ export let discriminators = { "DatastoreProperties.OneLake": OneLakeDatastore, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, + "JobBaseProperties.Distillation": DistillationJob, + "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 66fdccd327f1..eeba17649bcd 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,49 @@ 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, + ManagedNetworkSettingsBasicResource as ManagedNetworkSettingsBasicResourceMapper, + ManagedNetworkSettingsPropertiesBasicResource as ManagedNetworkSettingsPropertiesBasicResourceMapper, } from "../models/mappers.js"; export const accept: OperationParameter = { @@ -86,7 +105,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-04-01", + defaultValue: "2025-06-01", isConstant: true, serializedName: "api-version", type: { @@ -109,14 +128,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 +142,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 +168,54 @@ 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,68 +245,57 @@ export const underlyingResourceAction: OperationQueryParameter = { }, }; -export const privateEndpointConnectionName: OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", +export const customServices: OperationParameter = { + parameterPath: "customServices", mapper: { - serializedName: "privateEndpointConnectionName", + serializedName: "customServices", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService", + }, + }, }, }, }; -export const properties: OperationParameter = { - parameterPath: "properties", - mapper: PrivateEndpointConnectionMapper, -}; - -export const parameters6: OperationParameter = { - parameterPath: "parameters", - mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper, -}; - -export const connectionName: OperationURLParameter = { - parameterPath: "connectionName", +export const dataMounts: OperationParameter = { + parameterPath: "dataMounts", mapper: { - constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), - }, - serializedName: "connectionName", + serializedName: "dataMounts", required: true, type: { - name: "String", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount", + }, + }, }, }, }; -export const target: OperationQueryParameter = { - parameterPath: ["options", "target"], - mapper: { - serializedName: "target", - type: { - name: "String", - }, - }, +export const parameters3: OperationParameter = { + parameterPath: "parameters", + mapper: IdleShutdownSettingMapper, }; -export const category: OperationQueryParameter = { - parameterPath: ["options", "category"], - mapper: { - serializedName: "category", - type: { - name: "String", - }, - }, +export const parameters4: OperationParameter = { + parameterPath: "parameters", + mapper: ResizeSchemaMapper, }; -export const ruleName: OperationURLParameter = { - parameterPath: "ruleName", +export const location1: OperationURLParameter = { + parameterPath: "location", mapper: { constraints: { - Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + MinLength: 1, }, - serializedName: "ruleName", + serializedName: "location", required: true, type: { name: "String", @@ -318,16 +303,6 @@ export const ruleName: OperationURLParameter = { }, }; -export const body: OperationParameter = { - parameterPath: "body", - mapper: OutboundRuleBasicResourceMapper, -}; - -export const body1: OperationParameter = { - parameterPath: ["options", "body"], - mapper: ManagedNetworkProvisionOptionsMapper, -}; - export const registryName: OperationURLParameter = { parameterPath: "registryName", mapper: { @@ -356,7 +331,7 @@ export const codeName: OperationURLParameter = { }, }; -export const body2: OperationParameter = { +export const body: OperationParameter = { parameterPath: "body", mapper: CodeContainerMapper, }; @@ -392,12 +367,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 +391,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 +422,7 @@ export const name: OperationURLParameter = { }, }; -export const body7: OperationParameter = { +export const body5: OperationParameter = { parameterPath: "body", mapper: DataContainerMapper, }; @@ -476,12 +451,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 +475,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 +499,7 @@ export const modelName: OperationURLParameter = { }, }; -export const body12: OperationParameter = { +export const body10: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper, }; @@ -559,7 +534,7 @@ export const tags1: OperationQueryParameter = { }, }; -export const properties1: OperationQueryParameter = { +export const properties: OperationQueryParameter = { parameterPath: ["options", "properties"], mapper: { serializedName: "properties", @@ -569,7 +544,7 @@ export const properties1: OperationQueryParameter = { }, }; -export const body13: OperationParameter = { +export const body11: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper, }; @@ -595,7 +570,7 @@ export const endpointName: OperationURLParameter = { }, }; -export const body14: OperationParameter = { +export const body12: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithIdentityMapper, }; @@ -614,7 +589,7 @@ export const endpointName1: OperationURLParameter = { }, }; -export const body15: OperationParameter = { +export const body13: OperationParameter = { parameterPath: "body", mapper: BatchEndpointMapper, }; @@ -630,10 +605,9 @@ export const deploymentName: OperationURLParameter = { }, }; -export const body16: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", - mapper: - PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, + mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, }; export const deploymentName1: OperationURLParameter = { @@ -650,11 +624,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 +654,7 @@ export const hashVersion: OperationQueryParameter = { }, }; -export const body18: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: DestinationAssetMapper, }; @@ -748,7 +727,7 @@ export const orderByAsc: OperationQueryParameter = { }, }; -export const body19: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper, }; @@ -764,6 +743,11 @@ export const skipValidation: OperationQueryParameter = { }, }; +export const body19: OperationParameter = { + parameterPath: ["options", "body"], + mapper: SecretExpiryMapper, +}; + export const pageSize: OperationQueryParameter = { parameterPath: ["options", "pageSize"], mapper: { @@ -900,30 +884,23 @@ 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", - type: { - name: "String", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), }, - }, -}; - -export const id: OperationURLParameter = { - parameterPath: "id", - mapper: { - serializedName: "id", + serializedName: "inferencePoolName", required: true, type: { name: "String", @@ -933,16 +910,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 +932,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"], - mapper: { - serializedName: "feed", - type: { - name: "String", - }, - }, +export const body28: OperationParameter = { + parameterPath: "body", + mapper: InferenceEndpointMapper, }; -export const computeType: OperationQueryParameter = { - parameterPath: ["options", "computeType"], +export const groupName: OperationURLParameter = { + parameterPath: "groupName", mapper: { - serializedName: "computeType", + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$"), + }, + serializedName: "groupName", + required: true, type: { name: "String", }, }, }; -export const orderBy2: OperationQueryParameter = { - parameterPath: ["options", "orderBy"], +export const body29: OperationParameter = { + parameterPath: "body", + mapper: PartialMinimalTrackedResourceWithSkuMapper, +}; + +export const poolName1: OperationURLParameter = { + parameterPath: "poolName", mapper: { - serializedName: "orderBy", + serializedName: "poolName", + required: true, type: { name: "String", }, }, }; -export const body27: OperationParameter = { +export const groupName1: OperationURLParameter = { + parameterPath: "groupName", + mapper: { + serializedName: "groupName", + required: true, + type: { + name: "String", + }, + }, +}; + +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 +1124,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 +1148,374 @@ 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, +}; + +export const managedNetworkName: OperationURLParameter = { + parameterPath: "managedNetworkName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$"), + }, + serializedName: "managedNetworkName", + required: true, + type: { + name: "String", + }, + }, +}; + +export const body60: OperationParameter = { + parameterPath: "body", + mapper: ManagedNetworkSettingsBasicResourceMapper, +}; + +export const body61: OperationParameter = { + parameterPath: ["options", "body"], + mapper: ManagedNetworkSettingsPropertiesBasicResourceMapper, +}; + +export const body62: OperationParameter = { + parameterPath: "body", + mapper: ManagedNetworkSettingsPropertiesBasicResourceMapper, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index e137ae846db9..2d2cfa55c6bf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { BatchDeployment, @@ -61,12 +57,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { endpointName: string, options?: BatchDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, endpointName, options); return { next() { return iter.next(); @@ -99,12 +90,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { let result: BatchDeploymentsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + result = await this._list(resourceGroupName, workspaceName, endpointName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +171,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -302,10 +287,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchDeploymentsUpdateResponse - > + SimplePollerLike, BatchDeploymentsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -317,8 +299,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -428,8 +409,7 @@ export class BatchDeploymentsImpl implements BatchDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -543,12 +523,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -626,7 +601,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body16, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -660,7 +635,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body17, + requestBody: Parameters.body15, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -688,9 +663,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts index 59db6da68c48..809a24b4806f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { BatchEndpoint, @@ -73,12 +69,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -99,12 +90,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -117,11 +103,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { workspaceName: string, options?: BatchEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -166,8 +148,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -221,12 +202,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { endpointName: string, options?: BatchEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, endpointName, options); return poller.pollUntilDone(); } @@ -264,10 +240,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchEndpointsUpdateResponse - > + SimplePollerLike, BatchEndpointsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -279,8 +252,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -378,8 +350,7 @@ export class BatchEndpointsImpl implements BatchEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -575,7 +546,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -608,7 +579,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body15, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -657,9 +628,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts b/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts new file mode 100644 index 000000000000..da6a6b58e0b7 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/capabilityHosts.ts @@ -0,0 +1,330 @@ +/* + * 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/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + CapabilityHostsDeleteOptionalParams, + CapabilityHostsDeleteResponse, + CapabilityHostsGetOptionalParams, + CapabilityHostsGetResponse, + CapabilityHost, + CapabilityHostsCreateOrUpdateOptionalParams, + CapabilityHostsCreateOrUpdateResponse, +} from "../models/index.js"; + +/** Class containing CapabilityHosts operations. */ +export class CapabilityHostsImpl implements CapabilityHosts { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class CapabilityHosts class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + 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, 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 a28954bbcd2e..d08eb3a6cac0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -62,12 +62,7 @@ export class CodeContainersImpl implements CodeContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class CodeContainersImpl implements CodeContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class CodeContainersImpl implements CodeContainers { workspaceName: string, options?: CodeContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -291,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -318,9 +304,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts index 1671740d118d..6c63bba84741 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeVersion, @@ -63,12 +59,7 @@ export class CodeVersionsImpl implements CodeVersions { name: string, options?: CodeVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -80,13 +71,7 @@ export class CodeVersionsImpl implements CodeVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -101,12 +86,7 @@ export class CodeVersionsImpl implements CodeVersions { let result: CodeVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -133,12 +113,7 @@ export class CodeVersionsImpl implements CodeVersions { name: string, options?: CodeVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -254,8 +229,7 @@ export class CodeVersionsImpl implements CodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -459,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,7 +459,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -510,7 +484,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -538,9 +512,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts index 771625343c27..d7a85743fa83 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -62,12 +62,7 @@ export class ComponentContainersImpl implements ComponentContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class ComponentContainersImpl implements ComponentContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class ComponentContainersImpl implements ComponentContainers { workspaceName: string, options?: ComponentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts index 919aaa9c3b14..188b34bf6cd1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentVersion, @@ -60,12 +56,7 @@ export class ComponentVersionsImpl implements ComponentVersions { name: string, options?: ComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class ComponentVersionsImpl implements ComponentVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class ComponentVersionsImpl implements ComponentVersions { let result: ComponentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class ComponentVersionsImpl implements ComponentVersions { name: string, options?: ComponentVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class ComponentVersionsImpl implements ComponentVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -432,7 +406,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +432,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +460,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index 9245636e39e4..3424e2f5f22b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComputeResource, @@ -37,11 +33,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/index.js"; @@ -82,12 +89,7 @@ export class ComputeOperationsImpl implements ComputeOperations { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -108,12 +110,7 @@ export class ComputeOperationsImpl implements ComputeOperations { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -126,11 +123,7 @@ export class ComputeOperationsImpl implements ComputeOperations { workspaceName: string, options?: ComputeListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -148,12 +141,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeListNodesOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listNodesPagingAll( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const iter = this.listNodesPagingAll(resourceGroupName, workspaceName, computeName, options); return { next() { return iter.next(); @@ -186,12 +174,7 @@ export class ComputeOperationsImpl implements ComputeOperations { let result: ComputeListNodesResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._listNodes( - resourceGroupName, - workspaceName, - computeName, - options, - ); + result = await this._listNodes(resourceGroupName, workspaceName, computeName, options); let page = result.nodes || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -282,10 +265,7 @@ export class ComputeOperationsImpl implements ComputeOperations { parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - ComputeCreateOrUpdateResponse - > + SimplePollerLike, ComputeCreateOrUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -297,8 +277,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -389,12 +368,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ComputeUpdateResponse - > - > { + ): Promise, ComputeUpdateResponse>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, @@ -405,8 +379,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -507,8 +480,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -580,6 +552,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 +617,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. @@ -641,8 +661,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -695,12 +714,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeStartOptionalParams, ): Promise { - const poller = await this.beginStart( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const poller = await this.beginStart(resourceGroupName, workspaceName, computeName, options); return poller.pollUntilDone(); } @@ -727,8 +741,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -781,12 +794,7 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeStopOptionalParams, ): Promise { - const poller = await this.beginStop( - resourceGroupName, - workspaceName, - computeName, - options, - ); + const poller = await this.beginStop(resourceGroupName, workspaceName, computeName, options); return poller.pollUntilDone(); } @@ -813,8 +821,7 @@ export class ComputeOperationsImpl implements ComputeOperations { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -867,10 +874,144 @@ export class ComputeOperationsImpl implements ComputeOperations { computeName: string, options?: ComputeRestartOptionalParams, ): Promise { - const poller = await this.beginRestart( + const poller = await this.beginRestart(resourceGroupName, workspaceName, computeName, options); + 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, 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(); @@ -982,7 +1123,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters4, + requestBody: Parameters.parameters1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1015,7 +1156,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters5, + requestBody: Parameters.parameters2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1051,6 +1192,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 +1258,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 +1349,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 +1440,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, @@ -1199,9 +1461,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..75c2dce27de7 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connection.ts @@ -0,0 +1,768 @@ +/* + * 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.js"; +import { Connection } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + ConnectionListDeploymentsNextOptionalParams, + ConnectionListDeploymentsOptionalParams, + ConnectionListDeploymentsResponse, + EndpointModelProperties, + ConnectionGetModelsNextOptionalParams, + ConnectionGetModelsOptionalParams, + ConnectionGetModelsResponse, + ConnectionDeleteDeploymentOptionalParams, + ConnectionDeleteDeploymentResponse, + ConnectionGetDeploymentOptionalParams, + ConnectionGetDeploymentResponse, + ConnectionCreateOrUpdateDeploymentOptionalParams, + ConnectionCreateOrUpdateDeploymentResponse, + ConnectionGetAllModelsOptionalParams, + ConnectionGetAllModelsResponse, + ConnectionListDeploymentsNextResponse, + ConnectionGetModelsNextResponse, +} from "../models/index.js"; + +/// +/** Class containing Connection operations. */ +export class ConnectionImpl implements Connection { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class Connection class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Get all the deployments under the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public listDeployments( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listDeploymentsPagingAll( + resourceGroupName, + workspaceName, + connectionName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listDeploymentsPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listDeploymentsPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionListDeploymentsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + 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..85f9ba4f0bb4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklist.ts @@ -0,0 +1,372 @@ +/* + * 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/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + ConnectionRaiBlocklistDeleteOptionalParams, + ConnectionRaiBlocklistDeleteResponse, + ConnectionRaiBlocklistGetOptionalParams, + ConnectionRaiBlocklistGetResponse, + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistCreateOptionalParams, + ConnectionRaiBlocklistCreateResponse, +} from "../models/index.js"; + +/** Class containing ConnectionRaiBlocklist operations. */ +export class ConnectionRaiBlocklistImpl implements ConnectionRaiBlocklist { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklist class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified custom blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistPropertiesBasicResource, + options?: ConnectionRaiBlocklistCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiBlocklistDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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..ed8d584c9ecf --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItem.ts @@ -0,0 +1,727 @@ +/* + * 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/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + RaiBlocklistItemBulkRequest, + ConnectionRaiBlocklistItemAddBulkOptionalParams, + ConnectionRaiBlocklistItemAddBulkResponse, + ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ConnectionRaiBlocklistItemDeleteBulkResponse, + ConnectionRaiBlocklistItemDeleteOptionalParams, + ConnectionRaiBlocklistItemDeleteResponse, + ConnectionRaiBlocklistItemGetOptionalParams, + ConnectionRaiBlocklistItemGetResponse, + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemCreateOptionalParams, + ConnectionRaiBlocklistItemCreateResponse, +} from "../models/index.js"; + +/** Class containing ConnectionRaiBlocklistItem operations. */ +export class ConnectionRaiBlocklistItemImpl implements ConnectionRaiBlocklistItem { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItem class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiBlocklistItemAddBulkResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + }, + spec: addBulkOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiBlocklistItemAddBulkResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Add multiple blocklist items to the specified blocklist associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body Properties describing the custom blocklist items. + * @param options The options parameters. + */ + async beginAddBulkAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: RaiBlocklistItemBulkRequest[], + options?: ConnectionRaiBlocklistItemAddBulkOptionalParams, + ): Promise { + const poller = await this.beginAddBulk( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Delete multiple blocklist items from the specified blocklist associated with the Azure OpenAI + * connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param body List of RAI Blocklist Items Names. + * @param options The options parameters. + */ + async beginDeleteBulk( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + body: Record, + options?: ConnectionRaiBlocklistItemDeleteBulkOptionalParams, + ): Promise< + 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..3bc2b804c893 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklistItems.ts @@ -0,0 +1,244 @@ +/* + * 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.js"; +import { ConnectionRaiBlocklistItems } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { + RaiBlocklistItemPropertiesBasicResource, + ConnectionRaiBlocklistItemsListNextOptionalParams, + ConnectionRaiBlocklistItemsListOptionalParams, + ConnectionRaiBlocklistItemsListResponse, + ConnectionRaiBlocklistItemsListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing ConnectionRaiBlocklistItems operations. */ +export class ConnectionRaiBlocklistItemsImpl implements ConnectionRaiBlocklistItems { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklistItems class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistItemsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklist items associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + options?: ConnectionRaiBlocklistItemsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + options, + }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiBlocklistName The name of the RaiBlocklist. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiBlocklistName: string, + nextLink: string, + options?: ConnectionRaiBlocklistItemsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiBlocklistName, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistItemPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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..d3a7c30ed8f0 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiBlocklists.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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper.js"; +import { ConnectionRaiBlocklists } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { + RaiBlocklistPropertiesBasicResource, + ConnectionRaiBlocklistsListNextOptionalParams, + ConnectionRaiBlocklistsListOptionalParams, + ConnectionRaiBlocklistsListResponse, + ConnectionRaiBlocklistsListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing ConnectionRaiBlocklists operations. */ +export class ConnectionRaiBlocklistsImpl implements ConnectionRaiBlocklists { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiBlocklists class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, connectionName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiBlocklistsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, connectionName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * Gets the custom blocklists associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiBlocklistsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiBlocklistsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiBlocklists", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiBlocklistPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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..944c3f7d41bc --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicies.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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper.js"; +import { ConnectionRaiPolicies } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { + RaiPolicyPropertiesBasicResource, + ConnectionRaiPoliciesListNextOptionalParams, + ConnectionRaiPoliciesListOptionalParams, + ConnectionRaiPoliciesListResponse, + ConnectionRaiPoliciesListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing ConnectionRaiPolicies operations. */ +export class ConnectionRaiPoliciesImpl implements ConnectionRaiPolicies { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, connectionName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ConnectionRaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, connectionName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + connectionName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + connectionName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + options?: ConnectionRaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + nextLink: string, + options?: ConnectionRaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, connectionName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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..47cc805743a0 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/connectionRaiPolicy.ts @@ -0,0 +1,372 @@ +/* + * 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/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + ConnectionRaiPolicyDeleteOptionalParams, + ConnectionRaiPolicyDeleteResponse, + ConnectionRaiPolicyGetOptionalParams, + ConnectionRaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + ConnectionRaiPolicyCreateOptionalParams, + ConnectionRaiPolicyCreateResponse, +} from "../models/index.js"; + +/** Class containing ConnectionRaiPolicy operations. */ +export class ConnectionRaiPolicyImpl implements ConnectionRaiPolicy { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ConnectionRaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyDeleteResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * Gets the specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + options?: ConnectionRaiPolicyGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + options, + }, + getOperationSpec, + ); + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreate( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ConnectionRaiPolicyCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperationFn = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec, + ) => { + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown, + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback, + }, + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON(), + }, + }; + }; + + const lro = createLroSpec({ + sendOperationFn, + args: { + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + }, + spec: createOperationSpec, + }); + const poller = await createHttpPoller< + ConnectionRaiPolicyCreateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * Update the state of specified Content Filters associated with the Azure OpenAI connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param connectionName Friendly name of the workspace connection + * @param raiPolicyName Name of the Rai Policy. + * @param body Azure OpenAI Content Filters resource. + * @param options The options parameters. + */ + async beginCreateAndWait( + resourceGroupName: string, + workspaceName: string, + connectionName: string, + raiPolicyName: string, + body: RaiPolicyPropertiesBasicResource, + options?: ConnectionRaiPolicyCreateOptionalParams, + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + workspaceName, + connectionName, + raiPolicyName, + body, + options, + ); + return poller.pollUntilDone(); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/raiPolicies/{raiPolicyName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 201: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 202: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + 204: { + headersMapper: Mappers.ConnectionRaiPolicyDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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 1cfeb8bc69df..1c0f0236bade 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -62,12 +62,7 @@ export class DataContainersImpl implements DataContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class DataContainersImpl implements DataContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class DataContainersImpl implements DataContainers { workspaceName: string, options?: DataContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts index 37f277a7bc76..fdaec26e67a2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataVersionBase, @@ -60,12 +56,7 @@ export class DataVersionsImpl implements DataVersions { name: string, options?: DataVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class DataVersionsImpl implements DataVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class DataVersionsImpl implements DataVersions { let result: DataVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class DataVersionsImpl implements DataVersions { name: string, options?: DataVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class DataVersionsImpl implements DataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -433,7 +407,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -459,7 +433,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -487,9 +461,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts index be4840c1e409..774bb10b926d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -64,12 +64,7 @@ export class DatastoresImpl implements Datastores { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -90,12 +85,7 @@ export class DatastoresImpl implements Datastores { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -108,11 +98,7 @@ export class DatastoresImpl implements Datastores { workspaceName: string, options?: DatastoresListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -321,7 +307,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body19, + requestBody: Parameters.body18, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -345,6 +331,7 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -353,7 +340,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 +358,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..05daff0c4aac --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointDeployment.ts @@ -0,0 +1,699 @@ +/* + * 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.js"; +import { EndpointDeployment } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + EndpointDeploymentResourcePropertiesBasicResource, + EndpointDeploymentGetInWorkspaceNextOptionalParams, + EndpointDeploymentGetInWorkspaceOptionalParams, + EndpointDeploymentGetInWorkspaceResponse, + EndpointDeploymentListNextOptionalParams, + EndpointDeploymentListOptionalParams, + EndpointDeploymentListResponse, + EndpointDeploymentDeleteOptionalParams, + EndpointDeploymentDeleteResponse, + EndpointDeploymentGetOptionalParams, + EndpointDeploymentGetResponse, + EndpointDeploymentCreateOrUpdateOptionalParams, + EndpointDeploymentCreateOrUpdateResponse, + EndpointDeploymentGetInWorkspaceNextResponse, + EndpointDeploymentListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing EndpointDeployment operations. */ +export class EndpointDeploymentImpl implements EndpointDeployment { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class EndpointDeployment class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Get all the deployments under the workspace scope + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public listInWorkspace( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getInWorkspacePagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getInWorkspacePagingPage(resourceGroupName, workspaceName, options, settings); + }, + }; + } + + private async *getInWorkspacePagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointDeploymentGetInWorkspaceOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + 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 { + 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..b2bfa6e5b13e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/endpointOperations.ts @@ -0,0 +1,626 @@ +/* + * 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.js"; +import { EndpointOperations } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + EndpointResourcePropertiesBasicResource, + EndpointListNextOptionalParams, + EndpointListOptionalParams, + EndpointListResponse, + EndpointModelProperties, + EndpointGetModelsNextOptionalParams, + EndpointGetModelsOptionalParams, + EndpointGetModelsResponse, + EndpointGetOptionalParams, + EndpointGetResponse, + EndpointCreateOrUpdateOptionalParams, + EndpointCreateOrUpdateResponse, + EndpointListKeysOptionalParams, + EndpointListKeysResponse, + RegenerateServiceAccountKeyContent, + EndpointRegenerateKeysOptionalParams, + EndpointRegenerateKeysResponse, + EndpointListNextResponse, + EndpointGetModelsNextResponse, +} from "../models/index.js"; + +/// +/** Class containing EndpointOperations operations. */ +export class EndpointOperationsImpl implements EndpointOperations { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class EndpointOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { + yield* page; + } + } + + /** + * Get available models under the endpoint resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public listModels( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.getModelsPagingAll(resourceGroupName, workspaceName, endpointName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *getModelsPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: EndpointGetModelsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._getModels(resourceGroupName, workspaceName, endpointName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._getModelsNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *getModelsPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetModelsOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.getModelsPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List All the endpoints under this workspace + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: EndpointListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * Gets endpoint resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: EndpointGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + getOperationSpec, + ); + } + + /** + * Create or update endpoint resource with the specified parameters + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param body Endpoint resource object + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + body: EndpointResourcePropertiesBasicResource, + options?: EndpointCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike, 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 05c88924f9d5..9651fabb76fd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -62,12 +62,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class EnvironmentContainersImpl implements EnvironmentContainers { workspaceName: string, options?: EnvironmentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -224,11 +210,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -295,7 +277,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -322,9 +304,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts index 30773e251fba..10053dfdd266 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentVersion, @@ -60,12 +56,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { name: string, options?: EnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { let result: EnvironmentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { name: string, options?: EnvironmentVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class EnvironmentVersionsImpl implements EnvironmentVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -432,7 +406,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -458,7 +432,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -486,9 +460,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts index e3ae733e6b0e..05fe6f2dc4cf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/features.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/features.ts @@ -297,9 +297,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.featuresetName, Parameters.featuresetVersion, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts index e2c4938bad1f..0a5958ebb206 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturesetContainer, @@ -68,12 +64,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { workspaceName: string, options?: FeaturesetContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { name: string, options?: FeaturesetContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class FeaturesetContainersImpl implements FeaturesetContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -488,9 +463,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts index 4180d84ffe59..b2030d31f105 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturesetVersion, @@ -61,12 +57,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { name: string, options?: FeaturesetVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -99,12 +84,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { let result: FeaturesetVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -131,12 +111,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { name: string, options?: FeaturesetVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -185,8 +160,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -242,13 +216,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { version: string, options?: FeaturesetVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, version, options); return poller.pollUntilDone(); } @@ -305,8 +273,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -410,8 +377,7 @@ export class FeaturesetVersionsImpl implements FeaturesetVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -669,9 +635,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts index 2ed3abe56e13..3233808a97a0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturestoreEntityContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing FeaturestoreEntityContainers operations. */ -export class FeaturestoreEntityContainersImpl - implements FeaturestoreEntityContainers -{ +export class FeaturestoreEntityContainersImpl implements FeaturestoreEntityContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class FeaturestoreEntityContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class FeaturestoreEntityContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class FeaturestoreEntityContainersImpl workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class FeaturestoreEntityContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -218,12 +197,7 @@ export class FeaturestoreEntityContainersImpl name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -276,8 +250,7 @@ export class FeaturestoreEntityContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -490,9 +463,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts index 8aa5d022de48..a2c04c8e031f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { FeaturestoreEntityVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing FeaturestoreEntityVersions operations. */ -export class FeaturestoreEntityVersionsImpl - implements FeaturestoreEntityVersions -{ +export class FeaturestoreEntityVersionsImpl implements FeaturestoreEntityVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class FeaturestoreEntityVersionsImpl name: string, options?: FeaturestoreEntityVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +66,7 @@ export class FeaturestoreEntityVersionsImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +81,7 @@ export class FeaturestoreEntityVersionsImpl let result: FeaturestoreEntityVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +108,7 @@ export class FeaturestoreEntityVersionsImpl name: string, options?: FeaturestoreEntityVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -184,8 +157,7 @@ export class FeaturestoreEntityVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -241,13 +213,7 @@ export class FeaturestoreEntityVersionsImpl version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, version, options); return poller.pollUntilDone(); } @@ -304,8 +270,7 @@ export class FeaturestoreEntityVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -529,9 +494,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index ed0ef53e68b3..014c667d90e2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -6,17 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations.js"; -export * from "./workspaces.js"; export * from "./usages.js"; export * from "./virtualMachineSizes.js"; export * from "./quotas.js"; export * from "./computeOperations.js"; -export * from "./privateEndpointConnections.js"; -export * from "./privateLinkResources.js"; -export * from "./workspaceConnections.js"; -export * from "./managedNetworkSettingsRule.js"; -export * from "./managedNetworkProvisions.js"; +export * from "./pTUQuota.js"; export * from "./registryCodeContainers.js"; export * from "./registryCodeVersions.js"; export * from "./registryComponentContainers.js"; @@ -30,6 +24,7 @@ export * from "./registryModelContainers.js"; export * from "./registryModelVersions.js"; export * from "./batchEndpoints.js"; export * from "./batchDeployments.js"; +export * from "./capabilityHosts.js"; export * from "./codeContainers.js"; export * from "./codeVersions.js"; export * from "./componentContainers.js"; @@ -44,6 +39,9 @@ export * from "./features.js"; export * from "./featuresetVersions.js"; export * from "./featurestoreEntityContainers.js"; export * from "./featurestoreEntityVersions.js"; +export * from "./inferencePools.js"; +export * from "./inferenceEndpoints.js"; +export * from "./inferenceGroups.js"; export * from "./jobs.js"; export * from "./marketplaceSubscriptions.js"; export * from "./modelContainers.js"; @@ -54,3 +52,24 @@ export * from "./schedules.js"; export * from "./serverlessEndpoints.js"; export * from "./registries.js"; export * from "./workspaceFeatures.js"; +export * from "./operations.js"; +export * from "./workspaces.js"; +export * from "./workspaceConnections.js"; +export * from "./connection.js"; +export * from "./connectionRaiBlocklists.js"; +export * from "./connectionRaiBlocklist.js"; +export * from "./connectionRaiBlocklistItem.js"; +export * from "./connectionRaiBlocklistItems.js"; +export * from "./connectionRaiPolicies.js"; +export * from "./connectionRaiPolicy.js"; +export * from "./endpointDeployment.js"; +export * from "./endpointOperations.js"; +export * from "./raiPolicies.js"; +export * from "./raiPolicy.js"; +export * from "./managedNetworkSettingsRule.js"; +export * from "./privateEndpointConnections.js"; +export * from "./privateLinkResources.js"; +export * from "./managedNetworkProvisions.js"; +export * from "./outboundRuleOperations.js"; +export * from "./outboundRules.js"; +export * from "./managedNetworkSettingsOperations.js"; 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..7575d506aa81 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceEndpoints.ts @@ -0,0 +1,670 @@ +/* + * 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.js"; +import { InferenceEndpoints } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + InferenceEndpoint, + InferenceEndpointsListNextOptionalParams, + InferenceEndpointsListOptionalParams, + InferenceEndpointsListResponse, + InferenceEndpointsDeleteOptionalParams, + InferenceEndpointsGetOptionalParams, + InferenceEndpointsGetResponse, + InferenceEndpointsUpdateOptionalParams, + InferenceEndpointsUpdateResponse, + InferenceEndpointsCreateOrUpdateOptionalParams, + InferenceEndpointsCreateOrUpdateResponse, + InferenceEndpointsListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing InferenceEndpoints operations. */ +export class InferenceEndpointsImpl implements InferenceEndpoints { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class InferenceEndpoints class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + 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..c9f1335122d3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferenceGroups.ts @@ -0,0 +1,1326 @@ +/* + * 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.js"; +import { InferenceGroups } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +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, + InferenceGroupsModifyDeltaModelsAsyncResponse, + InferenceGroupsGetStatusOptionalParams, + InferenceGroupsGetStatusResponse, + InferenceGroupsListNextResponse, + InferenceGroupsListDeltaModelsAsyncNextResponse, + InferenceGroupsListSkusNextResponse, +} from "../models/index.js"; + +/// +/** Class containing InferenceGroups operations. */ +export class InferenceGroupsImpl implements InferenceGroups { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class InferenceGroups class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + 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, 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. + */ + async beginModifyDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelModifyRequest, + options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsModifyDeltaModelsAsyncResponse + > + > { + 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: modifyDeltaModelsAsyncOperationSpec, + }); + const poller = await createHttpPoller< + InferenceGroupsModifyDeltaModelsAsyncResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * 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. + */ + async beginModifyDeltaModelsAsyncAndWait( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelModifyRequest, + options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + ): Promise { + const poller = await this.beginModifyDeltaModelsAsync( + resourceGroupName, + workspaceName, + poolName, + groupName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * 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.poolName, + Parameters.groupName, + ], + 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.poolName, + Parameters.groupName, + ], + 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: { + 200: { + headersMapper: Mappers.InferenceGroupsModifyDeltaModelsAsyncHeaders, + }, + 201: { + headersMapper: Mappers.InferenceGroupsModifyDeltaModelsAsyncHeaders, + }, + 202: { + headersMapper: Mappers.InferenceGroupsModifyDeltaModelsAsyncHeaders, + }, + 204: { + headersMapper: Mappers.InferenceGroupsModifyDeltaModelsAsyncHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body33, + 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 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.poolName, + Parameters.groupName, + ], + 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.poolName, + Parameters.groupName, + ], + 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.poolName, + Parameters.groupName, + ], + 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.poolName, + Parameters.groupName, + ], + 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..b410daf18dae --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/inferencePools.ts @@ -0,0 +1,618 @@ +/* + * 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.js"; +import { InferencePools } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + InferencePool, + InferencePoolsListNextOptionalParams, + InferencePoolsListOptionalParams, + InferencePoolsListResponse, + InferencePoolsDeleteOptionalParams, + InferencePoolsGetOptionalParams, + InferencePoolsGetResponse, + PartialMinimalTrackedResourceWithSkuAndIdentity, + InferencePoolsUpdateOptionalParams, + InferencePoolsUpdateResponse, + InferencePoolsCreateOrUpdateOptionalParams, + InferencePoolsCreateOrUpdateResponse, + InferencePoolsListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing InferencePools operations. */ +export class InferencePoolsImpl implements InferencePools { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class InferencePools class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + 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, 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.inferencePoolName, + ], + 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 fba10ce7c06b..2a7f2793969d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { JobBase, @@ -69,12 +65,7 @@ export class JobsImpl implements Jobs { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -95,12 +86,7 @@ export class JobsImpl implements Jobs { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -113,11 +99,7 @@ export class JobsImpl implements Jobs { workspaceName: string, options?: JobsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -162,8 +144,7 @@ export class JobsImpl implements Jobs { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -217,12 +198,7 @@ export class JobsImpl implements Jobs { id: string, options?: JobsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - id, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, id, options); return poller.pollUntilDone(); } @@ -290,8 +266,7 @@ export class JobsImpl implements Jobs { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -345,12 +320,7 @@ export class JobsImpl implements Jobs { id: string, options?: JobsCancelOptionalParams, ): Promise { - const poller = await this.beginCancel( - resourceGroupName, - workspaceName, - id, - options, - ); + const poller = await this.beginCancel(resourceGroupName, workspaceName, id, options); return poller.pollUntilDone(); } @@ -391,7 +361,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.apiVersion, Parameters.skip, Parameters.listViewType, - Parameters.properties1, + Parameters.properties, Parameters.jobType, Parameters.tag, ], @@ -463,7 +433,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body25, + requestBody: Parameters.body34, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -513,9 +483,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts index 0ee349704cb9..be131384d73a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkProvisions.ts @@ -11,11 +11,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams, @@ -37,7 +33,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { /** * Provisions the managed network of a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ async beginProvisionManagedNetwork( @@ -60,8 +56,7 @@ export class ManagedNetworkProvisionsImpl implements ManagedNetworkProvisions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -108,7 +103,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 +142,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/managedNetworkSettingsOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsOperations.ts new file mode 100644 index 000000000000..fa3a147cba15 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsOperations.ts @@ -0,0 +1,497 @@ +/* + * 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.js"; +import { ManagedNetworkSettingsOperations } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + ManagedNetworkSettingsPropertiesBasicResource, + ManagedNetworkSettingsListNextOptionalParams, + ManagedNetworkSettingsListOptionalParams, + ManagedNetworkSettingsListResponse, + ManagedNetworkSettingsGetOptionalParams, + ManagedNetworkSettingsGetResponse, + ManagedNetworkSettingsPatchOptionalParams, + ManagedNetworkSettingsPatchResponse, + ManagedNetworkSettingsPutOptionalParams, + ManagedNetworkSettingsPutResponse, + ManagedNetworkSettingsListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing ManagedNetworkSettingsOperations operations. */ +export class ManagedNetworkSettingsOperationsImpl implements ManagedNetworkSettingsOperations { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class ManagedNetworkSettingsOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List API for managed network settings of a 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. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsListOptionalParams, + ): 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?: ManagedNetworkSettingsListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: ManagedNetworkSettingsListResponse; + 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?: ManagedNetworkSettingsListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { + yield* page; + } + } + + /** + * Get API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, managedNetworkName, options }, + getOperationSpec, + ); + } + + /** + * Patch API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + async beginPatch( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsPatchOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsPatchResponse + > + > { + 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, managedNetworkName, options }, + spec: patchOperationSpec, + }); + const poller = await createHttpPoller< + ManagedNetworkSettingsPatchResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + }); + await poller.poll(); + return poller; + } + + /** + * Patch API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + async beginPatchAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsPatchOptionalParams, + ): Promise { + const poller = await this.beginPatch( + resourceGroupName, + workspaceName, + managedNetworkName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * PUT API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + async beginPut( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsPropertiesBasicResource, + options?: ManagedNetworkSettingsPutOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsPutResponse + > + > { + 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, + managedNetworkName, + body, + options, + }, + spec: putOperationSpec, + }); + const poller = await createHttpPoller< + ManagedNetworkSettingsPutResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * PUT API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + async beginPutAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsPropertiesBasicResource, + options?: ManagedNetworkSettingsPutOptionalParams, + ): Promise { + const poller = await this.beginPut( + resourceGroupName, + workspaceName, + managedNetworkName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * List API for managed network settings of a 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. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec, + ); + } + + /** + * 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?: ManagedNetworkSettingsListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const patchOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body61, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const putOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 201: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 202: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + 204: { + bodyMapper: Mappers.ManagedNetworkSettingsPropertiesBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body62, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedNetworkListResult, + }, + 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/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts index bf5dd6a76c7f..9607115386b8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/managedNetworkSettingsRule.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OutboundRuleBasicResource, @@ -34,9 +30,7 @@ import { /// /** Class containing ManagedNetworkSettingsRule operations. */ -export class ManagedNetworkSettingsRuleImpl - implements ManagedNetworkSettingsRule -{ +export class ManagedNetworkSettingsRuleImpl implements ManagedNetworkSettingsRule { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -50,7 +44,7 @@ export class ManagedNetworkSettingsRuleImpl /** * Lists the managed network outbound rules for a machine learning workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -70,12 +64,7 @@ export class ManagedNetworkSettingsRuleImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class ManagedNetworkSettingsRuleImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class ManagedNetworkSettingsRuleImpl workspaceName: string, options?: ManagedNetworkSettingsRuleListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -126,7 +106,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 +123,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. */ @@ -163,8 +143,7 @@ export class ManagedNetworkSettingsRuleImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -199,6 +178,7 @@ export class ManagedNetworkSettingsRuleImpl const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; @@ -207,7 +187,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. */ @@ -217,19 +197,14 @@ export class ManagedNetworkSettingsRuleImpl ruleName: string, options?: ManagedNetworkSettingsRuleDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - ruleName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, ruleName, options); return poller.pollUntilDone(); } /** * 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 +223,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. @@ -276,8 +251,7 @@ export class ManagedNetworkSettingsRuleImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -324,7 +298,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 +324,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 +429,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body, + requestBody: Parameters.body57, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -482,9 +456,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts index 347f32a894ad..965784e6296c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/marketplaceSubscriptions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { MarketplaceSubscription, @@ -69,12 +65,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -95,12 +86,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -113,11 +99,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { workspaceName: string, options?: MarketplaceSubscriptionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -167,8 +149,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -225,12 +206,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { name: string, options?: MarketplaceSubscriptionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -283,8 +259,7 @@ export class MarketplaceSubscriptionsImpl implements MarketplaceSubscriptions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -469,7 +444,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body26, + requestBody: Parameters.body35, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -496,9 +471,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts index 5f346261c75e..6f954bb38f3b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -62,12 +62,7 @@ export class ModelContainersImpl implements ModelContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -88,12 +83,7 @@ export class ModelContainersImpl implements ModelContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -106,11 +96,7 @@ export class ModelContainersImpl implements ModelContainers { workspaceName: string, options?: ModelContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -296,7 +282,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,9 +309,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index 263ba41097f3..0edc6006a02c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelVersion, @@ -60,12 +56,7 @@ export class ModelVersionsImpl implements ModelVersions { name: string, options?: ModelVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, name, options); return { next() { return iter.next(); @@ -77,13 +68,7 @@ export class ModelVersionsImpl implements ModelVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings); }, }; } @@ -98,12 +83,7 @@ export class ModelVersionsImpl implements ModelVersions { let result: ModelVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - name, - options, - ); + result = await this._list(resourceGroupName, workspaceName, name, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -130,12 +110,7 @@ export class ModelVersionsImpl implements ModelVersions { name: string, options?: ModelVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, name, options)) { yield* page; } } @@ -251,8 +226,7 @@ export class ModelVersionsImpl implements ModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -365,7 +339,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, Parameters.offset, Parameters.feed, ], @@ -438,7 +412,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -464,7 +438,7 @@ const publishOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body18, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -492,9 +466,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.name, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index d9e14fc6326b..53bfa45445c3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OnlineDeployment, @@ -69,12 +65,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { endpointName: string, options?: OnlineDeploymentsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, workspaceName, endpointName, options); return { next() { return iter.next(); @@ -107,12 +98,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { let result: OnlineDeploymentsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + result = await this._list(resourceGroupName, workspaceName, endpointName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -295,8 +281,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -427,8 +412,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -538,8 +522,7 @@ export class OnlineDeploymentsImpl implements OnlineDeployments { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -740,12 +723,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -857,7 +835,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body30, + requestBody: Parameters.body38, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -882,7 +860,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body31, + requestBody: Parameters.body39, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -933,9 +911,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, ], headerParameters: [Parameters.accept], @@ -955,9 +933,9 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, Parameters.endpointName, Parameters.deploymentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index c43f3080cf82..7fee4faa99d1 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { OnlineEndpoint, @@ -77,12 +73,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -103,12 +94,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -121,11 +107,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { workspaceName: string, options?: OnlineEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -170,8 +152,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -225,12 +206,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { endpointName: string, options?: OnlineEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - endpointName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, endpointName, options); return poller.pollUntilDone(); } @@ -268,10 +244,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - OnlineEndpointsUpdateResponse - > + SimplePollerLike, OnlineEndpointsUpdateResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -283,8 +256,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -382,8 +354,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -496,8 +467,7 @@ export class OnlineEndpointsImpl implements OnlineEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -619,11 +589,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 +669,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body14, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -732,7 +702,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body27, + requestBody: Parameters.body36, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -779,7 +749,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -828,9 +798,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 10b0c92234c2..fd261017770c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -32,12 +32,10 @@ export class OperationsImpl implements Operations { } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Workspaces REST API operations * @param options The options parameters. */ - public list( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator { + public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator { const iter = this.listPagingAll(options); return { next() { @@ -73,12 +71,10 @@ 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( - options?: OperationsListOptionalParams, - ): Promise { + private _list(options?: OperationsListOptionalParams): Promise { return this.client.sendOperationRequest({ options }, listOperationSpec); } } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/outboundRuleOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/outboundRuleOperations.ts new file mode 100644 index 000000000000..dee754f87c5c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/outboundRuleOperations.ts @@ -0,0 +1,560 @@ +/* + * 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.js"; +import { OutboundRuleOperations } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + OutboundRuleBasicResource, + OutboundRuleListNextOptionalParams, + OutboundRuleListOptionalParams, + OutboundRuleListResponse, + OutboundRuleDeleteOptionalParams, + OutboundRuleDeleteResponse, + OutboundRuleGetOptionalParams, + OutboundRuleGetResponse, + OutboundRuleCreateOrUpdateOptionalParams, + OutboundRuleCreateOrUpdateResponse, + OutboundRuleListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing OutboundRuleOperations operations. */ +export class OutboundRuleOperationsImpl implements OutboundRuleOperations { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class OutboundRuleOperations class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * The GET API for retrieveing the list of outbound rules of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: OutboundRuleListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, managedNetworkName, 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, + managedNetworkName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: OutboundRuleListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: OutboundRuleListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, managedNetworkName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + managedNetworkName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: OutboundRuleListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + managedNetworkName, + options, + )) { + yield* page; + } + } + + /** + * The DELETE API for deleting a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleDeleteOptionalParams, + ): Promise< + SimplePollerLike, OutboundRuleDeleteResponse> + > { + 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, + managedNetworkName, + ruleName, + options, + }, + spec: deleteOperationSpec, + }); + const poller = await createHttpPoller< + OutboundRuleDeleteResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * The DELETE API for deleting a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + managedNetworkName, + ruleName, + options, + ); + return poller.pollUntilDone(); + } + + /** + * The GET API for retrieveing a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleGetOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + managedNetworkName, + ruleName, + options, + }, + getOperationSpec, + ); + } + + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param body + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: OutboundRuleCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + OutboundRuleCreateOrUpdateResponse + > + > { + 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, + managedNetworkName, + ruleName, + body, + options, + }, + spec: createOrUpdateOperationSpec, + }); + const poller = await createHttpPoller< + OutboundRuleCreateOrUpdateResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param body + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: OutboundRuleCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + managedNetworkName, + ruleName, + body, + options, + ); + return poller.pollUntilDone(); + } + + /** + * The GET API for retrieveing the list of outbound rules of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: OutboundRuleListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, managedNetworkName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + nextLink: string, + options?: OutboundRuleListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + managedNetworkName, + nextLink, + options, + }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}", + httpMethod: "DELETE", + responses: { + 200: { + headersMapper: Mappers.OutboundRuleDeleteHeaders, + }, + 201: { + headersMapper: Mappers.OutboundRuleDeleteHeaders, + }, + 202: { + headersMapper: Mappers.OutboundRuleDeleteHeaders, + }, + 204: { + headersMapper: Mappers.OutboundRuleDeleteHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 201: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 202: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + 204: { + bodyMapper: Mappers.OutboundRuleBasicResource, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body57, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.ruleName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}/outboundRules", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/outboundRules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/outboundRules.ts new file mode 100644 index 000000000000..b16a3e2ab6c6 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/outboundRules.ts @@ -0,0 +1,316 @@ +/* + * 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.js"; +import { OutboundRules } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + OutboundRuleBasicResource, + ManagedNetworkSettingsBasicResource, + OutboundRulesPostNextOptionalParams, + OutboundRulesPostOptionalParams, + OutboundRulesPostResponse, + OutboundRulesPostNextResponse, +} from "../models/index.js"; + +/// +/** Class containing OutboundRules operations. */ +export class OutboundRulesImpl implements OutboundRules { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class OutboundRules class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * The POST API for updating the outbound rules of the managed network associated with the machine + * learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + public beginListPostAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + options?: OutboundRulesPostOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.postPagingAll( + resourceGroupName, + workspaceName, + managedNetworkName, + 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.postPagingPage( + resourceGroupName, + workspaceName, + managedNetworkName, + body, + options, + settings, + ); + }, + }; + } + + private async *postPagingPage( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + options?: OutboundRulesPostOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: OutboundRulesPostResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + const poller = await this._post( + resourceGroupName, + workspaceName, + managedNetworkName, + body, + options, + ); + result = await poller.pollUntilDone(); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._postNext( + resourceGroupName, + workspaceName, + managedNetworkName, + body, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *postPagingAll( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + options?: OutboundRulesPostOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.postPagingPage( + resourceGroupName, + workspaceName, + managedNetworkName, + body, + options, + )) { + yield* page; + } + } + + /** + * The POST API for updating the outbound rules of the managed network associated with the machine + * learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + private async _post( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + options?: OutboundRulesPostOptionalParams, + ): Promise< + SimplePollerLike, OutboundRulesPostResponse> + > { + 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, + managedNetworkName, + body, + options, + }, + spec: postOperationSpec, + }); + const poller = await createHttpPoller< + OutboundRulesPostResponse, + OperationState + >(lro, { + restoreFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", + }); + await poller.poll(); + return poller; + } + + /** + * PostNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param nextLink The nextLink from the previous successful call to the Post method. + * @param options The options parameters. + */ + private _postNext( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + nextLink: string, + options?: OutboundRulesPostNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + managedNetworkName, + body, + nextLink, + options, + }, + postNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const postOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/managedNetworks/{managedNetworkName}/batchOutboundRules", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + 201: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + 202: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + 204: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + requestBody: Parameters.body60, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; +const postNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OutboundRuleListResult, + }, + 202: { + headersMapper: Mappers.OutboundRulesPostNextHeaders, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.managedNetworkName, + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/pTUQuota.ts b/sdk/machinelearning/arm-machinelearning/src/operations/pTUQuota.ts new file mode 100644 index 000000000000..10fd38083b1c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/pTUQuota.ts @@ -0,0 +1,317 @@ +/* + * 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.js"; +import { PTUQuota } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { + AvailableQuota, + PTUQuotaListAvailableNextOptionalParams, + PTUQuotaListAvailableOptionalParams, + PTUQuotaListAvailableResponse, + UsageAndQuotaDetails, + PTUQuotaListNextOptionalParams, + PTUQuotaListOptionalParams, + PTUQuotaListResponse, + PTUQuotaGetAvailableOptionalParams, + PTUQuotaGetAvailableResponse, + PTUQuotaListAvailableNextResponse, + PTUQuotaListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing PTUQuota operations. */ +export class PTUQuotaImpl implements PTUQuota { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class PTUQuota class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List available MaaS PTU quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + public listAvailable( + location: string, + options?: PTUQuotaListAvailableOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listAvailablePagingAll(location, 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.listAvailablePagingPage(location, options, settings); + }, + }; + } + + private async *listAvailablePagingPage( + location: string, + options?: PTUQuotaListAvailableOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: PTUQuotaListAvailableResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listAvailable(location, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listAvailableNext(location, continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listAvailablePagingAll( + location: string, + options?: PTUQuotaListAvailableOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listAvailablePagingPage(location, options)) { + yield* page; + } + } + + /** + * List MaaS PTU usage and quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + public list( + location: string, + options?: PTUQuotaListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(location, 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(location, options, settings); + }, + }; + } + + private async *listPagingPage( + location: string, + options?: PTUQuotaListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: PTUQuotaListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(location, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext(location, continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + location: string, + options?: PTUQuotaListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(location, options)) { + yield* page; + } + } + + /** + * List available MaaS PTU quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + private _listAvailable( + location: string, + options?: PTUQuotaListAvailableOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ location, options }, listAvailableOperationSpec); + } + + /** + * Get available MaaS PTU quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + getAvailable( + location: string, + options?: PTUQuotaGetAvailableOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ location, options }, getAvailableOperationSpec); + } + + /** + * List MaaS PTU usage and quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + private _list( + location: string, + options?: PTUQuotaListOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ location, options }, listOperationSpec); + } + + /** + * ListAvailableNext + * @param location The name of Azure region. + * @param nextLink The nextLink from the previous successful call to the ListAvailable method. + * @param options The options parameters. + */ + private _listAvailableNext( + location: string, + nextLink: string, + options?: PTUQuotaListAvailableNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { location, nextLink, options }, + listAvailableNextOperationSpec, + ); + } + + /** + * ListNext + * @param location The name of Azure region. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + location: string, + nextLink: string, + options?: PTUQuotaListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listAvailableOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/availableQuota", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AvailableQuotaArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location1], + headerParameters: [Parameters.accept], + serializer, +}; +const getAvailableOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/availableQuota/default", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AvailableQuota, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location1], + headerParameters: [Parameters.accept], + serializer, +}; +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotaAndUsage", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.UsageAndQuotaDetailsArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location1], + headerParameters: [Parameters.accept], + serializer, +}; +const listAvailableNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AvailableQuotaArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.location1, + ], + headerParameters: [Parameters.accept], + serializer, +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.UsageAndQuotaDetailsArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink, + Parameters.location1, + ], + headerParameters: [Parameters.accept], + serializer, +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index 9147c11e40b3..b833b0c6cdf7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -16,18 +16,16 @@ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, + PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, - PrivateEndpointConnectionsDeleteOptionalParams, } from "../models/index.js"; /// /** Class containing PrivateEndpointConnections operations. */ -export class PrivateEndpointConnectionsImpl - implements PrivateEndpointConnections -{ +export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -39,9 +37,9 @@ export class PrivateEndpointConnectionsImpl } /** - * List all the private endpoint connections associated with the workspace. + * Called by end-users to get all PE connections. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -61,12 +59,7 @@ export class PrivateEndpointConnectionsImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -87,19 +80,15 @@ export class PrivateEndpointConnectionsImpl workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } /** - * 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 +103,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 +122,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 +202,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 +223,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 +234,6 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.properties, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -257,20 +242,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 +265,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 7f480cc85883..fb43896e0a18 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -6,16 +6,19 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; import { PrivateLinkResources } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; import { + PrivateLinkResource, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse, } from "../models/index.js"; +/// /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { private readonly client: AzureMachineLearningServicesManagementClient; @@ -29,12 +32,71 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources { } /** - * Gets the private link resources that need to be created for a workspace. + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - list( + public list( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + _settings?: PageSettings, + ): AsyncIterableIterator { + let result: PrivateLinkResourcesListResponse; + result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: PrivateLinkResourcesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { + yield* page; + } + } + + /** + * Called by Client (Portal, CLI, etc) to get available "private link resources" for the workspace. + * Each "private link resource" is a connection endpoint (IP address) to the resource. + * Pre single connection endpoint per workspace: the Data Plane IP address, returned by DNS resolution. + * + * Other RPs, such as Azure Storage, have multiple - one for Blobs, other for Queues, etc. + * Defined in the "[NRP] Private Endpoint Design" doc, topic "GET API for GroupIds". + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param options The options parameters. + */ + private _list( resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 8828d42d393c..309e0b812917 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -106,10 +106,7 @@ export class QuotasImpl implements Quotas { parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, parameters, options }, - updateOperationSpec, - ); + return this.client.sendOperationRequest({ location, parameters, options }, updateOperationSpec); } /** @@ -117,14 +114,8 @@ export class QuotasImpl implements Quotas { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - private _list( - location: string, - options?: QuotasListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + private _list(location: string, options?: QuotasListOptionalParams): Promise { + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } /** @@ -138,10 +129,7 @@ export class QuotasImpl implements Quotas { nextLink: string, options?: QuotasListNextOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, nextLink, options }, - listNextOperationSpec, - ); + return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec); } } // Operation Specifications @@ -158,13 +146,9 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters3, + requestBody: Parameters.parameters, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", serializer, @@ -181,11 +165,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept], serializer, }; @@ -203,8 +183,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.ts new file mode 100644 index 000000000000..f8256ab07a80 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicies.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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper.js"; +import { RaiPolicies } from "../operationsInterfaces/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { + RaiPolicyPropertiesBasicResource, + RaiPoliciesListNextOptionalParams, + RaiPoliciesListOptionalParams, + RaiPoliciesListResponse, + RaiPoliciesListNextResponse, +} from "../models/index.js"; + +/// +/** Class containing RaiPolicies operations. */ +export class RaiPoliciesImpl implements RaiPolicies { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class RaiPolicies class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, endpointName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + settings, + ); + }, + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + settings?: PageSettings, + ): AsyncIterableIterator { + let result: RaiPoliciesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, endpointName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + endpointName, + continuationToken, + options, + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + endpointName, + options, + )) { + yield* page; + } + } + + /** + * List the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + options?: RaiPoliciesListOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, options }, + listOperationSpec, + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + nextLink: string, + options?: RaiPoliciesListNextOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, endpointName, nextLink, options }, + listNextOperationSpec, + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/raiPolicies", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RaiPolicyPropertiesBasicResourceArmPaginatedResult, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + queryParameters: [Parameters.apiVersion, 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..aebd248852c8 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/raiPolicy.ts @@ -0,0 +1,362 @@ +/* + * 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/index.js"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; +import { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models/index.js"; + +/** Class containing RaiPolicy operations. */ +export class RaiPolicyImpl implements RaiPolicy { + private readonly client: AzureMachineLearningServicesManagementClient; + + /** + * Initialize a new instance of the class RaiPolicy class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServicesManagementClient) { + this.client = client; + } + + /** + * Deletes the specified Content Filters associated with the Azure OpenAI account. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param endpointName Name of the endpoint resource. + * @param raiPolicyName Name of the Rai Policy. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + endpointName: string, + raiPolicyName: string, + options?: RaiPolicyDeleteOptionalParams, + ): Promise, 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, 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 5dd8818effd1..4f371b8e728f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Registry, @@ -149,11 +145,7 @@ export class RegistriesImpl implements Registries { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -177,10 +169,7 @@ export class RegistriesImpl implements Registries { private _listBySubscription( options?: RegistriesListBySubscriptionOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, - ); + return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec); } /** @@ -192,10 +181,7 @@ export class RegistriesImpl implements Registries { resourceGroupName: string, options?: RegistriesListOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listOperationSpec, - ); + return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec); } /** @@ -219,8 +205,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -272,11 +257,7 @@ export class RegistriesImpl implements Registries { registryName: string, options?: RegistriesDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, options); return poller.pollUntilDone(); } @@ -344,8 +325,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -402,12 +382,7 @@ export class RegistriesImpl implements Registries { body: Registry, options?: RegistriesCreateOrUpdateOptionalParams, ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - registryName, - body, - options, - ); + const poller = await this.beginCreateOrUpdate(resourceGroupName, registryName, body, options); return poller.pollUntilDone(); } @@ -439,8 +414,7 @@ export class RegistriesImpl implements Registries { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -497,12 +471,7 @@ export class RegistriesImpl implements Registries { body: Registry, options?: RegistriesRemoveRegionsOptionalParams, ): Promise { - const poller = await this.beginRemoveRegions( - resourceGroupName, - registryName, - body, - options, - ); + const poller = await this.beginRemoveRegions(resourceGroupName, registryName, body, options); return poller.pollUntilDone(); } @@ -569,11 +538,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName], headerParameters: [Parameters.accept], serializer, }; @@ -631,7 +596,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body35, + requestBody: Parameters.body42, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -663,7 +628,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body43, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -695,7 +660,7 @@ const removeRegionsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body36, + requestBody: Parameters.body43, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -718,11 +683,7 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.nextLink, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink], headerParameters: [Parameters.accept], serializer, }; @@ -740,8 +701,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts index 2b1473e5c574..1edce40612f9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeContainer, @@ -68,12 +64,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { registryName: string, options?: RegistryCodeContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { codeName: string, options?: RegistryCodeContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - codeName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, codeName, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryCodeContainersImpl implements RegistryCodeContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -452,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body2, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -479,8 +454,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts index c678e6cbdead..f9c560efd0b8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { CodeVersion, @@ -61,12 +57,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { codeName: string, options?: RegistryCodeVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - codeName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, codeName, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - codeName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, codeName, options, settings); }, }; } @@ -99,12 +84,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { let result: RegistryCodeVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - codeName, - options, - ); + result = await this._list(resourceGroupName, registryName, codeName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +165,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -305,8 +284,7 @@ export class RegistryCodeVersionsImpl implements RegistryCodeVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -443,12 +421,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -526,7 +499,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body3, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -551,7 +524,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -579,8 +552,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.codeName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts index 49660cf43009..f8aa40fa275a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryComponentContainers operations. */ -export class RegistryComponentContainersImpl - implements RegistryComponentContainers -{ +export class RegistryComponentContainersImpl implements RegistryComponentContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class RegistryComponentContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class RegistryComponentContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class RegistryComponentContainersImpl registryName: string, options?: RegistryComponentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class RegistryComponentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -218,12 +197,7 @@ export class RegistryComponentContainersImpl componentName: string, options?: RegistryComponentContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - componentName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, componentName, options); return poller.pollUntilDone(); } @@ -276,8 +250,7 @@ export class RegistryComponentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -454,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body5, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -481,8 +454,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts index a997c0c189be..a75b3a9dfd13 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ComponentVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryComponentVersions operations. */ -export class RegistryComponentVersionsImpl - implements RegistryComponentVersions -{ +export class RegistryComponentVersionsImpl implements RegistryComponentVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class RegistryComponentVersionsImpl componentName: string, options?: RegistryComponentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - componentName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, componentName, options); return { next() { return iter.next(); @@ -98,12 +87,7 @@ export class RegistryComponentVersionsImpl let result: RegistryComponentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - componentName, - options, - ); + result = await this._list(resourceGroupName, registryName, componentName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -184,8 +168,7 @@ export class RegistryComponentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -310,8 +293,7 @@ export class RegistryComponentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -425,12 +407,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.orderBy, Parameters.top], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -508,7 +485,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body6, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -536,8 +513,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.componentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts index 81c51afff46b..d2f40c3ac139 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataContainer, @@ -68,12 +64,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { registryName: string, options?: RegistryDataContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { name: string, options?: RegistryDataContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryDataContainersImpl implements RegistryDataContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body7, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +454,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts index 8f13b1093c97..8da4ec77697c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataReferences.ts @@ -66,7 +66,7 @@ const getBlobReferenceSASOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body9, + requestBody: Parameters.body7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts index 4f71b454f50c..62b7d9c3e235 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { DataVersionBase, @@ -61,12 +57,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { name: string, options?: RegistryDataVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - name, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, name, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - name, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, name, options, settings); }, }; } @@ -126,12 +111,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { name: string, options?: RegistryDataVersionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - name, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, name, options)) { yield* page; } } @@ -180,8 +160,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -237,13 +216,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { version: string, options?: RegistryDataVersionsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - name, - version, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, name, version, options); return poller.pollUntilDone(); } @@ -300,8 +273,7 @@ export class RegistryDataVersionsImpl implements RegistryDataVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -516,7 +488,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body8, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -541,7 +513,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -569,8 +541,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.name, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts index fabfeb1f500d..30d7d35f2011 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentContainer, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryEnvironmentContainers operations. */ -export class RegistryEnvironmentContainersImpl - implements RegistryEnvironmentContainers -{ +export class RegistryEnvironmentContainersImpl implements RegistryEnvironmentContainers { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -70,12 +64,7 @@ export class RegistryEnvironmentContainersImpl if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -96,12 +85,7 @@ export class RegistryEnvironmentContainersImpl yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -114,11 +98,7 @@ export class RegistryEnvironmentContainersImpl registryName: string, options?: RegistryEnvironmentContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -163,8 +143,7 @@ export class RegistryEnvironmentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -276,8 +255,7 @@ export class RegistryEnvironmentContainersImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -379,11 +357,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -458,7 +432,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body10, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -485,8 +459,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts index 4a84bd40f759..57789ab1601e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { EnvironmentVersion, @@ -34,9 +30,7 @@ import { /// /** Class containing RegistryEnvironmentVersions operations. */ -export class RegistryEnvironmentVersionsImpl - implements RegistryEnvironmentVersions -{ +export class RegistryEnvironmentVersionsImpl implements RegistryEnvironmentVersions { private readonly client: AzureMachineLearningServicesManagementClient; /** @@ -60,12 +54,7 @@ export class RegistryEnvironmentVersionsImpl environmentName: string, options?: RegistryEnvironmentVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - environmentName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, environmentName, options); return { next() { return iter.next(); @@ -98,12 +87,7 @@ export class RegistryEnvironmentVersionsImpl let result: RegistryEnvironmentVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - environmentName, - options, - ); + result = await this._list(resourceGroupName, registryName, environmentName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -184,8 +168,7 @@ export class RegistryEnvironmentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -310,8 +293,7 @@ export class RegistryEnvironmentVersionsImpl args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -509,7 +491,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body11, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -537,8 +519,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.environmentName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts index b0e7a54cb886..e5d4b56d6c16 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelContainer, @@ -68,12 +64,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - registryName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, registryName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { registryName: string, options?: RegistryModelContainersListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - registryName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { modelName: string, options?: RegistryModelContainersDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - registryName, - modelName, - options, - ); + const poller = await this.beginDelete(resourceGroupName, registryName, modelName, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class RegistryModelContainersImpl implements RegistryModelContainers { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body12, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,8 +454,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, ], headerParameters: [Parameters.accept], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts index 5eab2f2ea3fa..d59d4eda6621 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ModelVersion, @@ -61,12 +57,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { modelName: string, options?: RegistryModelVersionsListOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listPagingAll( - resourceGroupName, - registryName, - modelName, - options, - ); + const iter = this.listPagingAll(resourceGroupName, registryName, modelName, options); return { next() { return iter.next(); @@ -78,13 +69,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - registryName, - modelName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, registryName, modelName, options, settings); }, }; } @@ -99,12 +84,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { let result: RegistryModelVersionsListResponse; let continuationToken = settings?.continuationToken; if (!continuationToken) { - result = await this._list( - resourceGroupName, - registryName, - modelName, - options, - ); + result = await this._list(resourceGroupName, registryName, modelName, options); let page = result.value || []; continuationToken = result.nextLink; setContinuationToken(page, continuationToken); @@ -185,8 +165,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -305,8 +284,7 @@ export class RegistryModelVersionsImpl implements RegistryModelVersions { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -452,7 +430,7 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.version1, Parameters.description, Parameters.tags1, - Parameters.properties1, + Parameters.properties, ], urlParameters: [ Parameters.$host, @@ -531,7 +509,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body13, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -556,7 +534,7 @@ const createOrGetStartPendingUploadOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body4, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -584,8 +562,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, Parameters.nextLink, + Parameters.resourceGroupName, Parameters.registryName, Parameters.modelName, ], diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts index 342d4911707d..baf2a27c8170 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Schedule, @@ -68,12 +64,7 @@ export class SchedulesImpl implements Schedules { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -94,12 +85,7 @@ export class SchedulesImpl implements Schedules { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -112,11 +98,7 @@ export class SchedulesImpl implements Schedules { workspaceName: string, options?: SchedulesListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -161,8 +143,7 @@ export class SchedulesImpl implements Schedules { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -216,12 +197,7 @@ export class SchedulesImpl implements Schedules { name: string, options?: SchedulesDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -274,8 +250,7 @@ export class SchedulesImpl implements Schedules { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -377,11 +352,7 @@ const listOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType1, - ], + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.listViewType1], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -456,7 +427,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body32, + requestBody: Parameters.body40, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -483,9 +454,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts index de4a8e895e82..3f8e267f091f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/serverlessEndpoints.ts @@ -13,11 +13,7 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { ServerlessEndpoint, @@ -77,12 +73,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -103,12 +94,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -121,11 +107,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { workspaceName: string, options?: ServerlessEndpointsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -175,8 +157,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -233,12 +214,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { name: string, options?: ServerlessEndpointsDeleteOptionalParams, ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - name, - options, - ); + const poller = await this.beginDelete(resourceGroupName, workspaceName, name, options); return poller.pollUntilDone(); } @@ -291,8 +267,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -350,13 +325,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: ServerlessEndpointsUpdateOptionalParams, ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - workspaceName, - name, - body, - options, - ); + const poller = await this.beginUpdate(resourceGroupName, workspaceName, name, body, options); return poller.pollUntilDone(); } @@ -390,8 +359,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -509,8 +477,7 @@ export class ServerlessEndpointsImpl implements ServerlessEndpoints { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -695,7 +662,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body33, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -728,7 +695,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body34, + requestBody: Parameters.body41, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -783,7 +750,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.body28, + requestBody: Parameters.body37, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -810,9 +777,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index c8bfc6d37b90..d1a14640d0ee 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -99,14 +99,8 @@ export class UsagesImpl implements Usages { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - private _list( - location: string, - options?: UsagesListOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + private _list(location: string, options?: UsagesListOptionalParams): Promise { + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } /** @@ -120,10 +114,7 @@ export class UsagesImpl implements Usages { nextLink: string, options?: UsagesListNextOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, nextLink, options }, - listNextOperationSpec, - ); + return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec); } } // Operation Specifications @@ -141,11 +132,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept], serializer, }; @@ -163,8 +150,8 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, - Parameters.nextLink, Parameters.location, + Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index 4c82612e00db..4098fea0687e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts @@ -37,10 +37,7 @@ export class VirtualMachineSizesImpl implements VirtualMachineSizes { location: string, options?: VirtualMachineSizesListOptionalParams, ): Promise { - return this.client.sendOperationRequest( - { location, options }, - listOperationSpec, - ); + return this.client.sendOperationRequest({ location, options }, listOperationSpec); } } // Operation Specifications @@ -58,11 +55,7 @@ const listOperationSpec: coreClient.OperationSpec = { }, }, queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location], headerParameters: [Parameters.accept], serializer, }; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index ee08a895ab69..dc6af63c9a8e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -13,18 +13,24 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; +import { createLroSpec } from "../lroImpl.js"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, WorkspaceConnectionsListOptionalParams, WorkspaceConnectionsListResponse, - WorkspaceConnectionsCreateOptionalParams, - WorkspaceConnectionsCreateResponse, + WorkspaceConnectionsDeleteOptionalParams, WorkspaceConnectionsGetOptionalParams, WorkspaceConnectionsGetResponse, - WorkspaceConnectionsDeleteOptionalParams, + WorkspaceConnectionsUpdateOptionalParams, + WorkspaceConnectionsUpdateResponse, + WorkspaceConnectionsCreateOptionalParams, + WorkspaceConnectionsCreateResponse, WorkspaceConnectionsListSecretsOptionalParams, WorkspaceConnectionsListSecretsResponse, + WorkspaceConnectionsTestConnectionOptionalParams, + WorkspaceConnectionsTestConnectionResponse, WorkspaceConnectionsListNextResponse, } from "../models/index.js"; @@ -42,8 +48,9 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { } /** + * Lists all the available machine learning workspaces connections under the specified workspace. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param workspaceName Name of Azure Machine Learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ public list( @@ -63,12 +70,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -89,12 +91,7 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -107,38 +104,51 @@ export class WorkspaceConnectionsImpl implements WorkspaceConnections { workspaceName: string, options?: WorkspaceConnectionsListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } /** + * 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 +165,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 +221,104 @@ 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 +337,42 @@ 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 +381,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 +406,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 +426,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,13 +476,45 @@ 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", responses: { 200: { - bodyMapper: - Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, + bodyMapper: Mappers.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -359,9 +523,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index db2b05d3203b..37051b8f72bf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -57,12 +57,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { if (settings?.maxPageSize) { throw new Error("maxPageSize is not supported by this operation."); } - return this.listPagingPage( - resourceGroupName, - workspaceName, - options, - settings, - ); + return this.listPagingPage(resourceGroupName, workspaceName, options, settings); }, }; } @@ -83,12 +78,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { yield page; } while (continuationToken) { - result = await this._listNext( - resourceGroupName, - workspaceName, - continuationToken, - options, - ); + result = await this._listNext(resourceGroupName, workspaceName, continuationToken, options); continuationToken = result.nextLink; let page = result.value || []; setContinuationToken(page, continuationToken); @@ -101,11 +91,7 @@ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { workspaceName: string, options?: WorkspaceFeaturesListOptionalParams, ): AsyncIterableIterator { - for await (const page of this.listPagingPage( - resourceGroupName, - workspaceName, - options, - )) { + for await (const page of this.listPagingPage(resourceGroupName, workspaceName, options)) { yield* page; } } @@ -184,9 +170,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { urlParameters: [ Parameters.$host, Parameters.subscriptionId, + Parameters.nextLink, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.nextLink, ], headerParameters: [Parameters.accept], serializer, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts index f3403f100c47..aa42e5e6c03d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -13,45 +13,41 @@ import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers.js"; import * as Parameters from "../models/parameters.js"; import { AzureMachineLearningServicesManagementClient } from "../azureMachineLearningServicesManagementClient.js"; -import { - SimplePollerLike, - OperationState, - createHttpPoller, -} from "@azure/core-lro"; +import { SimplePollerLike, OperationState, createHttpPoller } from "@azure/core-lro"; import { createLroSpec } from "../lroImpl.js"; import { Workspace, - 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/index.js"; /// @@ -68,15 +64,13 @@ export class WorkspacesImpl implements Workspaces { } /** - * Lists all the available machine learning workspaces under the specified resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. + * Lists all the available machine learning workspaces under the specified subscription. * @param options The options parameters. */ - public listByResourceGroup( - resourceGroupName: string, - options?: WorkspacesListByResourceGroupOptionalParams, + public listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, ): PagedAsyncIterableIterator { - const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + const iter = this.listBySubscriptionPagingAll(options); return { next() { return iter.next(); @@ -88,35 +82,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 +109,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 +138,27 @@ 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,61 +166,62 @@ 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. + * Lists all the available machine learning workspaces under the specified subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, + ): Promise { + return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec); + } + + /** + * 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 options The options parameters. */ - get( + private _listByResourceGroup( resourceGroupName: string, - workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise { + options?: WorkspacesListByResourceGroupOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, workspaceName, options }, - getOperationSpec, + { resourceGroupName, options }, + listByResourceGroupOperationSpec, ); } /** - * Creates or updates a workspace with the specified parameters. + * 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 parameters The parameters for creating or updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginCreateOrUpdate( + async beginDelete( resourceGroupName: string, workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - > { + options?: WorkspacesDeleteOptionalParams, + ): Promise, void>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -265,65 +250,74 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, - spec: createOrUpdateOperationSpec, + args: { resourceGroupName, workspaceName, options }, + spec: deleteOperationSpec, }); - const poller = await createHttpPoller< - WorkspacesCreateOrUpdateResponse, - OperationState - >(lro, { + const poller = await createHttpPoller>(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Creates or updates a workspace with the specified parameters. + * 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 parameters The parameters for creating or updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginCreateOrUpdateAndWait( + async beginDeleteAndWait( resourceGroupName: string, workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise { - const poller = await this.beginCreateOrUpdate( - resourceGroupName, - workspaceName, - parameters, - options, - ); + options?: WorkspacesDeleteOptionalParams, + ): Promise { + const poller = await this.beginDelete(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } /** - * Deletes a machine learning workspace. + * 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 workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - async beginDelete( + get( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams, - ): Promise, void>> { + 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 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, + body: WorkspaceUpdateParameters, + options?: WorkspacesUpdateOptionalParams, + ): Promise, WorkspacesUpdateResponse>> { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -352,10 +346,13 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, options }, - spec: deleteOperationSpec, + args: { resourceGroupName, workspaceName, body, options }, + spec: updateOperationSpec, }); - const poller = await createHttpPoller>(lro, { + const poller = await createHttpPoller< + WorkspacesUpdateResponse, + OperationState + >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, }); @@ -364,54 +361,51 @@ export class WorkspacesImpl implements Workspaces { } /** - * Deletes a machine learning workspace. + * 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 workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ - async beginDeleteAndWait( + async beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams, - ): Promise { - const poller = await this.beginDelete( - resourceGroupName, - workspaceName, - options, - ); + body: WorkspaceUpdateParameters, + options?: WorkspacesUpdateOptionalParams, + ): Promise { + const poller = await this.beginUpdate(resourceGroupName, workspaceName, body, options); return poller.pollUntilDone(); } /** - * Updates a machine learning workspace with the specified parameters. + * 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 updating a 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 beginUpdate( + async beginCreateOrUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< - OperationState, - WorkspacesUpdateResponse + OperationState, + WorkspacesCreateOrUpdateResponse > > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperationFn = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -440,61 +434,42 @@ export class WorkspacesImpl implements Workspaces { const lro = createLroSpec({ sendOperationFn, - args: { resourceGroupName, workspaceName, parameters, options }, - spec: updateOperationSpec, + args: { resourceGroupName, workspaceName, body, options }, + spec: createOrUpdateOperationSpec, }); const poller = await createHttpPoller< - WorkspacesUpdateResponse, - OperationState + WorkspacesCreateOrUpdateResponse, + OperationState >(lro, { restoreFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, + resourceLocationConfig: "location", }); await poller.poll(); return poller; } /** - * Updates a machine learning workspace with the specified parameters. + * 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 updating a 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 beginUpdateAndWait( + async beginCreateOrUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams, - ): Promise { - const poller = await this.beginUpdate( - resourceGroupName, - workspaceName, - parameters, - options, - ); + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, + ): Promise { + const poller = await this.beginCreateOrUpdate(resourceGroupName, workspaceName, 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. * @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 beginDiagnose( @@ -502,10 +477,7 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse - > + SimplePollerLike, WorkspacesDiagnoseResponse> > { const directSendOperation = async ( args: coreClient.OperationArguments, @@ -517,8 +489,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -565,7 +536,7 @@ export class WorkspacesImpl implements 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. */ async beginDiagnoseAndWait( @@ -573,19 +544,15 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise { - const poller = await this.beginDiagnose( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginDiagnose(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } /** * 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( @@ -600,122 +567,78 @@ export class WorkspacesImpl implements Workspaces { } /** - * 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. */ - async beginResyncKeys( + listNotebookAccessToken( resourceGroupName: string, workspaceName: string, - 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, - }); - await poller.poll(); - return poller; + options?: WorkspacesListNotebookAccessTokenOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listNotebookAccessTokenOperationSpec, + ); } /** - * 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. */ - async beginResyncKeysAndWait( + listNotebookKeys( resourceGroupName: string, workspaceName: string, - options?: WorkspacesResyncKeysOptionalParams, - ): Promise { - const poller = await this.beginResyncKeys( - resourceGroupName, - workspaceName, - options, + options?: WorkspacesListNotebookKeysOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listNotebookKeysOperationSpec, ); - return poller.pollUntilDone(); } /** - * Lists all the available machine learning workspaces under the specified subscription. + * 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. */ - private _listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, - ): Promise { + listStorageAccountKeys( + resourceGroupName: string, + workspaceName: string, + options?: WorkspacesListStorageAccountKeysOptionalParams, + ): Promise { return this.client.sendOperationRequest( - { options }, - listBySubscriptionOperationSpec, + { resourceGroupName, workspaceName, options }, + listStorageAccountKeysOperationSpec, ); } /** - * return notebook access token and refresh token + * 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. */ - listNotebookAccessToken( + listOutboundNetworkDependenciesEndpoints( resourceGroupName: string, workspaceName: string, - options?: WorkspacesListNotebookAccessTokenOptionalParams, - ): Promise { + options?: WorkspacesListOutboundNetworkDependenciesEndpointsOptionalParams, + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, workspaceName, options }, - listNotebookAccessTokenOperationSpec, + listOutboundNetworkDependenciesEndpointsOperationSpec, ); } /** - * 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 beginPrepareNotebook( @@ -738,8 +661,7 @@ export class WorkspacesImpl implements Workspaces { args: coreClient.OperationArguments, spec: coreClient.OperationSpec, ) => { - let currentRawResponse: coreClient.FullOperationResponse | undefined = - undefined; + let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined; const providedCallback = args.options?.onResponse; const callback: coreClient.RawResponseCallback = ( rawResponse: coreClient.FullOperationResponse, @@ -784,9 +706,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( @@ -794,63 +716,101 @@ export class WorkspacesImpl implements Workspaces { workspaceName: string, options?: WorkspacesPrepareNotebookOptionalParams, ): Promise { - const poller = await this.beginPrepareNotebook( - resourceGroupName, - workspaceName, - options, - ); + const poller = await this.beginPrepareNotebook(resourceGroupName, workspaceName, options); return poller.pollUntilDone(); } /** - * 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 +830,50 @@ 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], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.workspaceName, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.kind, + Parameters.aiCapabilities, ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName], + headerParameters: [Parameters.accept], serializer, }; const deleteOperationSpec: coreClient.OperationSpec = { @@ -964,6 +898,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 +939,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters1, + requestBody: Parameters.body44, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -996,24 +951,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 +1003,7 @@ const diagnoseOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - requestBody: Parameters.parameters2, + requestBody: Parameters.body46, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -1069,14 +1036,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 +1057,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,21 +1099,12 @@ const listNotebookAccessTokenOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const prepareNotebookOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", - httpMethod: "POST", +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.NotebookResourceInfo, - }, - 201: { - bodyMapper: Mappers.NotebookResourceInfo, - }, - 202: { - bodyMapper: Mappers.NotebookResourceInfo, - }, - 204: { - bodyMapper: Mappers.NotebookResourceInfo, + bodyMapper: Mappers.ExternalFqdnResponse, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -1158,12 +1120,21 @@ const prepareNotebookOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer, }; -const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys", +const prepareNotebookOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.ListStorageAccountKeysResult, + bodyMapper: Mappers.NotebookResourceInfo, + }, + 201: { + bodyMapper: Mappers.NotebookResourceInfo, + }, + 202: { + bodyMapper: Mappers.NotebookResourceInfo, + }, + 204: { + bodyMapper: Mappers.NotebookResourceInfo, }, default: { bodyMapper: Mappers.ErrorResponse, @@ -1179,13 +1150,14 @@ const listStorageAccountKeysOperationSpec: coreClient.OperationSpec = { 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 +1172,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: { @@ -1233,16 +1183,11 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse, }, }, - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.nextLink, - ], + urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink], headerParameters: [Parameters.accept], serializer, }; -const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { @@ -1257,6 +1202,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/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts index adb58a651a82..65f8eb153cd3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchDeployments.ts @@ -99,10 +99,7 @@ export interface BatchDeployments { body: PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties, options?: BatchDeploymentsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchDeploymentsUpdateResponse - > + SimplePollerLike, BatchDeploymentsUpdateResponse> >; /** * Update a batch inference deployment (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts index 2be055dc8a5d..65056ed222ef 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/batchEndpoints.ts @@ -91,10 +91,7 @@ export interface BatchEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - BatchEndpointsUpdateResponse - > + SimplePollerLike, BatchEndpointsUpdateResponse> >; /** * Update a batch inference endpoint (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts new file mode 100644 index 000000000000..1a833d747bfe --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/capabilityHosts.ts @@ -0,0 +1,98 @@ +/* + * 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/index.js"; + +/** 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, 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 552580288f95..141a2533f14b 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/index.js"; /// @@ -87,10 +98,7 @@ export interface ComputeOperations { parameters: ComputeResource, options?: ComputeCreateOrUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - ComputeCreateOrUpdateResponse - > + SimplePollerLike, ComputeCreateOrUpdateResponse> >; /** * Creates or updates compute. This call will overwrite a compute if it exists. This is a @@ -124,12 +132,7 @@ export interface ComputeOperations { computeName: string, parameters: ClusterUpdateParameters, options?: ComputeUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - ComputeUpdateResponse - > - >; + ): Promise, ComputeUpdateResponse>>; /** * Updates properties of a compute. This call will overwrite a compute if it exists. This is a * nonrecoverable operation. @@ -178,6 +181,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 +209,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 +302,62 @@ 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, 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..9d69ac39a3e7 --- /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/index.js"; + +/// +/** 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..d2d340844117 --- /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/index.js"; + +/** 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..87c5e79c586e --- /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/index.js"; + +/** 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..151c7321921f --- /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/index.js"; + +/// +/** 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..7bc0bbeeed07 --- /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/index.js"; + +/// +/** 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..04a902bbc970 --- /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/index.js"; + +/// +/** 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..0f7071642346 --- /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/index.js"; + +/** 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..013fca05f096 --- /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/index.js"; + +/// +/** 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..02a1081fd5d6 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/endpointOperations.ts @@ -0,0 +1,127 @@ +/* + * 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/index.js"; + +/// +/** 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, 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 ed0ef53e68b3..014c667d90e2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -6,17 +6,11 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./operations.js"; -export * from "./workspaces.js"; export * from "./usages.js"; export * from "./virtualMachineSizes.js"; export * from "./quotas.js"; export * from "./computeOperations.js"; -export * from "./privateEndpointConnections.js"; -export * from "./privateLinkResources.js"; -export * from "./workspaceConnections.js"; -export * from "./managedNetworkSettingsRule.js"; -export * from "./managedNetworkProvisions.js"; +export * from "./pTUQuota.js"; export * from "./registryCodeContainers.js"; export * from "./registryCodeVersions.js"; export * from "./registryComponentContainers.js"; @@ -30,6 +24,7 @@ export * from "./registryModelContainers.js"; export * from "./registryModelVersions.js"; export * from "./batchEndpoints.js"; export * from "./batchDeployments.js"; +export * from "./capabilityHosts.js"; export * from "./codeContainers.js"; export * from "./codeVersions.js"; export * from "./componentContainers.js"; @@ -44,6 +39,9 @@ export * from "./features.js"; export * from "./featuresetVersions.js"; export * from "./featurestoreEntityContainers.js"; export * from "./featurestoreEntityVersions.js"; +export * from "./inferencePools.js"; +export * from "./inferenceEndpoints.js"; +export * from "./inferenceGroups.js"; export * from "./jobs.js"; export * from "./marketplaceSubscriptions.js"; export * from "./modelContainers.js"; @@ -54,3 +52,24 @@ export * from "./schedules.js"; export * from "./serverlessEndpoints.js"; export * from "./registries.js"; export * from "./workspaceFeatures.js"; +export * from "./operations.js"; +export * from "./workspaces.js"; +export * from "./workspaceConnections.js"; +export * from "./connection.js"; +export * from "./connectionRaiBlocklists.js"; +export * from "./connectionRaiBlocklist.js"; +export * from "./connectionRaiBlocklistItem.js"; +export * from "./connectionRaiBlocklistItems.js"; +export * from "./connectionRaiPolicies.js"; +export * from "./connectionRaiPolicy.js"; +export * from "./endpointDeployment.js"; +export * from "./endpointOperations.js"; +export * from "./raiPolicies.js"; +export * from "./raiPolicy.js"; +export * from "./managedNetworkSettingsRule.js"; +export * from "./privateEndpointConnections.js"; +export * from "./privateLinkResources.js"; +export * from "./managedNetworkProvisions.js"; +export * from "./outboundRuleOperations.js"; +export * from "./outboundRules.js"; +export * from "./managedNetworkSettingsOperations.js"; 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..f47903406416 --- /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/index.js"; + +/// +/** 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..5606b7e98dbc --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferenceGroups.ts @@ -0,0 +1,275 @@ +/* + * 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, + InferenceGroupsModifyDeltaModelsAsyncResponse, + InferenceGroupsGetStatusOptionalParams, + InferenceGroupsGetStatusResponse, +} from "../models/index.js"; + +/// +/** 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, 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. + */ + beginModifyDeltaModelsAsync( + resourceGroupName: string, + workspaceName: string, + poolName: string, + groupName: string, + body: DeltaModelModifyRequest, + options?: InferenceGroupsModifyDeltaModelsAsyncOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + InferenceGroupsModifyDeltaModelsAsyncResponse + > + >; + /** + * 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. + */ + beginModifyDeltaModelsAsyncAndWait( + 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..78229011dc32 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/inferencePools.ts @@ -0,0 +1,144 @@ +/* + * 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/index.js"; + +/// +/** 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, 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 1b8c16a88b00..0ba332022b70 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/managedNetworkSettingsOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsOperations.ts new file mode 100644 index 000000000000..b5ed7865ee53 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsOperations.ts @@ -0,0 +1,120 @@ +/* + * 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 { + ManagedNetworkSettingsPropertiesBasicResource, + ManagedNetworkSettingsListOptionalParams, + ManagedNetworkSettingsGetOptionalParams, + ManagedNetworkSettingsGetResponse, + ManagedNetworkSettingsPatchOptionalParams, + ManagedNetworkSettingsPatchResponse, + ManagedNetworkSettingsPutOptionalParams, + ManagedNetworkSettingsPutResponse, +} from "../models/index.js"; + +/// +/** Interface representing a ManagedNetworkSettingsOperations. */ +export interface ManagedNetworkSettingsOperations { + /** + * List API for managed network settings of a 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. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: ManagedNetworkSettingsListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsGetOptionalParams, + ): Promise; + /** + * Patch API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + beginPatch( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsPatchOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsPatchResponse + > + >; + /** + * Patch API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + beginPatchAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: ManagedNetworkSettingsPatchOptionalParams, + ): Promise; + /** + * PUT API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + beginPut( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsPropertiesBasicResource, + options?: ManagedNetworkSettingsPutOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + ManagedNetworkSettingsPutResponse + > + >; + /** + * PUT API for managed network settings of a machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + beginPutAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsPropertiesBasicResource, + options?: ManagedNetworkSettingsPutOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/managedNetworkSettingsRule.ts index 6ccaa6e4b1e4..f2b2c0ad1589 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/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts index 9848a1dcfd2c..5f67331c7899 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/onlineEndpoints.ts @@ -95,10 +95,7 @@ export interface OnlineEndpoints { body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - OnlineEndpointsUpdateResponse - > + SimplePollerLike, OnlineEndpointsUpdateResponse> >; /** * Update Online Endpoint (asynchronous). diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index 336d65d55eee..c53d3d62a3a2 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -13,10 +13,8 @@ import { Operation, OperationsListOptionalParams } from "../models/index.js"; /** 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( - options?: OperationsListOptionalParams, - ): PagedAsyncIterableIterator; + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRuleOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRuleOperations.ts new file mode 100644 index 000000000000..89be934fe8b2 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRuleOperations.ts @@ -0,0 +1,132 @@ +/* + * 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 { + OutboundRuleBasicResource, + OutboundRuleListOptionalParams, + OutboundRuleDeleteOptionalParams, + OutboundRuleDeleteResponse, + OutboundRuleGetOptionalParams, + OutboundRuleGetResponse, + OutboundRuleCreateOrUpdateOptionalParams, + OutboundRuleCreateOrUpdateResponse, +} from "../models/index.js"; + +/// +/** Interface representing a OutboundRuleOperations. */ +export interface OutboundRuleOperations { + /** + * The GET API for retrieveing the list of outbound rules of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + options?: OutboundRuleListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * The DELETE API for deleting a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleDeleteOptionalParams, + ): Promise< + SimplePollerLike, OutboundRuleDeleteResponse> + >; + /** + * The DELETE API for deleting a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleDeleteOptionalParams, + ): Promise; + /** + * The GET API for retrieveing a single outbound rule of the managed network associated with the + * machine learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + options?: OutboundRuleGetOptionalParams, + ): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param body + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: OutboundRuleCreateOrUpdateOptionalParams, + ): Promise< + SimplePollerLike< + OperationState, + OutboundRuleCreateOrUpdateResponse + > + >; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param ruleName Name of the workspace managed network outbound rule + * @param body + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + ruleName: string, + body: OutboundRuleBasicResource, + options?: OutboundRuleCreateOrUpdateOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRules.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRules.ts new file mode 100644 index 000000000000..83d2f646d8fb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/outboundRules.ts @@ -0,0 +1,36 @@ +/* + * 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 { + OutboundRuleBasicResource, + ManagedNetworkSettingsBasicResource, + OutboundRulesPostOptionalParams, +} from "../models/index.js"; + +/// +/** Interface representing a OutboundRules. */ +export interface OutboundRules { + /** + * The POST API for updating the outbound rules of the managed network associated with the machine + * learning workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Azure Machine Learning Workspace Name + * @param managedNetworkName Name of the managedNetwork associated with the workspace. Only 'default' + * is supported. + * @param body The Managed Network Settings object of the workspace. + * @param options The options parameters. + */ + beginListPostAndWait( + resourceGroupName: string, + workspaceName: string, + managedNetworkName: string, + body: ManagedNetworkSettingsBasicResource, + options?: OutboundRulesPostOptionalParams, + ): PagedAsyncIterableIterator; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/pTUQuota.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/pTUQuota.ts new file mode 100644 index 000000000000..31b4fa437c53 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/pTUQuota.ts @@ -0,0 +1,49 @@ +/* + * 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 { + AvailableQuota, + PTUQuotaListAvailableOptionalParams, + UsageAndQuotaDetails, + PTUQuotaListOptionalParams, + PTUQuotaGetAvailableOptionalParams, + PTUQuotaGetAvailableResponse, +} from "../models/index.js"; + +/// +/** Interface representing a PTUQuota. */ +export interface PTUQuota { + /** + * List available MaaS PTU quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + listAvailable( + location: string, + options?: PTUQuotaListAvailableOptionalParams, + ): PagedAsyncIterableIterator; + /** + * List MaaS PTU usage and quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + list( + location: string, + options?: PTUQuotaListOptionalParams, + ): PagedAsyncIterableIterator; + /** + * Get available MaaS PTU quota. + * @param location The name of Azure region. + * @param options The options parameters. + */ + getAvailable( + location: string, + options?: PTUQuotaGetAvailableOptionalParams, + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateEndpointConnections.ts index 9957222d8e3e..3dbe4808912d 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/index.js"; /// /** 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 21f8c79bdf51..2c5d95c90d0b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/privateLinkResources.ts @@ -6,22 +6,26 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { - PrivateLinkResourcesListOptionalParams, - PrivateLinkResourcesListResponse, -} from "../models/index.js"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PrivateLinkResource, PrivateLinkResourcesListOptionalParams } from "../models/index.js"; +/// /** 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..e1e45a61d7da --- /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/index.js"; + +/// +/** 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..7b11857059d9 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/raiPolicy.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 { + RaiPolicyDeleteOptionalParams, + RaiPolicyDeleteResponse, + RaiPolicyGetOptionalParams, + RaiPolicyGetResponse, + RaiPolicyPropertiesBasicResource, + RaiPolicyCreateOptionalParams, + RaiPolicyCreateResponse, +} from "../models/index.js"; + +/** 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, 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, 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/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts index 43e38effab47..8047f8e6d0bc 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/usages.ts @@ -18,8 +18,5 @@ export interface Usages { * @param location The location for which resource usage is queried. * @param options The options parameters. */ - list( - location: string, - options?: UsagesListOptionalParams, - ): PagedAsyncIterableIterator; + list(location: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaceConnections.ts index 9e244fc83ebf..f71175aa9e91 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/index.js"; /// /** 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 0c53f11e2f98..351d44370dc9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/workspaces.ts @@ -10,36 +10,43 @@ 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/index.js"; /// /** Interface representing a Workspaces. */ export interface Workspaces { + /** + * Lists all the available machine learning workspaces under the specified subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: WorkspacesListBySubscriptionOptionalParams, + ): PagedAsyncIterableIterator; /** * 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. @@ -50,111 +57,99 @@ export interface Workspaces { options?: WorkspacesListByResourceGroupOptionalParams, ): PagedAsyncIterableIterator; /** - * Lists all the available machine learning workspaces under the specified subscription. - * @param options The options parameters. - */ - listBySubscription( - options?: WorkspacesListBySubscriptionOptionalParams, - ): PagedAsyncIterableIterator; - /** - * Gets the properties of the specified machine learning workspace. + * 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. */ - get( + beginDelete( resourceGroupName: string, workspaceName: string, - options?: WorkspacesGetOptionalParams, - ): Promise; + options?: WorkspacesDeleteOptionalParams, + ): Promise, void>>; /** - * Creates or updates a workspace with the specified parameters. + * 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 parameters The parameters for creating or updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginCreateOrUpdate( + beginDeleteAndWait( resourceGroupName: string, workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise< - SimplePollerLike< - OperationState, - WorkspacesCreateOrUpdateResponse - > - >; + options?: WorkspacesDeleteOptionalParams, + ): Promise; /** - * Creates or updates a workspace with the specified parameters. + * 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 parameters The parameters for creating or updating a machine learning workspace. + * @param workspaceName Azure Machine Learning Workspace Name * @param options The options parameters. */ - beginCreateOrUpdateAndWait( + get( resourceGroupName: string, workspaceName: string, - parameters: Workspace, - options?: WorkspacesCreateOrUpdateOptionalParams, - ): Promise; + options?: WorkspacesGetOptionalParams, + ): Promise; /** - * Deletes a machine learning workspace. + * 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 workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ - beginDelete( + beginUpdate( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams, - ): Promise, void>>; + body: WorkspaceUpdateParameters, + options?: WorkspacesUpdateOptionalParams, + ): Promise, WorkspacesUpdateResponse>>; /** - * Deletes a machine learning workspace. + * 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 workspaceName Azure Machine Learning Workspace Name + * @param body The parameters for updating a machine learning workspace. * @param options The options parameters. */ - beginDeleteAndWait( + beginUpdateAndWait( resourceGroupName: string, workspaceName: string, - options?: WorkspacesDeleteOptionalParams, - ): Promise; + body: WorkspaceUpdateParameters, + options?: WorkspacesUpdateOptionalParams, + ): Promise; /** - * Updates a machine learning workspace with the specified parameters. + * 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 updating a 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. */ - beginUpdate( + beginCreateOrUpdate( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams, + body: Workspace, + options?: WorkspacesCreateOrUpdateOptionalParams, ): Promise< SimplePollerLike< - OperationState, - WorkspacesUpdateResponse + OperationState, + WorkspacesCreateOrUpdateResponse > >; /** - * Updates a machine learning workspace with the specified parameters. + * 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 updating a 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. */ - beginUpdateAndWait( + beginCreateOrUpdateAndWait( resourceGroupName: string, workspaceName: string, - parameters: WorkspaceUpdateParameters, - options?: WorkspacesUpdateOptionalParams, - ): Promise; + 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( @@ -162,15 +157,12 @@ export interface Workspaces { workspaceName: string, options?: WorkspacesDiagnoseOptionalParams, ): Promise< - SimplePollerLike< - OperationState, - WorkspacesDiagnoseResponse - > + SimplePollerLike, WorkspacesDiagnoseResponse> >; /** * 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 +172,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 +183,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 +244,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 +255,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/src/pagingHelper.ts b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts index 205cccc26592..e362819bdfc4 100644 --- a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts +++ b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts @@ -26,10 +26,7 @@ export function getContinuationToken(page: unknown): string | undefined { return pageMap.get(page)?.continuationToken; } -export function setContinuationToken( - page: unknown, - continuationToken: string | undefined, -): void { +export function setContinuationToken(page: unknown, continuationToken: string | undefined): void { if (typeof page !== "object" || page === null || !continuationToken) { return; } diff --git a/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts b/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts new file mode 100644 index 000000000000..90b3c8a868b4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/test/sampleTest.spec.ts @@ -0,0 +1,38 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { Recorder, RecorderStartOptions } from "@azure-tools/test-recorder"; +import { afterEach, beforeEach, describe, it, assert } from "vitest"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async () => { + recorder = new Recorder(); + await recorder.start(recorderOptions); + }); + + afterEach(async () => { + await recorder.stop(); + }); + + it("sample test", async () => { + assert(true); + }); +}); diff --git a/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts b/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts index c90b8420dcc8..b0c20b76c687 100644 --- a/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts +++ b/sdk/machinelearning/arm-machinelearning/test/snippets.spec.ts @@ -1,5 +1,10 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ import { AzureMachineLearningServicesManagementClient } from "../src/index.js"; import { DefaultAzureCredential, InteractiveBrowserCredential } from "@azure/identity"; diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index 19ceb382b521..59ea83c046bf 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -3,11 +3,8 @@ { "path": "./tsconfig.src.json" }, - { - "path": "./tsconfig.samples.json" - }, { "path": "./tsconfig.test.json" } ] -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts index 10e70dbfa8ee..182729ab5ce9 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.browser.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. @@ -8,7 +9,7 @@ export default mergeConfig( viteConfig, defineConfig({ test: { - include: ["dist-test/browser/test/**/*.spec.js"], + include: ["dist-test/browser/test/**/*.spec.js",], testTimeout: 1200000, hookTimeout: 1200000, }, diff --git a/sdk/machinelearning/arm-machinelearning/vitest.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.config.ts index 86a71911ccc2..40e031385dd8 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. diff --git a/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts b/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts index 5e9735e9b144..a70127279fc9 100644 --- a/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts +++ b/sdk/machinelearning/arm-machinelearning/vitest.esm.config.ts @@ -1,3 +1,4 @@ + // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. @@ -5,4 +6,7 @@ import { mergeConfig } from "vitest/config"; import vitestConfig from "./vitest.config.ts"; import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; -export default mergeConfig(vitestConfig, vitestEsmConfig); +export default mergeConfig( + vitestConfig, + vitestEsmConfig +);