Skip to content

Commit ff67419

Browse files
authored
Add bind for service registry
1 parent 1c40be9 commit ff67419

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

articles/spring-apps/enterprise/how-to-manage-job.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,24 @@ Using the following Azure CLI command:
217217
az spring job create --bind-service-registry true
218218
```
219219

220+
1. For existing jobs, you can bind them with Service Registry using this command:
221+
222+
```
223+
az spring service-registry bind --job <job-name>
224+
```
225+
220226
# [Azure portal](#tab/azure-portal)
221227

228+
Bind the job to Service Registry during job creation:
229+
230+
1. Go to your Azure Spring Apps instance. From the navigation pane, select *Service Registry* in *Managed components*.
231+
1. If the component is disabled, select *Manage* to enable it.
232+
1. In *Job binding* tab, select *Bind job* and choose the job to apply.
233+
1. After binding successfully, the job name shows in the list.
234+
1. Run the job
235+
236+
For existing jobs, you can bind them with Service Registry with following steps:
237+
222238
1. Go to your Azure Spring Apps instance. From the navigation pane, select *Service Registry* in *Managed components*.
223239
1. If the component is disabled, select *Manage* to enable it.
224240
1. In *Job binding* tab, select *Bind job* and choose the job to apply.

0 commit comments

Comments
 (0)