File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
articles/machine-learning Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -86,17 +86,15 @@ az ml online-endpoint create -f endpoint.yml --set public_network_access=disable
8686# [ Python SDK] ( #tab/python )
8787
8888``` python
89- from azure.ai.ml.entities._common import PublicNetworkAccess
89+ from azure.ai.ml.entities import ManagedOnlineEndpoint
9090
9191endpoint = ManagedOnlineEndpoint(name = ' my-online-endpoint' ,
9292 description = ' this is a sample online endpoint' ,
9393 tags = {' foo' : ' bar' },
9494 auth_mode = " key" ,
95- public_network_access = PublicNetworkAccess.Disabled
96- # public_network_access=PublicNetworkAccess.Enabled
97- )
98-
99- ml_client.begin_create_or_update(endpoint)
95+ public_network_access = " disabled"
96+ # public_network_access="enabled"
97+ )
10098```
10199
102100---
Original file line number Diff line number Diff line change 503503 href : how-to-deploy-managed-online-endpoints.md
504504 - name : Safe rollout for online endpoints (CLI)
505505 href : how-to-safely-rollout-managed-endpoints.md
506- - name : Safe rollout for online endpoints (SDK preview )
506+ - name : Safe rollout for online endpoints (SDK)
507507 href : how-to-safely-rollout-managed-endpoints-sdk-v2.md
508508 - name : Deployment scenarios
509509 items :
545545 items :
546546 - name : Batch scoring with batch endpoints (CLI)
547547 href : how-to-use-batch-endpoint.md
548- - name : Batch scoring with batch endpoints (SDK preview )
548+ - name : Batch scoring with batch endpoints (SDK)
549549 href : how-to-use-batch-endpoint-sdk-v2.md
550550 - name : Batch endpoints in studio
551551 href : how-to-use-batch-endpoints-studio.md
You can’t perform that action at this time.
0 commit comments