Skip to content

Commit 0341f94

Browse files
authored
Merge pull request #222218 from ninpan-ms/ninpan/delete
Add how to enable/disable tanzu after service creation
2 parents a81626d + 9bc46bd commit 0341f94

4 files changed

+124
-0
lines changed

articles/spring-apps/how-to-enterprise-application-configuration-service.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,37 @@ az spring app deploy \
205205
--config-file-pattern <config-file-pattern>
206206
```
207207

208+
## Enable/disable Application Configuration Service after service creation
209+
210+
You can enable and disable Application Configuration Service after service creation using the Azure portal or Azure CLI. Before disabling Application Configuration Service, you're required to unbind all of your apps from it.
211+
212+
### [Azure portal](#tab/Portal)
213+
214+
Use the following steps to enable or disable Application Configuration Service using the Azure portal:
215+
216+
1. Navigate to your service resource, and then select **Application Configuration Service**.
217+
1. Select **Manage**.
218+
1. Select or unselect **Enable Application Configuration Service**, and then select **Save**.
219+
1. You can now view the state of Application Configuration Service on the **Application Configuration Service** page.
220+
221+
### [Azure CLI](#tab/Azure-CLI)
222+
223+
Use the following Azure CLI commands to enable or disable Application Configuration Service:
224+
225+
```azurecli
226+
az spring application-configuration-service create \
227+
--resource-group <resource-group-name> \
228+
--service <Azure-Spring-Apps-service-instance-name>
229+
```
230+
231+
```azurecli
232+
az spring application-configuration-service delete \
233+
--resource-group <resource-group-name> \
234+
--service <Azure-Spring-Apps-service-instance-name>
235+
```
236+
237+
---
238+
208239
## Next steps
209240

210241
- [Azure Spring Apps](index.yml)

articles/spring-apps/how-to-enterprise-service-registry.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,37 @@ This command produces the following output.
451451

452452
In this way, you can obtain detailed information from the program as needed.
453453

454+
## Enable/disable Service Registry after service creation
455+
456+
You can enable and disable Service Registry after service creation using the Azure portal or Azure CLI. Before disabling Service Registry, you're required to unbind all of your apps from it.
457+
458+
### [Azure portal](#tab/Portal)
459+
460+
Use the following steps to enable or disable Service Registry using the Azure portal:
461+
462+
1. Navigate to your service resource, and then select **Service Registry**.
463+
1. Select **Manage**.
464+
1. Select or unselect the **Enable Service Registry**, and then select **Save**.
465+
1. You can now view the state of Service Registry on the **Service Registry** page.
466+
467+
### [Azure CLI](#tab/Azure-CLI)
468+
469+
Use the following Azure CLI commands to enable or disable Service Registry:
470+
471+
```azurecli
472+
az spring service-registry create \
473+
--resource-group <resource-group-name> \
474+
--service <Azure-Spring-Apps-service-instance-name>
475+
```
476+
477+
```azurecli
478+
az spring service-registry delete \
479+
--resource-group <resource-group-name> \
480+
--service <Azure-Spring-Apps-service-instance-name>
481+
```
482+
483+
---
484+
454485
## Next steps
455486

456487
- [Create Roles and Permissions](./how-to-permissions.md)

articles/spring-apps/how-to-use-enterprise-api-portal.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,37 @@ Use the following steps to try out APIs:
159159

160160
:::image type="content" source="media/how-to-use-enterprise-api-portal/api-portal-tryout.png" alt-text="Screenshot of API portal.":::
161161

162+
## Enable/disable API portal after service creation
163+
164+
You can enable and disable API portal after service creation using the Azure portal or Azure CLI. Before disabling API portal, you're required to unassign its endpoint.
165+
166+
### [Azure portal](#tab/Portal)
167+
168+
Use the following steps to enable or disable API portal using the Azure portal:
169+
170+
1. Navigate to your service resource, and then select **API portal**.
171+
1. Select **Manage**.
172+
1. Select or unselect the **Enable API portal**, and then select **Save**.
173+
1. You can now view the state of API portal on the **API portal** page.
174+
175+
### [Azure CLI](#tab/Azure-CLI)
176+
177+
Use the following Azure CLI commands to enable or disable API portal:
178+
179+
```azurecli
180+
az spring api-portal create \
181+
--resource-group <resource-group-name> \
182+
--service <Azure-Spring-Apps-service-instance-name>
183+
```
184+
185+
```azurecli
186+
az spring api-portal delete \
187+
--resource-group <resource-group-name> \
188+
--service <Azure-Spring-Apps-service-instance-name>
189+
```
190+
191+
---
192+
162193
## Next steps
163194

164195
- [Azure Spring Apps](index.yml)

articles/spring-apps/how-to-use-enterprise-spring-cloud-gateway.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,37 @@ az spring gateway route-config create \
254254
--routes-file <json-file-with-routes>
255255
```
256256

257+
## Enable/disable Spring Cloud Gateway after service creation
258+
259+
You can enable and disable Spring Cloud Gateway after service creation using the Azure portal or Azure CLI. Before disabling Spring Cloud Gateway, you're required to unassign its endpoint and remove all route configs.
260+
261+
### [Azure portal](#tab/Portal)
262+
263+
Use the following steps to enable or disable Spring Cloud Gateway using the Azure portal:
264+
265+
1. Navigate to your service resource, and then select **Spring Cloud Gateway**.
266+
1. Select **Manage**.
267+
1. Select or unselect the **Enable Spring Cloud Gateway**, and then select **Save**.
268+
1. You can now view the state of Spring Cloud Gateway on the **Spring Cloud Gateway** page.
269+
270+
### [Azure CLI](#tab/Azure-CLI)
271+
272+
Use the following Azure CLI commands to enable or disable Spring Cloud Gateway:
273+
274+
```azurecli
275+
az spring spring-cloud-gateway create \
276+
--resource-group <resource-group-name> \
277+
--service <Azure-Spring-Apps-service-instance-name>
278+
```
279+
280+
```azurecli
281+
az spring spring-cloud-gateway delete \
282+
--resource-group <resource-group-name> \
283+
--service <Azure-Spring-Apps-service-instance-name>
284+
```
285+
286+
---
287+
257288
## Next steps
258289

259290
- [Azure Spring Apps](index.yml)

0 commit comments

Comments
 (0)