Skip to content

Commit 2910aaf

Browse files
committed
Fix issues flagged by Acrolinx . . .
1 parent 6d253e6 commit 2910aaf

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/machine-learning/how-to-manage-synapse-spark-pool.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The **Attach Synapse Spark pool (preview)** panel will open on the right side of
6666

6767
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
6868

69-
The Azure Machine Learning CLI provides the ability to attach and manage a Synapse Spark pool from the command line interface, using intuitive YAML syntax and commands.
69+
With the Azure Machine Learning CLI, we can attach and manage a Synapse Spark pool from the command line interface, using intuitive YAML syntax and commands.
7070

7171
To define an attached Synapse Spark pool using YAML syntax, the YAML file should cover these properties:
7272

@@ -129,7 +129,7 @@ The YAML files above can be used in the `az ml compute attach` command as the `-
129129
az ml compute attach --file <YAML_SPECIFICATION_FILE_NAME>.yaml --subscription <SUBSCRIPTION_ID> --resource-group <RESOURCE_GROUP> --workspace-name <AML_WORKSPACE_NAME>
130130
```
131131

132-
This shows the expected output of the above command:
132+
This sample shows the expected output of the above command:
133133

134134
```azurecli
135135
Class SynapseSparkCompute: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
@@ -174,7 +174,7 @@ To display details of an attached Synapse Spark pool, execute the `az ml compute
174174
az ml compute show --name <ATTACHED_SPARK_POOL_NAME> --subscription <SUBSCRIPTION_ID> --resource-group <RESOURCE_GROUP> --workspace-name <AML_WORKSPACE_NAME>
175175
```
176176

177-
This shows the expected output of the above command:
177+
This sample shows the expected output of the above command:
178178

179179
```azurecli
180180
<ATTACHED_SPARK_POOL_NAME>
@@ -209,7 +209,7 @@ To see a list of all computes, including the attached Synapse Spark pools in a w
209209
az ml compute list --subscription <SUBSCRIPTION_ID> --resource-group <RESOURCE_GROUP> --workspace-name <AML_WORKSPACE_NAME>
210210
```
211211

212-
This shows the expected output of the above command:
212+
This sample shows the expected output of the above command:
213213

214214
```azurecli
215215
[
@@ -417,7 +417,7 @@ Execute the `az ml compute update` command, with appropriate parameters, to upda
417417
az ml compute update --identity SystemAssigned --subscription <SUBSCRIPTION_ID> --resource-group <RESOURCE_GROUP> --workspace-name <AML_WORKSPACE_NAME> --name <ATTACHED_SPARK_POOL_NAME>
418418
```
419419

420-
This shows the expected output of the above command:
420+
This sample shows the expected output of the above command:
421421

422422
```azurecli
423423
Class SynapseSparkCompute: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
@@ -460,7 +460,7 @@ az ml compute update --identity UserAssigned --user-assigned-identities /subscri
460460
461461
```
462462

463-
This shows the expected output of the above command:
463+
This sample shows the expected output of the above command:
464464

465465
```azurecli
466466
Class SynapseSparkCompute: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
@@ -582,7 +582,7 @@ We might want to detach an attached Synapse Spark pool, to clean up a workspace.
582582

583583
# [Studio UI](#tab/studio-ui)
584584

585-
The Azure Machine Learning studio UI also provides a way to detach an attached Synapse Spark pool. To do this:
585+
The Azure Machine Learning studio UI also provides a way to detach an attached Synapse Spark pool. Follow these steps to do this:
586586

587587
1. Open the **Details** page for the Synapse Spark pool, in the Azure Machine Learning studio.
588588

@@ -592,15 +592,15 @@ The Azure Machine Learning studio UI also provides a way to detach an attached S
592592

593593
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
594594

595-
An attached Synapse Spark pool can be detached by executing the `az ml compute detach` command with name of the pool passed using `--name` parameter as following:
595+
An attached Synapse Spark pool can be detached by executing the `az ml compute detach` command with name of the pool passed using `--name` parameter as shown here:
596596

597597
```azurecli
598598
599599
az ml compute detach --name <ATTACHED_SPARK_POOL_NAME> --subscription <SUBSCRIPTION_ID> --resource-group <RESOURCE_GROUP> --workspace-name <AML_WORKSPACE_NAME>
600600
601601
```
602602

603-
This shows the expected output of the above command:
603+
This sample shows the expected output of the above command:
604604

605605
```azurecli
606606
Are you sure you want to perform this operation? (y/n): y
@@ -611,7 +611,7 @@ Are you sure you want to perform this operation? (y/n): y
611611

612612
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
613613

614-
An `MLClient.compute.begin_delete()` function call will do this for us. Pass the `name` of the attached Synapse Spark pool, along with the action `Detach`, to the function. This code snippet detaches a Synapse Spark pool from an Azure Machine Learning workspace:
614+
We will use an `MLClient.compute.begin_delete()` function call. Pass the `name` of the attached Synapse Spark pool, along with the action `Detach`, to the function. This code snippet detaches a Synapse Spark pool from an Azure Machine Learning workspace:
615615

616616
```python
617617
# import required libraries

0 commit comments

Comments
 (0)