Skip to content

Commit 0806656

Browse files
committed
Quick fixes for the create-workspace article
1 parent 11dd891 commit 0806656

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

articles/storage-discovery/create-workspace.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ Document score: 100 - 495/0 (words, issues)
2626

2727
# Create and manage a storage discovery workspace
2828

29-
The Azure Storage Discovery Workspace (ASDW) is a central resource within the Azure Storage Discovery platform. A discovery workspace is designed to help users manage and visualize storage data across various scopes such as tenants, subscriptions, and resource groups.
29+
The Azure Storage Discovery workspace is a central resource within the Azure Storage Discovery platform. A discovery workspace is designed to help users manage and visualize storage data across various scopes such as tenants, subscriptions, and resource groups.
3030

31-
Follow the steps in this article to create an ASDW resource.
31+
Follow the steps in this article to create an Azure Storage Discovery workspace resource.
3232

3333
## Create a storage discovery workspace
3434

35-
You can create a storage discovery workspace using the Azure portal, Azure CLI, or ARM templates.
35+
You can create a storage discovery workspace using the Azure portal, Azure PowerShell, or the Azure CLI.
3636

3737
### [Azure portal](#tab/portal)
3838

39-
Create an ASDW resource by selecting **Create** as shown in the following image.
39+
Create an Azure Storage Discovery Workspace resource in the Azure portal by selecting **Create** as shown in the following image.
4040

4141
:::image source="media/create-workspace/create-resource-sml.png" alt-text="Screenshot of the Create ASDW page." lightbox="media/create-workspace/create-resource.png":::
4242

@@ -91,30 +91,29 @@ After the access checks complete successfully, the resource can be deployed as s
9191

9292
### [Azure PowerShell](#tab/powershell)
9393

94-
Something like this:
94+
Create an Azure Storage Discovery workspace resource in the Azure portal by modifying the variables in the following PowerShell script to include your resource group, workspace name, and location. Verify that your values are correct, and then run the script in the Azure PowerShell console.
9595

9696
```powershell
9797
98-
# Set variables for the resources
99-
$resGroupName = "MyResourceGroup"
100-
$workSpaceName = "MyStorageDiscoveryWorkspace"
98+
# First, set variables for the resources
99+
$resGroupName = "myResourceGroup"
100+
$workSpaceName = "myStorageDiscoveryWorkspace"
101101
$location = "East US"
102-
$DiscoveryScopeLevel1 = "MyScopeLevel1"
103-
$DiscoveryScopeLevel2 = "MyScopeLevel2"
102+
$DiscoveryScopeLevel1 = "myScopeLevel1"
103+
$DiscoveryScopeLevel2 = "myScopeLevel2"
104104
105-
# First, prepare local DiscoveryScope object, which can be used to
106-
# both create/update Workspace
105+
# Next, prepare a DiscoveryScope object
107106
$scope1 = New-AzStorageDiscoveryScopeObject -DisplayName "test1" `
108107
-ResourceType "Microsoft.Storage/storageAccounts" `
109108
-TagKeysOnly "e2etest1" -Tag @{"tag1" = "value1"; "tag2" = "value2" }
110109
$scope2 = New-AzStorageDiscoveryScopeObject -DisplayName "test2" `
111110
-ResourceType "Microsoft.Storage/storageAccounts" `
112111
-TagKeysOnly "e2etest2" -Tag @{"tag3" = "value3" }
113112
114-
# CVreate the discovery workspace
113+
# Finally, create the discovery workspace
115114
New-AzStorageDiscoveryWorkspace -Name $workSpaceName -ResourceGroupName $resGroupName `
116115
-Location $location -Description 123 -WorkspaceRoot $DiscoveryScopeLevel1 `
117-
-Sku Standard -Scope $scope1 # -debug
116+
-Sku Standard -Scope $scope1
118117
119118
```
120119

0 commit comments

Comments
 (0)