Skip to content

Commit

Permalink
Changed to use ml_client.online_endpoints (#1969)
Browse files Browse the repository at this point in the history
changed from `ml_client.begin_create_or_update` to `ml_client.online_endpoints.begin_create_or_update`
  • Loading branch information
shohei1029 committed Dec 14, 2022
1 parent 2b17609 commit c3302c0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
"metadata": {},
"outputs": [],
"source": [
"ml_client.begin_create_or_update(endpoint).result()"
"ml_client.online_endpoints.begin_create_or_update(endpoint).result()"
]
},
{
Expand Down Expand Up @@ -377,7 +377,7 @@
"metadata": {},
"outputs": [],
"source": [
"ml_client.begin_create_or_update(blue_deployment).result()"
"ml_client.online_deployments.begin_create_or_update(blue_deployment).result()"
]
},
{
Expand All @@ -388,7 +388,7 @@
"source": [
"# blue deployment takes 100 traffic\n",
"endpoint.traffic = {\"blue\": 100}\n",
"ml_client.begin_create_or_update(endpoint).result()"
"ml_client.online_endpoints.begin_create_or_update(endpoint).result()"
]
},
{
Expand Down

0 comments on commit c3302c0

Please sign in to comment.