|
38 | 38 | from ._assets.asset import Asset
|
39 | 39 | from ._assets.environment import BuildContext, Environment
|
40 | 40 | from ._assets.intellectual_property import IntellectualProperty
|
41 |
| -from ._assets.workspace_asset_reference import ( |
42 |
| - WorkspaceAssetReference as WorkspaceModelReference, |
43 |
| -) |
| 41 | +from ._assets.workspace_asset_reference import WorkspaceAssetReference as WorkspaceModelReference |
44 | 42 | from ._autogen_entities.models import (
|
45 | 43 | AzureOpenAIDeployment,
|
| 44 | + MarketplacePlan, |
46 | 45 | MarketplaceSubscription,
|
47 | 46 | ServerlessEndpoint,
|
48 |
| - MarketplacePlan, |
49 | 47 | )
|
50 | 48 | from ._builders import Command, Parallel, Pipeline, Spark, Sweep
|
51 | 49 | from ._component.command_component import CommandComponent
|
|
54 | 52 | from ._component.pipeline_component import PipelineComponent
|
55 | 53 | from ._component.spark_component import SparkComponent
|
56 | 54 | from ._compute._aml_compute_node_info import AmlComputeNodeInfo
|
57 |
| -from ._compute._custom_applications import ( |
58 |
| - CustomApplications, |
59 |
| - EndpointsSettings, |
60 |
| - ImageSettings, |
61 |
| - VolumeSettings, |
62 |
| -) |
| 55 | +from ._compute._custom_applications import CustomApplications, EndpointsSettings, ImageSettings, VolumeSettings |
63 | 56 | from ._compute._image_metadata import ImageMetadata
|
64 |
| -from ._compute._schedule import ( |
65 |
| - ComputePowerAction, |
66 |
| - ComputeSchedules, |
67 |
| - ComputeStartStopSchedule, |
68 |
| - ScheduleState, |
69 |
| -) |
| 57 | +from ._compute._schedule import ComputePowerAction, ComputeSchedules, ComputeStartStopSchedule, ScheduleState |
70 | 58 | from ._compute._setup_scripts import ScriptReference, SetupScripts
|
71 | 59 | from ._compute._usage import Usage, UsageName
|
72 | 60 | from ._compute._vm_size import VmSize
|
73 | 61 | from ._compute.aml_compute import AmlCompute, AmlComputeSshSettings
|
74 | 62 | from ._compute.compute import Compute, NetworkSettings
|
75 |
| -from ._compute.compute_instance import ( |
76 |
| - AssignedUserConfiguration, |
77 |
| - ComputeInstance, |
78 |
| - ComputeInstanceSshSettings, |
79 |
| -) |
| 63 | +from ._compute.compute_instance import AssignedUserConfiguration, ComputeInstance, ComputeInstanceSshSettings |
80 | 64 | from ._compute.kubernetes_compute import KubernetesCompute
|
81 |
| -from ._compute.synapsespark_compute import ( |
82 |
| - AutoPauseSettings, |
83 |
| - AutoScaleSettings, |
84 |
| - SynapseSparkCompute, |
85 |
| -) |
| 65 | +from ._compute.synapsespark_compute import AutoPauseSettings, AutoScaleSettings, SynapseSparkCompute |
86 | 66 | from ._compute.unsupported_compute import UnsupportedCompute
|
87 |
| -from ._compute.virtual_machine_compute import ( |
88 |
| - VirtualMachineCompute, |
89 |
| - VirtualMachineSshSettings, |
90 |
| -) |
| 67 | +from ._compute.virtual_machine_compute import VirtualMachineCompute, VirtualMachineSshSettings |
91 | 68 | from ._credentials import (
|
| 69 | + AadCredentialConfiguration, |
92 | 70 | AccessKeyConfiguration,
|
93 | 71 | AccountKeyConfiguration,
|
94 | 72 | AmlTokenConfiguration,
|
|
97 | 75 | IdentityConfiguration,
|
98 | 76 | ManagedIdentityConfiguration,
|
99 | 77 | NoneCredentialConfiguration,
|
100 |
| - AadCredentialConfiguration, |
101 | 78 | PatTokenConfiguration,
|
102 | 79 | SasTokenConfiguration,
|
103 | 80 | ServicePrincipalConfiguration,
|
|
107 | 84 | from ._data_import.data_import import DataImport
|
108 | 85 | from ._data_import.schedule import ImportDataSchedule
|
109 | 86 | from ._datastore.adls_gen1 import AzureDataLakeGen1Datastore
|
110 |
| -from ._datastore.azure_storage import ( |
111 |
| - AzureBlobDatastore, |
112 |
| - AzureDataLakeGen2Datastore, |
113 |
| - AzureFileDatastore, |
114 |
| -) |
| 87 | +from ._datastore.azure_storage import AzureBlobDatastore, AzureDataLakeGen2Datastore, AzureFileDatastore |
115 | 88 | from ._datastore.datastore import Datastore
|
116 | 89 | from ._datastore.one_lake import OneLakeArtifact, OneLakeDatastore
|
117 | 90 | from ._deployment.batch_deployment import BatchDeployment
|
|
121 | 94 | from ._deployment.data_asset import DataAsset
|
122 | 95 | from ._deployment.data_collector import DataCollector
|
123 | 96 | from ._deployment.deployment_collection import DeploymentCollection
|
124 |
| -from ._deployment.deployment_settings import ( |
125 |
| - BatchRetrySettings, |
126 |
| - OnlineRequestSettings, |
127 |
| - ProbeSettings, |
128 |
| -) |
| 97 | +from ._deployment.deployment_settings import BatchRetrySettings, OnlineRequestSettings, ProbeSettings |
129 | 98 | from ._deployment.model_batch_deployment import ModelBatchDeployment
|
130 | 99 | from ._deployment.model_batch_deployment_settings import ModelBatchDeploymentSettings
|
131 | 100 | from ._deployment.online_deployment import (
|
|
134 | 103 | ManagedOnlineDeployment,
|
135 | 104 | OnlineDeployment,
|
136 | 105 | )
|
137 |
| -from ._deployment.pipeline_component_batch_deployment import ( |
138 |
| - PipelineComponentBatchDeployment, |
139 |
| -) |
| 106 | +from ._deployment.pipeline_component_batch_deployment import PipelineComponentBatchDeployment |
140 | 107 | from ._deployment.request_logging import RequestLogging
|
141 | 108 | from ._deployment.resource_requirements_settings import ResourceRequirementsSettings
|
142 |
| -from ._deployment.scale_settings import ( |
143 |
| - DefaultScaleSettings, |
144 |
| - OnlineScaleSettings, |
145 |
| - TargetUtilizationScaleSettings, |
146 |
| -) |
| 109 | +from ._deployment.scale_settings import DefaultScaleSettings, OnlineScaleSettings, TargetUtilizationScaleSettings |
147 | 110 | from ._endpoint.batch_endpoint import BatchEndpoint
|
148 | 111 | from ._endpoint.endpoint import Endpoint
|
149 | 112 | from ._endpoint.online_endpoint import (
|
| 113 | + EndpointAadToken, |
150 | 114 | EndpointAuthKeys,
|
151 | 115 | EndpointAuthToken,
|
152 |
| - EndpointAadToken, |
153 | 116 | KubernetesOnlineEndpoint,
|
154 | 117 | ManagedOnlineEndpoint,
|
155 | 118 | OnlineEndpoint,
|
|
158 | 121 | from ._feature_set.feature import Feature
|
159 | 122 | from ._feature_set.feature_set_backfill_metadata import FeatureSetBackfillMetadata
|
160 | 123 | from ._feature_set.feature_set_backfill_request import FeatureSetBackfillRequest
|
161 |
| -from ._feature_set.feature_set_materialization_metadata import ( |
162 |
| - FeatureSetMaterializationMetadata, |
163 |
| -) |
| 124 | +from ._feature_set.feature_set_materialization_metadata import FeatureSetMaterializationMetadata |
164 | 125 | from ._feature_set.feature_set_specification import FeatureSetSpecification
|
165 | 126 | from ._feature_set.feature_window import FeatureWindow
|
166 |
| -from ._feature_set.materialization_compute_resource import ( |
167 |
| - MaterializationComputeResource, |
168 |
| -) |
| 127 | +from ._feature_set.materialization_compute_resource import MaterializationComputeResource |
169 | 128 | from ._feature_set.materialization_settings import MaterializationSettings
|
170 | 129 | from ._feature_set.materialization_type import MaterializationType
|
171 | 130 | from ._feature_store.feature_store import FeatureStore
|
172 | 131 | from ._feature_store.materialization_store import MaterializationStore
|
173 | 132 | from ._feature_store_entity.data_column import DataColumn
|
174 | 133 | from ._feature_store_entity.data_column_type import DataColumnType
|
175 | 134 | from ._feature_store_entity.feature_store_entity import FeatureStoreEntity
|
176 |
| -from ._indexes import ( |
177 |
| - AzureAISearchConfig, |
178 |
| - IndexDataSource, |
179 |
| - GitSource, |
180 |
| - LocalSource, |
181 |
| -) |
| 135 | +from ._indexes import AzureAISearchConfig, GitSource, IndexDataSource, LocalSource |
182 | 136 | from ._indexes import ModelConfiguration as IndexModelConfiguration
|
183 | 137 | from ._job.command_job import CommandJob
|
184 | 138 | from ._job.compute_configuration import ComputeConfiguration
|
185 | 139 | from ._job.input_port import InputPort
|
186 | 140 | from ._job.job import Job
|
187 | 141 | from ._job.job_limits import CommandJobLimits
|
188 | 142 | from ._job.job_resource_configuration import JobResourceConfiguration
|
189 |
| -from ._job.job_service import ( |
190 |
| - JobService, |
191 |
| - JupyterLabJobService, |
192 |
| - SshJobService, |
193 |
| - TensorBoardJobService, |
194 |
| - VsCodeJobService, |
195 |
| -) |
| 143 | +from ._job.job_service import JobService, JupyterLabJobService, SshJobService, TensorBoardJobService, VsCodeJobService |
196 | 144 | from ._job.parallel.parallel_task import ParallelTask
|
197 | 145 | from ._job.parallel.retry_settings import RetrySettings
|
198 | 146 | from ._job.parameterized_command import ParameterizedCommand
|
|
208 | 156 | from ._monitoring.alert_notification import AlertNotification
|
209 | 157 | from ._monitoring.compute import ServerlessSparkCompute
|
210 | 158 | from ._monitoring.definition import MonitorDefinition
|
211 |
| -from ._monitoring.input_data import ( |
212 |
| - FixedInputData, |
213 |
| - MonitorInputData, |
214 |
| - StaticInputData, |
215 |
| - TrailingInputData, |
216 |
| -) |
| 159 | +from ._monitoring.input_data import FixedInputData, MonitorInputData, StaticInputData, TrailingInputData |
217 | 160 | from ._monitoring.schedule import MonitorSchedule
|
218 | 161 | from ._monitoring.signals import (
|
219 | 162 | BaselineDataRange,
|
|
261 | 204 | from ._schedule.trigger import CronTrigger, RecurrencePattern, RecurrenceTrigger
|
262 | 205 | from ._system_data import SystemData
|
263 | 206 | from ._validation import ValidationResult
|
| 207 | +from ._workspace._ai_workspaces.hub import Hub |
| 208 | +from ._workspace._ai_workspaces.project import Project |
264 | 209 | from ._workspace.compute_runtime import ComputeRuntime
|
265 |
| -from ._workspace.connections.workspace_connection import WorkspaceConnection |
266 | 210 | from ._workspace.connections.connection_subtypes import (
|
267 |
| - AzureBlobStoreConnection, |
268 |
| - MicrosoftOneLakeConnection, |
269 |
| - AzureOpenAIConnection, |
270 |
| - AzureAIServicesConnection, |
| 211 | + APIKeyConnection, |
271 | 212 | AzureAISearchConnection,
|
| 213 | + AzureAIServicesConnection, |
| 214 | + AzureBlobStoreConnection, |
272 | 215 | AzureContentSafetyConnection,
|
| 216 | + AzureOpenAIConnection, |
273 | 217 | AzureSpeechServicesConnection,
|
274 |
| - APIKeyConnection, |
| 218 | + MicrosoftOneLakeConnection, |
275 | 219 | OpenAIConnection,
|
276 | 220 | SerpConnection,
|
277 | 221 | ServerlessConnection,
|
278 | 222 | )
|
279 | 223 | from ._workspace.connections.one_lake_artifacts import OneLakeConnectionArtifact
|
| 224 | +from ._workspace.connections.workspace_connection import WorkspaceConnection |
280 | 225 | from ._workspace.customer_managed_key import CustomerManagedKey
|
281 | 226 | from ._workspace.diagnose import (
|
282 | 227 | DiagnoseRequestProperties,
|
|
286 | 231 | DiagnoseWorkspaceParameters,
|
287 | 232 | )
|
288 | 233 | from ._workspace.feature_store_settings import FeatureStoreSettings
|
| 234 | +from ._workspace.network_acls import DefaultActionType, IPRule, NetworkAcls |
289 | 235 | from ._workspace.networking import (
|
290 | 236 | FqdnDestination,
|
291 | 237 | IsolationMode,
|
|
298 | 244 | from ._workspace.private_endpoint import EndpointConnection, PrivateEndpoint
|
299 | 245 | from ._workspace.serverless_compute import ServerlessComputeSettings
|
300 | 246 | from ._workspace.workspace import Workspace
|
301 |
| -from ._workspace._ai_workspaces.hub import Hub |
302 |
| -from ._workspace._ai_workspaces.project import Project |
303 |
| -from ._workspace.workspace_keys import ( |
304 |
| - ContainerRegistryCredential, |
305 |
| - NotebookAccessKeys, |
306 |
| - WorkspaceKeys, |
307 |
| -) |
| 247 | +from ._workspace.workspace_keys import ContainerRegistryCredential, NotebookAccessKeys, WorkspaceKeys |
308 | 248 |
|
309 | 249 | __all__ = [
|
310 | 250 | "Resource",
|
|
357 | 297 | "Model",
|
358 | 298 | "ModelBatchDeployment",
|
359 | 299 | "ModelBatchDeploymentSettings",
|
| 300 | + "IPRule", |
| 301 | + "DefaultActionType", |
| 302 | + "NetworkAcls", |
360 | 303 | "Workspace",
|
361 | 304 | "WorkspaceKeys",
|
362 | 305 | "WorkspaceConnection",
|
|
0 commit comments