|
1 | 1 | {
|
2 | 2 | "cells": [
|
3 | 3 | {
|
| 4 | + "attachments": {}, |
4 | 5 | "cell_type": "markdown",
|
5 | 6 | "metadata": {},
|
6 | 7 | "source": [
|
|
19 | 20 | ]
|
20 | 21 | },
|
21 | 22 | {
|
| 23 | + "attachments": {}, |
22 | 24 | "cell_type": "markdown",
|
23 | 25 | "metadata": {},
|
24 | 26 | "source": [
|
|
43 | 45 | ]
|
44 | 46 | },
|
45 | 47 | {
|
| 48 | + "attachments": {}, |
46 | 49 | "cell_type": "markdown",
|
47 | 50 | "metadata": {},
|
48 | 51 | "source": [
|
|
79 | 82 | ]
|
80 | 83 | },
|
81 | 84 | {
|
| 85 | + "attachments": {}, |
82 | 86 | "cell_type": "markdown",
|
83 | 87 | "metadata": {},
|
84 | 88 | "source": [
|
|
115 | 119 | ")\n",
|
116 | 120 | "\n",
|
117 | 121 | "ws_connection = WorkspaceConnection(\n",
|
118 |
| - " name=\"<connection_name>\",\n", |
| 122 | + " name=\"<workspace_connection_name>\",\n", |
119 | 123 | " target=\"<acr_url>\", # testacr.azurecr.io,\n",
|
120 | 124 | " type=\"container_registry\",\n",
|
121 | 125 | " credentials=credentials,\n",
|
|
125 | 129 | ]
|
126 | 130 | },
|
127 | 131 | {
|
| 132 | + "attachments": {}, |
128 | 133 | "cell_type": "markdown",
|
129 | 134 | "metadata": {},
|
130 | 135 | "source": [
|
|
149 | 154 | "credentials = PatTokenConfiguration(pat=git_pat)\n",
|
150 | 155 | "\n",
|
151 | 156 | "ws_connection = WorkspaceConnection(\n",
|
152 |
| - " name=\"<connection_name>\", target=\"<git_url>\", type=\"git\", credentials=credentials\n", |
| 157 | + " name=\"<workspace_connection_name>\",\n", |
| 158 | + " target=\"<git_url>\",\n", |
| 159 | + " type=\"git\",\n", |
| 160 | + " credentials=credentials,\n", |
153 | 161 | ")\n",
|
154 | 162 | "\n",
|
155 | 163 | "ml_client.connections.create_or_update(ws_connection)"
|
156 | 164 | ]
|
157 | 165 | },
|
158 | 166 | {
|
| 167 | + "attachments": {}, |
159 | 168 | "cell_type": "markdown",
|
160 | 169 | "metadata": {},
|
161 | 170 | "source": [
|
|
180 | 189 | "credentials = SasTokenConfiguration(sas_token=python_feed_sas)\n",
|
181 | 190 | "\n",
|
182 | 191 | "ws_connection = WorkspaceConnection(\n",
|
183 |
| - " name=\"<connection_name>\",\n", |
| 192 | + " name=\"<workspace_connection_namename>\",\n", |
184 | 193 | " target=\"<python_feed_url>\",\n",
|
185 | 194 | " type=\"python_feed\",\n",
|
186 | 195 | " credentials=credentials,\n",
|
|
0 commit comments